:root {
  --ink: #0f1b3d;
  --cobalt: #2347d6;
  --cobalt-deep: #14267a;
  --lime: #d4f45c;
  --lime-deep: #a9cc2a;
  --coral: #ff5a36;
  --paper: #f6f3ec;
  --card: #fff;
  --line: #e3ddd0;
  --muted: #5b6278;
  --green: #12804a;
  --quilt: rgba(35, 71, 214, .07);
  --sans: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: 88px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 244, 92, .35), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(35, 71, 214, .18), transparent 40%),
    repeating-linear-gradient(45deg, var(--quilt) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, var(--quilt) 0 1px, transparent 1px 22px),
    #e9e5da;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

em {
  font-style: italic;
  font-weight: 500;
  color: var(--cobalt);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(15, 27, 61, .06), 0 30px 90px rgba(15, 27, 61, .18);
}

/* Countdown */

.countdown-bar {
  display: flex;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: var(--ink);
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.countdown-label strong { font-weight: 600; line-height: 1.2; }

.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(212, 244, 92, .6);
  animation: pulse 1.4s infinite;
}

.countdown {
  display: flex;
  gap: 5px;
}

.countdown > span {
  display: flex;
  min-width: 46px;
  height: 34px;
  padding: 0 8px;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--lime);
  line-height: 34px;
}

.countdown b {
  font: 700 19px/34px var(--sans);
  font-variant-numeric: tabular-nums;
}

.countdown small {
  font-size: 11px;
  font-weight: 700;
  opacity: .6;
}

/* Header */

.sale-header {
  display: flex;
  height: 60px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: italic 700 19px/1 var(--serif);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--lime) 0 50%, var(--cobalt) 50% 100%);
  transform: rotate(45deg) scale(.85);
}

.header-tag {
  display: inline-flex;
  padding: 7px 12px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--card);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.header-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* Hero */

.product-card {
  padding: 16px 16px 0;
}

.product-stage {
  position: relative;
  animation: rise .7s both cubic-bezier(.2, .8, .2, 1);
}

.product-media {
  position: relative;
  aspect-ratio: 1.02;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--quilt) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-45deg, var(--quilt) 0 1px, transparent 1px 16px),
    var(--card);
  box-shadow: 0 1px 0 rgba(15, 27, 61, .04), 0 18px 40px -18px rgba(15, 27, 61, .3);
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 26px;
  object-fit: contain;
  transition: opacity .2s ease, transform .2s ease;
}

.product-media img.is-changing {
  opacity: .3;
  transform: scale(.97);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(15, 27, 61, .16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .15s ease, background .15s ease;
}

.gallery-arrow:hover { background: var(--lime); transform: translateY(-50%) scale(1.06); }
.gallery-arrow svg { width: 18px; height: 18px; stroke-width: 2.4; }
.gallery-arrow-left { left: 12px; }
.gallery-arrow-right { right: 12px; }

.image-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 13px;
  border-radius: 99px;
  color: #fff;
  background: var(--cobalt);
  font-size: 12px;
  font-weight: 700;
}

.discount-stamp {
  position: absolute;
  top: -8px;
  right: -4px;
  z-index: 5;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 10px 26px -8px rgba(15, 27, 61, .45);
  animation: pop .6s .35s both cubic-bezier(.3, 1.6, .5, 1);
}

.discount-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: none;
  fill: var(--ink);
  font: 700 8.6px var(--sans);
  letter-spacing: .06em;
  animation: spin 18s linear infinite;
}

.stamp-core {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
}

.stamp-core b { font: 900 22px/1 var(--serif); letter-spacing: -.03em; }
.stamp-core small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.product-thumbnails {
  display: flex;
  padding: 12px 2px 4px;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-thumbnails::-webkit-scrollbar { display: none; }

.product-thumbnails button {
  width: 60px;
  height: 60px;
  padding: 4px;
  flex: 0 0 60px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  opacity: .62;
  transition: opacity .15s ease, border-color .15s ease, transform .15s ease;
}

.product-thumbnails button:hover { opacity: 1; }

.product-thumbnails button.active {
  border-color: var(--cobalt);
  opacity: 1;
  transform: translateY(-2px);
}

.product-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  padding: 18px 4px 30px;
}

.product-info > * { animation: rise .7s both cubic-bezier(.2, .8, .2, 1); }
.product-info > :nth-child(2) { animation-delay: .06s; }
.product-info > :nth-child(3) { animation-delay: .12s; }
.product-info > :nth-child(4) { animation-delay: .18s; }
.product-info > :nth-child(5) { animation-delay: .24s; }
.product-info > :nth-child(n+6) { animation-delay: .3s; }

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--cobalt);
}

h1 {
  margin: 12px 0 8px;
  font: 700 clamp(27px, 7.6vw, 36px)/1.08 var(--serif);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.product-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Receipt-style price card */

.price-card {
  position: relative;
  display: grid;
  margin: 22px 0 18px;
  padding: 22px 18px 18px;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 16px;
  background: var(--card);
  filter: drop-shadow(0 12px 22px rgba(15, 27, 61, .1));
}

.price-card::before,
.price-card::after {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  content: "";
  background: radial-gradient(circle at 8px 0, transparent 5px, var(--card) 5.5px) 0 0 / 16px 8px repeat-x;
}

.price-card::before { top: -7px; transform: scaleY(-1); }
.price-card::after { bottom: -7px; }

.price-main small {
  display: block;
  margin-bottom: 2px;
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.sale-price {
  display: block;
  color: var(--ink);
  font: 900 58px/.9 var(--serif);
  letter-spacing: -.04em;
}

.compare-block {
  display: flex;
  padding-bottom: 4px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.compare-block s { color: var(--muted); }

.compare-block b {
  padding: 4px 9px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.stock-panel {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed var(--line);
}

.stock-panel > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.stock-panel strong { font-weight: 700; }
.stock-panel div span { color: var(--coral); font-weight: 600; }

.stock-track {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 10px;
  background: #ece8de;
}

.stock-track span {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px),
    linear-gradient(90deg, var(--cobalt), var(--coral));
  animation: stock-fill 1.2s .4s both cubic-bezier(.2, .8, .2, 1);
}

.offer-expired .compare-block,
.offer-expired .discount-stamp,
.offer-expired .final-price s {
  display: none;
}

/* Buttons */

.buy-button {
  display: flex;
  min-height: 62px;
  padding: 0 8px 0 24px;
  align-items: center;
  justify-content: space-between;
  border-radius: 99px;
  color: #fff;
  background: var(--cobalt);
  box-shadow: 0 14px 28px -12px rgba(35, 71, 214, .8), inset 0 -3px 0 rgba(0, 0, 0, .18);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}

.buy-button:hover { background: #1b3cc0; transform: translateY(-2px); }
.buy-button:active { transform: translateY(1px) scale(.99); }

.buy-button b {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  transition: transform .2s ease;
}

.buy-button:hover b { transform: translateX(3px) rotate(-8deg); }
.buy-button b svg { width: 22px; height: 22px; stroke-width: 2.6; }

.button-note {
  display: flex;
  margin: 12px 0 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.button-note svg { width: 14px; height: 14px; }

.quick-benefits {
  display: grid;
  padding: 0;
  margin: 22px 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
}

.quick-benefits li {
  display: flex;
  padding: 12px 6px;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  text-align: center;
}

.quick-benefits svg { width: 22px; height: 22px; color: var(--cobalt); }
.quick-benefits b { font-size: 12px; font-weight: 700; }

/* Tear line */

.tear-line {
  position: relative;
  display: flex;
  height: 30px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.tear-line::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0;
  content: "";
  border-top: 2px dashed #c9c2b2;
}

.tear-line span {
  position: relative;
  padding: 0 12px;
  color: #a39b88;
  background: var(--paper);
  font: italic 500 13px var(--serif);
}

.tear-line span::before {
  margin-right: 6px;
  content: "✂";
  font-style: normal;
}

/* Sections */

section[data-reveal] { padding: 40px 20px; }

.section-label {
  display: inline-flex;
  margin: 0 0 12px;
  align-items: center;
  gap: 8px;
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-label::before {
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
}

h2 {
  margin: 0;
  font: 700 38px/1.02 var(--serif);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.benefit-grid {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.benefit-grid article {
  display: grid;
  padding: 18px;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line);
  transition: transform .2s ease;
}

.benefit-grid article:nth-child(2) { margin-left: 14px; }
.benefit-grid article:nth-child(3) { margin-left: 28px; }
.benefit-grid article:hover { transform: translateX(-4px); }

.benefit-grid article > span {
  display: grid;
  width: 56px;
  height: 56px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 16px;
  color: var(--ink);
  background: var(--lime);
  font: 900 24px/1 var(--serif);
}

.benefit-grid article:nth-child(2) > span { color: #fff; background: var(--cobalt); }
.benefit-grid article:nth-child(3) > span { background: #ffe0d6; color: var(--coral); }
.benefit-grid article > span svg { width: 26px; height: 26px; }

.benefit-grid h3 { margin: 0 0 3px; font-size: 17px; font-weight: 700; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.claim-note { margin: 16px 0 0; color: #8d8778; font-size: 11px; line-height: 1.5; }

/* Bundle */

.bundle-section {
  display: grid;
  align-items: center;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(15, 27, 61, .06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(15, 27, 61, .06) 0 1px, transparent 1px 18px),
    var(--lime);
}

.bundle-section .section-label { color: var(--ink); }
.bundle-section em { color: var(--ink); }
.bundle-section h2 { font-size: 34px; }
.bundle-section ul { padding: 0; margin: 20px 0 0; list-style: none; }

.bundle-section li {
  display: flex;
  margin-top: 9px;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
}

.bundle-section li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--lime);
  background: var(--ink);
  font-size: 12px;
}

.bundle-price {
  position: relative;
  display: flex;
  padding: 34px 12px 20px;
  align-items: center;
  flex-direction: column;
  border-radius: 14px 14px 14px 14px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 16px 30px -14px rgba(15, 27, 61, .7);
  text-align: center;
  transform: rotate(4deg);
  transform-origin: 50% 0;
  animation: swing 3.5s ease-in-out infinite;
}

.bundle-price::before {
  position: absolute;
  top: 12px;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .4);
}

.bundle-price small { color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.bundle-price strong { margin: 6px 0 4px; font: 900 40px/1 var(--serif); letter-spacing: -.03em; }
.bundle-price span { color: rgba(255, 255, 255, .6); font-size: 12px; text-decoration: line-through; }

/* Description */

.description-section > p:not(.section-label),
.manufacturer-section > p:not(.section-label) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.description-facts {
  display: grid;
  margin-top: 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.description-facts div {
  display: flex;
  min-width: 0;
  padding: 18px 8px 16px;
  align-items: center;
  flex-direction: column;
  border-radius: 18px;
  background: var(--card);
  text-align: center;
}

.description-facts strong { color: var(--cobalt); font: 900 36px/1 var(--serif); letter-spacing: -.03em; }
.description-facts span { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* Manufacturer */

.manufacturer-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(212, 244, 92, .22), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 20px),
    var(--cobalt-deep);
}

.manufacturer-section .section-label { color: var(--lime); }
.manufacturer-section em { color: var(--lime); }
.manufacturer-section > p:not(.section-label) { color: rgba(255, 255, 255, .78); }

.manufacturer-points {
  display: grid;
  margin-top: 26px;
  gap: 10px;
}

.manufacturer-points article {
  display: grid;
  padding: 16px;
  align-items: center;
  grid-template-columns: 48px 1fr;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}

.manufacturer-points article > b {
  color: var(--lime);
  font: italic 700 26px/1 var(--serif);
}

.manufacturer-points article div { display: flex; flex-direction: column; }
.manufacturer-points strong { font-size: 16px; }
.manufacturer-points span { margin-top: 3px; color: rgba(255, 255, 255, .68); font-size: 13px; }
.manufacturer-section > small { display: block; margin-top: 16px; color: rgba(255, 255, 255, .5); font-size: 11px; line-height: 1.5; }

/* FAQ */

.faq-section h2 { margin-bottom: 22px; }

.faq-section details {
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--card);
  transition: box-shadow .2s ease;
}

.faq-section details[open] { box-shadow: 0 0 0 2px var(--cobalt); }

.faq-section summary {
  display: flex;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
}

.faq-section summary::-webkit-details-marker { display: none; }

.faq-section summary span {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--paper);
  transition: transform .25s ease, background .25s ease;
}

.faq-section summary span::before,
.faq-section summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-section summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-section details[open] summary span { background: var(--lime); transform: rotate(45deg); }
.faq-section details p { margin: -4px 18px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Final offer */

.final-offer {
  position: relative;
  padding: 52px 20px 44px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.final-offer::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 40px;
  background:
    repeating-linear-gradient(45deg, rgba(212, 244, 92, .08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(-45deg, rgba(212, 244, 92, .08) 0 1px, transparent 1px 18px);
  transform: translate(-50%, -50%) rotate(45deg);
}

.final-offer > * { position: relative; }

.final-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.final-offer > p { margin: 18px 0 8px; color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.final-offer h2 { font-size: 46px; }
.final-offer em { color: var(--lime); }
.final-price { display: flex; margin: 18px 0 22px; align-items: baseline; justify-content: center; gap: 12px; }
.final-price strong { font: 900 60px/1 var(--serif); letter-spacing: -.04em; }
.final-price s { color: rgba(255, 255, 255, .5); font-size: 18px; }

.buy-button-light {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 14px 30px -12px rgba(212, 244, 92, .55), inset 0 -3px 0 rgba(0, 0, 0, .12);
}

.buy-button-light:hover { background: #def86f; }
.buy-button-light b { color: var(--lime); background: var(--ink); }

.final-offer > small { display: block; margin-top: 16px; color: rgba(255, 255, 255, .55); font-size: 11px; line-height: 1.5; }

/* Footer */

footer {
  padding: 28px 20px 32px;
  color: #8f96aa;
  background: #0a1330;
}

footer > strong { color: #fff; font: italic 700 18px var(--serif); }
footer > div { display: flex; gap: 18px; margin: 14px 0; }
footer a, footer button { padding: 0; border: 0; color: #c7ccdb; background: none; cursor: pointer; font: 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; }
footer p { margin: 0; font-size: 11px; line-height: 1.6; }

/* Sticky bar */

.sticky-buy {
  position: fixed;
  right: 0;
  bottom: 10px;
  left: 0;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 20px), 500px);
  min-height: 68px;
  padding: 8px 8px 8px 20px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 99px;
  color: #fff;
  background: rgba(15, 27, 61, .94);
  box-shadow: 0 18px 40px -10px rgba(15, 27, 61, .55);
  backdrop-filter: blur(12px);
  animation: slide-up .6s .8s both cubic-bezier(.2, .8, .2, 1);
}

.sticky-buy > div { display: flex; flex-direction: column; }
.sticky-buy small { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.sticky-buy strong { font: 900 28px/1 var(--serif); letter-spacing: -.03em; }

.sticky-buy > a {
  display: flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--lime);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sticky-buy a svg { width: 18px; height: 18px; stroke-width: 2.6; }

/* Dialogs */

.legal-dialog {
  width: min(440px, calc(100% - 30px));
  padding: 32px 24px;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 30px 80px rgba(15, 27, 61, .4);
}

.legal-dialog::backdrop { background: rgba(10, 19, 48, .7); backdrop-filter: blur(3px); }
.legal-dialog h2 { padding-right: 30px; font-size: 30px; }
.legal-dialog p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; font-size: 20px; }

/* Scroll reveal (enabled by script.js only) */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(212, 244, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 244, 92, 0); }
}

@keyframes stock-fill { from { width: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; transform: scale(.4) rotate(-30deg); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(120%); } }
@keyframes swing { 50% { transform: rotate(1deg); } }

@media (max-width: 380px) {
  .countdown-bar { padding: 8px 12px; }
  .countdown-label { font-size: 12px; }
  .sale-header { padding: 0 14px; }
  .brand { gap: 8px; font-size: 17px; }
  .header-tag { padding: 6px 10px; font-size: 11px; }
  .sticky-buy { padding-left: 16px; }
  .sticky-buy strong { font-size: 24px; }
  .sticky-buy > a { font-size: 13px; }
  .countdown > span { min-width: 40px; padding: 0 5px; }
  .countdown b { font-size: 17px; }
  .sale-price { font-size: 50px; }
  .discount-stamp { width: 96px; height: 96px; }
  .bundle-section { grid-template-columns: 1fr; }
  .bundle-price { max-width: 170px; }
  .sticky-buy > a { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
