:root {
  --page: #f2f0ec;
  --paper: #fbfaf8;
  --surface: #ffffff;
  --surface-soft: #f7f4ef;
  --text: #292a2d;
  --muted: #74716c;
  --line: rgba(41, 42, 45, 0.11);
  --gold: #9a7442;
  --gold-dark: #71502d;
  --gold-soft: #eee4d6;
  --blue: #26364d;
  --danger: #a33a3a;
  --shadow: 0 24px 70px rgba(28, 30, 34, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 4%, rgba(255,255,255,.95), transparent 28%),
    linear-gradient(180deg, #ece9e4 0%, var(--page) 100%);
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-shell {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero { background: var(--surface); }
.hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f7f7f7;
}
.hero-media img {
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,27,31,.02) 34%, rgba(23,27,31,.68) 100%);
}
.hero-title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(25, 28, 32, .43);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.hero-title span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: .86;
}
h1, h2, h3, p { margin-top: 0; }
.hero-title h1 {
  margin: 0;
  font-size: clamp(33px, 9vw, 46px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 760;
}
.hero-content { padding: 24px 20px 30px; }
.lead {
  margin-bottom: 20px;
  color: #5d5b57;
  font-size: 15px;
  line-height: 1.65;
}
.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-bottom: 17px;
}
.price-old,
.price-current {
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.035em;
}
.price-old {
  color: #aaa6a0;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.price-current { color: var(--text); font-weight: 760; }
.discount {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--gold-dark);
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 750;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #2f3743 0%, #17202c 100%);
  box-shadow: 0 14px 30px rgba(31, 39, 50, .24);
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .66; transform: none; }
.sold {
  margin: 10px 0 0;
  text-align: center;
  color: #9a9690;
  font-size: 12px;
}

.product-section,
.reviews-section { padding: 42px 16px 0; }
.section-heading { padding: 0 4px 18px; }
.section-heading > span,
.order-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 11px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-heading h2,
.order-card h2 {
  margin-bottom: 0;
  font-size: 29px;
  line-height: 1.07;
  letter-spacing: -.04em;
  font-weight: 740;
}
.product-card {
  overflow: hidden;
  border: 1px solid rgba(47, 52, 60, .08);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(27, 30, 35, .08);
}
.product-main-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f9f9f9;
}
.product-copy { padding: 22px 18px 20px; }
.product-copy > p {
  margin-bottom: 13px;
  color: #62605b;
  font-size: 14px;
  line-height: 1.68;
}
.feature-list {
  display: grid;
  gap: 0;
  margin: 21px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-list div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
}
.feature-list div + div { border-top: 1px solid var(--line); }
.feature-list strong {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 720;
}
.feature-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.package-photo {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 19px;
  background: var(--surface-soft);
}
.package-photo img { aspect-ratio: 1 / 1; object-fit: cover; }
.package-photo figcaption {
  padding: 11px 13px 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.note {
  margin-top: 17px;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5eee4, #f9f6f1);
}
.note h3 {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
}
.note p {
  margin: 0;
  color: #756c61;
  font-size: 12px;
  line-height: 1.55;
}

.reviews-section { padding-bottom: 6px; }
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-viewport {
  width: calc(100% - 74px);
  overflow: hidden;
  border-radius: 24px;
}
.carousel-track {
  display: flex;
  transition: transform .42s cubic-bezier(.22,.75,.28,1);
  will-change: transform;
}
.review-card {
  flex: 0 0 100%;
  min-height: 196px;
  padding: 18px;
  border: 1px solid rgba(37, 43, 52, .09);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(25, 30, 38, .07);
}
.review-top {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #a8865b, #6e5031);
  font-weight: 750;
}
.review-top h3 { margin: 0 0 2px; font-size: 14px; }
.review-top div p { margin: 0; color: var(--muted); font-size: 11px; }
.stars { color: #b88745; font-size: 11px; letter-spacing: 1px; }
.review-card > p {
  margin: 0;
  color: #5f5e5a;
  font-size: 14px;
  line-height: 1.65;
}
.carousel-arrow {
  position: relative;
  flex: 0 0 29px;
  width: 29px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(36, 42, 50, .1);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  cursor: pointer;
}
.carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.7px solid #42474f;
  border-right: 1.7px solid #42474f;
}
.carousel-arrow-prev::before { transform: translate(-35%, -50%) rotate(-135deg); }
.carousel-arrow-next::before { transform: translate(-65%, -50%) rotate(45deg); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-height: 22px;
  margin-top: 14px;
}
.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1ccc5;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.carousel-dots button.is-active { width: 19px; background: var(--gold); }

.order-section { padding: 42px 16px 18px; }
.order-card {
  padding: 25px 18px 22px;
  border-radius: 28px;
  color: #f7f7f5;
  background:
    radial-gradient(circle at 85% 5%, rgba(184,149,102,.3), transparent 34%),
    linear-gradient(155deg, #2d3746 0%, #171e28 72%);
  box-shadow: 0 22px 48px rgba(24, 30, 40, .2);
}
.order-card .order-kicker { color: #dac3a3; }
.order-card h2 { color: #fff; }
.order-card > p {
  margin: 10px 0 20px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.55;
}
.order-form { display: grid; gap: 13px; }
.field-group { position: relative; }
.field-group label {
  display: block;
  margin: 0 0 7px 2px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
}
.field-group input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  outline: 0;
  color: #252a31;
  background: rgba(255,255,255,.96);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field-group input:focus {
  border-color: #c9aa80;
  box-shadow: 0 0 0 3px rgba(201,170,128,.2);
}
.field-group.has-error input {
  border-color: #dc8b8b;
  box-shadow: 0 0 0 3px rgba(220,139,139,.14);
}
.field-error {
  min-height: 15px;
  margin: 5px 2px 0;
  color: #ffc0c0;
  font-size: 11px;
  line-height: 1.35;
}
.order-form .button-primary {
  margin-top: 1px;
  color: #2a241e;
  background: linear-gradient(135deg, #f2e4d1, #cfac7c);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}
.privacy-note {
  margin: -2px 5px 0;
  color: rgba(255,255,255,.48);
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}
.form-success { min-height: 0; margin: 0; color: #d7efcf; font-size: 12px; text-align: center; }
.form-success.is-error { color: #ffc0c0; }

.site-footer {
  padding: 27px 20px calc(28px + env(safe-area-inset-bottom));
  color: #85817b;
  text-align: center;
  background: #efebe5;
  font-size: 11px;
  line-height: 1.65;
}
.footer-title {
  margin-bottom: 9px;
  color: #5d5953;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
}
.site-footer p { margin: 0 0 11px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 12px;
  margin: 14px 0;
}
.footer-links a { color: #625d56; text-decoration: underline; text-underline-offset: 3px; }
.registry-note { margin-bottom: 0 !important; color: #9a958e; }

@media (min-width: 521px) {
  body { padding: 18px 0; }
  .page-shell { border-radius: 28px; }
}

@media (max-width: 359px) {
  .hero-title { left: 14px; right: 14px; bottom: 14px; }
  .hero-content { padding-left: 16px; padding-right: 16px; }
  .price-old, .price-current { font-size: 21px; }
  .product-section, .reviews-section, .order-section { padding-left: 12px; padding-right: 12px; }
  .section-heading h2, .order-card h2 { font-size: 26px; }
  .carousel-viewport { width: calc(100% - 66px); }
  .review-card { padding: 15px; }
  .review-top { grid-template-columns: 38px 1fr; }
  .avatar { width: 38px; height: 38px; }
  .stars { grid-column: 2; }
}

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