/* ============ CAPO GANG storefront ============ */

/* header */
.site-head{position:sticky;top:0;z-index:500;background:rgba(247,242,233,.92);backdrop-filter:blur(8px);
  border-bottom:2px solid var(--saddle);}
.head-inner{display:flex;align-items:center;gap:18px;height:72px;}
.brand{display:flex;align-items:center;}
.logo-img{height:54px;width:auto;display:block;}
.foot-logo{display:inline-block;background:var(--cream-white);border-radius:14px;padding:8px 14px;margin-bottom:6px;}
.foot-logo img{display:block;}
.nav-links{display:flex;gap:24px;margin-left:24px;flex:1;}
.nav-links a{font-weight:600;text-transform:uppercase;letter-spacing:.6px;font-size:14px;color:var(--olive);position:relative;padding:4px 0;}
.nav-links a:hover{color:var(--saddle);}
.nav-links a::after{content:'';position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--saddle);transition:.2s;}
.nav-links a:hover::after{width:100%;}
.head-actions{display:flex;align-items:center;gap:6px;margin-left:auto;}
.icon-btn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:var(--espresso);position:relative;}
.icon-btn:hover{background:var(--cream);}
.icon-btn .icon{width:22px;height:22px;}
.cart-count{position:absolute;top:2px;right:2px;background:var(--saddle);color:#fff;font-size:11px;font-weight:700;
  min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;font-family:var(--font-body);}
.search-bar{padding:12px 0;border-top:1px solid var(--line);background:var(--paper);}

/* hero */
.hero{background:
  linear-gradient(180deg, rgba(219,213,202,.4), transparent),
  var(--cream-white);padding-top:24px;overflow:hidden;border-bottom:1px solid var(--line);}
/* shoppable banner: image + positioned text overlay + product hotspots */
.hero-banner{position:relative;display:block;width:100%;margin:0 auto;
  border-radius:16px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);background:var(--cream);
  min-height:120px;}
.hero-bg{width:100%;height:auto;aspect-ratio:1774/887;object-fit:cover;display:block;}

/* text overlay — anchored by its centre so it drags anywhere in the admin */
.hero-overlay{position:absolute;transform:translate(-50%,-50%);z-index:3;max-width:min(44%,480px);pointer-events:none;}
.hero-overlay a,.hero-overlay .btn{pointer-events:auto;}
.hero-overlay.t-dark{color:var(--espresso);}
.hero-overlay.t-light{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.5);}
.hero-overlay .hero-eyebrow{display:inline-block;letter-spacing:3px;font-size:clamp(9px,1.1vw,13px);margin-bottom:8px;color:inherit;opacity:.85;}
.hero-overlay h1{font-size:clamp(20px,4.2vw,58px);color:inherit;line-height:1.03;}
.hero-overlay .hero-sub{font-size:clamp(11px,1.4vw,17px);margin:8px 0 14px;color:inherit;opacity:.92;}
.hero-overlay .hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px;}
.hero-overlay[style*="text-align:center"] .hero-cta{justify-content:center;}
.hero-overlay[style*="text-align:right"] .hero-cta{justify-content:flex-end;}

/* pulsing shoppable dots */
.hotspot{position:absolute;transform:translate(-50%,-50%);z-index:4;background:none;border:none;padding:0;cursor:pointer;}
.hs-dot{display:block;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid var(--saddle);
  box-shadow:0 0 0 0 rgba(141,91,47,.55);animation:hsPulse 2s infinite;position:relative;}
.hs-dot::after{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--saddle);}
@keyframes hsPulse{0%{box-shadow:0 0 0 0 rgba(141,91,47,.5)}70%{box-shadow:0 0 0 15px rgba(141,91,47,0)}100%{box-shadow:0 0 0 0 rgba(141,91,47,0)}}
.hs-tag{position:absolute;left:50%;bottom:160%;transform:translateX(-50%) translateY(6px);white-space:nowrap;
  background:rgba(38,11,1,.92);color:#fff4dd;font-size:12px;font-weight:600;padding:6px 11px;border-radius:8px;
  opacity:0;visibility:hidden;transition:.18s;pointer-events:none;box-shadow:var(--shadow-sm);}
.hs-tag b{color:#ffd66b;}
.hotspot:hover .hs-tag,.hotspot:focus-visible .hs-tag{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
@media (hover:none){.hs-dot{width:22px;height:22px;}}

/* social-proof "just bought" popup */
.proof-pop{position:fixed;left:16px;bottom:16px;z-index:750;display:flex;gap:10px;align-items:center;
  width:290px;max-width:calc(100vw - 32px);padding:10px;background:var(--paper);border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow);cursor:pointer;transform:translateY(140%);opacity:0;
  transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s;}
.proof-pop.show{transform:translateY(0);opacity:1;}
.proof-pop .img-load{width:52px;height:60px;border-radius:8px;flex-shrink:0;overflow:hidden;}
.proof-pop .img-load img{width:100%;height:100%;object-fit:cover;}
.proof-pop .pp-info{flex:1;min-width:0;font-size:13px;line-height:1.35;}
.proof-pop .pp-top b{color:var(--espresso);} .proof-pop .pp-top .muted{font-size:12px;}
.proof-pop .pp-prod{color:var(--olive);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.proof-pop .pp-prod b{color:var(--saddle);}
.proof-pop .pp-when{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--sage);margin-top:2px;}
.proof-pop .pp-check{width:13px;height:13px;color:#7a8b53;}
.proof-pop .pp-x{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;color:var(--sage);display:grid;place-items:center;}
.proof-pop .pp-x .icon{width:14px;height:14px;}
.proof-pop .pp-x:hover{background:var(--cream);}
@media (max-width:480px){.proof-pop{left:10px;bottom:74px;width:250px;}}
.ticker{background:var(--espresso);overflow:hidden;white-space:nowrap;}
.ticker-track{display:inline-flex;gap:40px;padding:11px 0;animation:tick 22s linear infinite;font-family:var(--font-type);
  color:var(--sand);letter-spacing:3px;font-size:13px;}
.ticker-track span{display:inline-flex;align-items:center;gap:40px;}
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.hero-star{width:min(300px,70%);height:auto;animation:starFloat 5s ease-in-out infinite;filter:drop-shadow(0 14px 22px rgba(38,11,1,.18));}
@keyframes starFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-12px) rotate(2deg)}}

/* shop */
.shop{padding:50px 20px 30px;position:relative;}
/* sale badge — pinned top-right above the product grid */
.sale-badge{position:absolute;top:-34px;right:14px;width:118px;height:auto;z-index:6;
  animation:saleSwing 3.2s ease-in-out infinite;transform-origin:50% 0;
  filter:drop-shadow(0 10px 16px rgba(38,11,1,.28));}
@keyframes saleSwing{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
.shop-head{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:26px;padding-right:140px;}
.shop-head h2{font-size:38px;color:var(--espresso);}
.cat-filter{display:flex;gap:10px;flex-wrap:wrap;}
.chip{padding:8px 18px;border-radius:999px;border:1.5px solid var(--sand);background:transparent;color:var(--olive);
  font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px;transition:.18s;}
.chip:hover{border-color:var(--saddle);color:var(--saddle);}
.chip.active{background:var(--saddle);border-color:var(--saddle);color:#fff;}

.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.grid-loading{grid-column:1/-1;text-align:center;color:var(--olive);padding:50px;font-family:var(--font-type);}
.pcard{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:.2s transform,.2s box-shadow;cursor:pointer;display:flex;flex-direction:column;}
.pcard:hover{transform:translateY(-4px);box-shadow:var(--shadow);}
.pcard .img-load{aspect-ratio:3/3.6;}
.pcard .img-load img{width:100%;height:100%;object-fit:cover;}
.pcard-body{padding:14px 14px 16px;display:flex;flex-direction:column;gap:6px;flex:1;}
.pcard-cat{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--sage);font-weight:600;}
.pcard-name{font-weight:600;font-size:15px;color:var(--ink);line-height:1.25;}
.pcard-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:8px;}
.price{font-weight:700;font-size:18px;color:var(--espresso);}
.price .mrp{font-size:13px;color:var(--sage);text-decoration:line-through;font-weight:400;margin-left:6px;}
.add-mini{width:38px;height:38px;border-radius:50%;background:var(--saddle);color:#fff;display:grid;place-items:center;}
.add-mini:hover{background:var(--brand-dark);}
.pcard .badge{position:absolute;top:10px;left:10px;z-index:3;}
.pcard .img-load{position:relative;}

/* ===================== SHINING WOOD SHOWCASE ===================== */
/* every product image sits on a shining wood mat/frame */
.pcard-media{position:relative;padding:9px;border-radius:12px;overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(0,0,0,.14)),
    repeating-linear-gradient(90deg,rgba(0,0,0,.055) 0 2px,transparent 2px 8px),
    linear-gradient(105deg,#4f3218,#7a4a22 22%,#a06a38 48%,#7a4a22 74%,#4f3218);
  box-shadow:inset 0 0 0 1px rgba(255,224,168,.14),inset 0 2px 9px rgba(0,0,0,.3);}
.pcard-media .img-load{border-radius:7px;overflow:hidden;position:relative;z-index:1;
  box-shadow:0 2px 8px rgba(38,11,1,.35);}
.pcard-media .img-load img{transition:transform .35s ease;transform-origin:center;}
.pcard:hover .pcard-media .img-load img{transform:scale(1.04);}

/* the travelling glint that makes the wood "shine" */
.wood-shine::before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
  background:linear-gradient(105deg,transparent 32%,rgba(255,241,205,.42) 47%,rgba(255,255,255,.22) 52%,transparent 68%);
  transform:translateX(-130%);animation:woodShine 5.5s ease-in-out infinite;}
@keyframes woodShine{0%{transform:translateX(-130%)}58%,100%{transform:translateX(130%)}}

/* price sitting on a shining wood plaque */
.wood-price{display:inline-flex;align-items:center;position:relative;overflow:hidden;
  padding:5px 12px;border-radius:8px;color:#fff4dd;font-weight:800;font-size:16px;
  background:
    repeating-linear-gradient(90deg,rgba(0,0,0,.05) 0 2px,transparent 2px 7px),
    linear-gradient(100deg,#4f3218,#8d5b2f 32%,#a86e3d 50%,#8d5b2f 68%,#4f3218);
  box-shadow:inset 0 1px 0 rgba(255,235,190,.2),0 2px 6px rgba(38,11,1,.32);
  text-shadow:0 1px 1px rgba(0,0,0,.45);}
.wood-price::after{content:'';position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,245,215,.55) 48%,transparent 62%);
  transform:translateX(-140%);animation:woodShine 5.5s ease-in-out infinite;animation-delay:.4s;}
.wood-price .mrp{color:#ecd9ba;text-decoration:line-through;font-weight:500;font-size:12px;margin-left:7px;}

/* respect reduced-motion: keep the wood, drop the moving glint */
@media (prefers-reduced-motion:reduce){
  .wood-shine::before,.wood-price::after,.pcard-media .img-load img{animation:none;transition:none;}
}

/* ===================== TOP SELLING (bounty marquee) ===================== */
.top-selling{padding:38px 16px 8px;}
.top-selling.hidden{display:none;}
.ts-inner{max-width:var(--maxw);margin:0 auto;position:relative;border-radius:20px;padding:24px 20px 26px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.16),rgba(0,0,0,.34)),
    repeating-linear-gradient(90deg,rgba(0,0,0,.06) 0 3px,transparent 3px 10px),
    linear-gradient(120deg,#3f2913,#6f441f 38%,#8d5b2f 58%,#3f2913);
  box-shadow:inset 0 0 0 2px rgba(255,220,160,.16),0 18px 44px rgba(38,11,1,.4);}
/* rope-light bulb strips top & bottom (cowboy saloon marquee) */
.bulb-strip{height:20px;margin:2px 8px 16px;border-radius:999px;
  background-image:radial-gradient(circle at 11px 10px,#fff4c0 0 4.5px,#e8b955 5.5px 7px,rgba(0,0,0,.35) 8px 9px,transparent 10px);
  background-size:32px 20px;background-repeat:repeat-x;background-position:center;
  filter:drop-shadow(0 0 5px rgba(255,206,105,.85));animation:bulbBlink 1.5s steps(1,end) infinite;}
.bulb-strip.bottom{margin:18px 8px 0;animation-delay:.75s;}
@keyframes bulbBlink{0%,49%{opacity:1;filter:drop-shadow(0 0 7px rgba(255,214,120,.95))}50%,100%{opacity:.55;filter:drop-shadow(0 0 2px rgba(255,206,105,.4))}}

.ts-head{text-align:center;margin-bottom:22px;position:relative;z-index:1;}
.ts-eyebrow{display:inline-block;color:#ffd98a;letter-spacing:4px;font-size:12px;margin-bottom:8px;}
.ts-head h2{font-size:clamp(34px,6vw,54px);color:#fff4dd;text-shadow:0 2px 12px rgba(0,0,0,.55);}
.ts-sub{color:#f2e0c6;font-size:15px;margin-top:6px;}

/* centered cards — the section fills from the middle out */
.ts-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;position:relative;z-index:1;}
.ts-grid .pcard{width:230px;flex:0 0 230px;background:var(--paper);}
.pcard-feat{border-color:#c9922e;box-shadow:0 12px 28px rgba(38,11,1,.42);}

/* "Top" ribbon on featured cards shown in the main rack */
.badge-top{left:auto;right:10px;display:inline-flex;align-items:center;gap:4px;
  background:linear-gradient(180deg,#ffd66b,#e0a63a);color:#3a1607;font-weight:800;}
.badge-top .icon{width:12px;height:12px;fill:#3a1607;stroke:#3a1607;}

@media (max-width:760px){
  .ts-grid .pcard{width:clamp(148px,44vw,230px);flex:0 0 clamp(148px,44vw,230px);}
}
@media (max-width:420px){
  .ts-inner{padding:18px 12px 20px;}
  .bulb-strip{background-size:26px 18px;height:18px;}
}

/* trust */
.trust{background:var(--cream);padding:44px 0;margin-top:30px;}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.trust-item{text-align:center;padding:10px;}
.trust-item .icon{width:34px;height:34px;color:var(--saddle);margin-bottom:10px;}
.trust-item h4{font-family:var(--font-body);font-weight:700;font-size:16px;text-transform:uppercase;letter-spacing:.5px;margin:0 0 4px;}
.trust-item p{color:var(--olive);font-size:14px;margin:0;}

/* footer */
.site-foot{background:var(--espresso);color:var(--cream);padding:46px 0 0;margin-top:0;}
.foot-inner{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;padding-bottom:30px;}
.site-foot .muted{color:var(--sand);}
.foot-links{display:flex;flex-direction:column;gap:10px;}
.foot-links a{color:var(--sand);font-weight:500;}
.foot-links a:hover{color:#fff;}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding:16px 0;font-size:13px;color:var(--sage);text-align:center;}

/* cart drawer */
.drawer-bg{position:fixed;inset:0;background:rgba(38,11,1,.5);z-index:800;opacity:0;visibility:hidden;transition:.25s;}
.drawer-bg.show{opacity:1;visibility:visible;}
.cart-drawer{position:fixed;top:0;right:0;height:100%;width:400px;max-width:92vw;background:var(--paper);z-index:850;
  transform:translateX(100%);transition:.28s ease;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(38,11,1,.2);}
.cart-drawer.show{transform:translateX(0);}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:2px solid var(--saddle);}
.drawer-head h3{font-size:22px;color:var(--espresso);}
.drawer-body{flex:1;overflow:auto;padding:16px 20px;}
.drawer-foot{border-top:1px solid var(--line);padding:18px 20px;background:var(--cream-white);}
.cart-line{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);}
.cart-line .img-load{width:64px;height:74px;border-radius:8px;flex-shrink:0;}
.cart-line .img-load img{width:100%;height:100%;object-fit:cover;}
.cart-line .cl-info{flex:1;min-width:0;}
.cart-line .cl-name{font-weight:600;font-size:14px;}
.cart-line .cl-meta{font-size:12px;color:var(--olive);}
.qty-ctrl{display:inline-flex;align-items:center;gap:8px;margin-top:6px;}
.qty-ctrl button{width:26px;height:26px;border-radius:6px;border:1px solid var(--line);display:grid;place-items:center;color:var(--olive);}
.qty-ctrl button:hover{border-color:var(--saddle);color:var(--saddle);}
.cl-remove{color:#b4452e;font-size:12px;margin-top:6px;display:inline-flex;align-items:center;gap:4px;}
.cart-empty{text-align:center;color:var(--olive);padding:50px 0;font-family:var(--font-type);}
.summary-row{display:flex;justify-content:space-between;font-size:14px;margin-bottom:8px;color:var(--olive);}
.summary-row.total{font-size:20px;font-weight:700;color:var(--espresso);font-family:var(--font-body);}

/* product modal */
.pm{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.pm .img-load{border-radius:12px;aspect-ratio:3/3.6;}
.pm .img-load img{width:100%;height:100%;object-fit:cover;}
.pm-thumbs{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
.pm-thumb{width:56px;height:64px;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:none;cursor:pointer;}
.pm-thumb .img-load{width:100%;height:100%;}
.pm-thumb .img-load img{width:100%;height:100%;object-fit:cover;}
.pm-thumb.active{border-color:var(--saddle);}
.pm-info h3{font-size:24px;color:var(--espresso);margin-bottom:6px;}
.pm-price{font-size:26px;font-weight:700;color:var(--saddle);margin:10px 0;}
.color-grid{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px;}
.color-btn{display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 8px;border-radius:999px;
  border:1.5px solid var(--sand);background:transparent;font-weight:600;font-size:13px;color:var(--olive);}
.color-btn .swatch{width:18px;height:18px;border-radius:50%;border:1px solid rgba(0,0,0,.15);display:inline-block;}
.color-btn.active{border-color:var(--espresso);background:var(--cream-white);color:var(--espresso);}
.size-grid{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 4px;}
.size-btn{min-width:46px;padding:9px 12px;border-radius:8px;border:1.5px solid var(--sand);background:transparent;
  font-weight:600;color:var(--olive);}
.size-btn.active{background:var(--espresso);border-color:var(--espresso);color:#fff;}
.size-btn:disabled{opacity:.35;text-decoration:line-through;cursor:not-allowed;}
.stock-note{font-size:12px;color:var(--sage);margin:4px 0 14px;}

/* ===================== dedicated product page (product.php) — FULL WIDTH ===================== */
.pdp-page{max-width:none;width:100%;padding:22px clamp(16px,4vw,56px) 64px;min-height:60vh;}
.pdp-back{display:inline-block;margin-bottom:18px;font-weight:600;color:var(--saddle);font-size:14px;text-transform:uppercase;letter-spacing:.5px;}
.pdp-back:hover{color:var(--brand-dark);}
.pm.pdp{align-items:start;gap:clamp(22px,4vw,52px);grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);}
.pdp-media{position:sticky;top:90px;}
.pm.pdp .pm-info{max-width:660px;}
.pdp-title{font-size:clamp(26px,3.6vw,44px);color:var(--espresso);line-height:1.04;margin:6px 0 2px;}
.pm.pdp .pm-price{font-size:clamp(24px,2.4vw,32px);}
.pdp-desc{font-size:15px;margin:8px 0 16px;line-height:1.65;}
.pdp-add{margin-top:6px;}
.pdp-missing{text-align:center;padding:70px 20px;}
.pdp-missing h2{font-size:30px;color:var(--espresso);margin-bottom:8px;}
.pdp-missing .btn{margin-top:16px;}
@media(max-width:860px){
  .pm.pdp{grid-template-columns:1fr;}
  .pdp-media{position:static;}
}
@media(max-width:760px){
  .pdp-page{padding:14px 14px 48px;}
  .pm.pdp{gap:18px;}
  .pm.pdp .img-load{aspect-ratio:1/1.08;}
}

/* checkout */
.pay-opts{display:flex;flex-direction:column;gap:10px;margin:8px 0 16px;}
.pay-opt{display:flex;gap:12px;align-items:center;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;cursor:pointer;}
.pay-opt.active{border-color:var(--saddle);background:var(--cream-white);}
.pay-opt input{width:auto;}

/* floating WA */
.wa-float{position:fixed;right:18px;bottom:18px;width:56px;height:56px;border-radius:50%;background:#25D366;color:#fff;
  display:grid;place-items:center;box-shadow:var(--shadow);z-index:700;}
.wa-float .icon{width:30px;height:30px;}
.wa-float:hover{transform:scale(1.06);}

@media (max-width:1000px){
  .product-grid{grid-template-columns:repeat(3,1fr);}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  .nav-links{display:none;}
  .hero-overlay{max-width:min(58%,340px);}
  .hero-overlay .btn{padding:9px 14px;font-size:12px;}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:14px;}
  .pm{grid-template-columns:1fr;}
  .foot-inner{flex-direction:column;}
}
@media (max-width:420px){
  .shop-head h2{font-size:30px;}
}

/* ── Responsive additions ──────────────────────────────────────────────── */

/* 1 · Sale badge — shrink on tablet / phone so it clears the shop-head     */
/*   Desktop: 118 px @ top:-34px (intentional overhang into hero ticker).   */
/*   Tablet: 84 px, less overhang.                                           */
/*   Phone: 60 px + extra padding-top so badge bottom stays above shop-head. */
@media(max-width:760px){
  .sale-badge{width:84px;top:-26px;right:10px;}
  .shop-head{padding-right:100px;}
}
@media(max-width:480px){
  .sale-badge{width:64px;top:-14px;right:8px;}
  .shop{padding-top:46px;} /* clearance for the shrunken badge */
  .shop-head{padding-right:74px;}
}

/* 2 · Tap targets                                                           */
/* Add-to-cart mini button: 40×40 (was 38×38)                               */
.add-mini{width:40px;height:40px;}
/* Cart qty +/– buttons: 32×32 (was 26×26) — compromise for tight cart line */
.qty-ctrl button{width:32px;height:32px;min-width:32px;}
/* Size picker buttons: min 40 px tall                                       */
.size-btn{min-height:40px;}

/* 3 · Long product names: wrap inside narrow 2-col cards                   */
.pcard-name{overflow-wrap:break-word;}

/* 4 · Hero banner: tighter corners + roomier overlay on phone */
@media(max-width:480px){
  .hero-banner{border-radius:12px;}
  .hero-overlay{max-width:min(66%,300px);}
  .hero-overlay .hero-sub{display:none;} /* keep the phone banner clean */
}

/* 5 · Header: tighten gap and logo at 380 px and below                     */
@media(max-width:380px){
  .head-inner{gap:8px;}
  .brand img{height:36px;}
}

/* 6 · Trust grid: single column only at ≤360 px                            */
@media(max-width:360px){
  .trust-grid{grid-template-columns:1fr;}
}
