/* ==========================================================================
   SOHRAAZ PRODUCT DETAIL PAGE (PDP) STYLING
   The PDP layout and component classes (gallery grid, sizes, colour swatches,
   CTAs, accordion, trust row, sticky bar) are owned by store.css. This file
   only adds the sticky-gallery behaviour and the Flask-specific extras
   (review cards, zoom lightbox). It must NOT re-declare store.css classes.
   ========================================================================== */

/* Desktop: keep the gallery sticky next to the info column.
   The grid itself (thumbs-left / main-right on desktop, stacked on mobile)
   comes from store.css — do not set display/flex here. */
@media (min-width: 900px) {
  /* The gallery column is as tall as the details column. The image sits at
     the top; the editorial proof rail below it stays in view while the
     customer scrolls the long product description on the right. */
  .pdp-gallery {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: var(--gap-5xl);
  }
  .pdp-gallery .thumbs { grid-column: 1; grid-row: 1; }
  .pdp-gallery .main { grid-column: 2; grid-row: 1; }
  /* Complete-the-Look is row 2 INSIDE the gallery — immediately below the
     main image — and sticks while the long details scroll on the right. */
  .pdp-gallery > .complete-look { grid-column: 1 / -1; grid-row: 2; position: sticky; top: 96px; align-self: start; }
  /* The details column keeps its natural slot (right) — untouched. */
}

/* ---- desktop maker's note: light editorial line, no card/button --------- */
.pdp-proof{display:none}
@media (min-width: 900px){
  .pdp-proof{display:block;margin-top:var(--gap-15xl)}
  .pdp-proof-in{
    position:relative;
    border-top:1px solid color-mix(in srgb, var(--gold) 45%, transparent);
    padding:var(--gap-7xl) var(--gap-3xs) 0;
  }
  .pp-kicker{display:block;font-family:var(--caps);font-size:var(--fs-2xs);font-weight:var(--fw-semibold);letter-spacing:var(--ls-9xl);text-transform:uppercase;color:var(--gold2);margin-bottom:var(--gap-md)}
  .pp-line{font-family:var(--serif);font-size:var(--fs-p13_5);line-height:var(--lh-body);color:var(--ink-2);margin:0 0 var(--gap-xl)}
  .pp-link{display:inline-flex;align-items:center;gap:var(--gap-md);font-family:var(--caps);font-size:var(--fs-p9_5);font-weight:var(--fw-semibold);letter-spacing:var(--ls-4xl);text-transform:uppercase;
    color:var(--gold-text,var(--gold2));text-decoration:none;border-bottom:var(--gap-p1) solid color-mix(in srgb, var(--gold) 45%, transparent);padding-bottom:var(--gap-3xs)}
  .pp-link:hover{color:var(--ink);border-color:var(--gold)}
  .pp-link svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.8}
}
@media (max-width: 899px){ .pdp-proof{display:none} }

/* ---- customer review cards (Flask-specific) ---- */
.like-card{background:var(--ivory);border:var(--gap-p1) solid var(--line);padding:var(--gap-12xl);border-radius:var(--gap-2xs)}
.like-card p{font-size:var(--fs-lg);line-height:var(--lh-roomy);color:var(--ink-2);margin-bottom:var(--gap-xl)}
.like-card b{font-family:var(--caps);font-size:var(--fs-sm);letter-spacing:var(--ls-4xl);text-transform:uppercase;color:var(--ink-2)}
.like-stars span{color:var(--gold);font-size:var(--fs-md)}

/* ---- Complete-the-Look: compact styling desk on desktop ------------------ */
@media (min-width: 900px){
  /* Sticky styling desk in the left column — compact, contained, premium. */
  html body .pdp-gallery > .complete-look{
    border:1px solid color-mix(in srgb, var(--gold) 38%, transparent) !important;
    background:var(--bg2,var(--cream)) !important;
    border-radius:var(--radius-5xl);
    padding:var(--gap-11xl) var(--gap-11xl) var(--gap-9xl) !important;
    box-shadow:0 14px 34px color-mix(in srgb, var(--theme-scrim) 8%, transparent);
  }
  html body .pdp > .complete-look .cl-head{display:block;margin-bottom:var(--gap-5xl)}
  html body .pdp > .complete-look .cl-sub{text-align:left;max-width:none;margin:var(--gap-xs) 0 0;font-size:var(--fs-sm)}
  html body .pdp > .complete-look .cl-grid{gap:var(--gap-xl);grid-template-columns:minmax(0,1fr) 14px minmax(0,1.15fr)}
  html body .pdp > .complete-look .cl-this-img{max-height:190px;aspect-ratio:4/5}
  html body .pdp > .complete-look .cl-this-body b{font-size:var(--fs-sm)}
  /* The sticky card is only ~636px wide — a 3-track option leaves ~27px for
     the name and breaks it letter-by-letter. Use a 2-row card on desktop too. */
  html body .pdp-gallery > .complete-look .cl-option{
    grid-template-columns:54px minmax(0,1fr);
    grid-template-areas:"img body" "size size";
    gap:var(--gap-lg) var(--gap-3xl);padding:var(--gap-2xl);
  }
  html body .pdp-gallery > .complete-look .cl-option .cl-opt-img{grid-area:img;width:54px;aspect-ratio:3/4}
  html body .pdp-gallery > .complete-look .cl-option .cl-opt-body{grid-area:body}
  html body .pdp-gallery > .complete-look .cl-option .cl-size-wrap{grid-area:size;justify-self:start;display:flex;align-items:center;gap:var(--gap-xl);width:100%;flex-direction:row}
  html body .pdp-gallery > .complete-look .cl-option .cl-size-wrap label{flex-direction:row;align-items:center;gap:var(--gap-xl);width:100%}
  html body .pdp-gallery > .complete-look .cl-option .cl-size-wrap select{flex:1;min-width:0;width:100%;max-width:none;padding:var(--gap-lg) var(--gap-2xl);font-size:var(--fs-sm)}
  html body .pdp-gallery > .complete-look .cl-option *{min-width:0;word-break:normal;overflow-wrap:anywhere}
  html body .pdp > .complete-look .cl-check{top:6px;right:6px;width:18px;height:18px}
  html body .pdp > .complete-look .cl-opt-body b{font-size:var(--fs-p10_5)}
  html body .pdp > .complete-look .cl-opt-line{font-size:var(--fs-3xs);letter-spacing:var(--ls-xl)}
  html body .pdp > .complete-look .cl-size-wrap select{min-width:var(--gap-20xl);padding:var(--gap-lg);font-size:var(--fs-sm)}
  html body .pdp > .complete-look .cl-foot{margin-top:var(--gap-5xl);padding-top:var(--gap-3xl)}
  html body .pdp > .complete-look .cl-add{font-size:var(--fs-xs);padding:var(--gap-4xl) var(--gap-7xl)}
  html body .pdp > .complete-look .cl-note{font-size:var(--fs-xs)}
}
/* ---------- mobile: Complete-the-Look AFTER the product details ----------
   The section lives inside .pdp-gallery for desktop stickiness. On phones we
   dissolve the gallery box (display:contents) so its children become direct
   flex items of .pdp, then order them: thumbs, image, details, CL last. */
@media (max-width: 899px){
  html body .complete-look{border:0 !important}
  html body .pdp{display:flex;flex-direction:column}
  html body .pdp-gallery{display:contents}
  /* Mobile: main product image FIRST, then its thumbnail strip underneath,
     then the details and the styling desk. Desktop is untouched (its own
   grid places thumbs left of the image). */
  html body .pdp-gallery > .main{order:1}
  html body .pdp-gallery > .thumbs{order:2;margin-top:var(--gap-3xl);
    flex-direction:row;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;padding-bottom:var(--gap-xs)}
  html body .pdp-gallery > .thumbs button{flex:0 0 58px;width:58px}
  html body .pdp > div:last-child{order:3}          /* product details */
  html body .pdp-gallery > .complete-look{order:4;position:static;margin-top:var(--gap-7xl)}
}

/* ---- PDP hero as a theme-bound 3D glossy card -----------------------------
   The frame matches the product photograph's own 2:3 ratio, so object-fit:
   contain fills it edge-to-edge — the whole garment is visible with no crop
   and no empty cream bands (which read as a faded image). The gold outline,
   gloss sheen and depth shadow all come from the active palette — Royal /
   Rose / Emerald / Ivory / Maroon / custom — so the card always belongs to
   the current theme. */
html body .pdp-gallery .main{
  position:relative;
  aspect-ratio:2 / 3;
  padding:0;
  border:1px solid color-mix(in srgb, var(--gold) 72%, transparent);
  border-radius:var(--radius-5xl);
  background:var(--bg2,var(--cream));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--theme-on-dark) 65%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--theme-scrim) 10%, transparent),
    0 2px 0 color-mix(in srgb, var(--gold) 42%, transparent),
    0 18px 42px color-mix(in srgb, var(--theme-scrim) 20%, transparent),
    0 0 0 4px color-mix(in srgb, var(--gold) 9%, transparent);
  transform:perspective(1200px) rotateX(.6deg) rotateY(-.6deg) translateZ(0);
  transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;
}
/* Double frame: a second, thinner gold rule set inside the outer border with
   a small breathing gap. Decorative only — the zoom click still reaches the
   image beneath it. */
html body .pdp-gallery .main::before{
  content:"";position:absolute;inset:9px;border-radius:var(--radius-xl);pointer-events:none;z-index:3;
  border:1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--theme-on-dark) 18%, transparent);
}
/* Glass-like sheen: a soft diagonal reflection over the photograph. Purely
   decorative — pointer-events:none keeps the zoom click on the image. */
html body .pdp-gallery .main::after{
  content:"";position:absolute;inset:0;border-radius:var(--radius-5xl);pointer-events:none;z-index:2;
  background:linear-gradient(135deg,color-mix(in srgb, var(--theme-on-dark) 30%, transparent) 0%,color-mix(in srgb, var(--theme-on-dark) 6%, transparent) 22%,color-mix(in srgb, var(--theme-on-dark) 0%, transparent) 46%,color-mix(in srgb, var(--theme-on-dark) 0%, transparent) 70%,color-mix(in srgb, var(--theme-on-dark) 13%, transparent) 100%);
  mix-blend-mode:soft-light;
}
html body .pdp-gallery .main:hover{
  transform:perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-4px);
  border-color:var(--gold);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--theme-on-dark) 70%, transparent),
    0 3px 0 color-mix(in srgb, var(--gold) 52%, transparent),
    0 26px 56px color-mix(in srgb, var(--theme-scrim) 26%, transparent),
    0 0 0 5px color-mix(in srgb, var(--gold) 14%, transparent);
}
html body .pdp-gallery .main img,
html body .pdp-gallery .main video{
  width:100%;height:100%;
  object-fit:contain;object-position:center;
  border-radius:var(--radius-p13);
  display:block;
}
html body .pdp-gallery .main video[hidden]{display:none}
/* A film uploaded into the gallery is a real video tile. */
.pdp-gallery .thumbs .is-video-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.pdp-gallery .thumbs .is-video-thumb .pdp-film-play{position:absolute;left:50%;top:50%;width:24px;height:24px;
  transform:translate(-50%,-50%);border-radius:50%;background:color-mix(in srgb, var(--theme-scrim) 55%, transparent);border:1px solid color-mix(in srgb, var(--theme-on-dark) 55%, transparent)}
.pdp-gallery .thumbs .is-video-thumb .pdp-film-play:after{content:"";position:absolute;left:calc(50% - 3px);top:calc(50% - 5px);
  border-left:8px solid var(--theme-on-dark);border-top:5px solid transparent;border-bottom:5px solid transparent}

/* ---- zoom lightbox (opens the untouched original) ---- */
.zoom-lb{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:var(--gap-19xl);background:color-mix(in srgb, var(--theme-scrim) 94%, transparent);overflow:hidden;touch-action:manipulation}
.zoom-lb[hidden]{display:none}
.zoom-lb-img{max-width:min(88vw,1040px);max-height:86dvh;object-fit:contain;border-radius:4px;box-shadow:0 30px 80px color-mix(in srgb, var(--theme-scrim) 60%, transparent)}
.zoom-lb-close{position:absolute;top:18px;right:24px;width:44px;height:44px;border:0;border-radius:var(--radius-round);background:rgba(var(--ovl-rgb),.14);color:var(--ink);font-size:var(--fs-7xl);line-height:var(--lh-none);cursor:pointer}
.zoom-lb-close:hover{background:var(--gold);color:var(--theme-on-dark)}
.zoom-lb-stage{position:relative;margin:0;display:flex;flex-direction:column;align-items:center;gap:var(--gap-7xl);max-width:100%;overflow:hidden}
.zoom-lb-img{transition:transform .28s ease;cursor:zoom-in}
.zoom-lb-img.zoomed{cursor:grab;touch-action:none}
.zoom-lb-img.dragging{transition:none;cursor:grabbing}
.zoom-lb-img.zoomed:active{cursor:grabbing}
.zoom-lb-count{font-family:var(--caps);font-size:var(--fs-sm);letter-spacing:var(--ls-9xl);text-transform:uppercase;color:var(--gold2,var(--gold));font-variant-numeric:tabular-nums;min-height:14px}
/* left / right slide controls */
.zoom-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;border-radius:var(--radius-round);
  border:1px solid color-mix(in srgb, var(--theme-on-dark) 28%, transparent);background:color-mix(in srgb, var(--theme-on-dark) 9%, transparent);
  color:var(--theme-on-dark);cursor:pointer;transition:background .2s,border-color .2s,transform .2s;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:2}
.zoom-lb-nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zoom-lb-nav:hover,.zoom-lb-nav:focus-visible{background:var(--gold);border-color:var(--gold);color:var(--theme-text-on-accent);outline:none}
.zoom-lb-prev{left:22px}
.zoom-lb-next{right:22px}
.zoom-lb-nav:active{transform:translateY(-50%) scale(.94)}
/* slideshow toggle */
.zoom-lb-auto{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);
  display:inline-flex;align-items:center;gap:var(--gap-2xl);padding:var(--gap-3xl) var(--gap-11xl);border-radius:var(--radius-pill);
  border:1px solid color-mix(in srgb, var(--theme-on-dark) 30%, transparent);background:color-mix(in srgb, var(--theme-on-dark) 10%, transparent);color:var(--theme-on-dark);
  font-family:var(--caps);font-size:var(--fs-p10_5);letter-spacing:var(--ls-6xl);text-transform:uppercase;
  cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  transition:background .2s,color .2s,border-color .2s;z-index:2}
.zoom-lb-auto svg{width:15px;height:15px;fill:currentColor}
.zoom-lb-auto .za-pause{display:none}
.zoom-lb-auto.playing{background:var(--gold);border-color:var(--gold);color:var(--theme-text-on-accent)}
.zoom-lb-auto.playing .za-play{display:none}
.zoom-lb-auto.playing .za-pause{display:block}
.zoom-lb-auto:hover{border-color:var(--gold)}
/* zoom toggle — sits next to the slideshow pill */
.zoom-lb-zoom{position:absolute;bottom:22px;left:calc(50% + 104px);width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;border-radius:var(--radius-round);
  border:1px solid color-mix(in srgb, var(--theme-on-dark) 30%, transparent);background:color-mix(in srgb, var(--theme-on-dark) 10%, transparent);color:var(--theme-on-dark);
  cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  transition:background .2s,color .2s,border-color .2s;z-index:2}
.zoom-lb-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zoom-lb-zoom .za-zoomout{display:none}
.zoom-lb-zoom.playing{background:var(--gold);border-color:var(--gold);color:var(--theme-text-on-accent)}
.zoom-lb-zoom.playing .za-zoomin{display:none}
.zoom-lb-zoom.playing .za-zoomout{display:block}
.zoom-lb-zoom:hover{border-color:var(--gold)}
@media(max-width:640px){
  .zoom-lb{padding:52px var(--gap-3xl) 70px}
  .zoom-lb-img{max-width:100%;max-height:72dvh}
  .zoom-lb-nav{width:40px;height:40px;top:46%}
  .zoom-lb-nav svg{width:19px;height:19px}
  .zoom-lb-prev{left:8px}
  .zoom-lb-next{right:8px}
  .zoom-lb-close{top:10px;right:12px;width:38px;height:38px}
  .zoom-lb-auto{bottom:var(--gap-7xl);padding:var(--gap-2xl) var(--gap-8xl);font-size:var(--fs-p9_5)}
  .zoom-lb-zoom{bottom:14px;left:calc(50% + 82px);width:36px;height:36px}
  .zoom-lb-zoom svg{width:16px;height:16px}
}
@media(prefers-reduced-motion:reduce){
  .zoom-lb-nav,.zoom-lb-auto,.zoom-lb-zoom,.zoom-lb-img{transition:none}
}


/* ---- customer review photos: full image in the card, tap for full view ---- */
.rev-img-open{display:block;width:100%;margin:var(--gap-3xl) 0;padding:var(--gap-xs);border:var(--gap-p1) solid var(--line);
  border-radius:6px;background:var(--cream,var(--bg2));cursor:zoom-in;overflow:hidden}
.rev-img-open img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;
  object-position:center;border-radius:var(--radius-xs)}
.rev-img-open:hover{border-color:var(--gold)}
.zoom-lb.single .zoom-lb-nav,.zoom-lb.single .zoom-lb-auto,
.zoom-lb.single .zoom-lb-zoom,.zoom-lb.single .zoom-lb-count{display:none}

/* ---- review modal: theme-aware controls (no var(--theme-on-dark) form surfaces) ---- */
#revModal select,#revModal input[type="text"],#revModal textarea,
#revModal input[type="file"]{
  background:var(--p-surface,var(--bg2));color:var(--ink);
  border:1px solid var(--p-line,var(--line));border-radius:var(--p-ctl-r,6px);
  width:100%;padding:var(--gap-3xl) var(--gap-5xl);font-family:var(--fb,var(--caps));font-size:var(--p-fs-body,var(--gap-6xl));
}
#revModal input[type="file"]{border-style:dashed;cursor:pointer}
#revModal input[type="file"]::file-selector-button{
  background:var(--gold);color:var(--on,var(--theme-text-on-accent));border:0;border-radius:999px;
  padding:var(--gap-lg) var(--gap-6xl);margin-right:var(--gap-5xl);cursor:pointer;
  font-family:var(--caps);font-size:var(--fs-xs);letter-spacing:var(--ls-3xl);text-transform:uppercase;
}
#revModal input::placeholder,#revModal textarea::placeholder{color:var(--mute);opacity:.85}
#revModal .field label{color:var(--ink);font-size:var(--fs-base);font-weight:var(--fw-semibold)}

/* ---- Calculate Your Size — a quiet but unmissable nudge ---- */
html body button.size-link.size-link--calc{
  position:relative;gap:var(--gap-xl);min-height:var(--gap-20xl);padding:var(--gap-xl) var(--gap-8xl);
  border:1px solid var(--gold);border-radius:999px;
  background:color-mix(in srgb,var(--gold) 12%,transparent);
  color:var(--gold2,var(--gold));font-size:var(--fs-p12_5);letter-spacing:var(--ls-3xs);
  box-shadow:0 0 0 0 color-mix(in srgb,var(--gold) 42%,transparent);
  animation:calcNudge 2.6s ease-out infinite;
}
html body button.size-link.size-link--calc svg{width:15px;height:15px;stroke:currentColor}
/* a small live dot so the eye lands on it even without the pulse */
html body button.size-link.size-link--calc::after{
  content:"";position:absolute;top:-3px;right:-3px;width:8px;height:8px;border-radius:var(--radius-round);
  background:var(--gold);box-shadow:0 0 0 2px var(--bg2,var(--cream));
}
html body button.size-link.size-link--calc:hover,
html body button.size-link.size-link--calc:focus-visible{
  background:var(--gold);color:var(--on,var(--theme-text-on-accent));animation:none;outline:none;
}
html body button.size-link.size-link--calc.used{animation:none;box-shadow:none}
@keyframes calcNudge{
  0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--gold) 38%,transparent);
          background:color-mix(in srgb,var(--gold) 10%,transparent)}
  50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--gold) 0%,transparent);
      background:color-mix(in srgb,var(--gold) 22%,transparent)}
}
@media(prefers-reduced-motion:reduce){
  html body button.size-link.size-link--calc{animation:none}
}

/* ---------- live variant data: price range, stock, film, specification ---------- */
.pdp-stock{margin:var(--gap-3xl) 0 0;font-family:var(--caps);font-size:var(--fs-sm);letter-spacing:var(--ls-lg);color:var(--ink-2,var(--mute))}
.pdp-price-from{display:inline-block;margin-left:var(--gap-3xl);font-family:var(--caps);font-size:var(--fs-xs);letter-spacing:var(--ls-5xl);text-transform:uppercase;color:var(--mute)}
.pdp-video{margin-top:var(--gap-7xl);position:relative}
.pdp-video-cap{position:absolute;left:var(--gap-3xl);bottom:var(--gap-3xl);background:color-mix(in srgb, var(--theme-scrim) 62%, transparent);color:var(--ink);font-family:var(--caps);font-size:var(--fs-2xs);letter-spacing:var(--ls-8xl);text-transform:uppercase;padding:var(--gap-sm) var(--gap-2xl);border-radius:var(--radius-2xs)}
.pdp-specs{margin-top:var(--gap-16xl);border-top:var(--gap-p1) solid var(--line);padding-top:var(--gap-11xl)}
.pdp-specs h3{font-family:var(--caps);font-size:var(--fs-sm);letter-spacing:var(--ls-9xl);text-transform:uppercase;color:var(--gold2);margin:0 0 var(--gap-7xl)}
.pdp-specs dl{margin:0;display:grid;gap:var(--gap-3xl)}
.pdp-specs dl>div{display:grid;grid-template-columns:minmax(130px,32%) 1fr;gap:var(--gap-7xl);border-bottom:var(--gap-p1) dashed var(--line);padding-bottom:var(--gap-2xl)}
.pdp-specs dt{font-family:var(--caps);font-size:var(--fs-sm);letter-spacing:var(--ls-5xl);text-transform:uppercase;color:var(--mute)}
.pdp-specs dd{margin:0;font-size:var(--fs-lg);line-height:var(--lh-airy);color:var(--ink)}
@media (max-width:640px){
 .pdp-specs dl>div{grid-template-columns:1fr;gap:var(--gap-2xs)}
}

/* Description accordion — clean typography, no stray border/gaps. */
.pdp-desc-wrap{margin-top:var(--gap-13xl);border:0}
.pdp-desc-head{display:flex;align-items:center;justify-content:space-between;gap:var(--gap-5xl);cursor:pointer;list-style:none;
  font-family:var(--caps);font-size:var(--fs-sm);font-weight:var(--fw-semibold);letter-spacing:var(--ls-6xl);text-transform:uppercase;color:var(--ink);
  padding:var(--gap-3xl) 0;border-bottom:var(--gap-p1) solid var(--line)}
.pdp-desc-head::-webkit-details-marker{display:none}
.pdp-desc-ico{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none;transition:transform .2s ease}
.pdp-desc-wrap:not([open]) .pdp-desc-ico{transform:rotate(-90deg)}
.pdp-desc{margin-top:0;padding-top:var(--gap-7xl);border-top:0;font-size:var(--fs-lg);line-height:var(--lh-roomy);color:var(--ink);white-space:normal}
.pdp-desc>p{margin:0 0 var(--gap-3xl)}
.pdp-desc>p:last-child{margin-bottom:0}
/* Owner-authored rich descriptions: preserve their inline colours/spacing,
   keep tables readable and contained on every screen. */
.pdp-desc.rich-text h1,.pdp-desc.rich-text h2,.pdp-desc.rich-text h3,
.pdp-desc.rich-text h4,.pdp-desc.rich-text h5,.pdp-desc.rich-text h6{margin:var(--gap-9xl) 0 var(--gap-xl)}
.pdp-desc.rich-text h1:first-child,.pdp-desc.rich-text h2:first-child{margin-top:0}
.pdp-desc.rich-text hr{border:0;border-top:var(--gap-p1) solid var(--line);margin:var(--gap-11xl) 0}
.pdp-desc.rich-text table{max-width:100%;display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;
  margin:var(--gap-5xl) 0;border-collapse:collapse;font-size:var(--fs-md)}
.pdp-desc.rich-text th,.pdp-desc.rich-text td{padding:var(--gap-2xl) var(--gap-3xl);border:var(--gap-p1) solid var(--line);text-align:left}
.pdp-desc.rich-text ul,.pdp-desc.rich-text ol{padding-left:var(--gap-12xl);margin:var(--gap-xl) 0 var(--gap-5xl)}
.pdp-desc.rich-text div[style],.pdp-desc.rich-text p[style]{max-width:100%}
@media (max-width:640px){
  .pdp-desc.rich-text{font-size:var(--fs-p13_5)}
  .pdp-desc.rich-text table{font-size:var(--fs-base)}
  .pdp-desc.rich-text th,.pdp-desc.rich-text td{padding:var(--gap-lg) var(--gap-xl)}
}
.pdp-desc.rich-text p{margin:0 0 var(--gap-5xl)}
.pdp-desc.rich-text p:last-child{margin-bottom:0}
.pdp-desc.rich-text h2,.pdp-desc.rich-text h3,.pdp-desc.rich-text h4{font-family:var(--serif);margin:var(--gap-11xl) 0 var(--gap-xl);color:var(--ink);line-height:1.25}
.pdp-desc.rich-text h2{font-size:var(--fs-p21)}
.pdp-desc.rich-text h3{font-size:var(--fs-3xl)}
.pdp-desc.rich-text h4{font-size:var(--fs-2xl)}
.pdp-desc.rich-text ul,.pdp-desc.rich-text ol{margin:0 0 var(--gap-5xl);padding-left:var(--gap-12xl)}
.pdp-desc.rich-text li{margin-bottom:var(--gap-xs)}
.pdp-desc.rich-text a{color:var(--admin-gold);text-decoration:underline}
.pdp-desc.rich-text blockquote{margin:var(--gap-5xl) 0;padding:var(--gap-xl) var(--gap-7xl);border-left:var(--gap-3xs) solid var(--admin-gold);color:var(--ink-2)}

.rating-bars{display:flex;flex-direction:column;gap:var(--gap-xl);background:var(--ivory,var(--ink));border:var(--gap-p1) solid var(--line);border-radius:var(--gap-md);padding:var(--gap-11xl) var(--gap-12xl);margin:0 0 var(--gap-13xl);max-width:640px}
.rb-row{display:grid;grid-template-columns:52px 1fr 26px;align-items:center;gap:var(--gap-3xl)}
.rb-label{font-family:var(--caps);font-size:var(--fs-xs);letter-spacing:var(--ls-4xl);text-transform:uppercase;color:var(--ink-2)}
.rb-bar{background:var(--cream,var(--ink));border-radius:4px;height:10px;overflow:hidden}
.rb-fill{height:100%;background:linear-gradient(90deg,var(--gold),var(--mute))}
.rb-count{font-variant-numeric:tabular-nums;font-size:var(--fs-sm);color:var(--ink-2);text-align:right}
.rb-avg{font-size:var(--fs-base);color:var(--ink-2);border-top:var(--gap-p1) solid var(--line);padding-top:var(--gap-3xl);margin-top:var(--gap-md)}
.rb-avg b{color:var(--ink)}

/* Shoppable product film — floating mini player (live-site Whatmore parity) */
/* Live-site parity: the shoppable float is a 116x206 rounded video tile with
   a close button and a bottom caption over a soft scrim — no heavy border. */
.pdp-float{position:fixed;right:8px;bottom:calc(var(--mbar-h) + 40px);width:116px;height:206px;z-index:150;
  border-radius:var(--radius-8xl);overflow:hidden;border:0;background:transparent;
  box-shadow:0 12px 30px color-mix(in srgb, var(--theme-scrim) 30%, transparent);animation:pdp-float-in .35s ease both}
.pdp-float::after{content:"WATCH FILM";position:absolute;left:0;right:0;bottom:0;z-index:3;pointer-events:none;
  padding:var(--gap-12xl) var(--gap-xs) var(--gap-3xl);text-align:center;font-family:var(--caps);font-size:var(--fs-3xs);font-weight:var(--fw-bold);letter-spacing:var(--ls-6xl);
  text-transform:uppercase;color:var(--theme-on-dark);background:linear-gradient(0deg,color-mix(in srgb, var(--theme-scrim) 70%, transparent),transparent)}
.pdp-float[hidden]{display:none}
@keyframes pdp-float-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.pdp-float-video{width:100%;height:100%;object-fit:cover;display:block;background-color:var(--d2);background-size:cover;background-position:center}
/* IMPORTANT: premium.css paints `html body button` with a solid surface. That
   rule was overriding `background:transparent` here and covering the entire
   video with a cream block. Force it back to transparent. */
html body .pdp-float-open{position:absolute;inset:0;width:100%;height:100%;border:0;
  background:transparent !important;background-color:transparent !important;
  box-shadow:none !important;cursor:pointer;z-index:2}
/* Big play icon only while the preview is paused. Once the reel is autoplaying
   the frame must be visible — same rule we use on the homepage reel feed. */
.pdp-float-open:after{content:'';position:absolute;left:50%;top:50%;width:30px;height:30px;transform:translate(-50%,-50%);
  border-radius:50%;background:color-mix(in srgb, var(--theme-on-dark) 24%, transparent);border:1px solid color-mix(in srgb, var(--theme-on-dark) 50%, transparent);transition:opacity .25s ease}
.pdp-float-open:before{content:'';position:absolute;left:calc(50% - 4px);top:calc(50% - 7px);z-index:3;
  border-left:12px solid var(--theme-on-dark);border-top:7px solid transparent;border-bottom:7px solid transparent;transition:opacity .25s ease}
.pdp-float.is-playing .pdp-float-open:after,
.pdp-float.is-playing .pdp-float-open:before{opacity:0;pointer-events:none}
/* tiny live dot so the owner can still tell the preview is running */
.pdp-float.is-playing::before{content:"";position:absolute;top:9px;left:9px;z-index:3;width:7px;height:7px;border-radius:var(--radius-round);
  background:#4ade80;box-shadow:0 0 0 3px color-mix(in srgb, var(--theme-scrim) 28%, transparent)}
html body .pdp-float-close{position:absolute;top:5px;right:5px;z-index:4;width:18px;height:18px;border:0;border-radius:var(--radius-round);
  background:color-mix(in srgb, var(--theme-scrim) 62%, transparent) !important;background-color:color-mix(in srgb, var(--theme-scrim) 62%, transparent) !important;color:var(--theme-on-dark) !important;
  font-size:var(--fs-md);line-height:var(--gap-9xl);cursor:pointer;padding:0;box-shadow:none !important;display:grid;place-items:center}
/* Draggable float: grab affordance + no text selection while moving. */
.pdp-float{cursor:grab;touch-action:none;user-select:none}
.pdp-float:active{cursor:grabbing}
.pdp-float-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:var(--gap-9xl)}
.pdp-float-modal[hidden]{display:none}
.pdp-fm-backdrop{position:absolute;inset:0;border:0;background:color-mix(in srgb, var(--theme-scrim) 78%, transparent);cursor:pointer}
.pdp-fm-card{position:relative;width:min(420px,100%);background:var(--bg2);border:1px solid var(--line);
  border-radius:var(--gap-9xl);padding:var(--gap-5xl);box-shadow:0 var(--gap-14xl) 60px color-mix(in srgb, var(--theme-scrim) 50%, transparent)}
/* Full film in the popup: contain keeps the entire frame visible (cover was
   cropping the top/bottom off the portrait reels). */
.pdp-fm-card video{width:100%;max-height:70vh;object-fit:contain;border-radius:10px;background:var(--d2);display:block}
.pdp-fm-close{position:absolute;top:20px;right:20px;z-index:2;width:32px;height:32px;border:0;border-radius:var(--radius-round);
  background:color-mix(in srgb, var(--theme-scrim) 62%, transparent);color:var(--theme-on-dark);font-size:var(--fs-4xl);line-height:30px;cursor:pointer}
.pdp-fm-info{display:flex;align-items:center;justify-content:space-between;gap:var(--gap-5xl);padding:var(--gap-5xl) var(--gap-xs) var(--gap-3xs);flex-wrap:wrap}
.pdp-fm-info b{display:block;font-family:var(--serif);font-size:var(--fs-2xl);color:var(--ink)}
.pdp-fm-info span{display:block;font-size:var(--fs-base);color:var(--mute);margin-top:var(--gap-2xs)}
@media(max-width:640px){.pdp-float{width:92px;height:164px;right:8px;bottom:calc(var(--mbar-h) + 30px)}.pdp-fm-info{justify-content:center}}
/* Product film is the last gallery tile; full film only in the popup */
.pdp-film-thumb{position:relative;padding:0;overflow:hidden;border-radius:var(--gap-xl);border:var(--gap-p1) solid var(--line);background:var(--bg2);cursor:pointer}
.pdp-film-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pdp-film-play{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);border-radius:var(--radius-round);
 background:color-mix(in srgb, var(--theme-scrim) 55%, transparent);border:1px solid color-mix(in srgb, var(--theme-on-dark) 55%, transparent)}
.pdp-film-play:after{content:"";position:absolute;left:11px;top:8px;border-left:10px solid var(--theme-on-dark);
 border-top:6px solid transparent;border-bottom:6px solid transparent}
