:root {
  color-scheme: light;
  --ink: #08101d;
  --muted: #5f6d80;
  --line: rgba(8, 16, 29, .14);
  --paper: #f6f7f2;
  --card: #fffefa;
  --field: #eef2f6;
  --navy: #09285a;
  --green: #087843;
  --lime: #d7f45f;
  --orange: #ff6b35;
  --red: #b91c1c;
  --shadow: 0 30px 80px rgba(8, 16, 29, .13);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(8, 16, 29, .035) 1px, transparent 1px),
    linear-gradient(rgba(8, 16, 29, .035) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.page {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
}

.mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  border: 2px solid var(--ink);
  transform: rotate(-5deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a,
.pill,
.mini-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 250, .78);
  color: var(--ink);
  padding: 0 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.nav a:hover,
.pill:hover,
.mini-button:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding: clamp(28px, 5vw, 62px) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

h1,
.display {
  margin: 0;
  font-size: clamp(48px, 8vw, 116px);
  line-height: .89;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.primary {
  min-height: 52px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform .28s var(--ease), background .28s var(--ease);
}

.primary:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.stage {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.brand-logo-img {
  width: 92px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 14px;
}

.image-panel {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .7s var(--ease);
}

.image-panel:hover img { transform: scale(1.06); }

.image-panel__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.image-panel__caption strong {
  max-width: 520px;
  font-size: clamp(24px, 4vw, 52px);
  line-height: .92;
  text-transform: uppercase;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
}

.ticker span {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(215, 244, 95, .2), transparent 25%),
    linear-gradient(130deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 100%);
  background-size: auto, 24px 24px;
}

.stage-label {
  position: absolute;
  left: 22px;
  top: 18px;
  z-index: 2;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.jersey-wrap {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 56px 22px 28px;
}

.mockup {
  width: min(86%, 500px);
  filter: drop-shadow(0 36px 34px rgba(0,0,0,.36));
  transform-origin: 50% 58%;
  animation: float 7s var(--ease) infinite alternate;
}

.mockup * {
  transition: fill .36s var(--ease), stroke .36s var(--ease), opacity .32s var(--ease);
}

@keyframes float {
  from { transform: translate3d(-8px, 3px, 0) rotate(-1.1deg); }
  to { transform: translate3d(8px, -5px, 0) rotate(1.1deg); }
}

.product-grid,
.catalog-grid,
.cart-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: 34px 0 60px;
}

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

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
}

.config {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 18px;
}

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

.group:first-child {
  border-top: 0;
  padding-top: 0;
}

.block-title {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.field-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wide { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 0;
  outline: none;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  background: #fff;
}

.choices,
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  min-height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.choice:hover { transform: translateY(-2px); }
.choice[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.swatch {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--swatch);
  position: relative;
}

.swatch[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  outline: 2px solid var(--ink);
}

.summary-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.summary-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}

.price {
  color: var(--navy);
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 950;
  white-space: nowrap;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.meta span {
  border: 1px solid var(--line);
  background: #fff;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
}

.card-link {
  min-height: 390px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px;
  position: relative;
  transition: transform .34s var(--ease), box-shadow .34s var(--ease);
}

.card-link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-visual {
  min-height: 210px;
  display: grid;
  place-items: center;
  background: var(--ink);
  margin: -18px -18px 18px;
  overflow: hidden;
}

.card-visual svg {
  width: min(72%, 250px);
  filter: drop-shadow(0 24px 24px rgba(0,0,0,.35));
}

.card-link h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: .95;
  text-transform: uppercase;
}

.card-link p {
  color: var(--muted);
  line-height: 1.5;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.cart-item:first-child { border-top: 0; }
.cart-item h3 { margin: 0 0 8px; font-size: 18px; }
.cart-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.qty {
  width: 70px;
  min-height: 38px;
}

.total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.cta {
  width: 100%;
  min-height: 56px;
  margin-top: 14px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform .28s var(--ease), background .28s var(--ease);
}

.cta:hover { transform: translateY(-2px); background: var(--green); }
.cta:disabled { cursor: not-allowed; opacity: .58; transform: none; }

.error {
  display: none;
  margin-top: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.error.is-visible { display: block; }
.fineprint { color: var(--muted); font-size: 12px; line-height: 1.55; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.nova-footer {
  margin-top: 48px;
  background:
    radial-gradient(circle at 18% 10%, rgba(20, 115, 255, .15), transparent 22rem),
    linear-gradient(180deg, #06101a, #020710);
  color: #f8fafc;
}

.nova-footer__inner {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.8fr) minmax(220px, .8fr);
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(30px, 4vw, 52px) 0;
}

.nova-footer a { color: inherit; text-decoration: none; }
.nova-footer__logo {
  display: inline-flex;
  gap: 6px;
  font-size: 20px;
  font-weight: 950;
  text-transform: uppercase;
}

.nova-footer__logo span {
  background: #fff;
  color: #06101a;
  padding: 2px 6px;
}

.nova-footer__brand p,
.nova-footer__bottom,
.nova-footer__assurance p {
  color: rgba(248,250,252,.68);
  line-height: 1.55;
}

.nova-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.nova-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.nova-footer__nav a,
.nova-footer__legal a {
  display: block;
  width: fit-content;
  color: rgba(248,250,252,.75);
  font-size: 14px;
  margin: 8px 0;
}

.nova-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.nova-footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
}

.nova-footer__social svg {
  width: 20px;
  height: 20px;
}

.nova-footer__payments,
.nova-footer__carriers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nova-footer__payments li,
.nova-footer__carriers span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 850;
}

.nova-footer__bottom {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}

.section {
  padding: clamp(34px, 6vw, 74px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: .92;
  text-transform: uppercase;
}

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

.benefit {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 16px;
}

.benefit strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.benefit span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.legal-page {
  max-width: 940px;
  padding: clamp(34px, 6vw, 72px) 0;
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 92px);
}

.legal-page h2 {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-transform: uppercase;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner,
.cookie-panel {
  position: fixed;
  z-index: 50;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cookie-banner {
  left: 16px;
  right: auto;
  width: min(560px, calc(100% - 32px));
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.cookie-panel {
  width: min(520px, calc(100% - 24px));
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 18px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .product-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .config { position: static; order: 2; }
  .summary-panel { order: 1; }
  .stage, .jersey-wrap { min-height: 440px; }
}

@media (max-width: 640px) {
  .page { width: min(100% - 20px, 1320px); }
  .topbar { min-height: 64px; }
  .brand span:last-child { max-width: 140px; line-height: 1.05; }
  .nav a:not([href="/cart/"]) { display: none; }
  .field-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .nova-footer__inner,
  .nova-footer__nav,
  .benefits {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    left: 10px;
    bottom: 10px;
  }
  .stage,
  .jersey-wrap { min-height: 360px; }
  .editorial-band {
    grid-template-columns: 1fr;
  }
  .summary-head,
  .cart-item,
  .total,
  .footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  h1, .display { font-size: clamp(42px, 15vw, 76px); }
  .price { white-space: normal; }
}
