:root {
  --bg: #f6f0e8;
  --bg-soft: #fbf7f2;
  --paper: rgba(255,255,255,0.9);
  --card: rgba(255,255,255,0.84);
  --text: #33291f;
  --muted: #726353;
  --line: rgba(94, 73, 49, 0.12);
  --accent: #8f6b3d;
  --accent-deep: #6f4f29;
  --accent-soft: #e7d5ba;
  --shadow: 0 24px 72px rgba(76, 55, 32, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(222, 201, 170, 0.32), transparent 32%),
    linear-gradient(180deg, #efe3d3 0%, var(--bg) 20%, #f8f2ea 56%, #efe5d8 100%);
}
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
.page-shell { width: 100%; }
.page {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 16px 14px 32px;
}
.hero { padding-top: max(8px, env(safe-area-inset-top)); }
.hero-card, .story-card, .offer-card, .order-card, .seller-card, .review-card {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
}
.hero-card img { min-height: 520px; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,27,20,0.14) 0%, rgba(35,27,20,0.03) 30%, rgba(35,27,20,0.65) 100%);
}
.hero-copy {
  position: absolute; inset: auto 18px 22px 18px;
  color: #fff9f2; text-align: center;
}
.hero-kicker, .section-kicker {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.22);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-copy h1 { margin: 12px 0 0; font-size: 38px; line-height: 0.95; }
.hero-body { padding: 22px 10px 0; }
.lead { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.price-old { font-size: 28px; color: rgba(83,64,42,0.45); text-decoration: line-through; }
.price-current { font-size: 28px; font-weight: 800; }
.promo-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: stretch; margin-bottom: 18px; }
.promo-badge, .promo-timer {
  border-radius: 18px; border: 1px solid rgba(111,79,41,0.14);
  background: rgba(255,249,241,0.9);
}
.promo-badge { padding: 14px 16px; font-weight: 700; white-space: nowrap; }
.promo-timer { padding: 10px 14px; }
.promo-timer-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.timer-box { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 800; }
.timer-box i { font-style: normal; opacity: 0.45; }
.button {
  display: inline-flex; width: 100%; min-height: 56px; border-radius: 999px; border: 0; cursor: pointer;
  align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 16px;
}
.button-primary, .button-secondary {
  background: linear-gradient(180deg, #a17a48 0%, #7b582f 100%); color: #fff;
  box-shadow: 0 14px 30px rgba(124, 86, 43, 0.24);
}
.meta-note { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.section { padding-top: 28px; }
.section-intro { margin-bottom: 14px; text-align: center; }
.section-intro h2, .offer-copy h2, .order-card h2 { margin: 10px 0 0; font-size: 28px; line-height: 1.1; }
.story-card { overflow: hidden; border-radius: var(--radius-xl); }
.story-photo { aspect-ratio: 3 / 4; object-fit: cover; }
.story-copy { padding: 20px 18px 22px; }
.story-copy p, .offer-copy p, .order-card p, .seller-card p { color: var(--muted); line-height: 1.7; font-size: 15px; }
.scent-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.scent-pills span { padding: 10px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 13px; }
.scent-grid { display: grid; gap: 10px; }
.scent-item { padding: 16px; border-radius: 20px; background: rgba(247,242,235,0.95); border: 1px solid var(--line); }
.scent-item strong { display: block; margin-bottom: 6px; font-size: 14px; }
.scent-item p { margin: 0; }
.story-duo { display: grid; gap: 12px; margin-top: 16px; }
.story-side-photo { border-radius: 22px; aspect-ratio: 3 / 4; object-fit: cover; }
.note-panel { padding: 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(239,228,214,0.84) 0%, rgba(255,250,244,0.9) 100%); border: 1px solid var(--line); }
.note-panel h3 { margin: 0 0 8px; font-size: 18px; }
.offer-card { overflow: hidden; border-radius: var(--radius-xl); }
.offer-photo { aspect-ratio: 3 / 4; object-fit: cover; }
.offer-copy { padding: 18px; }
.reviews-carousel { position: relative; }
.carousel-viewport { overflow: hidden; border-radius: 26px; }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.review-card { flex: 0 0 100%; padding: 20px 18px 18px; border-radius: 26px; min-height: 205px; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.review-meta h3 { margin: 0; font-size: 19px; }
.review-city { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.review-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.carousel-arrow {
  position: absolute; top: calc(50% - 22px); width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.92); box-shadow: 0 10px 25px rgba(66,49,29,0.12);
}
.carousel-arrow::before { content: ''; display: block; width: 10px; height: 10px; border-top: 2px solid var(--text); border-right: 2px solid var(--text); margin: auto; }
.carousel-arrow-prev { left: -4px; }
.carousel-arrow-prev::before { transform: rotate(-135deg); }
.carousel-arrow-next { right: -4px; }
.carousel-arrow-next::before { transform: rotate(45deg); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; padding-top: 14px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(87,68,46,0.18); }
.carousel-dots .is-active { width: 24px; background: var(--accent); }
.order-card, .seller-card { border-radius: 30px; padding: 22px 18px; }
.order-form { margin-top: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field input {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 18px; border: 1px solid rgba(94,73,49,0.16);
  background: rgba(255,255,255,0.92); font: inherit; color: var(--text);
}
.field.is-invalid input { border-color: #c95c4d; background: rgba(255,245,243,0.92); }
.field-error { display: block; min-height: 18px; margin-top: 6px; font-size: 12px; color: #c95c4d; }
.form-agree { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); text-align: center; }
.form-message { margin-top: 14px; min-height: 20px; text-align: center; font-size: 13px; color: #af4e40; }
.footer { padding-top: 28px; }
.seller-card h3 { margin: 0 0 14px; font-size: 16px; letter-spacing: 0.06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.footer-links a { text-decoration: none; font-size: 14px; }
.footnote { font-size: 13px; color: var(--muted); }
.legal-body { background: linear-gradient(180deg, #f3eadf 0%, #fbf7f2 100%); }
.legal-page { width: min(100%, 760px); margin: 0 auto; padding: 28px 16px 56px; }
.legal-page h1 { font-size: 32px; margin-bottom: 14px; }
.legal-page h2 { font-size: 22px; margin: 22px 0 10px; }
.legal-page p { margin: 0 0 12px; line-height: 1.75; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 16px; text-decoration: none; }
@media (min-width: 420px) {
  .page { padding-inline: 18px; }
}
