:root {
  --bg-top: #140d1d;
  --bg-bottom: #2a1830;
  --page-bg: linear-gradient(180deg, rgba(255, 245, 232, 0.96) 0%, rgba(247, 236, 223, 0.98) 100%);
  --card-bg: rgba(255, 251, 247, 0.92);
  --card-strong: rgba(255, 248, 241, 0.98);
  --text-main: #332635;
  --text-soft: #6d5a68;
  --line: rgba(80, 53, 74, 0.12);
  --line-strong: rgba(108, 74, 98, 0.18);
  --accent: #6d3d71;
  --accent-dark: #49294f;
  --accent-soft: rgba(113, 66, 117, 0.08);
  --gold: #b78d53;
  --gold-soft: rgba(183, 141, 83, 0.16);
  --success: #3d7f5b;
  --error: #c15454;
  --shadow: 0 24px 60px rgba(28, 15, 34, 0.16);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 430px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(183, 141, 83, 0.26) 0%, transparent 34%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), var(--shadow);
}

.page {
  padding: 14px 14px 0;
}

.hero {
  padding-top: 6px;
}

.hero-card {
  position: relative;
  border-radius: calc(var(--radius-xl) + 2px);
  overflow: hidden;
  background: #1e1424;
  box-shadow: 0 20px 48px rgba(36, 18, 38, 0.22);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 10, 22, 0.14) 0%, rgba(20, 10, 22, 0.26) 48%, rgba(17, 9, 18, 0.74) 100%),
    linear-gradient(90deg, rgba(25, 12, 29, 0.48) 0%, transparent 58%);
}

.hero-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(24, 13, 27, 0.42);
  border: 1px solid rgba(255, 242, 226, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff8f0;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker {
  color: rgba(255, 236, 206, 0.82);
  margin-bottom: 10px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-body {
  padding: 18px 2px 8px;
}

.lead {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.62;
}

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

.price-old,
.price-current {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.price-old {
  color: rgba(109, 90, 104, 0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-current {
  color: var(--accent-dark);
}

.promo-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}

.promo-badge,
.promo-timer {
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 251, 247, 0.82);
}

.promo-badge {
  min-width: 118px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24);
}

.promo-timer {
  flex: 1;
  padding: 10px 12px;
}

.promo-timer-label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
}

.timer-box i {
  font-style: normal;
  color: rgba(73, 41, 79, 0.46);
}

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

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

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

.button:disabled {
  opacity: 0.76;
  cursor: wait;
}

.button-primary {
  color: #fffaf5;
  background: linear-gradient(180deg, #7a4a7f 0%, #4d2951 100%);
  box-shadow: 0 16px 28px rgba(73, 41, 79, 0.26);
}

.button-secondary {
  color: var(--accent-dark);
  background: rgba(255, 246, 234, 0.82);
  border: 1px solid rgba(114, 74, 104, 0.18);
}

.meta-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.section {
  padding: 18px 0 0;
}

.section-intro {
  margin-bottom: 14px;
  padding: 0 2px;
}

.section-kicker {
  color: var(--accent);
  margin-bottom: 10px;
}

.section-intro h2,
.order-card h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.story-card,
.order-card,
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
}

.story-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(58, 36, 61, 0.08);
}

.story-photo {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.story-copy {
  padding: 18px;
}

.story-copy p,
.order-card p,
.review-card p,
.site-footer p,
.legal-page p,
.legal-page li {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-soft);
}

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

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

.scent-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.scent-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.scent-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid rgba(87, 58, 82, 0.08);
}

.scent-item strong,
.note-panel h3,
.review-meta h3,
.footer-title,
.legal-page h2 {
  color: var(--text-main);
}

.scent-item strong,
.review-meta h3,
.footer-title {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 6px;
}

.story-accent {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.story-side-photo {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
}

.note-panel {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(96, 59, 103, 0.08) 0%, rgba(183, 141, 83, 0.10) 100%);
  border: 1px solid rgba(103, 67, 95, 0.1);
}

.note-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-reviews {
  padding-top: 22px;
}

.reviews-carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 26px;
}

.carousel-track {
  display: flex;
  transition: transform 0.32s ease;
  touch-action: pan-y;
}

.review-card {
  min-width: 100%;
  padding: 20px;
  border-radius: 26px;
  box-shadow: 0 16px 32px rgba(58, 36, 61, 0.06);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.review-city {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(183, 141, 83, 0.12);
  color: #7a5a2f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 23px);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 17, 35, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.carousel-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.carousel-arrow-prev {
  left: 10px;
}

.carousel-arrow-prev::before {
  transform: rotate(-45deg);
  margin-left: 17px;
}

.carousel-arrow-next {
  right: 10px;
}

.carousel-arrow-next::before {
  transform: rotate(135deg);
  margin-right: 17px;
}

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

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(73, 41, 79, 0.2);
  transition: width 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--accent-dark);
}

.order-section {
  padding: 22px 0 0;
}

.order-card {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px 18px 20px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.96) 0%, rgba(248, 238, 228, 0.98) 100%);
  box-shadow: 0 -8px 30px rgba(76, 49, 69, 0.05);
}

.order-card .section-kicker {
  margin-bottom: 10px;
}

.order-card h2 {
  margin-bottom: 10px;
}

.order-card > p {
  margin-bottom: 18px;
}

.order-form {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 7px;
}

.field-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.field-group input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(104, 73, 96, 0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field-group input::placeholder {
  color: rgba(109, 90, 104, 0.55);
}

.field-group input:focus {
  border-color: rgba(109, 61, 113, 0.46);
  box-shadow: 0 0 0 4px rgba(109, 61, 113, 0.08);
}

.field-group.has-error input {
  border-color: rgba(193, 84, 84, 0.5);
  box-shadow: 0 0 0 4px rgba(193, 84, 84, 0.08);
}

.field-error,
.form-success,
.privacy-note,
.registry-note,
.links,
.back-link,
.legal-page ol,
.legal-page ul {
  font-size: 13px;
  line-height: 1.6;
}

.field-error {
  min-height: 20px;
  color: var(--error);
}

.privacy-note {
  margin-top: -4px;
  color: var(--text-soft);
}

.form-success {
  min-height: 20px;
  color: var(--success);
}

.form-success.is-error {
  color: var(--error);
}

.site-footer {
  padding: 18px 18px 30px;
  background: linear-gradient(180deg, rgba(245, 232, 219, 0.98) 0%, rgba(236, 221, 206, 1) 100%);
  border-top: 1px solid rgba(83, 56, 78, 0.08);
}

.footer-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.site-footer p + p {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

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

.registry-note {
  margin-top: 14px;
  color: var(--text-soft);
}

.legal-body {
  background:
    radial-gradient(circle at top, rgba(183, 141, 83, 0.22) 0%, transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.legal-page {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  min-height: 100vh;
  padding: 22px 18px 34px;
  background: var(--page-bg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  font-weight: 700;
}

.legal-page h1 {
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.legal-page h2 {
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.legal-page ul,
.legal-page ol {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

@media (min-width: 431px) {
  .page-shell,
  .legal-page {
    border-radius: 28px;
    overflow: hidden;
    margin: 14px auto;
    min-height: calc(100vh - 28px);
  }
}
