/* ============================================================
   drops.st — demos.css
   Gallery slide — mobile-first, 2-column on desktop
   ============================================================ */

/* .slide.slide--gallery beats the single-class .slide rule in funnel.css */
.slide.slide--gallery {
  background: var(--ink, #0b0b0b);
  color: var(--paper, #fff);
  padding: 0;       /* funnel.css pads .slide; gallery handles spacing inside */
  /* scroll-snap-stop intentionally INHERITS the .slide default (`normal`)
     from funnel.css. Earlier `always` override was removed 2026-05-08 — it
     locked tall slides at top so users couldn't scroll within them to reveal
     checkmarks/CTA below the fold (W3C oversized-area rule allows in-slide
     scroll only with `normal`). Density tokens tightened in same change. */
}

/* Override funnel.css .slide__inner { max-width: 620px }.
   Top-aligned (was justify-content:center, fixed 2026-05-08 round 2) so the
   phone-frame visual sits at slide-top and reverse-scroll snap-landings keep
   it visible. Centering pushed content into the geometric middle of a 100dvh
   box — when content overflowed, the swiper got clipped above the fold on
   reverse scroll. min-height removed: the parent .slide already enforces
   100dvh (funnel.css:147), and the double-stack was the root cause of the
   centering gravity well. */
.slide.slide--gallery .slide__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gallery-gap);
  padding:
    max(var(--gallery-pad-top),    calc(env(safe-area-inset-top, 0px)    + 20px))
    var(--slide-pad-x)
    max(var(--gallery-pad-bottom), calc(env(safe-area-inset-bottom, 0px) + 16px));
  width: 100%;
  max-width: var(--slide-max-width-wide);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .slide.slide--gallery .slide__inner {
    flex-direction: row;
    gap: clamp(40px, 7vw, 100px);
  }
}

/* Mobile (≤767): visual-first. The phone-frame screenshot is the actual product
   demo; placing it ABOVE the long pitch+chips+bullets+CTA block ensures the
   slider is in the viewport when the snap-scroll lands on the slide.
   Without this, on iPhone SE the 293px swiper sat 496px down — entirely below
   the 667px fold. Shrunk --phone-frame-width token + tighter gap close the gap.

   .demo-text is itself a flex column; setting .cta-secondary order:-1 within it
   pulls the button to the top of the text block — visually it sits directly
   under the swiper, in the thumb-reach zone, before scrolling to the rest of
   the copy. Desktop layout unchanged (rule scoped to ≤767). */
@media (max-width: 767px) {
  .slide.slide--gallery .slide__inner { gap: clamp(8px, 1.4vh, 16px); }
  .slide.slide--gallery .demo-visual  { order: -1; }
  .slide.slide--gallery .demo-text    { order: 1; }
  .slide.slide--gallery .demo-text .cta-secondary {
    order: -1;
    margin-top: 0;
    margin-bottom: clamp(8px, 1.4vh, 14px);
    align-self: center;
  }
}

/* --- text block --- */
.demo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .demo-text {
    align-items: flex-start;
    text-align: left;
    flex: 1 1 0;
    min-width: 0;
    max-width: var(--gallery-text-max);
  }
}

.slide--gallery .slide__eyebrow {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.slide--gallery .slide__headline {
  color: var(--paper, #fff);
  max-width: 22ch;
  margin-top: 0;
}

.slide--gallery .slide__sub--demo {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(14px, 1.8vw, 17px);
  max-width: 34ch;
  margin: 0.6em 0 0;
  line-height: 1.35;
}

/* --- CTA link --- */
.cta-secondary {
  display: inline-block;
  margin-top: clamp(20px, 2.5vh, 32px);
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 150ms, border-color 150ms, color 150ms;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* --- secondary tg link beneath the demo CTA pill --- */
.demo-tg-link {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 150ms, border-color 150ms;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.demo-tg-link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.55);
}
.slide--gallery.slide--light .demo-tg-link {
  color: rgba(0, 0, 0, 0.55);
  border-bottom-color: rgba(0, 0, 0, 0.18);
}
.slide--gallery.slide--light .demo-tg-link:hover {
  color: #000;
  border-bottom-color: rgba(0, 0, 0, 0.55);
}

/* --- phone frame visual --- */
.demo-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-swiper {
  width: var(--phone-frame-width);
  border-radius: 26px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1.5px rgba(255, 255, 255, 0.1) inset;
}

@media (min-width: 768px) {
  .demo-swiper {
    width: clamp(260px, 24vw, 340px);
  }
}

.demo-swiper .swiper-wrapper { align-items: stretch; }
.demo-swiper .swiper-slide   { display: flex; cursor: zoom-in; position: relative; }

/* Magnifier signifier — bottom-right of phone frame, hints at tap-to-zoom.
   Scoped to the in-page gallery only (not the lightbox). */
.demo-visual .demo-swiper::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  /* Inline magnifier glyph as background-image so we don't add an SVG file */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='6'/><path d='m20 20-3.5-3.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.85;
  transition: opacity 200ms;
}
.demo-visual .demo-swiper:hover::after { opacity: 1; }
.demo-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #1a1a1a;
}

.demo-swiper .swiper-pagination { bottom: 10px; }
.demo-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background 200ms, width 200ms;
}
.demo-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

/* --- demo tag pills (feature-strip reused inside .demo-text) --- */
.slide--gallery .demo-tags {
  margin-top: clamp(8px, 1.2vh, 16px);
  margin-bottom: clamp(2px, 0.6vh, 8px);
  justify-content: center;
}
@media (min-width: 768px) {
  .slide--gallery .demo-tags { justify-content: flex-start; }
}
.slide--gallery .demo-tags .feature-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  padding: 5px 11px;
}
.slide--gallery.slide--light .demo-tags .feature-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.85);
}

/* --- demo "what's pre-loaded" checkmark list --- */
.slide--gallery .demo-preloaded {
  margin-top: clamp(4px, 0.8vh, 10px);
  margin-bottom: clamp(6px, 1vh, 12px);
  max-width: 26ch;
}
.slide--gallery .demo-preloaded li {
  font-size: 13px;
  padding: 5px 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.slide--gallery .demo-preloaded li::before { top: 5px; }
.slide--gallery.slide--light .demo-preloaded li {
  color: rgba(0, 0, 0, 0.72);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .slide--gallery .demo-preloaded { max-width: 24ch; margin-left: 0; margin-right: auto; }
}

/* --- hero feature-pills + stats (intro slide) --- */
.slide--hook .feature-strip {
  justify-content: center;
  margin-top: clamp(16px, 2.5vh, 26px);
}
.slide--hook .feature-pill {
  font-size: 12px;
  padding: 6px 12px;
}
.slide--hook .trust-strip {
  margin-top: clamp(10px, 1.5vh, 16px);
}

/* --- dark-theme override for hook slide (demos page intro)
       Creates a scene-change signal when arriving from the light funnel CTA. --- */
.slide.slide--hook.slide--dark {
  background: #0b0b0b;
  color: var(--paper, #fff);
}
.slide--hook.slide--dark .slide__eyebrow {
  color: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
}
.slide--hook.slide--dark .slide__headline {
  color: var(--paper, #fff);
}
.slide--hook.slide--dark .slide__sub {
  color: rgba(255, 255, 255, 0.72);
}
.slide--hook.slide--dark .feature-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}
.slide--hook.slide--dark .trust-strip .trust-item {
  color: rgba(255, 255, 255, 0.65);
}
.slide--hook.slide--dark .trust-strip .trust-sep {
  color: rgba(255, 255, 255, 0.3);
}
.slide--hook.slide--dark .forward-cue {
  color: rgba(255, 255, 255, 0.45);
}

/* --- hero eyebrow live-pulse (mirror of .slide--mechanism rule) --- */
.slide--hook .slide__eyebrow {
  position: relative;
  padding-left: 22px;
}
.slide--hook .slide__eyebrow::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a8e3e;
}
.slide--hook.is-visible .slide__eyebrow::before {
  animation: live-pulse 2.2s ease-in-out infinite;
  animation-delay: 600ms;
}
@media (prefers-reduced-motion: reduce) {
  .slide--hook .slide__eyebrow::before { animation: none; }
}

/* --- operator quote on demo gallery --- */
.slide--gallery .demo-quote {
  font-style: italic;
  font-size: clamp(14px, 2.3vw, 17px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  border-left: 2px solid #e5472a;
  padding: 4px 0 4px 14px;
  margin: clamp(6px, 1vh, 12px) 0;
  max-width: 32ch;
  text-align: left;
}
.slide--gallery .demo-quote__author {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  font-weight: 700;
}
.slide--gallery.slide--light .demo-quote {
  color: rgba(0, 0, 0, 0.82);
}
.slide--gallery.slide--light .demo-quote__author {
  color: rgba(0, 0, 0, 0.55);
}
@media (min-width: 768px) {
  .slide--gallery .demo-quote { margin-right: auto; }
}

/* --- logo on CTA slide (smaller variant of hero logo) --- */
.slide--cta .slide__logo {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(20px, 3.5vh, 36px);
}
.slide--cta .slide__logo .site-logo {
  width: clamp(120px, 32vw, 160px);
  height: auto;
}

/* --- CTA stack: primary button + secondary text-link, stacked, breathing room --- */
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(20px, 3vh, 32px);
}
.cta-stack .cta-primary { margin-top: 0; }
.cta-tertiary {
  display: inline-block;
  padding: 6px 4px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  transition: color 150ms, text-decoration-color 150ms;
  -webkit-tap-highlight-color: transparent;
}
.cta-tertiary:hover {
  color: var(--ink, #0b0b0b);
  text-decoration-color: var(--ink, #0b0b0b);
}

/* --- proof-point bullets on CTA close (single-line dot + fact) --- */
.recent-pulse {
  list-style: none;
  padding: 0;
  margin: clamp(14px, 2vh, 22px) auto;
  max-width: 36ch;
  text-align: left;
}
.recent-pulse__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.82);
  font-weight: 500;
}
.recent-pulse__row:last-child { border-bottom: 0; }
.recent-pulse__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2a8e3e;
}
.slide.is-visible .recent-pulse__dot {
  animation: live-pulse 2.2s ease-in-out infinite;
}
.recent-pulse__text {
  flex: 1;
}
@media (prefers-reduced-motion: reduce) {
  .slide.is-visible .recent-pulse__dot { animation: none; }
}

/* Gallery entrance fade-in removed 2026-05-08 — content is present instantly
   when slide enters viewport, matching modern app pattern (Linear/Stripe). */

/* --- swiper nav arrows (desktop only) --- */
.demo-swiper .swiper-button-prev,
.demo-swiper .swiper-button-next {
  display: none; /* hidden on mobile */
}

@media (min-width: 768px) {
  .demo-swiper .swiper-button-prev,
  .demo-swiper .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    opacity: 0;
    transition: opacity 200ms, background 150ms, border-color 150ms;
    -webkit-tap-highlight-color: transparent;
  }
  .demo-swiper .swiper-button-prev { left: 10px; }
  .demo-swiper .swiper-button-next { right: 10px; }

  /* arrow icons via ::after */
  .demo-swiper .swiper-button-prev::after,
  .demo-swiper .swiper-button-next::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }
  .demo-swiper .swiper-button-prev::after { transform: rotate(-135deg) translate(-1px, 1px); }
  .demo-swiper .swiper-button-next::after { transform: rotate(45deg) translate(-1px, 1px); }

  /* always slightly visible; full on hover */
  .demo-swiper .swiper-button-prev,
  .demo-swiper .swiper-button-next {
    opacity: 0.45;
  }
  .demo-visual:hover .swiper-button-prev,
  .demo-visual:hover .swiper-button-next {
    opacity: 1;
  }
  .demo-swiper .swiper-button-prev:hover,
  .demo-swiper .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
  }

  /* rewind mode never disables nav, but dim slightly at boundary if it does */
  .demo-swiper .swiper-button-prev.swiper-button-disabled,
  .demo-swiper .swiper-button-next.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: auto;
  }
}

/* --- light theme (slide 2) --- */
.slide.slide--gallery.slide--light {
  background: #f5f5f5;
  color: #0b0b0b;
}
.slide--gallery.slide--light .slide__headline { color: #0b0b0b; }
.slide--gallery.slide--light .slide__sub--demo { color: rgba(0, 0, 0, 0.58); }
.slide--gallery.slide--light .slide__eyebrow {
  color: rgba(0, 0, 0, 0.55);
}
.slide--gallery.slide--light .cta-secondary {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.75);
}
.slide--gallery.slide--light .cta-secondary:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.45);
  color: #000;
}
.slide--gallery.slide--light .demo-swiper {
  background: #e0e0e0;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.18),
    0 0 0 1.5px rgba(0, 0, 0, 0.08) inset;
}
.slide--gallery.slide--light .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
}
.slide--gallery.slide--light .swiper-pagination-bullet-active {
  background: #0b0b0b;
}
@media (min-width: 768px) {
  .slide--gallery.slide--light .swiper-button-prev,
  .slide--gallery.slide--light .swiper-button-next {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.18);
    color: rgba(0, 0, 0, 0.75);
  }
  .slide--gallery.slide--light .swiper-button-prev:hover,
  .slide--gallery.slide--light .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.4);
    color: #000;
  }
}

/* Mobile (≤767w): hide decorative quote + collapse text-block margins, shrink
   headline, line-clamp pitch, compact tags + checklist. Combined effect ≈
   170px reclaim on iPhone SE so digital-demo (was +133 overflow) and
   wholesale-demo (was +73) fit cleanly. Quote is decorative — message lives
   in headline + pitch + checklist + screenshot. */
@media (max-width: 767px) {
  .slide--gallery .demo-quote { display: none; }

  /* Collapse stacked em-margins on .demo-text children; the parent flex
     column owns rhythm via gap. Saves ~24px of accidental vertical drift. */
  .slide--gallery .demo-text { gap: 4px; }
  .slide--gallery .demo-text > * { margin-top: 0; margin-bottom: 0; }

  /* Tighter mobile typography on headline + pitch — both stay legible at
     these sizes (font ≥ 14px, line-height ≥ 1.15). */
  .slide--gallery .slide__headline {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.15;
  }
  .slide--gallery .slide__sub--demo {
    font-size: 14px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Tags row: compact pills, single-row preferred. */
  .slide--gallery .demo-tags {
    margin-top: 4px;
    margin-bottom: 0;
    gap: 4px;
  }
  .slide--gallery .demo-tags .feature-pill {
    font-size: 11px;
    padding: 3px 9px;
  }

  /* Checklist: tighter line + smaller padding; still ≥ 24px tap-row. */
  .slide--gallery .demo-preloaded { margin-top: 4px; margin-bottom: 4px; }
  .slide--gallery .demo-preloaded li {
    font-size: 12px;
    padding: 3px 0 3px 20px;
    line-height: 1.3;
  }
  .slide--gallery .demo-preloaded li::before { top: 3px; }
}

/* Short-viewport extra: line-clamp pitch to 2 lines on iPhone SE class
   (≤700h × ≤767w) to ensure digital-demo fits. */
@media (max-height: 700px) and (max-width: 767px) {
  .slide--gallery .slide__sub--demo { -webkit-line-clamp: 2; }
}

/* ============================================================
   Zoom lightbox — fullscreen tap-to-zoom modal.
   Native <dialog> + a fresh Swiper instance with the Zoom module.
   Frame is intentionally REMOVED in zoom view (Apple HIG / App Store
   pattern — frame is contextual at thumbnail size, hostile to
   readability when zoomed). Pinch + double-tap zoom in, swipe between,
   Esc / X / backdrop click / swipe-down to close.
   ============================================================ */
html.zoom-open { overflow: hidden; }   /* lock body scroll while open */

.zoom-dialog {
  /* full-bleed; reset native UA chrome */
  margin: 0;
  border: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  background: #000;
  color: #fff;
  inset: 0;
  overscroll-behavior: contain;
}
.zoom-dialog::backdrop { background: rgba(0, 0, 0, 0.92); }
.zoom-dialog[open] { display: flex; align-items: center; justify-content: center; }

.zoom-dialog__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 10;
  transition: background 150ms, transform 150ms;
}
.zoom-dialog__close:hover { background: rgba(255, 255, 255, 0.16); }
.zoom-dialog__close:active { transform: scale(0.92); }

/* Swiper carousel inside the dialog — full viewport */
.zoom-swiper {
  width: 100%;
  height: 100%;
}
.zoom-swiper .swiper-wrapper { align-items: center; }
.zoom-swiper .swiper-slide   {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.zoom-swiper .swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-swiper .swiper-zoom-container img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Pagination — small dots near bottom, away from the OS home indicator */
.zoom-swiper .zoom-swiper__pagination {
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
}
.zoom-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  width: 6px;
  height: 6px;
  transition: width 200ms, background 200ms;
}
.zoom-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
}

/* Prev/next arrows — desktop only, hidden on touch where swipe is the affordance */
.zoom-swiper .swiper-button-prev,
.zoom-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: background 150ms;
}
.zoom-swiper .swiper-button-prev:hover,
.zoom-swiper .swiper-button-next:hover { background: rgba(255, 255, 255, 0.16); }
.zoom-swiper .swiper-button-prev::after,
.zoom-swiper .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.zoom-swiper .swiper-button-disabled { opacity: 0.3; cursor: not-allowed; }

@media (hover: none) and (pointer: coarse) {
  /* Hide arrows on touch devices — swipe between slides is the gesture */
  .zoom-swiper .swiper-button-prev,
  .zoom-swiper .swiper-button-next { display: none; }
}

/* Reduced motion — kill the zoom animation entrance */
@media (prefers-reduced-motion: reduce) {
  .zoom-swiper .swiper-zoom-container,
  .zoom-swiper .swiper-slide { transition: none !important; }
}
