/* =========================================================================
   RAIVEX — css/product.css   (product page only; layered on top of rebrand.css)
   -------------------------------------------------------------------------
   Written from scratch in the homepage's visual language ("Streetwear.
   Redefined."): huge tight Inter headings, soft #f1f1ef panels, 22–28px
   rounded cards, ink-black pill buttons, a marquee strip and the same
   rise-in motion. Every class here is prefixed `pdp-` — nothing in this
   file depends on the old product-page rules in style.css, and nothing
   here uses backdrop-filter (the Chromium compositing bug the gallery had).
   Behaviour lives in js/product-page.js; markup comes from
   templates/product.template.html + scripts/build.js.
   ========================================================================= */

body.pdp-page{ overflow-x:hidden; }
.pdp{ padding-top:calc(var(--header-h) + 3vh); background:var(--bg); }
.pdp-wrap{ max-width:1480px; margin:0 auto; padding:0 5vw; }

/* ---- entrance (pure CSS, same feel as the homepage hero) ---- */
@keyframes pdp-rise{ from{ opacity:0; transform:translateY(26px); } }
.pdp-gallery{ animation:pdp-rise .9s cubic-bezier(.22,1,.36,1) backwards; }
/* buy box: blocks arrive one after another, like the hero's sub-copy -> CTA -> stats */
.pdp-info > *{ animation:pdp-rise .85s cubic-bezier(.22,1,.36,1) backwards; }
.pdp-info > *:nth-child(1){ animation-delay:.10s; } .pdp-info > *:nth-child(2){ animation-delay:.16s; }
.pdp-info > *:nth-child(3){ animation-delay:.22s; } .pdp-info > *:nth-child(4){ animation-delay:.28s; }
.pdp-info > *:nth-child(5){ animation-delay:.34s; } .pdp-info > *:nth-child(6){ animation-delay:.40s; }
.pdp-info > *:nth-child(7){ animation-delay:.46s; } .pdp-info > *:nth-child(n+8){ animation-delay:.52s; }
@media (prefers-reduced-motion:reduce){ .pdp-gallery,.pdp-info > *{ animation:none; } }

/* ---- breadcrumb ---- */
.pdp-crumbs{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:22px; }
.pdp-crumbs a{ color:var(--muted); transition:color .2s; }
.pdp-crumbs a:hover{ color:var(--ink); }
.pdp-crumbs i{ font-style:normal; opacity:.5; }
.pdp-crumbs span:last-child{ color:var(--ink); }

/* ---- main grid ---- */
.pdp-grid{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:5vw; align-items:start; }

/* ---- gallery ---- */
.pdp-gallery{ min-width:0; }
.pdp-stage{
  position:relative; aspect-ratio:4/5; max-height:calc(100svh - var(--header-h) - 90px); min-height:420px; width:100%; border-radius:28px; overflow:hidden;
  background:linear-gradient(160deg,#e4e4e1,#cdcdc9);
}
.pdp-stage img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.pdp-stage .product-placeholder,.pdp-slide .product-placeholder{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; padding:20px; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:rgba(0,0,0,.4); }
.pdp-arrow{
  position:absolute; top:50%; translate:0 -50%; z-index:2; width:44px; height:44px; border-radius:50%;
  background:#fff; color:var(--ink); border:0; font-size:22px; line-height:1; display:grid; place-items:center;
  box-shadow:0 8px 24px #0002; cursor:pointer; opacity:0; transition:opacity .25s, transform .25s var(--ease);
}
.pdp-arrow-prev{ left:16px; } .pdp-arrow-next{ right:16px; }
.pdp-stage:hover .pdp-arrow,.pdp-arrow:focus-visible{ opacity:1; }
.pdp-arrow:hover{ transform:scale(1.08); }
.pdp-count{ position:absolute; left:16px; bottom:16px; z-index:2; background:#fff; border-radius:999px; padding:7px 13px; font-size:11px; font-weight:700; letter-spacing:.08em; box-shadow:0 6px 20px #0002; }
.pdp-thumbs{ display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }
.pdp-thumb{
  width:84px; aspect-ratio:4/5; border-radius:16px; overflow:hidden; padding:0; cursor:pointer;
  background:#dcdcd8; border:2px solid transparent; transition:border-color .25s, transform .25s var(--ease);
}
.pdp-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pdp-thumb:hover{ transform:translateY(-2px); }
.pdp-thumb.is-active{ border-color:var(--ink); }
.pdp-thumbs:has(.pdp-thumb:only-child){ display:none; }

/* phone swipe gallery (native scroll-snap — server-rendered, JS only adds dots) */
.pdp-swipe{ display:none; position:relative; }
.pdp-track{
  display:flex; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  gap:10px; border-radius:24px; scrollbar-width:none;
}
.pdp-track::-webkit-scrollbar{ display:none; }
.pdp-slide{ position:relative; flex:0 0 100%; aspect-ratio:4/5; scroll-snap-align:center; border-radius:24px; overflow:hidden; background:linear-gradient(160deg,#e4e4e1,#cdcdc9); }
.pdp-slide img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.pdp-dots{ display:flex; justify-content:center; gap:7px; margin-top:12px; }
.pdp-dot{ width:7px; height:7px; border-radius:50%; padding:0; border:0; background:rgba(17,17,17,.2); transition:width .3s var(--ease), background .3s; cursor:pointer; }
.pdp-dot.is-active{ width:22px; border-radius:999px; background:var(--ink); }

/* ---- info column ---- */
.pdp-info{ min-width:0; position:sticky; top:calc(var(--header-h) + 22px); }
.pdp-lbl{ display:flex; align-items:center; gap:10px; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); }
.pdp-tag{ background:#fff; color:var(--ink); border-radius:999px; padding:5px 11px; font-size:10px; letter-spacing:.14em; }
.pdp-name{ font-size:clamp(34px,4.6vw,72px); line-height:.98; letter-spacing:-.045em; font-weight:800; text-transform:uppercase; margin:14px 0 12px; overflow-wrap:anywhere; }
.pdp-tagline{ font-size:14px; line-height:1.55; color:var(--muted); max-width:430px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.pdp-price-row{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 14px; margin:22px 0 4px; }
.pdp-price{ font-size:clamp(30px,3vw,42px); font-weight:800; letter-spacing:-.03em; }
.pdp-strike{ font-size:18px; color:var(--muted-2); font-weight:500; text-decoration:line-through; }
.pdp-off{ background:var(--ink); color:#fff; border-radius:999px; padding:6px 12px; font-size:11px; font-weight:700; letter-spacing:.06em; }
.pdp-badge{ background:#fff; color:var(--ink); border-radius:999px; padding:6px 12px; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 4px 14px #0001; }
.pdp-badge.is-soldout{ background:#e0e0dd; color:var(--muted); box-shadow:none; }
.pdp-taxnote{ font-size:11px; color:var(--muted-2); letter-spacing:.02em; }

.pdp-best{ display:flex; align-items:center; gap:12px; margin-top:12px; background:var(--ink); color:#fff; border-radius:18px; padding:13px 16px; }
.pdp-best-icon{ width:34px; height:34px; border-radius:50%; background:#fff; display:grid; place-items:center; flex:none; }
.pdp-best-icon svg{ width:18px; height:18px; stroke:var(--ink); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pdp-best small{ display:block; font-size:10px; letter-spacing:.18em; text-transform:uppercase; opacity:.6; font-weight:600; }
.pdp-best b{ display:block; font-size:16px; letter-spacing:-.02em; }
.pdp-best b em{ font-style:normal; opacity:.6; margin-left:2px; }
.pdp-best span{ font-size:11px; opacity:.7; }

/* offers */
.pdp-offers{ margin-top:14px; display:grid; gap:8px; }
.pdp-offers-title{ font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:2px; }
.pdp-offer{ display:flex; align-items:center; gap:12px; background:var(--card); border:1px dashed rgba(17,17,17,.25); border-radius:16px; padding:11px 14px; font-size:13px; }
.pdp-offer svg{ width:18px; height:18px; stroke:var(--ink); fill:none; stroke-width:1.7; flex:none; }
.pdp-offer span{ flex:1; min-width:0; color:var(--muted); }
.pdp-offer span strong{ color:var(--ink); letter-spacing:.04em; }
.pdp-offer button{ border:0; background:#fff; border-radius:999px; padding:7px 14px; font:700 11px var(--f-body); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; box-shadow:0 2px 8px #0001; transition:background .2s, color .2s; }
.pdp-offer button:hover,.pdp-offer button.is-copied{ background:var(--ink); color:#fff; }

/* blocks: color / size / qty */
.pdp-block{ margin-top:26px; }
.pdp-label{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.pdp-label b{ color:var(--ink); letter-spacing:.06em; }
.pdp-colors{ display:flex; flex-wrap:wrap; gap:10px; }
.pdp-color{ display:flex; align-items:center; gap:10px; background:#fff; border-radius:16px; padding:6px 14px 6px 6px; font-size:12px; font-weight:600; border:2px solid transparent; transition:border-color .25s, transform .25s var(--ease); }
a.pdp-color:hover{ transform:translateY(-2px); border-color:rgba(17,17,17,.3); }
.pdp-color.is-selected{ border-color:var(--ink); }
.pdp-color-thumb{ width:42px; height:52px; border-radius:11px; overflow:hidden; background:#dcdcd8; display:block; flex:none; }
.pdp-color-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pdp-color-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.pdp-color-pill{ background:#fff; border-radius:999px; padding:8px 15px; font-size:12px; font-weight:600; }

.pdp-sizes{ display:flex; flex-wrap:wrap; gap:10px; border-radius:20px; }
.pdp-size{
  position:relative; min-width:66px; height:60px; padding:0 10px; border-radius:18px; background:#fff; color:var(--ink);
  border:1.5px solid var(--line); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; cursor:pointer;
  font-family:var(--f-body); transition:background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.pdp-size b{ font-size:15px; font-weight:800; letter-spacing:-.01em; }
.pdp-size small{ font-size:10px; opacity:.55; letter-spacing:.02em; }
.pdp-size:hover{ border-color:var(--ink); transform:translateY(-2px); }
.pdp-size.is-selected{ background:var(--ink); color:#fff; border-color:var(--ink); }
.pdp-size.is-unavailable{ opacity:.38; cursor:not-allowed; background:transparent; transform:none; }
.pdp-size.is-unavailable::after{ content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(to top right,transparent calc(50% - 1px),var(--muted-2) 50%,transparent calc(50% + 1px)); }
.pdp-size.is-unavailable:hover{ border-color:var(--line); }
.pdp-sizes.is-attention{ animation:pdp-shake .5s var(--ease); }
@keyframes pdp-shake{ 20%,60%{ transform:translateX(-7px); } 40%,80%{ transform:translateX(7px); } }
.pdp-size-msg{ display:none; margin-top:10px; font-size:12px; font-weight:600; color:var(--alert); }
.pdp-size-msg.is-visible{ display:block; }

.pdp-chart{ margin-top:14px; background:var(--card); border-radius:18px; }
.pdp-chart summary{ list-style:none; cursor:pointer; padding:14px 18px; display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.pdp-chart summary::-webkit-details-marker{ display:none; }
.pdp-chart summary::after{ content:"+"; font-size:18px; font-weight:500; transition:transform .3s var(--ease); }
.pdp-chart[open] summary::after{ transform:rotate(45deg); }
.pdp-chart-body{ padding:0 18px 16px; overflow-x:auto; }
.pdp-chart-note{ font-size:12px; color:var(--muted); margin-bottom:10px; }
.pdp-table{ width:100%; border-collapse:collapse; font-size:13px; min-width:300px; }
.pdp-table th,.pdp-table td{ padding:9px 8px; text-align:center; border-bottom:1px solid var(--line); }
.pdp-table th{ font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:700; }
.pdp-table tbody tr:last-child td{ border-bottom:0; }
.pdp-table td:first-child{ font-weight:800; }

.pdp-qty{ display:inline-flex; align-items:center; background:#fff; border-radius:999px; border:1px solid var(--line); padding:4px; }
.pdp-qty button{ width:40px; height:40px; border-radius:50%; border:0; background:none; font-size:20px; line-height:1; cursor:pointer; color:var(--ink); transition:background .2s; }
.pdp-qty button:hover{ background:var(--bg); }
.pdp-qty input{ width:44px; text-align:center; border:0; background:none; font:700 15px var(--f-body); color:var(--ink); }

/* actions */
.pdp-actions{ display:flex; gap:12px; margin-top:28px; }
.pdp-btn{
  flex:1; display:flex; align-items:center; justify-content:space-between; gap:14px; border-radius:16px; padding:17px 22px; cursor:pointer;
  font:700 13px var(--f-body); letter-spacing:.04em; border:1.5px solid var(--ink);
  transition:transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.pdp-btn:hover{ transform:translateY(-2px); }
.pdp-btn-ghost{ background:transparent; color:var(--ink); }
.pdp-btn-ghost:hover{ background:#fff; }
.pdp-btn-solid{ background:var(--ink); color:#fff; }
.pdp-btn-solid:hover{ background:#000; box-shadow:0 14px 30px -10px rgba(0,0,0,.5); }
.pdp-btn-arrow{ width:26px; height:26px; border-radius:50%; background:#fff; color:var(--ink); display:grid; place-items:center; font-size:13px; flex:none; }
.pdp-btn.is-added{ background:#fff; color:var(--ink); }
.pdp-btn .rx-check{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:-3px; margin-right:6px; }
.pdp-stock{ margin-top:12px; font-size:12px; font-weight:600; color:var(--green); display:flex; align-items:center; gap:7px; }
.pdp-stock::before{ content:""; width:8px; height:8px; border-radius:50%; background:currentColor; }
.pdp-stock.is-low{ color:#b45309; }
.pdp-soldout{ margin-top:26px; background:#fff; border-radius:20px; padding:20px; font-size:13px; color:var(--muted); line-height:1.5; }

/* delivery + trust */
.pdp-delivery{ margin-top:26px; background:var(--card); border-radius:22px; padding:18px; }
.pdp-delivery-top{ display:flex; align-items:center; gap:14px; }
.pdp-delivery-top > svg{ width:34px; height:34px; stroke:var(--ink); fill:none; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.pdp-delivery-top b{ display:block; font-size:15px; letter-spacing:-.01em; }
.pdp-delivery-top span{ font-size:12px; color:var(--green); font-weight:700; }
.pdp-pin{ display:flex; gap:8px; margin-top:14px; }
.pdp-pin input{ flex:1; min-width:0; border:1.5px solid var(--line); background:#fff; border-radius:999px; padding:12px 18px; font:500 14px var(--f-body); color:var(--ink); }
.pdp-pin input:focus{ outline:none; border-color:var(--ink); }
.pdp-pin button{ border:0; background:var(--ink); color:#fff; border-radius:999px; padding:0 22px; font:700 12px var(--f-body); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.pdp-pin-msg{ margin-top:10px; font-size:12px; font-weight:600; min-height:0; }
.pdp-pin-msg.is-ok{ color:var(--green); } .pdp-pin-msg.is-error{ color:var(--alert); }

.pdp-trust{ margin-top:14px; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.pdp-trust-item{ display:flex; align-items:center; gap:11px; background:#fff; border-radius:16px; padding:12px 14px; font-size:12px; font-weight:600; line-height:1.3; }
.pdp-trust-icon{ width:34px; height:34px; border-radius:50%; background:var(--bg); display:grid; place-items:center; flex:none; }
.pdp-trust-icon svg{ width:18px; height:18px; stroke:var(--ink); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.pdp-trust-hero{ margin-top:14px; display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.pdp-trust-hero-item{ display:flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--ink); border-radius:16px; padding:13px 14px; font-size:13px; font-weight:800; line-height:1.25; letter-spacing:-.01em; }
.pdp-trust-hero-item .pdp-trust-icon{ background:var(--ink); }
.pdp-trust-hero-item .pdp-trust-icon svg{ stroke:#fff; }
.pdp-trust-hero + .pdp-trust{ margin-top:10px; }
.pdp-trust-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.pdp-trust-tags span{ border:1px solid var(--line); border-radius:999px; padding:6px 12px; font-size:11px; font-weight:600; color:var(--muted); }

/* ---- generic sections ---- */
.pdp-sec{ padding:12vh 0 0; }
.pdp-sec-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; margin-bottom:38px; }
.pdp-sec-head .lbl{ margin-bottom:12px; }
.pdp-sec h3.t{ font-size:clamp(28px,4.2vw,60px); letter-spacing:-.035em; line-height:1.03; font-weight:800; }

/* reviews */
.pdp-rating{ display:flex; align-items:center; gap:12px; background:#fff; border-radius:999px; padding:12px 20px; box-shadow:0 8px 24px #0001; }
.pdp-rating .star-row{ display:inline-flex; gap:3px; }
.pdp-rating .star-row svg{ width:18px; height:18px; fill:#d6d6d2; }
.pdp-rating .star-row svg.is-filled{ fill:var(--ink); }
.pdp-rating-avg{ font-size:22px; font-weight:800; letter-spacing:-.03em; }
.pdp-rating-count{ font-size:12px; color:var(--muted); font-weight:600; }
.pdp-review-grid{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:22px; align-items:start; }
.pdp-review-form{ background:var(--card); border-radius:28px; padding:28px; box-shadow:0 14px 40px #0001; position:sticky; top:calc(var(--header-h) + 22px); }
.pdp-review-form h4{ font-size:22px; font-weight:800; letter-spacing:-.03em; margin-bottom:16px; }
.pdp-review-form p{ font-size:13px; color:var(--muted); line-height:1.55; }
.pdp-review-form .pdp-field{ margin-top:18px; }
.pdp-review-form label{ display:block; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.pdp-review-form label em{ font-style:normal; letter-spacing:0; text-transform:none; opacity:.7; }
.pdp-review-form textarea{ width:100%; min-height:120px; resize:vertical; border:1.5px solid var(--line); background:#fff; border-radius:18px; padding:14px 16px; font:400 14px/1.5 var(--f-body); color:var(--ink); }
.pdp-review-form textarea:focus{ outline:none; border-color:var(--ink); }
.pdp-review-form .review-char-count{ display:block; text-align:right; font-size:11px; color:var(--muted-2); margin-top:6px; }
.pdp-review-form .review-as{ margin-bottom:4px; }
.pdp-review-form .review-form-note{ margin-top:12px; font-size:11px; color:var(--muted-2); }
.pdp-review-form .star-input{ display:inline-flex; gap:6px; }
.pdp-review-form .star-input button{ background:none; border:0; padding:0; cursor:pointer; }
.pdp-review-form .star-input svg{ width:28px; height:28px; fill:#d6d6d2; transition:fill .15s, transform .2s var(--ease); }
.pdp-review-form .star-input button:hover svg{ transform:scale(1.15); }
.pdp-review-form .star-input button.is-active svg,.pdp-review-form .star-input button:hover svg{ fill:var(--ink); }
.pdp-review-form .review-photos-preview{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.pdp-review-form .review-photo-pick{ position:relative; width:64px; height:64px; border-radius:14px; overflow:hidden; border:1px solid var(--line); }
.pdp-review-form .review-photo-pick img{ width:100%; height:100%; object-fit:cover; display:block; }
.pdp-review-form .review-photo-remove{ position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%; border:0; background:var(--ink); color:#fff; font-size:10px; cursor:pointer; }
.pdp-pill{ display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:999px; padding:13px 24px; font:700 12px var(--f-body); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; border:1.5px solid var(--ink); transition:transform .3s var(--ease), background .3s, color .3s; }
.pdp-pill:hover{ transform:translateY(-2px); }
.pdp-pill-solid{ background:var(--ink); color:#fff; margin-top:20px; }
.pdp-pill-ghost{ background:transparent; color:var(--ink); margin-top:14px; }
.pdp-pill-ghost:hover{ background:#fff; }
.pdp-pill[disabled]{ opacity:.55; cursor:progress; transform:none; }

.pdp-review-list{ display:grid; gap:14px; }
.review-empty{ background:var(--card); border-radius:28px; padding:36px 28px; text-align:center; color:var(--muted); font-size:14px; }
.pdp-review-list .review-item{ background:#fff; border-radius:24px; padding:22px 24px; box-shadow:0 10px 30px #0001; border:0; }
.pdp-review-list .review-item-head{ display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.pdp-review-list .review-item-name{ font-family:var(--f-body); font-size:14px; font-weight:800; letter-spacing:-.01em; text-transform:none; color:var(--ink); }
.pdp-review-list .review-item-date{ font-family:var(--f-body); font-size:11px; color:var(--muted-2); }
.pdp-review-list .star-row{ display:inline-flex; gap:3px; }
.pdp-review-list .star-row svg{ width:15px; height:15px; fill:#d6d6d2; }
.pdp-review-list .star-row svg.is-filled{ fill:var(--ink); }
.pdp-review-list .review-item-text{ margin-top:10px; font-size:14px; line-height:1.6; color:var(--muted); }
.pdp-review-list .review-item-photos{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.pdp-review-list .review-photo-thumb{ position:relative; width:72px; height:72px; border-radius:14px; overflow:hidden; padding:0; border:1px solid var(--line); cursor:pointer; background:#eee; }
.pdp-review-list .review-photo-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pdp-review-list .review-photo-more{ position:absolute; inset:0; display:grid; place-items:center; background:rgba(0,0,0,.55); color:#fff; font-weight:800; font-size:14px; }

/* related */
.pdp-related-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:22px; }

/* ---- responsive ---- */
@media (max-width:1000px){
  .pdp-grid{ gap:36px; }
  .pdp-review-grid{ grid-template-columns:1fr; gap:22px; }
  .pdp-review-form{ position:static; }
}
@media (max-width:760px){
  .pdp{ padding-top:calc(var(--header-h) + 14px); }
  .pdp-wrap{ padding:0 18px; }
  .pdp-grid{ grid-template-columns:1fr; gap:26px; }
  .pdp-info{ position:static; }
  .pdp-info > *{ animation-name:none; }   /* a transformed ancestor would break the fixed bottom bar */
  .pdp-stage,.pdp-thumbs{ display:none; }
  .pdp-swipe{ display:block; }
  .pdp-crumbs{ margin-bottom:14px; }
  .pdp-name{ font-size:clamp(34px,10.5vw,52px); }
  .pdp-trust{ grid-template-columns:1fr; }
  .pdp-trust-hero{ grid-template-columns:1fr; }
  .pdp-sec{ padding-top:9vh; }
  .pdp-related-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }

  /* Add to Cart / Buy Now ride along as a fixed bar (solid background on purpose — no backdrop-filter) */
  .pdp-actions{
    position:fixed; left:0; right:0; bottom:0; z-index:90; margin:0; gap:10px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)); background:var(--bg); border-top:1px solid var(--line);
  }
  .pdp-btn{ min-width:0; padding:15px 14px; font-size:12px; border-radius:14px; justify-content:center; }
  .pdp-btn-arrow{ display:none; }
  .pdp-pin{ flex-wrap:nowrap; }
}


/* =========================================================================
   COMPACT / CONVERSION LAYOUT  (overrides above — keep at end of file)
   One decision path: name -> price -> size -> Add to Cart. Everything
   secondary (description, fabric, size chart, pincode, offers, review form)
   sits in tap-to-open rows so the page stays short.
   ========================================================================= */
.pdp{ padding-top:calc(var(--header-h) + 2vh); }
.pdp-crumbs{ margin-bottom:14px; }
.pdp-grid{ gap:4vw; }

/* title block */
.pdp-name{ font-size:clamp(26px,3.2vw,46px); margin:10px 0 8px; }
.pdp-tagline{ font-size:13px; -webkit-line-clamp:2; }
.pdp-rating-mini{ display:inline-flex; align-items:center; gap:7px; margin-top:10px; font-size:12px; font-weight:700; color:var(--ink); }
.pdp-rating-mini[hidden]{ display:none; }
.pdp-rating-mini svg{ width:14px; height:14px; fill:var(--ink); }
.pdp-rating-mini span{ color:var(--muted); font-weight:600; text-decoration:underline; text-underline-offset:3px; }

/* price + prepaid card: slim */
.pdp-price-row{ margin:14px 0 2px; gap:4px 10px; }
.pdp-price{ font-size:clamp(26px,2.6vw,34px); }
.pdp-strike{ font-size:16px; }
.pdp-best{ margin-top:10px; padding:10px 14px; border-radius:14px; }
.pdp-best-icon{ width:28px; height:28px; }
.pdp-best b{ font-size:15px; }

/* offers: one tap-to-open row */
.pdp-offers-wrap{ margin-top:10px; background:var(--card); border-radius:14px; }
.pdp-offers-wrap > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 14px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.pdp-offers-wrap > summary::-webkit-details-marker{ display:none; }
.pdp-offers-wrap > summary::after{ content:"+"; font-size:18px; font-weight:500; transition:transform .3s var(--ease); }
.pdp-offers-wrap[open] > summary::after{ transform:rotate(45deg); }
.pdp-offers-wrap .pdp-offers{ margin:0; padding:0 12px 12px; }
.pdp-offers-wrap .pdp-offers-title{ display:none; }

/* colour / size / quantity */
.pdp-block{ margin-top:16px; }
.pdp-label{ margin-bottom:8px; }
.pdp-colorline{ display:flex; gap:8px; align-items:baseline; margin-top:12px; font-size:11px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); }
.pdp-colorline b{ color:var(--ink); letter-spacing:.06em; }
.pdp-color-thumb{ width:34px; height:42px; }
.pdp-sizes{ gap:8px; }
.pdp-size{ min-width:58px; height:50px; border-radius:14px; }
.pdp-size b{ font-size:14px; }
.pdp-chart{ margin-top:10px; border-radius:14px; }
.pdp-chart summary{ padding:10px 14px; font-size:11px; }
.pdp-block-qty{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; }
.pdp-block-qty .pdp-label{ margin:0; }
.pdp-qty button{ width:34px; height:34px; font-size:18px; }
.pdp-qty input{ width:36px; font-size:14px; }

/* actions + stock */
.pdp-actions{ margin-top:16px; }
.pdp-btn{ padding:15px 20px; border-radius:14px; }
.pdp-stock{ margin-top:10px; }

/* delivery: one line, pincode box opens on tap */
.pdp-delivery{ margin-top:14px; background:var(--card); border-radius:14px; padding:0; }
.pdp-delivery > summary{ list-style:none; cursor:pointer; display:flex; align-items:center; gap:10px; padding:11px 14px; font-size:13px; }
.pdp-delivery > summary::-webkit-details-marker{ display:none; }
.pdp-delivery > summary svg{ width:22px; height:22px; stroke:var(--ink); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.pdp-delivery > summary span{ flex:1; min-width:0; color:var(--muted); }
.pdp-delivery > summary span b{ color:var(--green); }
.pdp-delivery > summary em{ font-style:normal; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; text-decoration:underline; text-underline-offset:3px; }
.pdp-delivery > [data-pincode-slot]{ padding:0 14px 14px; }
.pdp-pin{ margin-top:0; }

/* trust: one slim chip row */
.pdp-trust-row{ display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:12px; }
.pdp-trust-chip{ display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700; line-height:1.2; color:var(--ink); }
.pdp-trust-chip .pdp-trust-icon{ width:24px; height:24px; background:#fff; }
.pdp-trust-chip .pdp-trust-icon svg{ width:14px; height:14px; }

/* description / fabric accordions */
.pdp-acc{ margin-top:14px; border-top:1px solid var(--line); }
.pdp-acc-item{ border-bottom:1px solid var(--line); }
.pdp-acc-item > summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; padding:14px 2px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.pdp-acc-item > summary::-webkit-details-marker{ display:none; }
.pdp-acc-item > summary::after{ content:"+"; font-size:18px; font-weight:500; transition:transform .3s var(--ease); }
.pdp-acc-item[open] > summary::after{ transform:rotate(45deg); }
.pdp-acc-body{ padding:0 2px 16px; font-size:14px; line-height:1.6; color:var(--muted); }
.pdp-acc-desc p + p{ margin-top:10px; }
.pdp-acc-desc p:first-child{ color:var(--ink); }
.pdp-acc-list{ list-style:none; padding:0; margin:0; }
.pdp-acc-list li{ padding:8px 0; border-bottom:1px solid var(--line); }
.pdp-acc-list li:last-child{ border-bottom:0; }
.pdp-acc-list li b{ display:block; color:var(--ink); font-size:11px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:2px; }

/* sections below the fold: much tighter */
.pdp-sec{ padding:6vh 0 0; }
.pdp-sec-head{ margin-bottom:18px; align-items:center; }
.pdp-sec h3.t{ font-size:clamp(20px,2.2vw,28px); letter-spacing:-.03em; }
.pdp-viewall{ font-size:13px; font-weight:600; border-bottom:1px solid var(--ink); padding-bottom:2px; }
.pdp-related-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.pdp-sec-reviews{ padding-bottom:8vh; }
.pdp-rating{ padding:8px 14px; gap:8px; box-shadow:none; background:var(--card); }
.pdp-rating .star-row svg{ width:15px; height:15px; }
.pdp-rating-avg{ font-size:17px; }
.pdp-review-grid{ grid-template-columns:1fr; gap:12px; }
.review-empty{ padding:18px; border-radius:18px; font-size:13px; }
.pdp-review-list{ gap:10px; }
.pdp-review-list .review-item{ padding:16px 18px; border-radius:18px; box-shadow:none; }
.pdp-review-list .review-item.is-extra{ display:none; }
.pdp-review-list.is-open .review-item.is-extra{ display:block; }
.pdp-reviews-more{ justify-self:start; border:0; background:none; font:700 12px var(--f-body); letter-spacing:.08em; text-transform:uppercase; text-decoration:underline; text-underline-offset:4px; cursor:pointer; padding:4px 0; }
.pdp-review-form{ position:static; padding:0; border-radius:18px; box-shadow:none; }
.pdp-write > summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; padding:14px 18px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.pdp-write > summary::-webkit-details-marker{ display:none; }
.pdp-write > summary::after{ content:"+"; font-size:18px; font-weight:500; transition:transform .3s var(--ease); }
.pdp-write[open] > summary::after{ transform:rotate(45deg); }
.pdp-write > :not(summary){ margin-left:18px; margin-right:18px; }
.pdp-write > :last-child{ margin-bottom:18px; }

@media (max-width:1000px){
  .pdp-related-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px){
  .pdp-name{ font-size:clamp(24px,7.4vw,34px); }
  .pdp-sec{ padding-top:5vh; }
  .pdp-related-grid{ gap:12px; }
  .pdp-trust-row{ gap:8px 14px; }
}


/* ---- payment choice: Pay Online (recommended) vs COD ---- */
.pdp-pay{ margin:12px 0 0; }
.pdp-pay-tabs{ display:grid; grid-template-columns:1.15fr 1fr; gap:10px; }
.pdp-pay-tab{
  position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:2px; text-align:left;
  padding:16px 14px 12px; border-radius:16px; background:#fff; border:2px solid var(--line); cursor:pointer;
  font-family:var(--f-body); color:var(--ink); transition:border-color .25s, box-shadow .25s, opacity .25s, transform .25s var(--ease);
}
.pdp-pay-tab:hover{ transform:translateY(-1px); }
.pdp-pay-tab .pdp-pay-name{ font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.pdp-pay-tab b{ font-size:24px; font-weight:800; letter-spacing:-.03em; line-height:1.15; }
.pdp-pay-tab small{ font-size:11px; color:var(--muted); }
.pdp-pay-tab small s{ text-decoration:none; opacity:.6; }
.pdp-pay-tab[data-method="prepaid"]{ border-color:var(--green); background:#f3fbf6; }
.pdp-pay-tab[data-method="prepaid"] .pdp-pay-name{ color:var(--green); }
.pdp-pay-tab[data-method="prepaid"] b{ color:var(--green); }
.pdp-pay-flag{ position:absolute; top:-10px; left:12px; background:var(--green); color:#fff; border-radius:999px; padding:3px 10px; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
/* selected = ink outline; the one NOT selected fades back */
.pdp-pay-tab.is-active{ border-color:var(--ink); box-shadow:0 8px 22px #0002; }
.pdp-pay-tab[data-method="prepaid"].is-active{ border-color:var(--green); box-shadow:0 8px 22px rgba(20,120,70,.22); }
.pdp-pay-tab:not(.is-active){ opacity:.7; }
.pdp-pay-tab:not(.is-active)[data-method="prepaid"]{ opacity:1; }   /* keep the deal visible while COD is selected */

.pdp-yay{ max-height:none; opacity:1; padding:10px 4px 0; font-size:12.5px; align-items:flex-start; transition:color .3s; }
.pdp-yay span{ flex:1; }
.pdp-pay[data-active="cod"] .pdp-yay{ color:#b45309; cursor:pointer; }
.pdp-pay[data-active="cod"] .pdp-yay span{ text-decoration:underline; text-underline-offset:3px; }
@media (max-width:420px){
  .pdp-pay-tabs{ grid-template-columns:1fr 1fr; gap:8px; }
  .pdp-pay-tab{ padding:16px 11px 11px; }
  .pdp-pay-tab b{ font-size:21px; }
}

/* review form extras */
.pdp-input{ width:100%; border:1.5px solid var(--line); background:#fff; border-radius:14px; padding:12px 14px; font:400 14px var(--f-body); color:var(--ink); }
.pdp-input:focus{ outline:none; border-color:var(--ink); }
.pdp-linkbtn{ border:0; background:none; padding:0; font:inherit; font-weight:700; color:var(--ink); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.pdp-review-form .review-signed-out{ margin-bottom:4px; }
.pdp-yay svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; flex:none; margin-top:1px; }

.pdp-qc-note{ font-size:12px; color:var(--muted-2); margin:10px 0 0; line-height:1.5; }

/* =========================================================================
   MOBILE GALLERY PEEK · FIND MY SIZE · COMPLETE THE LOOK
   (appended; js/product-page.js adds the markup these style)
   ========================================================================= */
/* the next photo peeks in from the right so shoppers can see there is more to swipe to */
.pdp-swipe-count{ position:absolute; top:14px; right:14px; z-index:2; background:#fff; border-radius:999px; padding:6px 11px; font-size:11px; font-weight:700; letter-spacing:.08em; box-shadow:0 4px 14px #0002; pointer-events:none; }
@media (min-width:761px){ .pdp-swipe-count{ display:none; } }
@media (max-width:760px){
  .pdp-track.has-peek .pdp-slide{ flex-basis:88%; scroll-snap-align:start; }
}

/* find my size */
.pdp-finder{ margin-top:12px; background:var(--card); border-radius:18px; }
.pdp-finder summary{ list-style:none; cursor:pointer; padding:13px 18px; display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.pdp-finder summary::-webkit-details-marker{ display:none; }
.pdp-finder summary::after{ content:"+"; font-size:18px; font-weight:500; transition:transform .3s var(--ease); }
.pdp-finder[open] summary::after{ transform:rotate(45deg); }
.pdp-finder-body{ padding:0 18px 16px; }
.pdp-finder-body label{ display:block; font-size:12px; font-weight:700; margin-bottom:4px; }
.pdp-finder-hint{ font-size:12px; line-height:1.5; color:var(--muted); margin:0 0 10px; }
.pdp-finder-row{ display:flex; gap:8px; }
.pdp-finder-row input{ flex:1; min-width:0; border:1px solid var(--line); background:#fff; border-radius:12px; padding:12px 14px; font:600 16px var(--f-body); }  /* 16px stops iOS zooming in on focus */
.pdp-finder-go,.pdp-finder-pick{ border:0; background:var(--ink); color:#fff; border-radius:12px; padding:12px 16px; font:700 12px var(--f-body); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.pdp-finder-out{ margin-top:12px; font-size:13px; line-height:1.6; }
.pdp-finder-out:empty{ display:none; }
.pdp-finder-out b{ font-size:16px; }
.pdp-finder-pick{ padding:8px 12px; margin-left:6px; }

/* complete the look */
.pdp-look{ margin-top:18px; padding:14px; background:var(--card); border-radius:18px; }
.pdp-look-title{ font-size:11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.pdp-look-row{ display:flex; gap:14px; align-items:stretch; }
.pdp-look-img{ flex:none; width:92px; aspect-ratio:4/5; border-radius:14px; overflow:hidden; background:linear-gradient(160deg,#e4e4e1,#cdcdc9); display:block; }
.pdp-look-img img{ width:100%; height:100%; object-fit:cover; object-position:50% 18%; display:block; }
.pdp-look-img.is-bottom img{ object-position:50% 68%; }
.pdp-look-info{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.pdp-look-name{ font-size:14px; font-weight:700; letter-spacing:-.01em; line-height:1.25; color:var(--ink); text-decoration:none; }
.pdp-look-price{ font-size:13px; font-weight:700; }
.pdp-look-price s{ color:var(--muted-2); font-weight:500; margin-left:4px; }
.pdp-look-sizes{ display:flex; flex-wrap:wrap; gap:6px; border-radius:10px; }
.pdp-look-sizes button{ min-width:38px; padding:8px 10px; border:1px solid var(--line); background:#fff; border-radius:10px; font:700 12px var(--f-body); cursor:pointer; }
.pdp-look-sizes button.is-selected{ background:var(--ink); color:#fff; border-color:var(--ink); }
.pdp-look-sizes.is-attention{ animation:pdp-shake .5s var(--ease); }
.pdp-look-add{ margin-top:auto; align-self:flex-start; border:1.5px solid var(--ink); background:transparent; color:var(--ink); border-radius:12px; padding:10px 16px; font:700 12px var(--f-body); letter-spacing:.08em; text-transform:uppercase; cursor:pointer; transition:background .2s,color .2s; }
.pdp-look-add:hover,.pdp-look-add.is-added{ background:var(--ink); color:#fff; }

/* tap targets (phones): quantity, rating stars and gallery dots get a 40px+ touch area */
.pdp-qty button{ width:40px; height:40px; }
.pdp-review-form .star-input button{ min-width:40px; min-height:40px; display:inline-grid; place-items:center; }
.pdp-dot{ position:relative; }
.pdp-dot::after{ content:""; position:absolute; inset:-14px -6px; }

/* ---- Share button + share menu (js/share.js) ---- */
.pdp-share{ margin-left:auto; display:inline-flex; align-items:center; gap:7px; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:7px 14px; font-family:inherit; font-weight:600; font-size:11px; line-height:1; letter-spacing:.12em; text-transform:uppercase; cursor:pointer; transition:background .2s, transform .2s; }
.pdp-share:hover{ background:var(--ink); color:#fff; }
.pdp-share:active{ transform:scale(.96); }
.share-modal{ position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; }
.share-modal.is-open{ opacity:1; }
.share-backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.45); }
.share-sheet{ position:relative; width:min(420px,calc(100% - 32px)); background:#fff; color:var(--ink); border-radius:20px; padding:20px; box-shadow:0 24px 60px #0004; transform:translateY(14px); transition:transform .25s cubic-bezier(.22,1,.36,1); }
.share-modal.is-open .share-sheet{ transform:none; }
.share-head{ display:flex; justify-content:space-between; align-items:center; font-size:15px; }
.share-x{ background:none; border:0; font-size:26px; line-height:1; cursor:pointer; color:var(--muted); padding:0 4px; }
.share-name{ font-size:13px; color:var(--muted); margin:4px 0 16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.share-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px 8px; }
.share-opt{ display:flex; flex-direction:column; align-items:center; gap:8px; background:none; border:0; color:var(--ink); font-family:inherit; font-weight:500; font-size:13px; line-height:1.2; text-decoration:none; cursor:pointer; padding:4px; }
.share-ic{ width:52px; height:52px; border-radius:50%; background:var(--bg); display:grid; place-items:center; transition:background .2s, color .2s; }
.share-opt:hover .share-ic, .share-opt:focus-visible .share-ic{ background:var(--ink); color:#fff; }
.share-toast{ position:fixed; left:50%; bottom:90px; transform:translate(-50%,12px); background:var(--ink); color:#fff; padding:10px 18px; border-radius:999px; font-size:13px; z-index:10001; opacity:0; transition:opacity .2s, transform .2s; }
.share-toast.is-on{ opacity:1; transform:translate(-50%,0); }
@media (max-width:640px){
  .share-modal{ align-items:flex-end; }
  .share-sheet{ width:100%; border-radius:20px 20px 0 0; padding-bottom:calc(20px + env(safe-area-inset-bottom)); transform:translateY(100%); }
}
@media (prefers-reduced-motion:reduce){ .share-modal,.share-sheet,.share-toast{ transition:none; } }
