/* Extend the studio black across each existing photo frame. */
.studio-photo-frame {
  display:grid; place-items:center; width:100%; overflow:hidden;
  background:radial-gradient(ellipse at 50% 100%, #111 0%, #080808 49%, #080808 100%);
}
.serum-card .studio-photo-frame {aspect-ratio:1.65}
.pdp .productpic .studio-photo-frame {aspect-ratio:1.2}
.media.wide .studio-photo-frame {aspect-ratio:1.5}
.serum-card .studio-photo-frame img,
.pdp .productpic .studio-photo-frame img,
.media.wide .studio-photo-frame img {
  display:block; height:100%; width:auto; max-width:100%; min-height:0;
  aspect-ratio:auto; object-fit:contain; background:transparent;
  mix-blend-mode:lighten;
  mask-image:linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.bag-card img {background:#000}
@media(max-width:760px) {.pdp .productpic .studio-photo-frame {aspect-ratio:1.44}}
.bag-copy .case-note {margin:.55em 0 1em;color:#f5f5f2}
.shop-orchid-closer {background:var(--brand-purple);color:var(--brand-purple-on);padding-block:clamp(64px,7.25vw,118px)}
.shop-orchid-closer h2 {max-width:100%;margin:0 0 clamp(23px,3vw,38px);font-size:clamp(39px,5.5vw,88px);font-weight:400;line-height:1.04}
.shop-orchid-closer .btn {background:#0b0b0b;border-color:#0b0b0b;color:var(--brand-orchid)}
.shop-orchid-closer .btn:is(:hover,:focus-visible) {background:#252025;color:#fff}
.shop-orchid-closer .btn:focus-visible {outline:2px solid #0b0b0b;outline-offset:4px}
.studio-photo-frame {grid-template: minmax(0,1fr) / minmax(0,1fr)}

/* Shop only: scene-led singles and the shower duo, in the same card layout. */
.serum-card img.shop-single-photo {object-fit:cover;object-position:center 50%}
#the-duo .media.wide img.shop-shower-photo {aspect-ratio:1.35;object-fit:cover;object-position:center 48%}
.bag-copy h3.case-title {
  display:flex;align-items:baseline;gap:.32em;
  margin:0 0 .48em;font-size:clamp(20px,2.3vw,32px);line-height:1.12;
}
.bag-copy .case-title span:first-child {color:#c4d454}
.bag-copy .case-title span:last-child {color:var(--brand-orchid)}
.bag-copy .variant-desc {margin-block:0 .35em;line-height:1.48}
.bag-copy .case-note {margin-block:0 .88em}
.shop-orchid-closer .closer-eyebrow {font-size:.87rem;letter-spacing:.16em;text-transform:uppercase;margin:0 0 clamp(16px,2.3vw,30px)}
.shop-orchid-closer h2 {margin-bottom:clamp(16px,2vw,26px)}
.shop-orchid-closer .closer-support {font-size:clamp(16px,1.5vw,21px);margin:0 0 22px}
.shop-orchid-closer .closer-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px}
.shop-orchid-closer .closer-ingredients {display:inline-flex;align-items:center;min-height:44px;color:#0b0b0b;text-decoration:underline;text-underline-offset:.28em}
/* Keep both packages in frame in the current-site counterpart shots. */
.serum-card img.shop-single-photo[src$="-counter.webp"] {
  aspect-ratio:1.4;
  object-position:center 47%;
}

/* Keep actions on the same baseline within each Shop card row. */
.shop-serums .serum-card,
.bag-grid .bag-card:not([hidden]) {display:flex;flex-direction:column}
.shop-serums .serum-card .tilecopy,
.bag-grid .bag-card .bag-copy {display:flex;flex:1;flex-direction:column;min-width:0}
.shop-product-actions,
.bag-grid .variant-switch {margin-top:auto}
.shop-product-actions {padding-top:13px}
.bag-grid .variant-switch {padding-top:3px}
.bag-grid .bag-card .variant-switch button {min-height:44px}
.bag-grid .bag-card[hidden] {display:none}

/* A single, continuous black panel, flush with the column on all three cards. */
.shop-black-frame {
  position:relative;display:block;width:100%;aspect-ratio:1.65;
  overflow:hidden;background:#080808;isolation:isolate;
}
.serum-card .shop-black-frame img,
#the-duo .media.wide .shop-black-frame img {
  position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);
  width:auto;height:100%;max-width:100%;aspect-ratio:auto;object-fit:contain;
  mix-blend-mode:lighten;
  mask-image:linear-gradient(90deg,transparent 0%,black 16%,black 84%,transparent 100%);
}

/* Give the single bottles more vertical room, keeping the same card edges. */
.serum-card .shop-black-frame {aspect-ratio:1.38}
.serum-card .shop-black-frame img {height:96%}

/* A larger pair, with the same photo panel and column dimensions. */
#the-duo .media.wide .shop-black-frame img {
  height:124%;
  max-width:none;
  top:52%;
}
@media(max-width:760px) {
  #the-duo .media.wide .shop-black-frame img {height:120%;top:51%}
}

/* Keep the complete second phrase together without shrinking the first line. */
#the-duo .secthead {container-type:inline-size}
#the-duo .secthead h2 strong {
  display:inline-block;
  white-space:nowrap;
  font-size:min(1em,9.2cqw);
}

/* The frame sets the height; keep the full single bottle and the lifestyle image visible. */
.pdp .productpic .studio-photo-frame {display:block;position:relative;background:#0b0b0b}
.pdp .productpic .studio-photo-frame img {
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  padding:clamp(9px,1.7%,20px);object-fit:contain;object-position:center;
  mask-image:none;mix-blend-mode:lighten;
}
.pdp .media.wide img {aspect-ratio:2;object-fit:contain;background:#0b0b0b}

/* Match the product galleries without changing the Shop card frames. */
.shop-black-frame.shop-charcoal-frame {
  background:radial-gradient(ellipse at 27% 36%, #1b1b1b, transparent 67%),linear-gradient(#101010 57%,#1a1a1a);
}
.serum-card .shop-charcoal-frame img,
#the-duo .media.wide .shop-charcoal-frame img {mix-blend-mode:normal}
.serum-card .shop-charcoal-frame img {
  height:100%;
  mask-image:linear-gradient(90deg,transparent,black 17%,black 83%,transparent);
}
#the-duo .media.wide .shop-charcoal-frame img {mask-image:none;width:100%;object-fit:cover}

/* Keep the details links aligned below the choices, without making them look like checkout. */
.bag-copy .shop-set-details {
  display:inline-flex;align-items:center;align-self:flex-start;
  min-height:44px;margin-top:.32rem;
}

/* Same deep purple and light text as the first preview. */
.shop-orchid-closer {background:var(--brand-purple);color:var(--brand-purple-on)}
.shop-orchid-closer .closer-ingredients {color:var(--brand-purple-muted)}
.shop-orchid-closer .btn:focus-visible,.shop-orchid-closer .closer-ingredients:focus-visible {outline-color:var(--brand-purple-on)}

/* Compact timing cue for the matching Daily and Pro Shop cards. */
.shop-serums .serum-note{
  display:grid;grid-template-columns:auto minmax(0,1fr);
  justify-content:start;align-items:baseline;gap:4px 13px;
  padding:12px 0;line-height:1.45;
}
.shop-serums .serum-note .serum-note-time{
  color:var(--lime);font-size:.8125rem;letter-spacing:.08em;white-space:nowrap;
}
.shop-serums .pro .serum-note .serum-note-time{color:var(--brand-orchid)}
.shop-serums .serum-note .serum-note-copy{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
.shop-serums .serum-note .serum-note-copy strong{font-size:.875rem;white-space:nowrap}
.shop-serums .serum-note .serum-note-copy span{font-size:1rem}
