/* ДивоКадр — сайт-вітрина.
   Палітра та шрифти взяті з брендбуку застосунку, щоб людина, яка прийшла з
   пошуку, впізнала той самий продукт усередині Telegram. Мандаринка —
   ЄДИНИЙ колір дії: усе, що нею пофарбовано, можна натиснути. */

:root {
  --milk: #FFFCF5;
  --ink: #221E46;
  --sun: #F2A81E;      /* 1–3 роки */
  --mint: #149E76;     /* 4–6 */
  --tangerine: #EE5F1A; /* 7–10 + єдиний колір дії */
  --berry: #6B4EE6;    /* 11–15 */
  --line: #EDE6D8;
  --muted: #6B6785;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Unbounded', 'Onest', sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 34px; margin: 0 0 14px; }
h2 { font-size: 25px; margin: 46px 0 16px; }
h3 { font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
a { color: var(--tangerine); }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* ── header ─────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 252, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.btn {
  display: inline-block; background: var(--tangerine); color: #fff;
  font-weight: 700; text-decoration: none; padding: 11px 20px;
  border-radius: 12px; font-size: 15px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(238, 95, 26, 0.28);
}
.btn.big { font-size: 17px; padding: 15px 30px; border-radius: 14px; }

/* ── hero ───────────────────────────────────────────── */
.hero { padding: 42px 0 30px; text-align: center; }
.hero p.lead { font-size: 17.5px; color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 10px;
  border: 2px dashed var(--sun); border-radius: 14px; padding: 10px 18px; margin-bottom: 20px;
}
.price-tag s { color: var(--muted); font-size: 17px; }
.price-tag b { font-size: 30px; font-family: 'Unbounded', sans-serif; }
.price-tag span { font-size: 14px; color: var(--muted); }
.promo-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ── короткі відповіді (те, що цитує AI-пошук) ──────── */
.answers { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; background: #fff; }
.answers dt { font-weight: 700; margin-top: 14px; }
.answers dt:first-child { margin-top: 0; }
.answers dd { margin: 4px 0 0; color: #3B3760; }

/* ── галерея ────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; display: block; background: #f0ece2; }
.gallery figcaption { font-size: 12px; color: var(--muted); margin-top: 5px; text-align: center; }

/* ── смуга віку: фірмовий дверний косяк ─────────────── */
.bands { border-left: 3px solid var(--line); padding-left: 20px; margin: 0; }
.band { position: relative; padding: 0 0 20px 0; }
.band::before {
  content: ''; position: absolute; left: -26px; top: 9px;
  width: 14px; height: 3px; border-radius: 2px; background: var(--band, var(--sun));
}
.band .age { font-family: 'Caveat', cursive; font-size: 19px; color: var(--band, var(--sun)); }
.band h3 { margin: 0; }
.band p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* ── кроки ──────────────────────────────────────────── */
.steps { counter-reset: s; padding: 0; margin: 0; }
.steps li { list-style: none; counter-increment: s; position: relative; padding: 0 0 16px 44px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--tangerine); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* ── таблиця подарунків ─────────────────────────────── */
table.gifts { width: 100%; border-collapse: collapse; font-size: 15.5px; background: #fff; border-radius: 14px; overflow: hidden; }
table.gifts th, table.gifts td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.gifts th { background: #FFF6E6; font-weight: 700; }
table.gifts tr:last-child td { border-bottom: none; }

/* ── faq ────────────────────────────────────────────── */
.faq h3 { margin-top: 22px; }
.faq p { color: #3B3760; }

.cta-block { text-align: center; margin: 40px 0; }

footer.site { border-top: 1px solid var(--line); margin-top: 50px; padding: 26px 20px 40px; text-align: center; color: var(--muted); font-size: 14px; }
footer.site a { margin: 0 9px; }

@media (max-width: 720px) {
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 30px 0 24px; }
}
