/* ===== Rosé before/after + video + packaging gallery, as its own section below Ingredients ===== */
.ing-showcase{background:var(--pink-pale);padding:70px 0}
/* Light mode only: a warmer, distinctly different background from the pink
   Festive Glow Offer section right below it, so the two don't blend into
   one continuous block of the same pink. Dark mode is untouched — it
   already gets its own contrast from offers-dark's explicit dark color. */
html:not([data-theme="dark"]) .ing-showcase{background:var(--cream)}
.ing-showcase .container{display:flex;justify-content:center}
.ing-gallery{width:100%;max-width:460px}

/* ---- The Rosé before/after drag-reveal widget (supplied as a standalone embed) ---- */
.niks-lip-slider{background:#f6b28d;color:#fff;font-family:Arial,sans-serif;overflow:hidden;width:100%;margin:auto}
.niks-lip-slider .photo{position:relative;aspect-ratio:1536/760;touch-action:pan-y}
.niks-lip-slider canvas{display:block;width:100%;height:100%}
.niks-lip-slider .reveal{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;direction:ltr;cursor:ew-resize;-webkit-appearance:none;appearance:none;background:transparent}
.niks-lip-slider .reveal::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:0;height:0;background:transparent;border:0}
.niks-lip-slider .reveal::-webkit-slider-runnable-track{background:transparent;border:0}
.niks-lip-slider .reveal::-moz-range-thumb{width:0;height:0;background:transparent;border:0}
.niks-lip-slider .reveal::-moz-range-track{background:transparent;border:0}
.niks-lip-slider .reveal::-moz-range-progress{background:transparent}
.niks-lip-slider .photo:has(.reveal:focus-visible){outline:2px solid #eaa17d;outline-offset:-2px}
.niks-lip-slider .divider{position:absolute;top:0;bottom:0;left:50%;width:3px;background:#fff;transform:translateX(-50%);pointer-events:none}
.niks-lip-slider .divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#70051b;font-size:24px;box-shadow:0 2px 12px #0003;white-space:pre}
.niks-lip-slider .labels{display:flex;justify-content:space-between;padding:14px 12% 0;gap:20px}
.niks-lip-slider button{background:transparent;border:0;color:#fff;font:700 20px Arial,sans-serif;padding:6px 8px;cursor:pointer;min-height:0}
.niks-lip-slider button:focus-visible{outline:2px solid #800020}
.niks-lip-slider .slogan{text-align:center;font-size:22px;font-weight:700;color:#82051c;padding:8px 8px 16px;opacity:.5;min-height:0}

/* ---- The 3-slide swipeable gallery that holds it, the demo video, and the gift-packaging photo ---- */
.ing-gallery{position:relative}
.ing-viewport{aspect-ratio:6/5;overflow-x:auto;overflow-y:hidden;background:var(--pink-light);touch-action:pan-x pan-y;cursor:grab;user-select:none;box-shadow:var(--shadow);border-radius:0;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}
.ing-viewport::-webkit-scrollbar{display:none}
.ing-viewport.is-dragging{cursor:grabbing}
.ing-track{display:flex;width:100%;height:100%}
.ing-slide{flex:0 0 100%;min-width:0;height:100%;overflow:hidden;position:relative;scroll-snap-align:start}
/* Show every photo and the video in full — nothing cropped out of frame.
   Square (sharp) edges on every slide, including future uploads. */
.ing-slide img,.ing-slide video{display:block;width:100%;height:100%;object-fit:contain;border-radius:0}
/* Clip the video through a separate wrapper so its composited playback
   surface cannot paint the edge seam. Trim right/bottom on every screen
   throughout playback; never trim the top or left. */
.ing-video-crop{position:relative;height:100%;width:auto;max-width:100%;aspect-ratio:1;margin-inline:auto;overflow:hidden;clip-path:inset(0 3px 3px 0)}
.ing-slide .ing-video-crop video{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;transform:none;border:0;outline:0;box-shadow:none}
/* During mobile swipes, cover the same cropped edges with an opaque layer.
   This avoids a transient video-compositor seam while the track moves. */
@media(max-width:1023px){
  .ing-video-crop{clip-path:none;isolation:isolate}
  .ing-video-crop::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-right:3px solid var(--pink-light);border-bottom:3px solid var(--pink-light)}
}
/* The before/after widget keeps its own composition and proportions too. */
.ing-slide.ing-before-after{display:flex;align-items:center;justify-content:center;background:#fff}
.ing-dots{display:flex;justify-content:center;gap:0;padding-top:8px}
.ing-dots button{display:grid;place-items:center;width:12px;height:20px;padding:0;border:0;background:transparent;cursor:pointer}
.ing-dots button::before{content:"";width:6px;height:6px;border-radius:50%;background:#b78b9d;transition:background .2s,transform .2s}
.ing-dots button[aria-pressed="true"]::before{background:var(--rose-brown-d);transform:scale(1.3)}
.ing-dots button:focus-visible,.ing-viewport:focus-visible{outline:2px solid #a34e65;outline-offset:3px}
html[data-theme="dark"] .ing-dots button::before{background:#cd9daf}
html[data-theme="dark"] .ing-dots button[aria-pressed="true"]::before{background:#fff}
@media(prefers-reduced-motion:reduce){.ing-track{transition:none}}

/* Mobile: a smaller card for all three swipe slides, and no white frame
   around the before/after widget (its own peach backdrop is used instead). */
@media(max-width:600px){
  .ing-showcase{padding:38px 0}
  .ing-gallery{max-width:300px}
  .ing-viewport{aspect-ratio:4/3;box-shadow:none}
  .ing-slide.ing-before-after{background:#f6b28d}
  .niks-lip-slider .labels{padding:10px 8% 0;gap:12px}
  .niks-lip-slider button{font-size:15px;padding:4px 6px}
  .niks-lip-slider .slogan{font-size:16px;padding:6px 8px 10px}
  .niks-lip-slider .divider span{width:32px;height:32px;font-size:19px}

}

/* ---- Laptop/desktop: show all three side by side, no swiping needed ---- */
@media(min-width:1024px){
  /* All three slides are visible at once here, so there's nothing left for
     dots to indicate — unlike on mobile, where they show there's more to
     swipe to, same as the product-card carousel dots. */
  .ing-dots{display:none!important}
  .ing-gallery{max-width:none;width:100%}
  .ing-viewport{aspect-ratio:auto;height:auto;overflow-x:auto;overflow-y:hidden;background:transparent;box-shadow:none;cursor:grab;touch-action:pan-x pan-y}
  /* All three cards share the same height; each one's width is set by its
     own true proportions, so there's no dead/filler space inside any card
     — just the one real gap between them, equal every time. */
  .ing-track{display:flex;justify-content: safe center;align-items:stretch;gap:24px;width:100%;height:clamp(220px,26vw,350px)}
  .ing-slide{flex:0 0 auto;width:auto;height:100%;overflow:hidden;background:none;box-shadow:none}
  .ing-slide.ing-before-after{aspect-ratio:6/5;align-items:stretch}
  .ing-slide:nth-child(2){aspect-ratio:1/1}
  .ing-slide:nth-child(3){aspect-ratio:1039/1319}
  .ing-slide img,.ing-slide video{width:100%;height:100%}
  /* Every card's own edge can show a hairline dark seam — enlarge each
     card's content a touch past its box (not just a CSS transform, which
     can leave its own seam) so that edge sits outside the visible crop,
     on all three cards alike. */
  .ing-slide{position:relative}
  .ing-slide:nth-child(3) img{position:absolute;top:-2%;left:-2%;width:104%;height:104%;max-width:none;border:0;outline:0}
  /* Fill the box top to bottom — no white strip above/below the photo. */
  .ing-slide.ing-before-after .niks-lip-slider{position:absolute;top:-2%;left:-2%;width:104%;height:104%;display:flex;flex-direction:column;border:0;outline:0}
  .ing-slide.ing-before-after .niks-lip-slider .photo{flex:1;min-height:0;aspect-ratio:auto}
  /* More slides than fit on one row: the row scrolls sideways. */
  .ing-gallery.ing-many .ing-track{justify-content:flex-start}
}

/* Slides are built from the admin dashboard, so on laptop/desktop each slide
   takes its proportions from its kind rather than from its position. */
@media(min-width:1024px){
  .ing-slide[data-kind="video"]{aspect-ratio:1/1}
  .ing-slide[data-kind="image"]{aspect-ratio:1039/1319}
  .ing-slide[data-kind="slider"],.ing-slide.ing-before-after{aspect-ratio:6/5}
  .ing-slide[data-kind="image"] img{position:absolute;top:-2%;left:-2%;width:104%;height:104%;max-width:none;border:0;outline:0}
}
