:root {
  --page: #f4ece9;
  --paper: #fffaf8;
  --ink: #2c2021;
  --muted: #7d686a;
  --line: rgba(91, 42, 49, 0.12);
  --wine: #761522;
  --wine-dark: #4d0c15;
  --rose: #e9c8ca;
  --shadow: 0 22px 70px rgba(57, 13, 20, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 3%, rgba(168, 62, 76, 0.13), transparent 26rem),
    linear-gradient(180deg, #efe2df 0%, #f8f1ee 45%, #eadbd7 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.site-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 90px rgba(51, 13, 18, 0.16);
}

.hero { background: var(--paper); }
.hero-media { position: relative; min-height: 600px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 0, 3, 0.05) 15%, rgba(29, 0, 4, 0.08) 55%, rgba(26, 0, 3, 0.74) 100%);
}
.hero-heading {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  color: #fff9f7;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.38);
}
.eyebrow, .section-kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 11vw, 58px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.hero-copy { padding: 28px 24px 34px; }
.lead { margin: 0; color: #5e4a4c; font-size: 16px; line-height: 1.65; }
.price-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 13px;
  margin: 24px 0 18px;
}
.old-price, .new-price { font-size: 22px; line-height: 1; font-weight: 760; }
.old-price { color: #aa9697; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.new-price { color: var(--wine-dark); }
.discount {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2dcde;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
}
.primary-button, .submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #8a1e2d 0%, #64111d 100%);
  box-shadow: 0 13px 28px rgba(105, 16, 29, 0.22);
  color: #fff;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.primary-button:active, .submit-button:active { transform: translateY(1px); box-shadow: 0 8px 18px rgba(105, 16, 29, 0.18); }
.submit-button:disabled { cursor: wait; opacity: 0.72; }
.sold { margin: 11px 0 0; color: #9b8587; font-size: 12px; text-align: center; }

.product-story { margin: 0 16px; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: var(--shadow); }
.story-image { aspect-ratio: 0.9 / 1; object-fit: cover; }
.story-body { padding: 29px 24px 25px; }
.section-kicker { color: #9b3542; }
.story-body h2, .section-heading h2, .order-inner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.story-body p { margin: 18px 0 0; color: #665153; font-size: 15px; line-height: 1.72; }
.notes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.notes span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff8f6; color: #6c4146; font-size: 12px; font-weight: 700; }
.detail-figure { margin: 0; background: #29070c; color: #eadadc; }
.detail-figure img { aspect-ratio: 1 / 1; object-fit: cover; }
.detail-figure figcaption { padding: 15px 20px 18px; font-size: 12px; line-height: 1.55; text-align: center; opacity: 0.82; }

.reviews { padding: 52px 16px 48px; }
.section-heading { padding: 0 8px 22px; text-align: center; }
.section-heading .section-kicker { margin-bottom: 8px; }
.carousel-window { overflow: hidden; }
.carousel-track { display: flex; transition: transform 420ms cubic-bezier(.22,.72,.25,1); touch-action: pan-y; }
.review-card {
  flex: 0 0 100%;
  min-height: 244px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(150deg, #fff 0%, #fff8f6 100%);
  box-shadow: 0 14px 36px rgba(64, 18, 25, 0.08);
}
.review-top { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 11px; }
.review-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f1dadd; color: var(--wine); font-weight: 850; }
.review-top h3 { margin: 0 0 3px; font-size: 15px; }
.review-top div span { color: var(--muted); font-size: 12px; }
.stars { color: #8c2533; font-size: 12px; letter-spacing: 0.05em; }
.review-card p { margin: 24px 0 0; color: #654e50; font-size: 15px; line-height: 1.7; }
.carousel-controls { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; margin-top: 17px; }
.carousel-arrow { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--wine); font-size: 18px; cursor: pointer; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #d8bdbf; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.carousel-dots button.is-active { width: 23px; border-radius: 999px; background: var(--wine); }

.order-section { padding: 0 16px 20px; background: linear-gradient(180deg, transparent 0%, #f1dfdc 100%); }
.order-inner { padding: 31px 23px 27px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.order-subtitle { margin: 14px auto 22px; max-width: 330px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.order-summary { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #684c50; font-size: 13px; text-align: left; }
.order-summary strong { white-space: nowrap; color: var(--wine-dark); }
.order-form { display: grid; gap: 15px; text-align: left; }
.field-group { display: grid; gap: 7px; color: #694d51; font-size: 12px; font-weight: 750; }
.field-group input { width: 100%; height: 54px; border: 1px solid #dbc9c8; border-radius: 16px; outline: none; background: #fffaf9; color: var(--ink); padding: 0 15px; font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field-group input:focus { border-color: #a74754; box-shadow: 0 0 0 4px rgba(138, 30, 45, 0.09); }
.field-group.has-error input { border-color: #c52d43; box-shadow: 0 0 0 4px rgba(197, 45, 67, 0.08); }
.field-error { min-height: 16px; color: #a6192e; font-size: 11px; line-height: 1.45; font-weight: 600; }
.submit-button { margin-top: 2px; }
.privacy-note { margin: 0; color: #9a8486; font-size: 10px; line-height: 1.5; text-align: center; }
.privacy-note a { text-underline-offset: 2px; }
.form-message { min-height: 18px; margin: 0; color: #9b1b2f; font-size: 12px; text-align: center; }

.footer { padding: 34px 24px 38px; background: #271316; color: #d9c7c9; font-size: 12px; line-height: 1.7; }
.footer h2 { margin: 0 0 13px; color: #fff7f6; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer p { margin: 0 0 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 18px 0; }
.footer-links a { color: #f0dfe1; text-decoration: none; border-bottom: 1px solid rgba(240, 223, 225, 0.28); }
.registry-note { color: #a99497; }

@media (min-width: 521px) {
  body { padding: 24px 0; }
  .site-shell { border-radius: 34px; }
}

@media (max-width: 380px) {
  .hero-media, .hero-media img { min-height: 540px; }
  .hero-copy { padding-left: 19px; padding-right: 19px; }
  .old-price, .new-price { font-size: 20px; }
  .story-body h2, .section-heading h2, .order-inner h2 { font-size: 31px; }
  .review-top { grid-template-columns: 40px 1fr; }
  .stars { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
