/* Collection pages and product pages */

/* Breadcrumbs */
.crumbs ol{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;font-size:.9rem;color:var(--muted);padding:1.1rem 0}
.crumbs li+li::before{content:"/";margin-right:.4rem;opacity:.5}
.crumbs a{text-decoration:none;font-weight:600;color:var(--blue-d)}
.crumbs a:hover{text-decoration:underline}
.page-head .crumbs ol{color:#9fb0cc}
.page-head .crumbs a{color:var(--blue-l)}

/* Dark page header (collection pages) */
.page-head{position:relative;isolation:isolate;overflow:hidden;background:var(--night);color:#fff;padding:0 0 4.5rem}
.page-head .g1{--s:620px;background:var(--blue);left:-280px;top:-340px;opacity:.5}
.page-head .g2{--s:460px;background:var(--red);right:-240px;bottom:-320px;opacity:.3}
.page-head h1{font-size:clamp(2.6rem,6vw,5.2rem);max-width:15ch;margin-top:1.5rem;text-wrap:balance}
.page-head .lead{color:#c6d3ea;font-size:1.15rem;max-width:44rem;margin:1.3rem 0 2rem}
.page-head .lead a{color:#fff;text-underline-offset:4px}
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;list-style:none;margin-bottom:2.2rem}
.facts li{padding:1rem 1.2rem;border-radius:16px}
.facts b{display:block;font-size:1.25rem}
.facts span{font-size:.9rem;color:#c6d3ea}

/* Filter chips */
.filters{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem}
.chip{font:inherit;font-size:.95rem;font-weight:600;padding:.55rem 1.1rem;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--night);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.chip:hover{border-color:var(--night)}
.chip[aria-pressed="true"]{background:var(--night);border-color:var(--night);color:#fff}
.count{color:var(--muted);font-size:.95rem;margin-bottom:1.2rem}
.grid li[hidden]{display:none}

/* Smaller section headings for long content pages */
.sh{font-size:clamp(1.8rem,3.2vw,2.6rem);max-width:none;margin-bottom:1.2rem}
.prose{max-width:46rem}
.prose p+p{margin-top:1rem}
.prose ul{margin:1rem 0 0 1.2rem;display:grid;gap:.4rem}
.alt{background:#fff}

/* Data tables: specs, sizes, prices, comparisons */
.tbl-wrap{overflow-x:auto;border-radius:18px;border:1px solid var(--line);background:#fff}
.tbl{width:100%;border-collapse:collapse;font-size:.98rem;min-width:520px}
.tbl caption{text-align:left;font-weight:700;padding:1rem 1.2rem .2rem}
.tbl th,.tbl td{text-align:left;padding:.85rem 1.2rem;border-bottom:1px solid var(--line);vertical-align:top}
.tbl thead th{background:var(--mist);font-size:.9rem;text-transform:uppercase;letter-spacing:.04em}
.tbl tbody th{font-weight:700;white-space:nowrap}
.tbl tr:last-child>*{border-bottom:0}
.tbl .hi{background:#fff6d6}
.note{font-size:.92rem;color:var(--muted);margin-top:.8rem}

/* Ordering steps (light) */
.flow{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.flow li{counter-increment:s;padding:1.4rem;border-radius:20px;background:#fff;border:1px solid var(--line)}
.flow li::before{content:counter(s);display:grid;place-items:center;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--red);color:#fff;font-weight:700;margin-bottom:.8rem}
.flow b{display:block;margin-bottom:.2rem}
.flow span{font-size:.95rem;color:var(--muted)}

/* FAQs */
.faq{display:grid;gap:.7rem;max-width:52rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 1.3rem}
.faq summary{cursor:pointer;list-style:none;font-weight:700;padding:1.1rem 2rem 1.1rem 0;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:50%;translate:0 -50%;font-size:1.5rem;font-weight:400;color:var(--blue-d);transition:transform .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding-bottom:1.2rem;color:var(--muted)}

/* Quote banner */
.quote-band{position:relative;isolation:isolate;overflow:hidden;background:var(--night);color:#fff;text-align:center}
.quote-band .g1{--s:560px;background:var(--blue);left:-200px;top:-300px;opacity:.45}
.quote-band .g2{--s:420px;background:var(--red);right:-200px;bottom:-300px;opacity:.28}
.quote-band h2{margin:0 auto 1rem}
.quote-band p{color:#c6d3ea;max-width:36rem;margin:0 auto 2rem}
.quote-band .cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}

/* ---------- Product page ---------- */
.pdp{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:start;padding:.5rem 0 4.5rem}
/* Desktop: the gallery stays in view while the buy column (with the color designer) scrolls past */
.gallery{position:sticky;top:5.5rem;display:grid;gap:1rem}
.stage{position:relative;isolation:isolate;overflow:hidden;width:100%;aspect-ratio:4/5;max-height:max(340px,calc(100vh - 17rem));border-radius:28px;background:radial-gradient(120% 80% at 30% 0%,#173a7a,var(--night) 60%)}
.stage .g1{--s:420px;background:var(--blue);left:-180px;top:-200px;opacity:.45}
.stage .g2{--s:360px;background:var(--red);right:-180px;bottom:-200px;opacity:.3}
.stage .kit-svg{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .6s} /* product photo until the 3D kit loads */
.stage .kit-3d{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .9s var(--ease)}
.kit-3d canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none} /* finger drags turn the kit in any direction */
.kit-3d canvas:active{cursor:grabbing}
.stage.is-3d .kit-3d{opacity:1;pointer-events:auto}
.stage.is-3d .kit-svg{opacity:0}
.stage .hint{position:absolute;left:50%;bottom:1rem;translate:-50% 0;padding:.45rem 1rem;border-radius:999px;font-size:.85rem;font-weight:600;color:#fff;opacity:0;transition:opacity .6s;pointer-events:none}
.stage.is-3d .hint{opacity:1}
/* Color designer under the 3D kit */
.designer{background:#fff;border:1px solid var(--line);border-radius:22px;padding:1.3rem;margin-bottom:1.6rem}
.designer[hidden]{display:none}
.designer-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.dh{font-size:1.25rem;font-weight:700;max-width:none}
.reset{font:inherit;font-size:.9rem;font-weight:600;color:var(--blue-d);background:none;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.dhelp{font-size:.92rem;color:var(--muted);margin:.2rem 0 1rem}
.zones{display:flex;flex-wrap:wrap;gap:.45rem}
.zone{display:inline-flex;align-items:center;gap:.45rem;font:inherit;font-size:.88rem;font-weight:600;padding:.4rem .8rem .4rem .45rem;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--night);cursor:pointer;transition:border-color .2s,background .2s}
.zone i{width:18px;height:18px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(6,17,43,.25);transition:background .3s}
.zone:hover{border-color:var(--night)}
.zone[aria-pressed="true"]{border-color:var(--night);background:var(--mist)}
.zone-name{font-weight:700;margin:1rem 0 .6rem}
.dsec{border-top:1px solid var(--line);padding-top:1rem;margin-top:1rem}
.dsec[hidden]{display:none}
.dsub{font-size:1.02rem;font-weight:700;margin-bottom:.7rem}
.art-colors{margin-top:.2rem}
.art-colors[hidden]{display:none}
.designs{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}
.outline{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-bottom:1.1rem}
.outline .ink{margin-bottom:0}
.swatch.none{background:#fff;box-shadow:inset 0 0 0 1.5px rgba(6,17,43,.3)}
.swatch.none::after{content:"";position:absolute;left:18%;right:18%;top:50%;height:2px;background:var(--red);transform:rotate(-45deg)}
.seg button:disabled{opacity:.4;cursor:default}
.zone.dz{border-style:dashed} /* colors that belong to the chosen artwork */
.designs .zone{padding-left:.8rem}
.palette{display:flex;flex-wrap:wrap;gap:.5rem}
.swatch{position:relative;width:36px;height:36px;border-radius:50%;border:0;padding:0;background:var(--c);box-shadow:inset 0 0 0 1px rgba(6,17,43,.25);cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s}
.swatch:hover{transform:scale(1.1)}
.swatch[aria-pressed="true"]{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--night)}
.swatch.custom{background:conic-gradient(red,#ff0,lime,cyan,blue,#f0f,red)}
.swatch.custom input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.swatch.custom:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.swatch.sm{width:28px;height:28px}

/* Logo, number and name */
.prints{border-top:1px solid var(--line);margin-top:1.3rem;padding-top:1.2rem}
.prints .dh{margin-bottom:.8rem}
.logo-up{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;margin-bottom:1rem}
.upload{position:relative;display:inline-block;padding:.55rem 1.1rem;border-radius:999px;background:var(--night);color:#fff;font-weight:700;font-size:.92rem;cursor:pointer;transition:background .2s}
.upload:hover{background:var(--night-2)}
.upload:focus-within{outline:3px solid var(--blue);outline-offset:3px}
.upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.logo-note{font-size:.88rem;color:var(--muted);overflow-wrap:anywhere}
.pfields{display:grid;grid-template-columns:5rem 1fr 5.2rem;gap:.8rem;margin-bottom:1rem}
.pfields select{font:inherit;font-size:1rem;font-weight:600;color:var(--night);padding:.5rem .5rem;border:1.5px solid var(--line);border-radius:12px;background:#fff;min-width:0}
.pfields select:focus{outline:none;border-color:var(--blue)}
.pfields label{display:grid;gap:.25rem;font-size:.85rem;font-weight:700;color:var(--muted)}
.pfields input{font:inherit;font-size:1rem;font-weight:600;color:var(--night);padding:.5rem .8rem;border:1.5px solid var(--line);border-radius:12px;background:#fff;min-width:0;text-transform:uppercase}
.pfields input:focus{outline:none;border-color:var(--blue)}
.plabel{font-size:.85rem;font-weight:700;color:var(--muted);margin-bottom:.4rem}
.ink{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1.1rem}
.styles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.45rem;margin-bottom:1rem}
.style{display:grid;grid-template-rows:2.1rem auto;justify-items:center;align-items:center;gap:.15rem;min-width:0;font:inherit;font-size:.72rem;font-weight:600;color:var(--muted);padding:.5rem .25rem .45rem;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s,background .2s}
.style b{display:flex;align-items:center;height:2.1rem;color:var(--night);line-height:1}
.style span{display:flex;align-items:center;justify-content:center;min-height:2.3em;line-height:1.15;text-align:center} /* every label gets two lines' room, so the 12s line up */
.style:hover{border-color:var(--night)}
.style[aria-pressed="true"]{border-color:var(--night);background:var(--mist);color:var(--night)}
.spots{display:grid;gap:.55rem}
.spot{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap}
.spot-l{font-weight:700;font-size:.95rem}
.seg{display:inline-flex;border:1.5px solid var(--line);border-radius:999px;padding:2px;background:var(--chalk)}
.seg button{font:inherit;font-size:.82rem;font-weight:600;padding:.32rem .75rem;border:0;border-radius:999px;background:none;color:var(--muted);cursor:pointer;white-space:nowrap}
.seg button:hover{color:var(--night)}
.seg button[aria-pressed="true"]{background:var(--night);color:#fff}
.prints .note{margin-top:1rem}

.views{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.views figure{border-radius:18px;overflow:hidden;background:#eef2f8;border:1.5px solid transparent;cursor:pointer;transition:border-color .2s,transform .3s var(--ease)}
.views figure:hover,.views figure:focus-visible{border-color:var(--night);transform:translateY(-3px)}
.views img{display:block;width:100%;height:auto}
.views figcaption{font-size:.85rem;font-weight:600;text-align:center;padding:.45rem 0 .55rem}

.buy h1{font-size:clamp(2.2rem,4vw,3.4rem);line-height:1.02;margin:.2rem 0 1rem}
.eyebrow{font-size:.9rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--red)}
.price-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem .8rem;margin-bottom:1.2rem}
.price-line strong{font-size:2rem;font-weight:800}
.price-line span{color:var(--muted)}
.summary{font-size:1.1rem;margin-bottom:1.6rem}
.keyfacts{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:1.6rem}
.keyfacts div{background:#fff;padding:.9rem 1.1rem}
.keyfacts dt{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.keyfacts dd{font-weight:600;line-height:1.35}
.colors{margin-bottom:1.6rem}
.colors p{font-weight:700;margin-bottom:.6rem}
.colors p span{font-weight:400;color:var(--muted)}
.colors .sw i{width:28px;height:28px}
.buy .cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:1.4rem}
.btn.wa-btn{background:#25d366;border-color:#25d366;color:#04361a}
.btn.wa-btn:hover{background:#1ebe5a;border-color:#1ebe5a;box-shadow:0 14px 26px -14px rgba(37,211,102,.8)}
.assure{list-style:none;display:grid;gap:.45rem;font-size:.95rem;color:var(--muted)}
.assure li::before{content:"\2713";color:var(--blue-d);font-weight:700;margin-right:.55rem}

/* Section menu: pinned under the header while scrolling, current section underlined */
.toc{position:sticky;top:var(--hdr,4.6rem);z-index:10;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.toc ul{display:flex;gap:1.8rem;list-style:none;overflow-x:auto;padding:0;white-space:nowrap;scrollbar-width:none}
.toc a{display:block;padding:.95rem 0 .8rem;border-bottom:3px solid transparent;text-decoration:none;font-weight:600;color:var(--muted);transition:color .2s,border-color .2s}
.toc a:hover{color:var(--night)}
.toc a[aria-current]{color:var(--night);border-bottom-color:var(--red)}

/* 3D badge, save button and design jump */
.badge-3d{position:absolute;left:1rem;top:1rem;z-index:2;display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .9rem .4rem .45rem;border-radius:999px;color:#fff;font-size:.85rem;font-weight:600}
.badge-3d b{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--red);font-size:.78rem;letter-spacing:.02em}
.save-img{position:absolute;right:1rem;top:1rem;z-index:2;font:inherit;font-size:.85rem;font-weight:600;color:#fff;padding:.55rem 1rem;border-radius:999px;cursor:pointer;transition:background .2s}
.save-img:hover{background:rgba(255,255,255,.2)}
.save-img[hidden]{display:none}
.design-jump{margin:-.4rem 0 1.4rem;background:var(--night);border-color:var(--night)}
.design-jump:hover{background:var(--night-2);border-color:var(--night-2);box-shadow:0 14px 26px -14px rgba(6,17,43,.8)}
.design-jump[hidden]{display:none}

/* "Design your football uniform in 3D" band */
.design-band{position:relative;isolation:isolate;overflow:hidden;background:var(--night);color:#fff}
.design-band .g1{--s:640px;background:var(--blue);left:-260px;top:-300px;opacity:.45}
.design-band .g2{--s:480px;background:var(--red);right:-220px;bottom:-320px;opacity:.28}
.design-in{display:grid;grid-template-columns:1.2fr .8fr;gap:3.5rem;align-items:center}
.design-band .eyebrow{color:var(--blue-l)}
.design-band h2{font-size:clamp(2rem,3.8vw,3.1rem);max-width:18ch;margin:.3rem 0 1rem}
.design-band .lead{color:#c6d3ea;max-width:40rem;margin-bottom:1.6rem}
.feat{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-bottom:1.8rem}
.feat li{padding:.9rem 1rem;border-radius:16px}
.feat b{display:block;font-size:1rem}
.feat span{font-size:.88rem;color:#c6d3ea;line-height:1.4}
.design-art{border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#f7f9fc,#e6ecf4);box-shadow:0 40px 80px -40px rgba(0,0,0,.7)}
.design-art img{display:block;width:100%;height:auto}
.design-art figcaption{background:#fff;color:var(--muted);font-size:.85rem;font-weight:600;text-align:center;padding:.6rem}
@media(max-width:900px){.design-in{grid-template-columns:1fr;gap:2rem}.design-art{max-width:420px}}
@media(max-width:520px){.feat{grid-template-columns:1fr}}
.two{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.two h3{font-size:1.2rem;margin-bottom:.6rem}
.ticks{list-style:none;display:grid;gap:.6rem}
.ticks li{padding-left:1.6rem;position:relative}
.ticks li::before{content:"";position:absolute;left:0;top:.6em;width:.7rem;height:.7rem;border-radius:3px;background:var(--red);transform:rotate(45deg)}
.stack{display:grid;gap:1.5rem}
section[id],#designer{scroll-margin-top:8.5rem} /* clear the sticky header and section menu */

@media(max-width:900px){
  .facts{grid-template-columns:1fr 1fr}
  .flow{grid-template-columns:1fr 1fr}
  /* Phones: title and price, then the 3D kit with the color designer right under it, then the rest */
  .toc{top:4.15rem} /* shorter header on phones */
  .design-jump{display:none} /* on phones the designer already sits right under the 3D kit */
  .pdp{grid-template-columns:minmax(0,1fr);gap:1rem} /* minmax(0,…) lets the swipeable panel row scroll instead of widening the page */
  .gallery,.buy{display:contents}
  .buy .eyebrow,.buy h1,.buy .price-line{order:-2}
  .buy h1{margin:0}
  .stage{order:-1;aspect-ratio:1;max-height:none}
  .designer{order:0;margin-bottom:0}
  .zones{flex-wrap:nowrap;overflow-x:auto;margin:0 -1.3rem;padding:0 1.3rem .3rem;scrollbar-width:none} /* one swipeable row so the kit stays in view */
  .zone{flex:none}
  .views{order:1}
  .buy>:not(.eyebrow):not(h1):not(.price-line):not(.designer){order:2}
  .price-line{margin-bottom:0}
  .two{grid-template-columns:1fr;gap:2rem}
}
@media(max-width:520px){
  .flow,.keyfacts{grid-template-columns:1fr}
  .styles{grid-template-columns:repeat(3,minmax(0,1fr))} /* 5 across is too tight on phones */
  .wrap{padding:0 1rem}
}
