:root {
  --bg: #f7f0ee;
  --paper: #fffaf7;
  --paper-soft: #f8ede9;
  --ink: #322529;
  --muted: #806b70;
  --line: rgba(93, 48, 59, 0.13);
  --rose: #b65d73;
  --wine: #763046;
  --wine-dark: #552233;
  --cream: #fff7f1;
  --shadow: 0 22px 70px rgba(73, 31, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(204, 118, 139, 0.18), transparent 34%),
    linear-gradient(180deg, #fbf5f3 0%, var(--bg) 45%, #efe3df 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.page-shell {
  width: min(100%, 460px);
  margin: 0 auto;
  background: rgba(255, 250, 247, 0.74);
  box-shadow: 0 0 0 1px rgba(120, 72, 84, 0.06), 0 30px 120px rgba(86, 43, 53, 0.14);
  overflow: hidden;
}

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

.hero { padding-bottom: 18px; }

.hero-photo {
  position: relative;
  margin: 0;
  min-height: 540px;
  overflow: hidden;
  border-radius: 32px;
  background: #eee5e2;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 16, 20, 0.62) 100%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
}

.hero-title-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 18px 18px 19px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 24px;
  background: rgba(62, 32, 43, 0.48);
  color: #fff;
  backdrop-filter: blur(16px);
  text-align: center;
}

.hero-title-card span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title-card span {
  margin-bottom: 10px;
  background: rgba(255,255,255,0.17);
}

.hero-title-card h1,
.section-intro h2,
.order-card h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero-title-card h1 {
  font-size: clamp(34px, 9vw, 48px);
  line-height: 0.98;
  text-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.hero-body {
  padding: 24px 12px 0;
  text-align: center;
}

.lead {
  margin: 0 auto 18px;
  max-width: 390px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-weight: 800;
}

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

.price-old {
  color: rgba(112, 83, 89, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

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

.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f1d9d4;
  color: #753344;
  font-size: 13px;
  font-weight: 900;
}

.button {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 316px);
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .2s ease, opacity .2s ease, box-shadow .2s ease;
}

.button-primary {
  background: linear-gradient(180deg, var(--rose) 0%, var(--wine) 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(118, 48, 70, 0.24);
}

.button:active { transform: translateY(1px) scale(0.99); }
.button:disabled { opacity: 0.7; cursor: wait; }

.meta-note {
  margin: 10px 0 0;
  color: rgba(92, 61, 68, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.section { padding: 34px 0 0; }

.section-intro {
  padding: 0 14px 16px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 10px;
  background: rgba(135, 54, 77, 0.09);
  color: var(--wine);
}

.section-intro h2,
.order-card h2 {
  font-size: 27px;
  line-height: 1.08;
  color: #38262b;
}

.story-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 250, 247, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(70, 38, 46, 0.08);
}

.story-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(93, 48, 59, 0.08);
}

.story-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
}

.story-copy { padding: 22px 18px 20px; }

.story-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.66;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.fact-item {
  min-height: 126px;
  padding: 15px 13px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(249, 234, 231, 0.76), rgba(255,255,255,0.86));
  border: 1px solid rgba(118, 48, 70, 0.09);
}

.fact-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  color: #41272f;
}

.fact-item p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.48;
}

.mini-note {
  margin-top: 16px;
  padding: 17px 16px;
  border-radius: 22px;
  background: #f5e4df;
  border: 1px solid rgba(118, 48, 70, 0.1);
}

.mini-note h3 {
  margin: 0 0 7px;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.mini-note p { margin: 0; font-size: 14px; }

.looks-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 38%;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.looks-strip::-webkit-scrollbar { display: none; }

.looks-strip figure {
  scroll-snap-align: start;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
}

.looks-strip img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  object-position: center top;
}

.looks-strip figcaption {
  padding: 9px 8px 10px;
  text-align: center;
  color: #6e4b55;
  font-size: 12px;
  font-weight: 800;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 4px;
}

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

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

.review-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 210px;
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 250, 247, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(70, 38, 46, 0.08);
}

.review-card > img {
  width: 116px;
  height: 182px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center top;
  background: #eee;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #f0d9d3;
  color: #753344;
  font-weight: 900;
}

.review-meta h3 {
  margin: 0 0 2px;
  font-size: 15px;
}

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

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}

.carousel-arrow {
  width: 32px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(118, 48, 70, 0.1);
  color: #713244;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(118, 48, 70, 0.22);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.carousel-dots button.is-active {
  width: 20px;
  background: var(--wine);
}

.order-section { padding: 38px 0 28px; }

.order-card {
  padding: 26px 18px 20px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,250,247,0.96), rgba(247,229,224,0.96));
  border: 1px solid rgba(118, 48, 70, 0.14);
  box-shadow: var(--shadow);
  text-align: center;
}

.order-card > p {
  margin: 12px auto 20px;
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}

.order-form { text-align: left; }

.field-group { margin-bottom: 14px; }

.field-group label {
  display: block;
  margin: 0 0 7px 4px;
  color: #5f3b46;
  font-size: 13px;
  font-weight: 800;
}

.field-group input {
  width: 100%;
  height: 54px;
  border: 1px solid rgba(118, 48, 70, 0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.field-group input:focus {
  border-color: rgba(118, 48, 70, 0.45);
  box-shadow: 0 0 0 4px rgba(118, 48, 70, 0.09);
}

.field-group.has-error input {
  border-color: #b53146;
  box-shadow: 0 0 0 4px rgba(181, 49, 70, 0.08);
}

.field-error {
  min-height: 18px;
  margin: 6px 4px 0;
  color: #a12439;
  font-size: 12px;
  line-height: 1.35;
}

.order-form .button { width: 100%; margin-top: 2px; }

.privacy-note {
  margin: 12px 4px 0;
  color: rgba(92, 61, 68, 0.62);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.42;
}

.form-success {
  margin: 10px 0 0;
  text-align: center;
  color: #2b7a4b;
  font-size: 13px;
  font-weight: 700;
}

.form-success.is-error { color: #a12439; }

.site-footer {
  padding: 28px 22px 34px;
  background: #39262d;
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.footer-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer p { margin: 0 0 12px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 14px 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.24);
}

.registry-note { color: rgba(255,255,255,0.62); }

@media (max-width: 380px) {
  .page { padding: 8px 8px 0; }
  .hero-photo, .hero-photo img { min-height: 500px; height: 500px; }
  .hero-title-card { left: 12px; right: 12px; bottom: 12px; }
  .story-media img { height: 270px; }
  .facts-grid { grid-template-columns: 1fr; }
  .review-card { grid-template-columns: 94px 1fr; gap: 11px; }
  .review-card > img { width: 94px; height: 172px; }
  .review-card p { font-size: 13px; line-height: 1.5; }
}

@media (min-width: 461px) {
  .page-shell { margin-top: 18px; margin-bottom: 18px; border-radius: 34px; }
}
