/* =========================================================================
   KIDDO BUNDLE — 500+ Kids Printable Mega Bundle
   style.css — premium children's printable-shop visual identity.
   ========================================================================= */

/* -------------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------------- */
:root {
  --cream: #FFF8EC;
  --paper: #FFFDF7;
  --navy: #1E2438;
  --navy-soft: #33395A;
  --yellow: #FFC845;
  --orange: #FF8A3D;
  --blue: #5B8DEF;
  --pink: #F27EB6;
  --purple: #8B6FE0;
  --teal: #4CC9C0;
  --white: #FFFFFF;

  --ink: #23263B;
  --ink-soft: #5B5F76;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-round: 999px;

  --shadow-sm: 0 4px 14px rgba(30, 36, 56, 0.08);
  --shadow-md: 0 12px 28px rgba(30, 36, 56, 0.14);
  --shadow-lg: 0 24px 60px rgba(30, 36, 56, 0.18);

  --font-display: "Baloo 2", "Comic Sans MS", "Segoe UI Rounded", system-ui, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;

  /* per-book theme colors, referenced by pattern modifier classes */
  --c-coloring-1: #FFC845;
  --c-coloring-2: #FF8A3D;
  --c-puzzles-1: #6FE0D6;
  --c-puzzles-2: #2FA89C;
  --c-models-1: #7FA8F5;
  --c-models-2: #3E6BCB;
  --c-drawing-1: #F7A8CE;
  --c-drawing-2: #E0559C;
  --c-creative-1: #B29AF0;
  --c-creative-2: #6E4FCC;

  color-scheme: light;
}

/* -------------------------------------------------------------------------
   RESET
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 1px 1px, rgba(30,36,56,0.045) 1px, transparent 0);
  background-size: 22px 22px;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.4em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font-family: inherit; }
code { background: rgba(30,36,56,0.06); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.no-scroll { overflow: hidden; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.policy-page h1 { font-size: 1.8rem; }
.policy-page h2 { font-size: 1.15rem; margin-top: 1.6em; }
.policy-page p { color: var(--ink-soft); line-height: 1.7; }
.policy-updated { font-weight: 700; color: var(--navy) !important; }
.policy-note { font-size: 0.82rem; font-style: italic; border-top: 1px dashed rgba(30,36,56,0.15); padding-top: 16px; margin-top: 2em; }
.policy-page .btn { margin-top: 1.5em; }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 6px;
}
.eyebrow--center { text-align: center; }

/* -------------------------------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-round);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  padding: 14px 26px;
  font-size: 1rem;
}
.btn--primary { background: linear-gradient(135deg, var(--orange), var(--yellow)); color: var(--navy); box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline { background: var(--white); color: var(--navy); border: 2px solid rgba(30,36,56,0.12); }
.btn--outline:hover { border-color: var(--purple); color: var(--purple); }
.btn--text { background: none; color: var(--navy); padding: 10px 4px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.btn--lg { padding: 18px 34px; font-size: 1.15rem; }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 236, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(30,36,56,0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.site-header__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--navy); }
.site-header__nav { display: flex; gap: 22px; font-weight: 700; }
.site-header__nav a { text-decoration: none; }
.site-header__nav a:hover { color: var(--orange); }
@media (max-width: 720px) { .site-header__nav { display: none; } }

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.hero { padding: 56px 0 36px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__content, .hero__visual { min-width: 0; }
.badge { display: inline-block; background: var(--navy); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; padding: 8px 16px; border-radius: var(--radius-round); margin-bottom: 18px; }
.hero__headline { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; }
.hero__subheadline { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }
.hero__moods { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.hero__moods li { background: var(--white); border: 1px solid rgba(30,36,56,0.08); border-radius: var(--radius-round); padding: 6px 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; box-shadow: var(--shadow-sm); }
.hero__price { margin: 20px 0; display: flex; align-items: center; gap: 14px; }
.hero__price-amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--orange); }
.hero__price-meta { color: var(--ink-soft); font-weight: 700; font-size: 0.82rem; line-height: 1.3; }

/* -------------------------------------------------------------------------
   HEADER OFFER PILL — the sticky-header CTA becomes this compact single-row
   pill while the real offer is active, then shrinks back to its normal small
   button on expiry. Deliberately compact — no large hero timer panel exists;
   the header pill and the mobile sticky bar (below) are the only two live
   countdown surfaces on the page.
   ------------------------------------------------------------------------- */
.header-offer-pill {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
  width: clamp(175px, 20vw, 205px); height: clamp(56px, 8vw, 64px); border-radius: 32px; padding: 8px 18px;
}
.header-offer-pill__price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy); }
.header-offer-pill__timer {
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1;
  animation: offerGlow 1.8s ease-in-out infinite;
}
@media (max-width: 720px) {
  .header-offer-pill { width: auto; height: auto; padding: 8px 14px; gap: 6px; }
  .header-offer-pill__price { font-size: 0.85rem; }
  .header-offer-pill__timer { font-size: 0.85rem; }
}

.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }

.hero__visual { position: relative; min-height: 340px; display: flex; align-items: center; }
.hero-shelf { display: flex; justify-content: center; align-items: flex-end; gap: 10px; width: 100%; padding: 10px 0 8px; }

.hero-book { background: none; border: none; padding: 0; cursor: pointer; width: clamp(60px, 7.5vw, 108px); flex: 0 0 auto; transform: perspective(900px) rotateY(calc(-6deg + var(--i, 0) * 2deg)); transition: transform 0.25s ease; }
.hero-book:nth-child(2) { margin-top: -10px; }
.hero-book:nth-child(4) { margin-top: -14px; }
.hero-book:hover, .hero-book:focus-visible { transform: perspective(900px) rotateY(0deg) translateY(-10px) scale(1.04); z-index: 2; }
.hero-book:hover .book-cover, .hero-book:focus-visible .book-cover { box-shadow: var(--shadow-lg); }
.hero-book__cover-wrap { aspect-ratio: 3/4; }

/* -------------------------------------------------------------------------
   BOOK COVER (real photo optional; CSS art always present underneath)
   ------------------------------------------------------------------------- */
.book-cover { position: relative; width: 100%; height: 100%; border-radius: 10px 14px 14px 10px; overflow: hidden; box-shadow: var(--shadow-md); transition: box-shadow 0.2s ease; }
.book-cover::before {
  content: "";
  position: absolute; left: -5px; top: 3px; bottom: 3px; width: 8px;
  background: rgba(0,0,0,0.18); border-radius: 3px 0 0 3px; z-index: 1;
}
.book-cover::after {
  content: "";
  position: absolute; right: -4px; top: 4px; bottom: 4px; width: 7px;
  background: repeating-linear-gradient(180deg, #fff, #fff 2px, #eee 2px, #eee 4px);
  border-radius: 0 3px 3px 0; box-shadow: 2px 0 5px rgba(0,0,0,0.12); z-index: 1;
}
.book-cover__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadeIn 0.4s ease; }

.cover-art { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--white); text-align: center; overflow: hidden; }
.cover-art__badge { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(0,0,0,0.3); font-family: var(--font-display); font-weight: 800; font-size: 0.6rem; letter-spacing: 0.06em; padding: 4px 10px; border-radius: var(--radius-round); }
.cover-art__text { padding: 30px 10% 2px; }
.cover-art__title {
  font-family: var(--font-display); font-weight: 800; font-size: 0.94rem; line-height: 1.18; margin: 0 0 3px; color: var(--white);
  text-shadow: 0 2px 5px rgba(0,0,0,0.25);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em;
}
.cover-art__subtitle { font-size: 0.56rem; font-weight: 700; opacity: 0.95; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-art__scene { position: relative; flex: 1; min-height: 0; margin: 2px 0; }
.cover-art__foot {
  background: rgba(0,0,0,0.34); font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.01em;
  padding: 7px 8%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* icon layer: hero centerpiece + up to 4 small corner decorations, each pattern picks its own set in JS */
.cover-icon { display: block; }
.cover-icon svg { width: 100%; height: 100%; display: block; }
.cover-icon--hero { position: absolute; left: 50%; top: 50%; width: 42%; transform: translate(-50%, -50%); filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); }
.cover-icon--hero-lg { width: 48%; }
.cover-deco { position: absolute; width: 20%; opacity: 0.95; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.cover-deco--wide { width: 32%; }
.cover-deco--tall { width: 10%; }
.cover-deco--a { top: 2%; left: 4%; }
.cover-deco--b { top: 3%; right: 5%; }
.cover-deco--c { bottom: 4%; left: 6%; }
.cover-deco--d { bottom: 3%; right: 5%; }
.cover-deco--rocket { width: 15%; }
.cover-deco--q {
  display: flex; align-items: center; justify-content: center; width: 18%; aspect-ratio: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.28); border-radius: 50%;
}

.cover-art--coloring { background: linear-gradient(155deg, var(--c-coloring-1), var(--c-coloring-2)); background-image:
    radial-gradient(circle at 22% 28%, var(--teal) 0 9%, transparent 10%),
    radial-gradient(circle at 74% 22%, var(--pink) 0 8%, transparent 9%),
    radial-gradient(circle at 38% 68%, var(--purple) 0 10%, transparent 11%),
    radial-gradient(circle at 80% 72%, var(--blue) 0 7%, transparent 8%),
    linear-gradient(155deg, var(--c-coloring-1), var(--c-coloring-2)); }
.cover-art--puzzles { background: linear-gradient(155deg, var(--c-puzzles-1), var(--c-puzzles-2)); background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.22) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 2px, transparent 2px 24px),
    linear-gradient(155deg, var(--c-puzzles-1), var(--c-puzzles-2)); }
.cover-art--models { background: linear-gradient(155deg, var(--c-models-1), var(--c-models-2)); background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.2) 0 2px, transparent 2px 16px),
    linear-gradient(155deg, var(--c-models-1), var(--c-models-2)); }
.cover-art--models::before { content: ""; }
.cover-art--drawing { background: linear-gradient(155deg, var(--c-drawing-1), var(--c-drawing-2)); background-image:
    radial-gradient(circle, rgba(255,255,255,.65) 1.4px, transparent 1.6px);
  background-size: 16px 16px; background-color: var(--c-drawing-2); }
.cover-art--creative { background: linear-gradient(155deg, var(--c-creative-1), var(--c-creative-2)); background-image:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 62%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 78%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,.7) 0 2px, transparent 3px),
    linear-gradient(155deg, var(--c-creative-1), var(--c-creative-2)); }

/* -------------------------------------------------------------------------
   TRUST BAR (below hero)
   ------------------------------------------------------------------------- */
.trust-bar { background: var(--navy); color: var(--white); padding: 18px 0; }
.trust-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; text-align: center; }
.trust-bar__item { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; }
.trust-bar__item span { font-size: 1.1rem; }

/* subtle glow only — never a flashing/blinking countdown */
@keyframes offerGlow { 0%, 100% { text-shadow: 0 0 0 rgba(255,138,61,0); } 50% { text-shadow: 0 0 12px rgba(255,138,61,0.55); } }
/* an even slower, occasional pulse for the mobile sticky bar's countdown —
   a brief glow once every few seconds, never a continuous blink */
@keyframes offerGlowSlow {
  0%, 85%, 100% { text-shadow: 0 0 0 rgba(255,200,69,0); }
  92% { text-shadow: 0 0 10px rgba(255,200,69,0.65); }
}

/* -------------------------------------------------------------------------
   SECTIONS (generic)
   ------------------------------------------------------------------------- */
.section { padding: 60px 0; }
.section--tint { background: var(--white); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section__title { font-size: clamp(1.65rem, 3.2vw, 2.3rem); }
.section__subtitle { color: var(--ink-soft); font-size: 1.02rem; }

/* -------------------------------------------------------------------------
   BOOK EXPLORER CARDS
   ------------------------------------------------------------------------- */
/* Desktop: all 5 books in one row, always — never wraps at normal widths */
.book-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }

@media (max-width: 1023px) {
  /* Tablet: 3 + 2 */
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  /* Mobile: swipeable single-card carousel, not five unreadable slivers */
  .book-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 4px 4px 10px;
  }
  .book-card { scroll-snap-align: center; }
  .book-carousel-dots { display: flex; }
}

.book-carousel-dots { display: none; justify-content: center; gap: 8px; margin-top: 4px; }
.book-carousel-dots__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(30,36,56,0.18); transition: background 0.2s ease, transform 0.2s ease; }
.book-carousel-dots__dot.is-active { background: var(--orange); transform: scale(1.3); }

.book-card {
  background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(30,36,56,0.06); scroll-margin-top: 100px; perspective: 800px;
}
.book-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.book-card:hover .book-cover { transform: translateY(-2px) rotateY(-3deg); box-shadow: var(--shadow-lg); }
.book-card.is-pulsing { animation: cardPulse 1.4s ease; }
@keyframes cardPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,138,61,0.5); }
  40% { box-shadow: 0 0 0 12px rgba(255,138,61,0); }
  100% { box-shadow: var(--shadow-sm); }
}
.book-card__cover { aspect-ratio: 3 / 4; position: relative; }
.book-card__cover .book-cover { border-radius: 0; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.book-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.book-card__title { font-size: 1.18rem; margin-bottom: 0; margin-top: 4px; }
.book-card__desc { color: var(--ink-soft); font-size: 0.95rem; }
.book-card__tags { list-style: none; padding: 0; margin: 6px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.book-card__tags li { background: rgba(30,36,56,0.05); color: var(--navy); font-size: 0.76rem; font-weight: 700; padding: 5px 10px; border-radius: var(--radius-round); }
.book-card__btn { margin-top: auto; }

/* -------------------------------------------------------------------------
   SAMPLE LAYOUT (fallback for missing preview images) — themed, not a blank box
   ------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   WORKSHEET — realistic printable-page mock, used only when a real preview
   screenshot isn't available yet. Looks like an actual A4 activity sheet.
   ------------------------------------------------------------------------- */
.worksheet {
  position: relative; width: 100%; height: 100%; background: var(--white);
  border: 1px solid rgba(30,36,56,0.08); display: flex; flex-direction: column;
  align-items: center; padding: 22px 18px 16px; color: var(--ink); overflow: hidden;
}
.worksheet__badge { position: absolute; top: 10px; right: 10px; background: rgba(30,36,56,0.06); color: var(--ink-soft); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.05em; padding: 3px 8px; border-radius: var(--radius-round); }
.worksheet__brand { position: absolute; top: 12px; left: 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.08em; color: rgba(30,36,56,0.3); }
.worksheet__title { font-size: 1.05rem; text-align: center; margin: 18px 0 14px; color: var(--navy); }
.worksheet--coloring .worksheet__title { color: color-mix(in srgb, var(--c-coloring-2) 85%, black); }
.worksheet--puzzles .worksheet__title { color: var(--c-puzzles-2); }
.worksheet--models .worksheet__title { color: var(--c-models-2); }
.worksheet--drawing .worksheet__title { color: var(--c-drawing-2); }
.worksheet--creative .worksheet__title { color: var(--c-creative-2); }
.worksheet__body { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.worksheet__footer { width: 100%; display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--ink-soft); border-top: 1px dashed rgba(30,36,56,0.15); padding-top: 10px; margin-top: 10px; }
.worksheet__line { flex: 1; border-bottom: 1px solid rgba(30,36,56,0.25); height: 1px; }
.ws-caption { font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin: 0; }

/* coloring: a "line art" icon to color + a crayon palette row */
.ws-coloring { width: 92px; height: 92px; border-radius: 50%; border: 3px dashed color-mix(in srgb, var(--c-coloring-2) 60%, white); display: flex; align-items: center; justify-content: center; }
.ws-coloring__icon { font-size: 2.6rem; filter: grayscale(1) contrast(1.4); opacity: 0.75; }
.ws-coloring__palette { display: flex; gap: 8px; }
.ws-coloring__palette span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.ws-coloring__palette span:nth-child(1) { background: var(--orange); }
.ws-coloring__palette span:nth-child(2) { background: var(--yellow); }
.ws-coloring__palette span:nth-child(3) { background: var(--teal); }
.ws-coloring__palette span:nth-child(4) { background: var(--pink); }
.ws-coloring__palette span:nth-child(5) { background: var(--purple); }

/* puzzles: two "spot the difference" scenes */
.ws-puzzle { display: flex; gap: 8px; }
.ws-puzzle__scene { position: relative; border: 1.5px solid rgba(30,36,56,0.15); border-radius: var(--radius-sm); padding: 12px 8px; font-size: 1.1rem; letter-spacing: 4px; background: color-mix(in srgb, var(--c-puzzles-1) 12%, white); }
.ws-puzzle__marker { position: absolute; top: 4px; right: 2px; width: 14px; height: 14px; border: 2px solid var(--orange); border-radius: 50%; }

/* 3D models: a dashed "net" with numbered assembly steps + a glue tab */
.ws-model__net { position: relative; width: 130px; height: 100px; border: 2px dashed color-mix(in srgb, var(--c-models-2) 55%, white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.ws-model__num { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--c-models-2); color: var(--white); font-size: 0.6rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ws-model__num:nth-child(1) { top: -8px; left: -8px; }
.ws-model__num:nth-child(2) { top: -8px; right: -8px; }
.ws-model__num:nth-child(3) { bottom: -8px; left: -8px; }
.ws-model__tab { position: absolute; bottom: -8px; right: -4px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 14px solid color-mix(in srgb, var(--c-models-1) 60%, white); }
.ws-model__icon { font-size: 2.2rem; }

/* drawing: step-by-step progression + a tracing line */
.ws-steps { display: flex; align-items: center; gap: 6px; }
.ws-steps__box { width: 34px; height: 34px; border: 1.5px solid rgba(30,36,56,0.15); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: var(--ink-soft); background: var(--paper); }
.ws-steps__box--final { font-size: 1.3rem; border-color: var(--c-drawing-2); }
.ws-steps__arrow { color: var(--c-drawing-2); font-size: 0.85rem; }
.ws-steps__trace { width: 80%; height: 2px; background-image: repeating-linear-gradient(90deg, rgba(30,36,56,0.3) 0 4px, transparent 4px 9px); }

/* creative: an open prompt + a blank "design here" box */
.ws-creative__prompt { font-weight: 700; color: var(--navy); }
.ws-creative__box { width: 100%; max-width: 160px; aspect-ratio: 4/3; border: 2px dashed color-mix(in srgb, var(--c-creative-2) 55%, white); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; gap: 8px; color: color-mix(in srgb, var(--c-creative-2) 70%, white); font-size: 1.1rem; }

.preview-badge { position: absolute; top: 10px; left: 10px; background: rgba(30,36,56,0.75); color: var(--white); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em; padding: 4px 9px; border-radius: var(--radius-round); }
.is-loading { background: rgba(30,36,56,0.05); }

/* -------------------------------------------------------------------------
   PREVIEW VIEWER (inline, multi-book)
   ------------------------------------------------------------------------- */
.viewer { max-width: 640px; margin: 0 auto; }
.viewer__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.viewer-tab { display: flex; align-items: center; gap: 6px; background: var(--paper); border: 2px solid rgba(30,36,56,0.08); border-radius: var(--radius-round); padding: 9px 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: all 0.2s ease; }
.viewer-tab:hover { border-color: var(--orange); }
.viewer-tab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.viewer__stage-wrap { display: flex; align-items: center; gap: 12px; }
.viewer__stage { flex: 1; aspect-ratio: 3/4; max-height: 48vh; border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.viewer__stage img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn 0.3s ease; }
.viewer__nav { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(30,36,56,0.1); background: var(--white); cursor: pointer; font-size: 1.2rem; transition: border-color 0.2s ease, transform 0.15s ease; }
.viewer__nav:hover { border-color: var(--orange); transform: scale(1.06); }
.viewer__counter { text-align: center; font-weight: 700; color: var(--ink-soft); margin: 14px 0 10px; }
.viewer__thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.viewer-thumb { width: 48px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; position: relative; }
.viewer-thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer-thumb .worksheet__brand, .viewer-thumb .worksheet__badge, .viewer-thumb .worksheet__title,
.viewer-thumb .worksheet__footer, .viewer-thumb .ws-caption, .viewer-thumb .ws-coloring__palette,
.viewer-thumb .ws-model__num, .viewer-thumb .ws-model__tab, .viewer-thumb .ws-steps__arrow,
.viewer-thumb .ws-steps__trace, .viewer-thumb .ws-creative__prompt, .viewer-thumb .preview-badge { display: none; }
.viewer-thumb .worksheet { padding: 4px; justify-content: center; }
.viewer-thumb .ws-coloring { width: 30px; height: 30px; border-width: 2px; }
.viewer-thumb .ws-coloring__icon { font-size: 1rem; }
.viewer-thumb .ws-model__net, .viewer-thumb .ws-creative__box { width: 34px; height: 26px; }
.viewer-thumb .ws-model__icon, .viewer-thumb .ws-steps__box { font-size: 0.9rem; }
.viewer-thumb .ws-puzzle, .viewer-thumb .ws-steps { transform: scale(0.55); }
.viewer-thumb.is-active { border-color: var(--orange); }
.viewer__note { text-align: center; color: var(--ink-soft); font-size: 0.88rem; max-width: 46ch; margin: 0 auto; }

/* -------------------------------------------------------------------------
   BOOK 3 PROCESS — compact horizontal journey
   ------------------------------------------------------------------------- */
.process { display: flex; align-items: stretch; justify-content: center; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x proximity; }
.process-step {
  flex: 0 0 148px; scroll-snap-align: center; background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 18px 14px; text-align: center; opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--i, 0) * 0.06s);
}
.process-step.is-visible { opacity: 1; transform: translateY(0); }
.process-step__num { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: 0.78rem; }
.process-step__icon { display: block; font-size: 1.7rem; margin: 8px 0; }
.process-step h3 { font-size: 0.95rem; margin-bottom: 4px; }
.process-step p { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.process-arrow { flex: 0 0 auto; align-self: center; color: var(--blue); font-size: 1.2rem; opacity: 0.6; }

.book3-footer { text-align: center; margin-top: 6px; }
.book3-footer__label { font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.book3-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.book3-chip { display: inline-flex; align-items: center; gap: 7px; background: var(--white); border: 2px solid rgba(30,36,56,0.08); border-radius: var(--radius-round); padding: 8px 16px; font-weight: 700; font-size: 0.9rem; }
.book3-footer__actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.book3-footer__note { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }

/* -------------------------------------------------------------------------
   MOOD SELECTOR
   ------------------------------------------------------------------------- */
.mood-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 32px; }
.mood-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--paper); border: 2px solid rgba(30,36,56,0.08); border-radius: var(--radius-md); padding: 16px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; cursor: pointer; transition: all 0.2s ease; }
.mood-btn span { font-size: 0.78rem; color: var(--ink-soft); }
.mood-btn:hover { transform: translateY(-3px); border-color: var(--orange); }
.mood-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mood-btn.is-active span { color: var(--yellow); }

.mood-result { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px; display: grid; grid-template-columns: 180px 1fr; gap: 30px; align-items: center; max-width: 780px; margin: 0 auto; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease; }
.mood-result.is-in { opacity: 1; transform: translateY(0); }
.mood-result__cover { aspect-ratio: 3/4; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.mood-result__eyebrow { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 4px; }
.mood-result__info h3 { font-size: 1.35rem; }
.mood-result__examples { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mood-result__examples li { background: rgba(30,36,56,0.05); font-size: 0.8rem; font-weight: 700; padding: 5px 11px; border-radius: var(--radius-round); }
@media (max-width: 640px) { .mood-result { grid-template-columns: 1fr; text-align: center; } .mood-result__examples { justify-content: center; } }

/* -------------------------------------------------------------------------
   COMPARISON STRIP
   ------------------------------------------------------------------------- */
.comparison-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 900px; margin: 0 auto; }
.comparison-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.comparison-col__mood { display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; background: var(--navy); color: var(--white); border-radius: var(--radius-round); padding: 10px 8px; width: 100%; }
.comparison-col__mood span { font-size: 1.3rem; }
.comparison-col__line { width: 2px; height: 34px; background: rgba(30,36,56,0.15); transform: scaleY(0); transform-origin: top; transition: transform 0.4s ease; }
.comparison-col__line.is-drawn { transform: scaleY(1); }
.comparison-col__book { background: var(--paper); border-radius: var(--radius-md); padding: 12px 6px; width: 100%; box-shadow: var(--shadow-sm); }
.comparison-col__book-title { display: block; font-weight: 800; font-size: 0.82rem; }
.comparison-col__book-pages { display: block; color: var(--ink-soft); font-size: 0.72rem; }
@media (max-width: 720px) { .comparison-grid { grid-template-columns: repeat(5, minmax(74px, 1fr)); overflow-x: auto; } }

/* -------------------------------------------------------------------------
   VALUE EQUATION
   ------------------------------------------------------------------------- */
.value-equation { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; max-width: 900px; margin: 0 auto 6px; }
.value-eq__item { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border-radius: var(--radius-round); padding: 10px 18px; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-sm); }
.value-eq__plus { font-weight: 800; color: var(--orange); font-size: 1.1rem; }
.value-equals { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink-soft); margin: 10px 0; }
.value-total { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); margin-bottom: 40px; }

.price-card { max-width: 420px; margin: 0 auto; background: linear-gradient(160deg, var(--white), var(--cream)); border: 3px solid var(--navy); border-radius: var(--radius-lg); padding: 36px; text-align: center; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.price-card__label { font-weight: 800; letter-spacing: 0.06em; color: var(--ink-soft); font-size: 0.85rem; }
.price-card__amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--orange); }
.price-card__terms { font-weight: 700; color: var(--ink-soft); margin-bottom: 14px; }
.price-card .btn { margin-top: 6px; }

/* -------------------------------------------------------------------------
   CONFIDENCE STRIP — "Why Buy With Confidence?"
   ------------------------------------------------------------------------- */
.confidence-strip { max-width: 480px; margin: 28px auto 0; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px 26px; }
.confidence-strip__title { text-align: center; font-size: 1.05rem; margin-bottom: 12px; }
.confidence-strip__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.confidence-strip__list li { font-weight: 700; font-size: 0.86rem; color: var(--navy); }
@media (max-width: 480px) { .confidence-strip__list { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   CUSTOMER REVIEWS — real testimonials when available, honest empty state otherwise
   ------------------------------------------------------------------------- */
/* desktop: 4 in a row */
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) {
  /* tablet: 2 x 2 */
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  /* mobile: one card at a time, swipeable */
  .testimonial-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 4px 4px 10px;
  }
  .testimonial-card { scroll-snap-align: center; }
}
/* single, elegant disclosure above the grid — not a per-card warning label. Each
   quote also opens with "Sample parent feedback:" so the content stays honest
   even if this badge is skimmed past. */
.testimonial-sample-badge {
  display: block; width: fit-content; margin: 0 auto 22px; background: var(--cream); color: var(--ink-soft);
  border: 1px solid rgba(30,36,56,0.1); font-family: var(--font-display); font-weight: 800; font-size: 0.68rem;
  letter-spacing: 0.06em; padding: 7px 16px; border-radius: var(--radius-round);
}

.testimonial-card {
  background: var(--white); border: 1px solid rgba(30,36,56,0.08); border-radius: 24px; box-shadow: var(--shadow-sm);
  padding: 32px 30px; margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; height: 100%;
}
.testimonial-card__stars { color: var(--yellow); letter-spacing: 3px; font-size: 1.15rem; }
.testimonial-card blockquote { position: relative; margin: 0; padding-top: 6px; font-size: 1.03rem; color: var(--ink); line-height: 1.6; font-style: italic; }
.testimonial-card blockquote::before {
  content: "\201C"; position: absolute; top: -14px; left: -4px; font-family: var(--font-display); font-size: 2.6rem;
  color: color-mix(in srgb, var(--purple) 30%, transparent); line-height: 1;
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-card__avatar {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.testimonial-card__who { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; }
.testimonial-card__who strong { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.testimonial-card__meta { color: var(--ink-soft); font-size: 0.84rem; }
.testimonial-card__verified { color: var(--teal); font-weight: 700; font-size: 0.75rem; }

/* -------------------------------------------------------------------------
   REVIEWS TRUST ROW
   ------------------------------------------------------------------------- */
.reviews-trust-row { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.reviews-trust-row__item { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.reviews-trust-row__item span { color: var(--teal); font-weight: 800; }

.testimonial-empty { max-width: 520px; margin: 0 auto; text-align: center; background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px 30px; }
.testimonial-empty h3 { font-size: 1.2rem; }
.testimonial-empty p { color: var(--ink-soft); }
.testimonial-empty .btn { margin-top: 8px; }

.testimonial-feedback { text-align: center; margin-top: 28px; }
.testimonial-feedback__prompt { font-weight: 700; color: var(--navy); margin-bottom: 12px; }

/* -------------------------------------------------------------------------
   BUY STEPS
   ------------------------------------------------------------------------- */
.buy-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; flex: 1; }
.buy-step { background: var(--paper); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; text-align: center; }
.buy-step__num { font-family: var(--font-display); font-weight: 800; color: var(--purple); font-size: 0.85rem; }
.buy-step h3 { font-size: 1rem; margin: 8px 0 6px; }
.buy-step p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .buy-steps { grid-template-columns: repeat(2, 1fr); } }

/* how-it-works: page mockup + buy-steps side by side on desktop */
.how-it-works { display: flex; align-items: center; gap: 32px; max-width: 980px; margin: 0 auto; }
.how-it-works__mockup { flex: 0 0 auto; }
.page-mockup {
  position: relative; width: 120px; aspect-ratio: 3/4; background: var(--paper); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(30,36,56,0.08); transform: rotate(-4deg);
}
.page-mockup__corner { position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: var(--cream); border-radius: 0 0 0 8px; box-shadow: -2px 2px 4px rgba(30,36,56,0.1); }
.page-mockup__icon { font-size: 2.2rem; }
.page-mockup__lines { position: absolute; bottom: 14px; left: 14px; right: 14px; height: 2px; background: rgba(30,36,56,0.1); box-shadow: 0 8px 0 rgba(30,36,56,0.1), 0 16px 0 rgba(30,36,56,0.1); }
@media (max-width: 700px) { .how-it-works { flex-direction: column; } .how-it-works__mockup { order: -1; } }

/* -------------------------------------------------------------------------
   WHY ₹249 FEELS SIMPLE — compact connected flow
   ------------------------------------------------------------------------- */
.why-simple { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 360px; margin: 28px auto 0; }
.why-simple__step { background: var(--white); border: 2px solid rgba(30,36,56,0.08); border-radius: var(--radius-round); padding: 9px 20px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; text-align: center; }
.why-simple__arrow { color: var(--purple); font-size: 0.95rem; opacity: 0.7; }

/* -------------------------------------------------------------------------
   ACTIVITY EXAMPLES
   ------------------------------------------------------------------------- */
.example-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.example-card { background: var(--paper); border: 2px solid rgba(30,36,56,0.06); border-radius: var(--radius-md); padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease; }
.example-card:hover, .example-card:focus-visible { transform: translateY(-4px); border-color: var(--book-color, var(--orange)); }
.example-card__icon { font-size: 1.9rem; }
.example-card__label { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; }
.example-card__book { font-size: 0.72rem; color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   USE CASES
   ------------------------------------------------------------------------- */
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.use-case { display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: var(--radius-md); padding: 14px 16px; font-weight: 700; box-shadow: var(--shadow-sm); }
.use-case span { font-size: 1.3rem; }

/* -------------------------------------------------------------------------
   CHECKLIST
   ------------------------------------------------------------------------- */
.checklist-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 34px; }
.checklist-card__eyebrow { display: block; text-align: center; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--purple); margin-bottom: 4px; }
.checklist-card__title { text-align: center; font-size: 1.4rem; }
.delivery-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.delivery-list li { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: var(--radius-md); padding: 10px 14px; }
.delivery-list__icon { font-size: 1.4rem; flex-shrink: 0; }
.delivery-list__title { font-weight: 700; font-size: 0.82rem; line-height: 1.35; }
.delivery-total { text-align: center; font-family: var(--font-display); font-weight: 800; color: var(--navy); background: rgba(30,36,56,0.05); border-radius: var(--radius-round); padding: 8px; margin: 16px 0 24px; font-size: 0.9rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; border-top: 2px dashed rgba(30,36,56,0.1); padding-top: 20px; }
.checklist li { font-weight: 700; color: var(--navy); }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item h3 { margin: 0; }
.faq-item__question { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--navy); }
.faq-item__icon { transition: transform 0.2s ease; color: var(--orange); font-size: 1.3rem; flex-shrink: 0; margin-left: 12px; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 22px; }
.faq-item.is-open .faq-item__answer { max-height: 240px; padding-bottom: 18px; }
.faq-item__answer p { color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   FINAL CTA
   ------------------------------------------------------------------------- */
.final-cta { background: linear-gradient(160deg, var(--navy), var(--navy-soft)); color: var(--white); border-radius: var(--radius-lg); margin: 0 24px 64px; max-width: var(--container-w); margin-inline: auto; text-align: center; padding: 64px 24px; }
.final-cta__headline { color: var(--white); font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin-bottom: 24px; }
.final-book-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 28px; }
.final-book-mini { width: 62px; aspect-ratio: 3/4; }
.final-book-mini .book-cover { border-radius: 6px 8px 8px 6px; }
/* too small for the full cover template (ribbon + title text overlaps) — show just the icon on its themed background */
/* too small for the full illustrated cover (title/subtitle/foot would overlap) — badge + hero icon only */
.final-book-mini .cover-art__text, .final-book-mini .cover-art__foot, .final-book-mini .cover-deco { display: none; }
.final-book-mini .cover-art__badge { font-size: 0.42rem; padding: 2px 6px; }
.final-book-mini .cover-icon--hero { width: 60%; }
.hero-book__cover-wrap .cover-art__text, .hero-book__cover-wrap .cover-art__foot, .hero-book__cover-wrap .cover-deco { display: none; }
.hero-book__cover-wrap .cover-art__badge { font-size: 0.52rem; padding: 3px 8px; }
.hero-book__cover-wrap .cover-icon--hero { width: 56%; }
.final-cta__amount { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--yellow); }
.final-cta__terms { display: block; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 22px; font-size: 0.9rem; }
.final-cta__tagline { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.03em; }
@media (max-width: 500px) { .final-book-mini { width: 46px; } }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { padding: 40px 0 100px; text-align: center; color: var(--ink-soft); font-size: 0.85rem; }
.site-footer__brand { margin-bottom: 6px; }
.site-footer__logo { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 1.05rem; }
.site-footer__tagline { margin: 4px 0 0; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 16px 0; font-weight: 700; }
.site-footer__links a, .site-footer__link-btn { color: var(--navy); text-decoration: none; background: none; border: none; cursor: pointer; font: inherit; font-weight: 700; padding: 0; }
.site-footer__links a:hover, .site-footer__link-btn:hover { color: var(--orange); text-decoration: underline; }
.site-footer__note { margin-top: 4px; }
@media (min-width: 721px) { .site-footer { padding-bottom: 40px; } }

/* -------------------------------------------------------------------------
   MOBILE STICKY PURCHASE BAR
   ------------------------------------------------------------------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; background: var(--navy); color: var(--white);
  padding: 8px 12px; padding-bottom: calc(8px + env(safe-area-inset-bottom));
  min-height: 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; border-radius: 18px 18px 0 0; transform: translateY(120%); transition: transform 0.3s ease;
  z-index: 90; box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.sticky-bar.is-visible { transform: translateY(0); }
/* one horizontal row: [price / ENDS SOON] — [big timer] — [button], never stacked */
.sticky-bar__info { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; flex: 1 1 auto; }
.sticky-bar__price-col { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; line-height: 1.15; }
.sticky-bar__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(18px, 4.6vw, 20px); white-space: nowrap; }
.sticky-bar__sub { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; color: rgba(255,255,255,0.75); white-space: nowrap; }
.sticky-bar__timer {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(20px, 5.5vw, 23px); color: var(--yellow);
  font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; margin-left: auto; padding-right: 8px;
  animation: offerGlowSlow 4s ease-in-out infinite;
}
.sticky-bar .btn {
  flex-shrink: 0; white-space: nowrap; height: 48px; padding: 0 18px; border-radius: 24px;
  font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 360px) {
  .sticky-bar__price { font-size: 1rem; }
  .sticky-bar__timer { font-size: 1.05rem; padding-right: 4px; }
  .sticky-bar .btn { height: 44px; padding: 0 14px; font-size: 0.82rem; }
}
@media (min-width: 721px) { .sticky-bar { display: none; } }

/* reserves room at the very bottom of the page so the fixed bar never covers
   real content — only applied on mobile, only while the bar is on screen */
@media (max-width: 720px) {
  body.sticky-bar-active { padding-bottom: 80px; }
}

/* -------------------------------------------------------------------------
   CHECKOUT NOTICE — shown instead of a dead/broken link when CHECKOUT_URL
   hasn't been configured yet
   ------------------------------------------------------------------------- */
.checkout-notice {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); max-width: 92vw; width: 460px;
  background: var(--navy); color: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; z-index: 200; transition: transform 0.3s ease;
  font-size: 0.88rem; font-weight: 600;
}
.checkout-notice.is-visible { transform: translate(-50%, 0); }
.checkout-notice span { flex: 1; }
.checkout-notice button { background: rgba(255,255,255,0.12); border: none; color: var(--white); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
@media (max-width: 720px) { .checkout-notice { bottom: 84px; } }

/* -------------------------------------------------------------------------
   MODAL ("SEE INSIDE")
   ------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(30,36,56,0.7); backdrop-filter: blur(2px); }
.modal__panel { position: relative; background: var(--paper); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
.modal__close { position: absolute; top: 16px; right: 16px; background: rgba(30,36,56,0.06); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.modal__header { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; padding-right: 40px; }
.modal__icon { font-size: 2.2rem; flex-shrink: 0; }
.modal__number { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--purple); }
.modal__title { margin: 0; font-size: 1.25rem; }
.modal__desc { color: var(--ink-soft); }
.modal__stage-wrap { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; }
.modal__stage { flex: 1; aspect-ratio: 3/4; max-height: 44vh; border-radius: var(--radius-md); overflow: hidden; position: relative; }
.modal__stage img { width: 100%; height: 100%; object-fit: cover; }
.modal__nav { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(30,36,56,0.1); background: var(--white); cursor: pointer; font-size: 1.1rem; }
.modal__nav:hover { border-color: var(--orange); }
.modal__counter { text-align: center; font-weight: 700; color: var(--ink-soft); margin-bottom: 16px; }
.modal__thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.modal__thumb { flex: 0 0 auto; width: 52px; height: 70px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; position: relative; }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__thumb .worksheet__brand, .modal__thumb .worksheet__badge, .modal__thumb .worksheet__title,
.modal__thumb .worksheet__footer, .modal__thumb .ws-caption, .modal__thumb .ws-coloring__palette,
.modal__thumb .ws-model__num, .modal__thumb .ws-model__tab, .modal__thumb .ws-steps__arrow,
.modal__thumb .ws-steps__trace, .modal__thumb .ws-creative__prompt, .modal__thumb .preview-badge { display: none; }
.modal__thumb .worksheet { padding: 4px; justify-content: center; }
.modal__thumb .ws-coloring { width: 28px; height: 28px; border-width: 2px; }
.modal__thumb .ws-coloring__icon { font-size: 0.95rem; }
.modal__thumb .ws-model__net, .modal__thumb .ws-creative__box { width: 32px; height: 24px; }
.modal__thumb .ws-model__icon, .modal__thumb .ws-steps__box { font-size: 0.85rem; }
.modal__thumb .ws-puzzle, .modal__thumb .ws-steps { transform: scale(0.5); }
.modal__thumb.is-active { border-color: var(--orange); }
.modal__included { text-align: center; font-weight: 700; color: var(--navy); font-size: 0.88rem; margin-bottom: 14px; }

@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 560px) { .modal__panel { padding: 22px; } .modal__stage { max-height: 36vh; } }

/* -------------------------------------------------------------------------
   MOBILE HERO — horizontal swipeable shelf
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero { padding-top: 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 20px; }
  /* content comes FIRST on mobile (headline explains the product before showing covers) —
     no `order` reversal, and no forced min-height: the shelf sizes to its own content
     instead of leaving dead space above/below it. */
  .hero__visual { min-height: 0; }
  .hero-shelf { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; padding: 6px 8px 14px; -webkit-overflow-scrolling: touch; }
  .hero-book { scroll-snap-align: center; width: 92px; }
}

@media (max-width: 480px) {
  /* the price is already shown just above this button — dropping the repeated
     "— ₹249" here prevents the CTA text wrapping onto two lines. */
  .hero__cta-price { display: none; }
}

/* -------------------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
