:root {
  --bg: #f2eee8;
  --bg-soft: #f7f4ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --text: #47413d;
  --muted: #7c746d;
  --line: rgba(100, 90, 82, 0.14);
  --accent: #6e645f;
  --accent-dark: #534a46;
  --accent-soft: #e9e2d9;
  --shadow: 0 22px 60px rgba(67, 57, 50, 0.11);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 45%),
    linear-gradient(180deg, #f6f2ec 0%, #ece6de 46%, #f3eee7 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  display: flex;
  justify-content: center;
  padding: 0 12px 26px;
}

.page {
  width: min(100%, 430px);
}

.hero,
.section,
.footer {
  margin-top: 14px;
}

.hero,
.story-panel,
.order-card,
.footer,
.legal-page {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
.footer,
.legal-page {
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(52, 44, 39, 0.2) 52%, rgba(44, 38, 35, 0.58) 100%);
}

.hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  color: #fbfaf8;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.hero-kicker {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-copy h1 {
  margin: 10px 0 4px;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0;
  font-size: 14px;
  opacity: 0.94;
}

.hero-body {
  padding: 20px 18px 22px;
}

.lead,
.story-content p,
.order-card > p,
.review-card p,
.footer p,
.legal-page p,
.note-item p,
.gift-inline p {
  margin: 0;
  line-height: 1.6;
  font-size: 15px;
}

.lead {
  font-size: 16px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}

.price-old {
  color: #a0958c;
  text-decoration: line-through;
}

.price-current {
  font-size: 31px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--accent-dark);
}

.price-old,
.price-current {
  white-space: nowrap;
}

.promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(110, 100, 95, 0.18);
  background: rgba(233, 226, 217, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.promo-timer-label {
  font-size: 12px;
  color: var(--muted);
}

.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 0.04em;
}

.timer-box i {
  font-style: normal;
  color: #9d9187;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
  font-size: 16px;
  font-weight: 700;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 16px 26px rgba(83, 74, 70, 0.22);
}

.button-primary:disabled {
  cursor: default;
  opacity: 0.7;
  transform: none;
}

.meta-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.section {
  padding: 0;
}

.section-intro {
  padding: 8px 8px 12px;
  text-align: center;
}

.section-kicker {
  background: rgba(233, 226, 217, 0.76);
  color: var(--accent-dark);
  border: 1px solid rgba(110, 100, 95, 0.14);
}

.section-intro h2,
.order-card h2,
.legal-page h1 {
  margin: 12px 0 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.story-panel,
.order-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.story-image {
  width: 100%;
  aspect-ratio: 1200 / 896;
  object-fit: cover;
}

.story-content {
  padding: 18px;
}

.story-content > p + p {
  margin-top: 12px;
}

.scent-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.scent-pills span {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  font-size: 13px;
}

.notes-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.note-item,
.review-card {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.note-item {
  padding: 14px;
}

.note-item strong,
.gift-inline h3,
.review-head h3,
.footer-title,
.legal-page h2 {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.gift-inline {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.76) 0%, rgba(239, 233, 225, 0.92) 100%);
  border: 1px solid var(--line);
}

.gift-inline img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section-reviews {
  padding-bottom: 4px;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  cursor: pointer;
}

.carousel-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent-dark);
  border-right: 2px solid var(--accent-dark);
}

.carousel-arrow-prev::before {
  transform: rotate(-135deg);
  left: 4px;
}

.carousel-arrow-next::before {
  transform: rotate(45deg);
  right: 4px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 16px;
}

.review-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-head span {
  font-size: 12px;
  color: var(--muted);
}

.review-head h3 {
  margin: 0;
  text-align: right;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(110, 100, 95, 0.24);
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--accent);
}

.order-card {
  padding: 22px 18px;
  text-align: center;
}

.order-card > p {
  margin-top: 12px;
  color: var(--muted);
}

.order-form {
  margin-top: 18px;
  text-align: left;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field input:focus {
  border-color: rgba(110, 100, 95, 0.38);
  box-shadow: 0 0 0 4px rgba(110, 100, 95, 0.08);
}

.field input.is-invalid {
  border-color: rgba(201, 82, 88, 0.48);
  box-shadow: 0 0 0 4px rgba(201, 82, 88, 0.08);
}

.field-error,
.form-feedback {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  font-size: 12px;
  color: #b04e58;
}

.form-feedback {
  margin-top: 10px;
  text-align: center;
}

.form-feedback.is-error {
  color: #b04e58;
}

.form-policy {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.footer {
  border-radius: var(--radius-xl);
  padding: 18px;
}

.footer-block p + p,
.footer-note p + p {
  margin-top: 6px;
}

.footer-title {
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--accent-dark);
}

.footer-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.legal-body {
  min-height: 100vh;
}

.legal-page {
  width: min(100%, 430px);
  margin: 18px auto;
  padding: 22px 18px;
  border-radius: var(--radius-xl);
}

.back-link {
  display: inline-flex;
  margin-bottom: 14px;
  text-decoration: none;
  color: var(--accent-dark);
}

.legal-page h2 {
  margin: 22px 0 8px;
}

@media (min-width: 480px) {
  .page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (hover: hover) {
  .footer-links a:hover,
  .back-link:hover {
    text-decoration: underline;
  }
}
