* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0c10;
  --surface: #ffffff;
  --surface-alt: #f6f7fb;
  --text: #12131a;
  --text-muted: #5c5e6b;
  --accent: #ffb800;
  --accent-dark: #e6a400;
  --accent-grad: linear-gradient(135deg, #ffcf4d, #ff9d2e);
  --hero-accent: #ffb800;
  --radius: 18px;
  --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.25);

  /* 1% of the *actual current* viewport height, in px — kept in sync with
     window.innerHeight/visualViewport.height by scroll-video.js on every
     scroll tick (see updateVhVar() there). iOS Safari's dvh unit only
     updates once its address-bar show/hide animation finishes, while the
     JS scroll math reads the real, currently-animating geometry every
     frame; during that animation the two disagreed, which is what showed
     up as the pinned hero video briefly overlapping the section below it.
     Every place that needs to stay pixel-locked to that same scroll math
     (.video-section/.hero-sticky/.content's heights and the curtain
     sections' margin-top) uses calc(var(--vh) * N) instead of vh/dvh, so
     CSS and JS are always driven by the identical number at the identical
     instant. 1dvh is the fallback for the instant before JS's first run. */
  --vh: 1dvh;
}

html {
  overflow-x: hidden;
}

/* Applied by JS a moment after load, rather than left on unconditionally.
   A reload/back-navigation that lands scrolled into .video-section makes
   the browser restore that scroll position itself; with scroll-behavior:
   smooth in effect at that moment, the browser animates the restore
   instead of jumping straight to it, so the scroll-scrubbed canvas frame
   visibly replays from the top over the next second or two before
   settling — looking exactly like
   the hero landing in the wrong position after a reload. Turning it on
   only once the page has already settled keeps the nice smooth-scroll
   easing for the nav's own #anchor links without it fighting the
   restore. */
html.smooth-scroll {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface-alt);
  /* overflow-x: hidden alone forces overflow-y to compute as "auto" (the
     CSS spec converts a lone non-visible axis), turning body into its own
     scroll container instead of the viewport. That's what was breaking
     .hero-sticky: its position: sticky got resolved against the wrong
     scrolling box partway down the page, so it unstuck early and left a
     blank gap. overflow-x: clip suppresses the horizontal scrollbar
     without establishing a scroll container, so sticky keeps resolving
     against the real viewport. */
  overflow-x: clip;
  width: 100%;
}

h1, h2, h3 {
  font-family: "Poppins", "Inter", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent-grad);
  color: #201400;
  box-shadow: 0 12px 30px -10px rgba(255, 184, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(255, 184, 0, 0.75);
}

.btn-block {
  width: 100%;
}

.btn-nav {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.3rem;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.navbar--solid {
  position: sticky;
  background: var(--bg);
  backdrop-filter: none;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  font-size: 1.10rem;
  letter-spacing: 0.02em;
  color: #fff;
  display: flex;
  align-items: center;
}

.logo span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
}

/* ---------- Video / Hero section ---------- */

.video-section {
  position: relative;
  padding: 0;
  height: calc(var(--vh) * 130);
  /* This section drives a JS scroll-scrub effect over a huge sticky-pinned
     area. Without this, the browser's scroll-anchoring feature can pick a
     node inside it as the scroll anchor and "correct" the scroll position
     by a few pixels when the canvas/overlay repaints — felt as the page
     jittering up and settling back right after you stop scrolling. */
  overflow-anchor: none;
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: calc(var(--vh) * 100);
  overflow: hidden;
}

#scroll-video,
#scroll-poster,
#scroll-hold-alt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: cover;
  object-position: 62% center;
}

/* Cross-fades in over the paused video during the hold — see the
   crossfadeHoldAlt() comment in scroll-video.js for why this can't just be
   a second video frame. */
#scroll-hold-alt {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#scroll-hold-alt.is-visible {
  opacity: 1;
}

/* Covers the clip with its first frame until the clip has actually drawn a
   frame. iOS shows a black box for a <video> that hasn't decoded anything
   yet, which used to flash in as soon as the visitor started scrolling. */
#scroll-poster {
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#scroll-poster.is-hidden {
  opacity: 0;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh) * 100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* When the hero text doesn't fit this box's fixed height — larger
     OS/browser text-size settings scale the rem-based font sizes below
     without scaling this vh-based box — plain `center` centers by
     overflowing equally on both sides, pushing the title above the
     viewport top and under the fixed navbar (z-index: 50). `safe center`
     falls back to start-alignment instead of overflowing that direction,
     so the title (and everything after it) always renders top-down from
     inside the padding below the navbar. Redeclared rather than replaced:
     browsers that don't understand the `safe` keyword keep plain `center`
     for the (unchanged, non-overflow) common case. */
  justify-content: safe center;
  text-align: center;
  /* Top padding clears the fixed navbar even in the overflow case above —
     `safe center` only stops the overflow from going negative, it doesn't
     add clearance from the container's own top edge on its own. */
  padding: 6rem 2.3rem 2rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.6));
}

.content > * {
  pointer-events: auto;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}

.content h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.55rem, 6vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.094rem;
  max-width: 620px;
  margin-bottom: 2rem;
}

.content h1 span {
  color: var(--hero-accent);
}

.content p {
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.25;
  max-width: 320px;
  margin-bottom: 2.1rem;
}

.content-left {
  align-items: flex-start;
  text-align: left;
}

.content-left h1,
.content-left p {
  margin-left: 0;
  margin-right: 0;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  /* Without a width to wrap against, a flex-wrap container that's itself
     cross-axis-centered (.content's align-items: center) sizes to its
     unwrapped max-content width instead of wrapping — invisible at normal
     text size, but at a larger OS/browser text-size or Larger Text setting
     the row no longer fits and pushes past the viewport edge (hidden, not
     scrollable, since body/html clip overflow-x). */
  max-width: 100%;
  margin-bottom: 2rem;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0 1.5rem;
  border-right: 1.5px solid rgba(255, 255, 255, 0.45);
}

.hero-feature:first-child {
  padding-left: 0;
}

.hero-feature:last-child {
  border-right: none;
  padding-right: 0;
}

.hero-feature-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1.3px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1;
}

.hero-feature-icon.icon-square {
  border-radius: 7px;
}

.hero-feature-icon.icon-circle {
  border-radius: 50%;
}

.hero-feature-label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 0.875rem;
}

.hero-feature-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  line-height: 1.35;
}

.btn-hero {
  background: var(--hero-accent);
  color: #201400;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 1.2rem 1.8rem;
  box-shadow: 0 12px 30px -10px rgba(255, 184, 0, 0.55);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(255, 184, 0, 0.7);
}

.hero-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 400;
}

.hero-secondary-icon {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.scroll-hint {
  /* Flows after the CTA instead of pinning to a fixed distance from
     .content's bottom edge — with `safe center` (see .content), taller
     zoomed-text content can grow enough to collide with a fixed-position
     hint; flowing avoids that regardless of how tall the content above
     gets. */
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Section shared styles ---------- */

section {
  padding: 6rem 1.5rem;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.tag {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(255, 184, 0, 0.14);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Features ---------- */

.features {
  background: var(--surface-alt);
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #201400;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- How it works ---------- */

.how-it-works {
  background: var(--bg);
  color: #fff;
}

.how-it-works .tag {
  background: rgba(255, 184, 0, 0.18);
}

.how-it-works .section-sub,
.how-it-works .section-head h2 {
  color: #fff;
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 1rem;
}

.step-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.step-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-media-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.5rem;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #201400;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- Gallery ---------- */

.gallery-section {
  background: var(--surface);
}

/* Videos reuse the product carousel's track/slot layout, which already
   swipes smoothly on phones; this only narrows it on desktop. */
.product-carousel.gallery-carousel {
  max-width: 900px;
}

/* No snapping here (the product track uses "mandatory"): iOS Safari keeps
   re-snapping a track to its current tile while a video inside it is
   playing, which fights the visitor's swipe. */
.gallery-carousel .product-carousel-track {
  scroll-snap-type: none;
}

.gallery-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.gallery-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Let touches fall through to the button/track: iOS otherwise treats a
     touch on a playing <video> as a media gesture and swallows the swipe. */
  pointer-events: none;
}

/* Transparent layer over the clip. iOS draws a playing <video> in its own
   native layer that grabs touches (pointer-events: none on the video isn't
   enough), so without this a swipe starting on a playing clip never reaches
   the scrolling row. */
.gallery-video-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.gallery-video-expand {
  z-index: 2;
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.6);
  color: #fff;
  font-size: 0.95rem;
  pointer-events: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.gallery-video:hover .gallery-video-expand,
.gallery-video:focus-visible .gallery-video-expand {
  transform: scale(1.1);
  background: rgba(11, 12, 16, 0.8);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--surface-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 184, 0, 0.35);
}

.pricing-card-glow {
  max-width: 460px;
  background: #0b0c10;
  border: 1px solid rgba(255, 184, 0, 0.4);
  border-radius: 28px;
  padding: 2.75rem 1.75rem 2rem;
  overflow: visible;
  box-shadow:
    0 0 0 1px rgba(255, 184, 0, 0.12),
    0 0 45px rgba(255, 184, 0, 0.22),
    0 25px 60px -20px rgba(0, 0, 0, 0.65);
}

.glow-ribbon {
  position: absolute;
  top: 26px;
  right: -56px;
  transform: rotate(45deg);
  width: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent-grad);
  color: #201400;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0;
  box-shadow: 0 0 22px rgba(255, 184, 0, 0.65);
}

.glow-ribbon::before {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 0;
  border-color: rgba(0, 0, 0, 0.4) transparent transparent transparent;
}

.glow-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgba(255, 184, 0, 0.5);
  border-radius: 999px;
  padding: 0.5rem 1.4rem 0.5rem 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 184, 0, 0.55);
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.15);
  margin-top: 0.5rem;
}

.glow-timer-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 184, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.glow-timer-sub {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.price-old {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.price-discount {
  background: #ffe3e0;
  color: #d5311f;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  font-family: "Poppins", sans-serif;
  margin-bottom: 1.25rem;
}

.price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: #fff;
}

.price .value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(255, 184, 0, 0.6), 0 0 45px rgba(255, 184, 0, 0.35);
}

.price .cents {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--accent);
  text-shadow: 0 0 22px rgba(255, 184, 0, 0.6), 0 0 45px rgba(255, 184, 0, 0.35);
}

.glow-payment-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

/* ---------- Product carousel ---------- */

.product-carousel-section {
  background: var(--surface-alt);
}

.product-carousel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.product-carousel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tag-glow {
  background: var(--accent-grad);
  color: #201400;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(255, 184, 0, 0.7);
  animation: tag-pulse 2.4s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px -8px rgba(255, 184, 0, 0.7);
  }
  50% {
    box-shadow: 0 8px 26px -6px rgba(255, 184, 0, 0.95);
  }
}

.product-carousel-header-text h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

.product-carousel-header-text p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--text-muted);
}

.product-carousel-see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #201400;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(255, 184, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-carousel-see-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(255, 184, 0, 0.75);
}

.product-carousel-track {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card-slot {
  flex: 1 1 0;
  min-width: 0;
  scroll-snap-align: center;
}

.product-card {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px -18px rgba(18, 19, 26, 0.3);
}

.product-card-media-wrap {
  position: relative;
}

.product-card-media {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: var(--surface-alt);
  cursor: zoom-in;
}

.product-card-media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

.lightbox[hidden],
.lightbox-img[hidden] {
  display: none;
}

.lightbox-img {
  max-width: min(90vw, 720px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}

.product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-card-body p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.product-card-price {
  margin-top: 0.4rem;
}

.product-card-price-value {
  font-size: 1.65rem;
  font-weight: 900;
  color: #a15c00;
  letter-spacing: -0.02em;
}

.product-card-price-note {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.product-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  border-radius: 999px;
  padding: 0 1.5rem;
  background: var(--accent-grad);
  color: #201400;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(255, 184, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(255, 184, 0, 0.75);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--surface);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(18, 19, 26, 0.1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent-dark);
}

.faq-item summary i {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary i {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 0.25rem 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.glow-feature-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.75rem;
}

.glow-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.glow-feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 184, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  box-shadow: 0 0 14px rgba(255, 184, 0, 0.22);
}

.glow-feature-list h4 {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.glow-feature-list p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.83rem;
  line-height: 1.4;
}

.glow-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--accent-grad);
  color: #201400;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1.05rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 0 26px rgba(255, 184, 0, 0.6), 0 15px 35px -12px rgba(255, 184, 0, 0.5);
  margin-bottom: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glow-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(255, 184, 0, 0.75), 0 18px 40px -12px rgba(255, 184, 0, 0.6);
}

.glow-cta::before,
.glow-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 6px rgba(255, 184, 0, 0.85));
}

.glow-cta::before {
  left: -22px;
}

.glow-cta::after {
  right: -22px;
}

.glow-cta-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(32, 20, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.glow-trust-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.glow-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  font-weight: 600;
}

.glow-trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.glow-trust-item small {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

@media (max-width: 380px) {
  .glow-ribbon {
    width: 180px;
    font-size: 0.7rem;
  }

  .glow-trust-item {
    font-size: 0.7rem;
  }
}

/* ---------- CTA banner ---------- */

.cta-banner {
  max-width: 780px;
  margin: 0 auto 3rem;
  background: var(--bg);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 1.375rem;
  font-weight: 800;
}

.cta-banner p {
  max-width: 28rem;
  margin: 0.5rem auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cta-banner-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.cta-banner-actions .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand .logo {
  justify-content: center;
}

.footer-desc {
  margin-top: 0.75rem;
  max-width: 22rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-social {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--accent);
  background: rgba(255, 184, 0, 0.1);
}

.footer-legal {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.footer-nav h4 {
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.footer-nav ul {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-static {
  font-size: 0.85rem;
  cursor: default;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 12, 16, 0.97);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 260px;
  }

  .nav-links a {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .content {
    padding: 6rem 1.1rem 2rem;
  }

  .content h1 {
    font-size: clamp(2.1rem, 8vw, 3.1875rem);
    margin-bottom: 1.25rem;
  }

  .content p {
    font-size: 1rem;
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .hero-feature {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 0.5rem;
    border-right-width: 1.5px;
  }

  .hero-feature:first-child {
    padding-left: 0;
  }

  .hero-feature:last-child {
    padding-right: 0;
  }

  .hero-feature-icon {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .hero-feature-label {
    font-size: 0.72rem;
    /* No white-space: nowrap — at larger text-size settings "E muito
       mais" no longer fits its column and needs to wrap onto 2 lines
       instead of pushing past the viewport edge. */
  }

  .hero-feature-desc {
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .hero-secondary {
    margin-top: 0.85rem;
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
  }

  .video-section {
    height: calc(var(--vh) * 190);
  }

  /* Same reasoning as the desktop -28vh value, scaled to this hero's
     smaller scrollable distance (193vh vs. 273vh): 193vh * (0.15 -
     ~0.07 buffer) so the curtain's first sliver still lands a similar
     ~13vh clear of the tap finishing. */
  .product-carousel-section {
    margin-top: calc(var(--vh) * -20);
  }

  /* .quick-buy-section's margin-top is in vh, but the scroll distance it's
     timed against (.video-section's height) is 190vh here vs. ~130vh on
     desktop — so the same vh value lands at a different point in each
     breakpoint's scroll. This matches desktop's -33vh/130vh ≈ 25% mark:
     190vh * 0.25 ≈ -48vh. */
  .quick-buy-section {
    margin-top: calc(var(--vh) * -48);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 1.2rem;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .price .value {
    font-size: 3.2rem;
  }

  .product-carousel-track {
    padding: 0.75rem 5vw 0.5rem;
    margin: 0 -1.25rem;
    scroll-padding-inline: 16vw;
  }

  .product-card-slot {
    flex: 0 0 auto;
    width: 68vw;
    max-width: 240px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .content h1 {
    font-size: 1.7rem;
  }
}

/* ---------- Product detail page ---------- */

.light-page {
  background: var(--surface);
}

.promo-utility-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  background: var(--bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-utility-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.promo-utility-bar i {
  color: var(--accent);
}

.product-breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-breadcrumb i {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.product-breadcrumb a:hover {
  color: var(--accent-dark);
}

.product-breadcrumb .is-current {
  color: var(--text);
  font-weight: 600;
}

.product-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 5rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.product-icons-rail {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 0.5rem;
}

.product-icons-rail li {
  list-style: none;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

.product-icons-rail-badge {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text);
  font-size: 1.2rem;
}

.product-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-alt);
  aspect-ratio: 4 / 5;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.product-thumb {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--surface-alt);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb.is-active,
.product-thumb:hover {
  border-color: var(--accent);
}

.product-benefits {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.product-benefit {
  background: var(--surface-alt);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  text-align: center;
}

.product-benefit i {
  display: block;
  margin: 0 auto 0.6rem;
  font-size: 1.2rem;
  color: var(--accent-dark);
}

.product-benefit strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.product-benefit span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-info-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-info-social {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-title-block {
  margin-top: 2rem;
}

.product-title-block h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-info-lead {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.product-info-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.product-pills span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-alt);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-pills i {
  color: var(--accent-dark);
}

.product-price-block {
  border-top: 1px solid rgba(18, 19, 26, 0.08);
  border-bottom: 1px solid rgba(18, 19, 26, 0.08);
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.product-price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.product-price-discount {
  background: #ffe3e0;
  color: #d5311f;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.product-price-value {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
}

.product-price-installments {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.product-quantity h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-quantity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.product-qty-card {
  position: relative;
  background: var(--surface);
  border: 2px solid rgba(18, 19, 26, 0.1);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.product-qty-card:hover {
  border-color: var(--accent);
}

.product-qty-card.is-selected {
  border-color: var(--accent-dark);
  background: rgba(255, 184, 0, 0.08);
}

.product-qty-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #201400;
  font-size: 0.65rem;
}

.product-qty-card.is-selected .product-qty-check {
  display: flex;
}

.product-qty-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.product-qty-price {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.product-qty-save {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(18, 19, 26, 0.15);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}

.quick-buy-section {
  background: var(--surface-alt);
  padding: 5rem 1.5rem;
  /* "Curtain" reveal: this section overlaps the still-pinned hero-sticky
     photo (a negative margin pulling it up into that space) and needs a
     stacking context with a positive z-index to actually paint over it —
     .hero-sticky is `position: sticky` with z-index: auto, which alone
     would out-rank a plain in-flow sibling regardless of DOM order. */
  position: relative;
  z-index: 2;
  margin-top: calc(var(--vh) * -41);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, 0.25);
}

.quick-buy {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.quick-buy-media,
.quick-buy-info {
  /* Grid items default to min-width: auto, which floors their shrinking
     at their content's min-content width — normally invisible, but at a
     larger OS/browser text-size setting the text's min-content width can
     exceed the 1fr track's available space, overflowing the grid instead
     of the track (and its children) shrinking to fit. */
  min-width: 0;
}

.quick-buy-media-main {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.quick-buy-media-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.quick-buy-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.quick-buy-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--surface);
}

.quick-buy-thumb.is-active {
  border-color: var(--accent-dark);
}

.quick-buy-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.quick-buy-info h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 800;
  margin: 0.75rem 0 0.6rem;
}

.quick-buy-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quick-buy-price {
  border-top: 1px solid rgba(18, 19, 26, 0.08);
  border-bottom: 1px solid rgba(18, 19, 26, 0.08);
  padding: 1.1rem 0;
  margin-bottom: 1.5rem;
}

.quick-buy-price-old {
  display: block;
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.quick-buy-price-value {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800;
}

.quick-buy-price-installments {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.quick-buy-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.quick-buy-qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 2px solid rgba(18, 19, 26, 0.1);
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
}

.quick-buy-qty-stepper button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(18, 19, 26, 0.06);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.quick-buy-qty-stepper button:hover {
  background: var(--accent);
}

.quick-buy-qty-stepper span {
  min-width: 1.2rem;
  text-align: center;
  font-weight: 700;
}

.quick-buy-shipping {
  border-top: 1px solid rgba(18, 19, 26, 0.08);
  border-bottom: 1px solid rgba(18, 19, 26, 0.08);
  padding: 1.25rem 0;
}

.quick-buy-info .btn-block {
  margin-top: 1.5rem;
}

.quick-buy-actions {
  margin-top: 1.5rem;
}

.quick-buy-info .quick-buy-actions .btn-block {
  margin-top: 0;
}

.quick-buy-more {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quick-buy-more:hover {
  color: var(--accent-dark);
}

@media (max-width: 800px) {
  .quick-buy {
    grid-template-columns: 1fr;
  }
}

.product-shipping {
  margin-bottom: 1.5rem;
}

.product-shipping h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-shipping h3 i {
  color: var(--accent-dark);
}

.product-shipping-form {
  display: flex;
  gap: 0.6rem;
}

.product-shipping-form input {
  flex: 1;
  /* flex: 1 alone doesn't let this shrink below its default min-content
     width (inputs default to min-width: auto too) — at a larger text-size
     setting that plus the nowrap "Calcular" button no longer fit the row. */
  min-width: 0;
  border: 2px solid rgba(18, 19, 26, 0.1);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.product-shipping-form input:focus {
  outline: none;
  border-color: var(--accent-dark);
}

.product-shipping-form .btn {
  padding: 0.7rem 1.25rem;
  white-space: nowrap;
}

.product-shipping-help {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.product-shipping-note {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-shipping-note i {
  margin-right: 0.35rem;
}

.product-shipping-result {
  margin-top: 0.9rem;
}

.product-shipping-loading,
.product-shipping-error {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-shipping-error {
  color: #d5311f;
}

.product-shipping-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(18, 19, 26, 0.1);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.product-shipping-option:has(input:checked) {
  border-color: var(--accent-dark);
  background: rgba(18, 19, 26, 0.03);
}

.product-shipping-option input[type="radio"] {
  accent-color: var(--accent-dark);
  flex: none;
}

.product-shipping-option-name {
  font-weight: 700;
  min-width: 60px;
}

.product-shipping-option-days {
  color: var(--text-muted);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.78rem;
}

.product-shipping-option-eta {
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

.product-shipping-option-price.is-free {
  color: #15803d;
}

.product-shipping-option-price {
  font-weight: 800;
  color: var(--accent-dark);
}


/* Checkout modal */
.product-checkout {
  position: fixed;
  inset: 0;
  background: rgba(18, 19, 26, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem;
  overflow-y: auto;
  z-index: 1000;
}

.product-checkout[hidden] {
  display: none;
}

.product-checkout-box {
  position: relative;
  background: var(--surface, #fff);
  border-radius: 16px;
  padding: 2.25rem;
  max-width: 640px;
  width: 100%;
}

.product-checkout-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(18, 19, 26, 0.06);
  cursor: pointer;
  font-size: 0.9rem;
}

.product-checkout-box h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-checkout-lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-field input {
  border: 2px solid rgba(18, 19, 26, 0.1);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 400;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent-dark);
}

.product-checkout-shipping {
  margin: 0.5rem 0 1.25rem;
  padding: 1rem;
  background: rgba(255, 184, 0, 0.06);
  border-radius: 12px;
}

.product-checkout-shipping h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-checkout-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

.product-checkout-success {
  text-align: center;
  padding: 1.5rem 0;
}

.product-checkout-success i {
  font-size: 2.6rem;
  color: #1fa855;
  margin-bottom: 0.75rem;
}

.product-checkout-success h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-checkout-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.product-checkout-order-details {
  list-style: none;
  text-align: left;
  max-width: 380px;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(18, 19, 26, 0.1);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.product-checkout-order-details li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(18, 19, 26, 0.06);
}

.product-checkout-order-details li:last-child {
  border-bottom: none;
}

.product-checkout-order-details li span {
  color: var(--text-muted);
}

.product-checkout-order-details li strong {
  text-align: right;
}

@media (max-width: 640px) {
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .product-checkout-box {
    padding: 1.5rem;
  }
}

.product-trust-row {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(18, 19, 26, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-trust-item i {
  font-size: 1.3rem;
  color: var(--accent-dark);
}

.product-trust-item strong {
  display: block;
  font-size: 0.85rem;
}

.product-trust-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-icons-rail {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    order: 3;
  }

  .product-icons-rail li {
    width: 90px;
  }

  .product-gallery {
    order: 1;
  }

  .product-info {
    order: 2;
  }

  .product-trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-benefits,
  .product-quantity-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-utility-bar {
    font-size: 0.72rem;
    gap: 0.4rem 1rem;
  }

  .product-trust-row {
    grid-template-columns: 1fr;
  }
}

/* iOS Safari zooms the page in when a text field under 16px gets focus, and
   stays zoomed after the field loses it (e.g. after "Calcular frete" opens the
   next step). Touch screens get 16px fields; desktop keeps the smaller size.
   !important because the field styles above use more specific selectors. */
@media (pointer: coarse) {
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ---------- Floating WhatsApp button ---------- */

.whatsapp-float {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 150; /* above navbar (50), below lightbox (200) and checkout (1000) */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    font-size: 1.75rem;
  }
}

/* ---------- Lead popup (WhatsApp number capture) ---------- */

/* Small, quiet card above the floating WhatsApp button — not a modal. */
.lead-popup {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: calc(max(1.25rem, env(safe-area-inset-bottom)) + 60px + 0.75rem);
  z-index: 150;
  width: min(300px, calc(100vw - 2rem));
  padding: 1rem 1rem 0.85rem;
  border: 1px solid rgba(18, 19, 26, 0.08);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
  animation: lead-popup-in 0.35s ease;
}

.lead-popup[hidden] {
  display: none;
}

.lead-popup-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  padding: 0.25rem;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.lead-popup-text {
  margin: 0 1.25rem 0.75rem 0;
}

.lead-popup-form {
  display: flex;
  gap: 0.4rem;
}

.lead-popup-form input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(18, 19, 26, 0.15);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.lead-popup-form input:focus {
  outline: none;
  border-color: var(--text-muted);
}

.lead-popup-form button {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(18, 19, 26, 0.15);
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.lead-popup-form button:hover {
  border-color: rgba(18, 19, 26, 0.3);
}

.lead-popup-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.lead-popup-error {
  margin-top: 0.4rem;
  color: #d93025;
  font-size: 0.8rem;
}

.lead-popup-legal {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.lead-popup-success {
  margin: 0 1.25rem 0.15rem 0;
}

@keyframes lead-popup-in {
  from { opacity: 0; transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .lead-popup {
    animation: none;
  }
}

/* On-page payment step (js/mp-checkout.js) */
.product-checkout-box.is-paying > :not(.mp-step):not(.product-checkout-close) {
  display: none;
}

.mp-step h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.mp-step-back,
.mp-step-fallback {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.mp-step-back {
  margin-bottom: 0.9rem;
  text-decoration: none;
}

.mp-step-fallback {
  display: block;
  margin: 1rem auto 0;
}

.mp-step .btn-primary.btn-block {
  margin-top: 1rem;
}

.mp-step-error {
  margin: 0.75rem 0;
}

.mp-brick {
  min-height: 120px;
  margin-top: 0.75rem;
}

.mp-pix {
  text-align: center;
}

.mp-pix-amount {
  margin-bottom: 1rem;
}

.mp-pix-steps {
  text-align: left;
  max-width: 380px;
  margin: 0 auto 1rem;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.mp-pix-code {
  max-width: 380px;
  margin: 0 auto;
}

.mp-pix-code input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(18, 19, 26, 0.15);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-overflow: ellipsis;
}

.mp-pix-code .btn-block {
  margin-top: 0.6rem;
}

.mp-pix-or {
  margin: 1.1rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mp-pix-qr {
  display: block;
  margin: 0 auto;
  width: 200px;
  height: 200px;
}

.mp-pix-waiting {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mp-boleto-link {
  margin-top: 1rem;
}
