:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: #fff7e8;
  --ink: #172033;
  --muted: #5d6679;
  --line: rgba(23, 32, 51, 0.12);
  --yellow: #ffc93c;
  --red: #e94f37;
  --blue: #2d6cdf;
  --blue-deep: #183a74;
  --shadow: 0 18px 45px rgba(24, 58, 116, 0.15);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 60, 0.55), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 108, 223, 0.28), transparent 24%),
    linear-gradient(180deg, #fff6d7 0%, var(--bg) 38%, #efe6d7 100%);
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
.brand__mark {
  font-family: "Bungee", cursive;
  letter-spacing: 0.04em;
}

p,
li,
input,
textarea,
button {
  font: inherit;
}

.hero,
.catalog,
.checkout-layout,
.chase-carousel,
.deal-day {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 1.5rem 0 3rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand__logo {
  width: 126px;
  height: 126px;
  object-fit: contain;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.65rem;
  border: 1px solid rgba(24, 58, 116, 0.1);
  box-shadow: var(--shadow);
}

.brand__eyebrow,
.section-tag,
.hero__card-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-weight: 700;
}

.brand h1,
.section-heading h2,
.hero__copy h2,
.panel h3 {
  margin: 0;
}

.cart-pill {
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.hero__copy,
.hero__card,
.panel,
.info-strip article,
.product-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero__copy {
  padding: 2rem;
}

.hero-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 246, 215, 0.8));
  border: 1px solid rgba(24, 58, 116, 0.08);
}

.hero-brand-lockup__badge {
  font-family: "Bungee", cursive;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--blue-deep);
}

.hero-brand-lockup__logo {
  width: 180px;
  max-width: 42%;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.7rem;
  box-shadow: 0 16px 30px rgba(24, 58, 116, 0.12);
}

.hero__copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero__copy p {
  color: var(--muted);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button,
.text-button {
  border: 0;
  cursor: pointer;
}

.button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
}

.button--primary {
  background: linear-gradient(135deg, var(--red), #ff7c48);
  color: white;
}

.button--ghost {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.button--full {
  width: 100%;
}

.hero__card {
  padding: 2rem;
  align-self: center;
  background:
    linear-gradient(180deg, rgba(24, 58, 116, 0.94), rgba(45, 108, 223, 0.9)),
    var(--surface);
  color: white;
}

.hero__card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.chase-carousel {
  margin-bottom: 3rem;
}

.deal-day__card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.35rem;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(233, 79, 55, 0.94), rgba(255, 201, 60, 0.88)),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.deal-day__media {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.deal-day__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
}

.deal-day__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  padding: 0.5rem 0.25rem;
}

.deal-day__eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.deal-day__content h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.deal-day__content p {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.9);
}

.deal-day__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.deal-day__button {
  margin-top: 1rem;
  align-self: flex-start;
  background: rgba(24, 58, 116, 0.92);
  color: white;
}

.deal-day__button[disabled] {
  background: rgba(154, 163, 177, 0.9);
  cursor: not-allowed;
}

.deal-day__price,
.deal-day__stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
}

.deal-day__price {
  background: rgba(24, 58, 116, 0.92);
  color: white;
}

.deal-day__stock {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.chase-carousel__frame {
  position: relative;
}

.chase-carousel__viewport {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.82);
  border: 1px solid rgba(24, 58, 116, 0.08);
  box-shadow: var(--shadow);
}

.chase-carousel__slides {
  display: flex;
  transition: transform 240ms ease;
}

.chase-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(24, 58, 116, 0.95), rgba(45, 108, 223, 0.85)),
    rgba(255, 255, 255, 0.8);
}

.chase-slide__media {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.chase-slide__media img {
  width: 100%;
  max-width: 320px;
  max-height: 190px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.75rem;
}

.chase-slide__content {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.chase-slide__kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.chase-slide__content h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.chase-slide__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 28ch;
  font-size: 0.95rem;
}

.chase-carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(24, 58, 116, 0.1);
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue-deep);
  font-weight: 700;
  box-shadow: var(--shadow);
  z-index: 2;
}

#chase-prev {
  left: 1rem;
}

#chase-next {
  right: 1rem;
}

.chase-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chase-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(24, 58, 116, 0.18);
}

.chase-carousel__dot.is-active {
  background: var(--red);
}

.catalog,
.checkout-layout {
  padding-bottom: 3rem;
}

.catalog + .catalog {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filter-control {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.filter-control span {
  font-size: 0.92rem;
}

.filter-control select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(24, 58, 116, 0.16);
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  color: var(--ink);
  box-shadow: 0 10px 20px rgba(24, 58, 116, 0.06);
}

.set-group {
  margin-bottom: 1.35rem;
  padding: 1.35rem;
  border-radius: 28px;
  background: rgba(255, 249, 239, 0.92);
  border: 1px solid rgba(24, 58, 116, 0.1);
  box-shadow: 0 20px 40px rgba(24, 58, 116, 0.1);
}

.set-group__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
  justify-content: center;
}

.set-group__logo {
  width: 100%;
  max-width: 260px;
  height: 96px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(24, 58, 116, 0.08);
}

.set-group__logo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bungee", cursive;
  font-size: 1rem;
  color: var(--blue-deep);
  text-align: center;
}

.set-group__new-tag {
  display: inline-flex;
  position: absolute;
  top: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94f37, #ff7c48);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 24px rgba(233, 79, 55, 0.28);
  animation: new-tag-pulse 1.4s ease-in-out infinite;
}

@keyframes new-tag-pulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1.05);
  }
}

.set-group__header h3 {
  font-size: 1.28rem;
  line-height: 1.1;
}

.set-group__items {
  display: grid;
  gap: 0.85rem;
}

.stream-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(23, 32, 51, 0.08);
}

.stream-item--sold-out {
  background: #f5f1eb;
}

.stream-item__main h4,
.stream-item__main p {
  margin: 0;
}

.stream-item__main {
  min-width: 0;
}

.stream-item__main h4 {
  font-size: 1.05rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stream-item__main p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.stream-item__new-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e94f37, #ff7c48);
  color: white;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 18px rgba(233, 79, 55, 0.22);
  animation: stream-item-new-pulse 1.4s ease-in-out infinite;
}

@keyframes stream-item-new-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.72;
    transform: scale(1.05);
  }
}

.stream-item__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.stream-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #f4f7ff;
  color: var(--blue-deep);
  font-weight: 700;
  white-space: nowrap;
}

.stream-pill--sold-out {
  background: #ece4d8;
  color: #7b5f3b;
}

.empty-filter-state {
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(23, 32, 51, 0.08);
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  overflow: hidden;
}

.product-card__art {
  min-height: 170px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, rgba(45, 108, 223, 0.92), rgba(255, 201, 60, 0.85));
}

.product-card--livestream .product-card__art {
  background: linear-gradient(135deg, rgba(233, 79, 55, 0.95), rgba(255, 201, 60, 0.86));
}

.product-card--sealed .product-card__art {
  background: linear-gradient(135deg, rgba(24, 58, 116, 0.95), rgba(45, 108, 223, 0.82));
}

.product-card__badge {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  font-weight: 700;
}

.product-card__body {
  padding: 1.2rem;
}

.product-card__body p {
  color: var(--muted);
  min-height: 3.4rem;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
}

.add-to-cart {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--blue-deep);
  color: white;
  font-weight: 700;
}

.add-to-cart[disabled] {
  background: #9aa3b1;
  cursor: not-allowed;
}

.stream-add-button {
  min-height: 38px;
  padding: 0.5rem 0.9rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
}

.panel {
  padding: 1.5rem;
}

.panel__header,
.summary__row,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.text-button {
  background: transparent;
  color: var(--red);
  font-weight: 700;
}

.cart-items {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.cart-line {
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.cart-line__meta strong,
.cart-line__price {
  display: block;
}

.cart-line__meta small,
.empty-cart {
  color: var(--muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
}

.summary {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.summary__row {
  padding: 0.4rem 0;
}

.summary__row--total {
  font-size: 1.1rem;
}

.checkout-form {
  display: grid;
  gap: 1rem;
}

.checkout-form label,
.payment-methods {
  display: grid;
  gap: 0.45rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.shipping-fields {
  display: grid;
  gap: 1rem;
}

.payment-methods {
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 18px;
}

.payment-methods legend {
  padding: 0 0.4rem;
  font-weight: 700;
}

.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.radio-card small {
  display: block;
  color: var(--muted);
}

.order-confirmation {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: #e9f7ec;
  color: #155724;
  border: 1px solid rgba(21, 87, 36, 0.15);
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(21, 87, 36, 0.12);
}

.hidden {
  display: none;
}

@media (max-width: 960px) {
  .hero__content,
  .checkout-grid,
  .product-grid,
  .chase-slide,
  .deal-day__card {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .hero-brand-lockup {
    align-items: flex-start;
  }

  .hero-brand-lockup__logo {
    width: 150px;
  }

  .set-group__header {
    display: block;
  }
}

@media (max-width: 640px) {
  .topbar,
  .product-card__footer,
  .panel__header,
  .cart-line,
  .stream-item,
  .hero-brand-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .chase-carousel__frame {
    padding-bottom: 4rem;
  }

  .chase-carousel__button {
    min-width: 48px;
    min-height: 48px;
    top: auto;
    bottom: 0;
    transform: none;
  }

  #chase-prev {
    left: 0;
  }

  #chase-next {
    right: 0;
  }

  .chase-slide__content,
  .chase-slide__media,
  .deal-day__content,
  .deal-day__media {
    padding: 1.2rem;
  }

  .brand__logo {
    width: 92px;
    height: 92px;
  }

  .set-group__logo {
    max-width: 180px;
    height: 78px;
    justify-self: start;
  }

  .hero-brand-lockup__logo {
    width: 100%;
    max-width: 220px;
  }

  .set-group__header {
    display: block;
  }

  .stream-item__meta {
    width: 100%;
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero__copy,
  .hero__card,
  .panel {
    padding: 1.2rem;
  }

  .cart-pill {
    align-self: flex-start;
  }
}
