/*
 * JP IMPORTS • V64 / STADIUM EDITION
 * Visual layer only. No DOM IDs, event handlers, pricing or catalog logic.
 * Loaded after legacy styles, so rollback is a single <link> removal.
 */
:root{
  --jp64-bg:#090d14;--jp64-surface:#131a24;--jp64-surface2:#1a2230;
  --jp64-text:#f9fafb;--jp64-muted:#a3aebf;--jp64-stroke:rgba(225,235,248,.12);
  --jp64-red:#f12c47;--jp64-red2:#ae1532;--jp64-gold:#e9bf6f;
  --jp64-shadow:0 14px 36px rgba(0,0,0,.23);--jp64-radius:22px;
  --bg:var(--jp64-bg);--panel:var(--jp64-surface);--text:var(--jp64-text);
  --muted:var(--jp64-muted);--red:var(--jp64-red);--gold:var(--jp64-gold);
}
html{scroll-padding-top:126px;scroll-behavior:smooth}
body{
  background:
    radial-gradient(ellipse 80% 32% at 100% 0%,rgba(241,44,71,.12),transparent 75%),
    radial-gradient(ellipse 85% 45% at 0% 38%,rgba(36,60,92,.18),transparent 80%),
    #090d14!important;
  color:var(--jp64-text);
  -webkit-font-smoothing:antialiased;
}
body button,body input,body textarea,body select{font-family:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:2px solid #f1bf76!important;outline-offset:3px!important;
}
.app{max-width:1330px!important;padding-bottom:124px!important}

/* Branded sticky toolbar: compact on mobile, calm and legible */
.hero{
  padding:12px max(16px,env(safe-area-inset-left)) 12px!important;
  background:rgba(9,13,20,.94)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 5px 22px rgba(0,0,0,.16);
  backdrop-filter:blur(20px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(130%)!important;
}
.brand{gap:11px!important;margin-bottom:12px!important}
.logo{
  width:49px!important;height:49px!important;min-width:49px!important;max-width:49px!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,#2a111b,#111823 55%,#392a25)!important;
  border:1px solid rgba(239,197,118,.30);
  box-shadow:0 4px 17px rgba(0,0,0,.25)!important;
  overflow:hidden;
}
.logo .jp-logo-img{object-fit:contain}
.brand h1{font-size:23px!important;font-weight:900!important;letter-spacing:-.9px!important}
.brand p{color:#bbc4d2!important;font-size:11px!important;font-weight:550;letter-spacing:.05px}
.jp-domain{color:#eaca91!important;font-size:10px!important;letter-spacing:.35px!important}
.searchbar{
  position:relative;
  border-radius:16px!important;
  padding:12px 15px!important;
  min-height:48px;
  background:#1a222d!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 2px 0 rgba(255,255,255,.025) inset!important;
  color:#d6deeb;
  transition:border-color .2s,box-shadow .2s;
}
.searchbar:focus-within{
  border-color:rgba(241,44,71,.73)!important;
  box-shadow:0 0 0 3px rgba(241,44,71,.12)!important;
}
.searchbar input{min-width:0;color:#fff!important;font-size:14px!important;font-weight:550}
.searchbar input::placeholder{color:#9ca8b8!important}

/* Editorial storefront carousel uses real, already hosted product photography. */
.home-showcase{padding:18px 16px 0!important}
.showcase-track{gap:12px!important;padding-bottom:3px;scroll-padding-inline:2px}
.showcase-card{
  isolation:isolate;
  min-height:224px!important;
  min-width:min(87vw,400px)!important;
  padding:23px 22px 21px!important;
  border-radius:25px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 14px 35px rgba(0,0,0,.24)!important;
}
.showcase-card.red{
  background:linear-gradient(115deg,#501326 0%,#9e1a30 44%,#181622 100%)!important;
}
.showcase-card.gold{
  background:linear-gradient(115deg,#61421e 0%,#a4763d 49%,#171724 100%)!important;
}
.showcase-card.dark{
  background:linear-gradient(115deg,#182a3d 0%,#252c3c 48%,#131621 100%)!important;
}
.showcase-card::before{
  content:"";
  position:absolute;
  top:28px;right:17px;
  width:36%;height:170px;
  border-radius:16px;
  background:#f5f5f5 url('/assets/yupoo/246365799.webp') center / contain no-repeat;
  border:4px solid rgba(255,255,255,.70);
  box-shadow:0 18px 35px rgba(0,0,0,.28);
  transform:rotate(7deg);
  pointer-events:none;
  z-index:0;
}
.showcase-card.gold::before{
  background-image:url('/assets/yupoo/246365787.webp');transform:rotate(-6deg);
}
.showcase-card.dark::before{
  background-image:url('/assets/yupoo/246365859.webp');transform:rotate(7deg);
}
.showcase-card:after{
  width:220px;height:220px;right:-72px;top:-90px;
  border:37px solid rgba(255,255,255,.045);
  pointer-events:none;z-index:0;
}
.showcase-card>div,.showcase-action{position:relative;z-index:1}
.showcase-kicker{font-size:10px!important;color:#ffdf9e!important;font-weight:900;letter-spacing:1.1px}
.showcase-card h2{
  max-width:54%!important;
  font-size:clamp(23px,5vw,29px)!important;
  font-weight:950!important;letter-spacing:-1.15px!important;
  line-height:1.03!important;margin:12px 0 9px!important;
  text-wrap:balance;
}
.showcase-card p{max-width:54%!important;color:rgba(255,255,255,.84)!important;line-height:1.35;font-size:12px!important}
.showcase-action{
  margin-top:15px!important;background:#fff!important;color:#171c24!important;
  border-radius:12px!important;padding:10px 15px!important;
  font-weight:900!important;font-size:12px;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
}
.carousel-dots{margin:10px 0 3px!important;gap:6px}
.carousel-dot{width:7px;height:7px;background:#485363}
.carousel-dot.active{width:24px;background:var(--jp64-red)!important}

/* Helpful paths with consistent touch targets and stronger hierarchy */
.quick-menu{gap:10px!important;padding:13px 16px 5px!important}
.quick-card{
  min-height:86px!important;border-radius:18px!important;
  background:#151d28!important;border:1px solid var(--jp64-stroke)!important;
  box-shadow:0 6px 20px rgba(0,0,0,.14);
  color:#e9eef5!important;font-size:12px!important;font-weight:800!important;
  padding:12px 6px!important;
}
.quick-card span{font-size:25px!important;line-height:1.1}
.quick-card.featured{
  background:linear-gradient(145deg,#521b2d,#291927)!important;
  border-color:rgba(241,44,71,.44)!important;color:#fff!important;
}
.type-legend{gap:7px!important;padding:10px 16px 2px!important}
.type-chip{
  border-radius:9px!important;background:#141c27!important;
  border:1px solid rgba(255,255,255,.095)!important;
  font-size:10px!important;color:#bcc8d9!important;padding:7px 11px!important;
}
.type-chip b{color:#ffd58b}

/* Competition tabs / navigation */
.tabs{
  gap:8px!important;
  padding:16px 16px 3px!important;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
.tabs::-webkit-scrollbar{display:none}
.tab{
  scroll-snap-align:start;
  min-height:39px;
  border-radius:12px!important;
  background:#171e29!important;
  border:1px solid rgba(255,255,255,.11)!important;
  color:#cbd4e1!important;
  font-size:12px!important;font-weight:750!important;
  letter-spacing:.02px;
  padding:10px 13px!important;
  box-shadow:none!important;
}
.tab.active{
  color:#fff!important;
  background:linear-gradient(135deg,#cf1e3c,#86172d)!important;
  border-color:rgba(255,111,131,.66)!important;
  box-shadow:0 5px 18px rgba(235,38,66,.22)!important;
}
.tab:active{transform:scale(.985)}

/* Club grid: shield is the focus, clean grid and visible model count */
.section{padding:15px 16px!important}
.title{margin:12px 0 15px!important;align-items:baseline}
.title h2,.home .title h2{
  font-size:clamp(22px,2.8vw,29px)!important;
  font-weight:950!important;letter-spacing:-.8px!important;
}
.title span,.home .title span{font-size:12px!important;color:#aab5c5!important}
.club-grid{gap:11px!important}
.club{
  min-height:167px!important;
  border-radius:19px!important;
  background:linear-gradient(160deg,#1c2633,#111924 88%)!important;
  border:1px solid rgba(230,235,246,.12)!important;
  box-shadow:0 7px 22px rgba(0,0,0,.18)!important;
  gap:7px!important;padding:12px 8px!important;
  transform:translateZ(0);
}
.club::before{
  opacity:.10!important;filter:blur(28px)!important;
  inset:-35%;
}
.club::after{
  height:35%;inset:auto -15% -15%;
  background:linear-gradient(0deg,rgba(241,44,71,.055),transparent);
}
.club:hover,.club:focus-visible{
  border-color:rgba(233,191,111,.58)!important;
  box-shadow:0 16px 32px rgba(0,0,0,.24)!important;
}
.club .crest{
  width:94px!important;height:94px!important;
  filter:none!important;background:transparent!important;
  border:0!important;box-shadow:none!important;
}
.club .crest img,.club .crest img.logo-real,.club .crest svg{
  width:93px!important;height:93px!important;
  max-width:93px!important;max-height:93px!important;
  object-fit:contain!important;
  padding:0!important;border:0!important;
  background:transparent!important;
  filter:drop-shadow(0 9px 10px rgba(0,0,0,.26))!important;
}
.club-name{
  font-size:12px!important;line-height:1.19!important;
  font-weight:850!important;letter-spacing:.08px!important;
  text-transform:none!important;
  overflow-wrap:anywhere;
}
.club-count{
  display:block!important;
  border:0!important;
  background:transparent!important;
  color:#aebccc!important;
  padding:0!important;
  font-weight:650!important;font-size:10px!important;
}
.missing-logo{font-size:23px;color:var(--jp64-gold)}

/* Product pages immediately prioritize products, not the homepage banner. */
body.view-products .home-only{display:none!important}
body.view-products .tabs{padding-top:10px!important}
.tabs{scroll-margin-top:145px}

/* Modal and cart MUST sit above the floating bottom bar. No JS changes. */
.modal.open,.drawer.open{z-index:20050!important}
body:has(.modal.open) .footer-nav,
body:has(.drawer.open) .footer-nav,
body:has(.request-modal.open) .footer-nav{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:none!important;
}
body:has(.modal.open) #jpInstallAppBtn,
body:has(.drawer.open) #jpInstallAppBtn,
body:has(.request-modal.open) #jpInstallAppBtn{display:none!important}

/* Club detail intro and category chips */
.back{
  border-radius:12px!important;
  padding:10px 13px!important;
  font-size:12px!important;
  background:#171e28!important;
  border-color:var(--jp64-stroke)!important;
  color:#e5e9ee!important;
}
.club-hero{
  border-radius:22px!important;
  padding:19px!important;
  margin:5px 0 20px!important;
  background:linear-gradient(118deg,#1a2534,#2c1d2a 60%,#131921)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 12px 31px rgba(0,0,0,.18)!important;
}
.club-hero:before{opacity:.2!important}
.club-hero h2{font-size:clamp(21px,3.6vw,28px)!important;letter-spacing:-.4px}
.club-hero p{color:#ffe5b5!important}
.club-hero small{color:#b9c4d3!important;line-height:1.45}
.category-strip{gap:8px!important;padding-bottom:16px!important;scrollbar-width:none}
.category-strip::-webkit-scrollbar{display:none}
.cat{
  border-radius:11px!important;
  font-size:12px!important;font-weight:800!important;
  border:1px solid var(--jp64-stroke)!important;
  background:#17202b!important;color:#ced8e6!important;
  padding:10px 14px!important;
}
.cat.active{
  color:#fff!important;
  background:linear-gradient(135deg,#ce2241,#a31a35)!important;
  border-color:#e7546b!important;
}

/* All national teams: proper flags; emoji backup works even offline. */
.selection-flag-img{
  object-fit:contain!important;
  border-radius:5px;
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.20))!important;
}
.selection-flag-fallback{
  display:grid;place-items:center;
  width:94px;height:94px;
  font-size:66px;line-height:1;
  text-align:center;
  white-space:nowrap;
  filter:drop-shadow(0 6px 8px rgba(0,0,0,.23));
}
.hero-crest .selection-flag-fallback{width:100%;height:100%;font-size:clamp(48px,7vw,76px)}
/* Category tabs are ordered by the styles customers actually browse. */
.cat{display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important;white-space:nowrap}
.cat-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:21px;height:21px;padding:1px 6px;
  font-size:10px;font-weight:850;line-height:1;
  border-radius:8px;
  color:#bfcbd8;background:rgba(255,255,255,.09);
}
.cat.active .cat-count{background:rgba(255,255,255,.20);color:#fff}

/* Stadium Edition: season selector inside each club / national team */
.season-heading{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  padding:6px 1px 11px;
}
.season-heading h3{margin:3px 0 0;color:#f6f7fa;font-size:19px;font-weight:900;letter-spacing:-.55px}
.season-eyebrow{color:#edbe73;font-size:10px;letter-spacing:1.3px;font-weight:900}
.season-heading small{color:#abb7c7;font-weight:700;font-size:11px;white-space:nowrap}
.season-strip{
  display:flex;align-items:center;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
  margin:0 0 17px;padding:3px 1px 7px;
}
.season-strip::-webkit-scrollbar{display:none}
.season-btn{
  flex:0 0 auto;scroll-snap-align:start;
  display:inline-flex;align-items:center;gap:9px;justify-content:center;
  min-height:42px;padding:10px 13px;border-radius:13px;
  color:#d8e0ea;background:#1c2633;border:1px solid #354254;
  font-size:12px;font-weight:800;line-height:1.1;
  transition:background .2s,border-color .2s;
}
.season-btn.active{
  color:#fff;background:linear-gradient(135deg,#bc203d,#8b1b32);
  border-color:#f36178;box-shadow:0 5px 14px rgba(179,29,58,.25)
}
.season-count{
  border-radius:7px;background:rgba(255,255,255,.10);color:#becbd9;
  min-width:22px;padding:4px 6px;font-size:10px;line-height:1;font-weight:900;text-align:center;
}
.season-btn.active .season-count{background:rgba(255,255,255,.23);color:#fff}
.season-group-title{
  grid-column:1/-1;
  display:flex;align-items:center;gap:12px;
  margin:11px 0 2px;padding:4px 0 9px;
  font-size:14px;font-weight:900;color:#ffe0a8;
  border-bottom:1px solid rgba(232,189,110,.20);letter-spacing:.03px
}
.season-group-title:before{content:"";width:5px;height:18px;border-radius:5px;background:#e6b868}
.product .season-product-label{
  display:inline-flex;font-size:10px;font-weight:800;
  color:#f4d5a1;background:rgba(213,166,87,.12);
  border-radius:6px;padding:4px 7px;margin-top:7px;
}
@media(min-width:700px){
 .season-strip{gap:10px;flex-wrap:wrap;overflow:visible}
 .season-heading{padding-top:10px}
 .season-heading h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.season-btn{transition:none!important}}

/* The product photo owns the card; text and pricing stay readable. */
.product-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
.product{
  position:relative;
  border:1px solid #283342!important;
  border-radius:19px!important;
  background:#18212c!important;
  box-shadow:0 8px 26px rgba(0,0,0,.22)!important;
  overflow:hidden;
  transform:translateZ(0);
  transition:border-color .2s,box-shadow .2s,transform .2s;
}
.product:hover{
  transform:translateY(-3px);
  border-color:rgba(233,191,111,.47)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.26)!important;
}
.product:active{transform:scale(.985)}
.product>img{
  display:block;
  width:100%!important;height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#f2f3f5!important;
  padding:8px!important;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.product:after{
  left:9px!important;top:9px!important;
  border:1px solid rgba(255,255,255,.20)!important;
  background:rgba(22,29,39,.92)!important;
  color:#fff!important;
  border-radius:7px!important;
  font-size:9px!important;font-weight:850!important;
  letter-spacing:.28px!important;
  padding:5px 8px!important;
  backdrop-filter:blur(7px);
}
.product[data-tag="Retrô"]:after{background:#6d4c20!important;color:#ffebc1!important;border-color:#c29951!important}
.product[data-tag="Jogador"]:after{background:#9b1931!important}
.product[data-tag="Infantil"]:after{background:#365b7e!important}
.product[data-tag="Treino"]:after{background:#315d55!important}
.product[data-tag="Goleiro"]:after{background:#383e83!important}
.product .quick-actions{top:8px;right:8px}
.product .quick-actions button{
  width:36px;height:36px;
  border-radius:12px;background:#16202be8;
  border:1px solid rgba(255,255,255,.27);
}
.product .pinfo{
  display:flex;flex-direction:column;align-items:flex-start;
  min-height:126px;
  background:#18212c!important;
  padding:12px 12px 13px!important;
}
.product .pinfo b{
  width:100%;display:-webkit-box;
  -webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
  min-height:33px;
  font-size:12px!important;line-height:1.36!important;
  font-weight:750!important;
  color:#f4f6fa!important;
}
.product .pinfo small{
  display:block;margin-top:6px;
  font-size:10px;color:#a4b1c1!important;
}
.product .pinfo .price{
  display:block;
  margin-top:8px;
  color:#fff2cf!important;
  font-size:19px!important;
  font-weight:950!important;
  line-height:1.05!important;
  letter-spacing:-.65px;
}
.product .pinfo .encomenda{
  display:inline-flex;
  margin-top:8px;
  font-size:10px!important;
  font-weight:750!important;
  color:#8de3b7!important;
}
.retro-product{border-color:rgba(204,160,86,.36)!important}
#importMore{
  border-radius:14px!important;
  background:#1b2735!important;
  border:1px solid rgba(233,191,111,.30)!important;
  color:#f0d29b!important;
  padding:15px 18px!important;
}

/* Product sheet and controls; preserve all existing DOM IDs/events */
.modal{background:rgba(3,6,11,.83)!important;backdrop-filter:blur(7px)}
.sheet{
  background:#101823!important;
  border:1px solid #344254!important;
  border-radius:27px 27px 0 0!important;
  box-shadow:0 30px 90px rgba(0,0,0,.55)!important;
}
.sheet>img{
  background:#f3f4f6!important;object-fit:contain!important;
  max-height:min(43vh,380px)!important;
}
.details{padding:20px!important;color:#f8fafc;overflow:auto}
.details h3{font-size:21px!important;letter-spacing:-.5px;line-height:1.25}
.details p{font-size:12px;color:#aab7c7!important;line-height:1.45}
.pillrow{gap:7px!important}
.pill{
  border-color:rgba(255,255,255,.13)!important;
  background:#202c3a!important;
  color:#dce4ed;
  font-size:11px!important;
}
.price-pill{
  background:#4f291f!important;
  color:#ffe0ac!important;
  font-size:17px!important;
}
.size-title,.qty-row b{color:#d8dfec!important}
.size{border-radius:12px!important;background:#1c2835!important;border-color:#354255!important}
.size.active{
  background:#f5d18b!important;
  color:#161a20!important;
  border-color:#fff1d4!important;
}
.qty-row{border-color:#354255!important;background:#172331!important}
.qty-controls button{
  background:#2b394a!important;
  border-radius:10px!important;
}
.buy{border-radius:14px!important;font-weight:900!important;letter-spacing:.03px}
.buy.secondary,#addCart{
  background:linear-gradient(135deg,#ef3651,#b81b36)!important;
  color:#fff!important;
  box-shadow:0 9px 21px rgba(241,44,71,.24)!important;
}
#wa,.request-send,#sendCart{
  background:linear-gradient(135deg,#1eae68,#117749)!important;
  color:#fff!important;
  box-shadow:0 9px 22px rgba(21,156,91,.17)!important;
}
.close{
  background:#f7f8fa!important;color:#151920!important;
  box-shadow:0 7px 16px rgba(0,0,0,.25);
}
.admin-note{
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:12px!important;
  color:#b6c1cf!important;background:#17202c!important;
}

/* Shopping drawer, request form and floating navigation */
.drawer{background:rgba(4,7,12,.78)!important;backdrop-filter:blur(5px)}
.drawer-panel{
  background:#111925!important;
  border-color:#344153!important;
  border-radius:27px 27px 0 0!important;
}
.drawer-head h2{letter-spacing:-.5px}
.iconbtn,.favorite{
  border-radius:12px!important;
  background:#263344!important;
  color:#f3f5f8!important;
  border:1px solid rgba(255,255,255,.13)!important;
}
.cart-item{
  background:#1a2533!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:15px!important;
}
.cart-item img{background:#f1f2f3!important;border-radius:10px!important}
.summary{
  background:#242536!important;
  color:#f1d599!important;
  border:1px solid rgba(233,191,111,.28)!important;
  border-radius:15px!important;
}
.request-modal{backdrop-filter:blur(6px)}
.request-panel{
  background:linear-gradient(180deg,#192432,#0e1621)!important;
  border-color:rgba(255,255,255,.16)!important;
}
.request-field label{color:#efcd92!important}
.request-field input,.request-field select,.request-field textarea{
  background:#111c29!important;
  border-color:#3b495a!important;
  color:#fff!important;
}
.request-send{border-radius:14px!important}

.footer-nav{
  bottom:10px!important;
  filter:drop-shadow(0 14px 22px rgba(0,0,0,.43))!important;
}
.nav-inner{
  border-radius:25px!important;
  background:rgba(21,29,40,.98)!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.navbtn{color:#bbc5d3!important}
.navbtn:hover,.navbtn:active,.navbtn.active{color:#fff!important;background:rgba(255,255,255,.08)!important}
#navRequest{
  background:linear-gradient(150deg,#f4d491,#d7a75c 70%,#a87935)!important;
  border-color:#161e28!important;color:#101722!important;
  box-shadow:0 10px 22px rgba(0,0,0,.30),0 0 18px rgba(217,171,94,.14)!important;
}
#navRequest:hover,#navRequest:active{color:#101722!important}
.cart-badge{background:#f03952!important;color:#fff!important}
.toast{border-color:#365849!important;background:#12291f!important;color:#e5fff0!important}

/* Unified vector icon language: removes mixed emoji styles in action bars. */
.quick-icon{
  display:grid!important;place-items:center;
  width:34px;height:34px;
  border-radius:11px;background:rgba(255,255,255,.06);
  color:#e6cfab;
}
.quick-card.featured .quick-icon{background:rgba(241,44,71,.21);color:#ffe2e4}
.quick-icon svg{width:23px;height:23px;display:block}
.navico{display:grid!important;place-items:center;line-height:1!important}
.navico svg{width:23px;height:23px;display:block}
#navRequest .navico svg{width:27px;height:27px}
.navbtn.active .navico svg{stroke-width:2.2}

/* Compact native-app product sheet with independently scrollable details. */
@media (max-width:759px){
  .modal.open{align-items:flex-end!important}
  .sheet{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:min(35dvh,310px) minmax(0,1fr)!important;
    height:calc(100dvh - 18px)!important;
    max-height:calc(100dvh - 18px)!important;
    border-radius:26px 26px 0 0!important;
    margin:0 auto!important;
  }
  .sheet>img{
    height:100%!important;max-height:none!important;min-height:0;
    object-fit:contain!important;
  }
  .details{
    height:100%;min-height:0;
    overflow-y:auto!important;overscroll-behavior:contain;
    padding-bottom:calc(20px + env(safe-area-inset-bottom))!important;
  }
  .action-grid{
    position:sticky!important;
    bottom:0!important;
    z-index:5!important;
    background:linear-gradient(180deg,rgba(16,24,35,.85),#101823 28%)!important;
    padding:12px 0 5px!important;
  }
  #addCart{margin-top:0!important}
}

/* Screen widths and accessible reduced motion */
@media (min-width:700px){
  .showcase-card{min-width:47%!important;min-height:241px!important;padding:26px!important}
  .showcase-card::before{height:185px;right:23px}
  .quick-menu{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .club-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:17px!important}
  .product .pinfo b{font-size:13px!important}
  .section{padding:20px 26px!important}
  .home-showcase{padding-inline:26px!important}
  .quick-menu{padding-inline:26px!important}
  .tabs{padding-inline:26px!important}
  .sheet{max-width:900px!important}
}
@media (min-width:1050px){
  .hero{display:grid;grid-template-columns:1fr minmax(320px,440px);align-items:center;gap:30px}
  .brand{margin-bottom:0!important}
  .club-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .product-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  .showcase-card{min-width:32%!important}
}
@media (min-width:760px){
  .sheet{
    border-radius:24px!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    max-height:min(86vh,760px)!important;
  }
  .sheet>img{max-height:82vh!important;align-self:stretch}
  .details{max-height:80vh;overflow:auto}
  .drawer{align-items:center}
  .drawer-panel{max-width:620px;margin:auto;border-radius:25px!important;max-height:88vh}
}
@media (max-width:400px){
  .showcase-card{min-width:90%!important}
  .showcase-card::before{top:42px;right:13px;width:35%;height:148px}
  .showcase-card h2{font-size:23px!important}
  .showcase-card p{font-size:11px!important}
  .club{min-height:159px!important}
  .club .crest{width:83px!important;height:83px!important}
  .club .crest img,.club .crest img.logo-real,.club .crest svg{
    width:82px!important;height:82px!important;
    max-width:82px!important;max-height:82px!important
  }
  .product .pinfo{padding:10px!important}
  .product .pinfo .price{font-size:18px!important}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .product,.club,.tab,.navbtn,.quick-card,.showcase-action{transition:none!important;animation:none!important}
  .product:hover,.club:hover,.navbtn:hover{transform:none!important}
}
