:root {
  --bg: #eee9e1;
  --bg-soft: #f8f5ef;
  --panel: #fffdf9;
  --text: #272522;
  --muted: #6f6a62;
  --line: rgba(73, 62, 47, 0.12);
  --gold: #b88b23;
  --gold-deep: #806016;
  --gold-soft: #f0e3bd;
  --ink: #171820;
  --danger: #aa4f45;
  --success: #4f6c4a;
  --shadow: 0 22px 60px rgba(40, 34, 26, 0.10);
}

* {
  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", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 31rem),
    linear-gradient(180deg, #f7f3ed 0%, var(--bg) 48%, #e8e1d7 100%);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(100%, 430px);
  margin: 0 auto;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.95), rgba(245, 240, 232, 0.98));
  box-shadow: 0 0 80px rgba(29, 25, 20, 0.12);
}

.page {
  width: 100%;
}

.hero {
  padding-bottom: 12px;
}

.hero-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #16161d;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 21, 0.05) 8%, rgba(16, 16, 21, 0.04) 45%, rgba(14, 14, 19, 0.88) 100%),
    linear-gradient(90deg, rgba(13, 13, 17, 0.12), rgba(13, 13, 17, 0) 55%);
}

.hero-title-wrap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  padding: 17px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  color: #fff;
  background: rgba(18, 18, 23, 0.60);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-kicker,
.section-kicker {
  display: inline-block;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 9px;
  color: #f4d77f;
}

.hero-title-wrap h1 {
  margin: 0;
  font-size: clamp(30px, 8.6vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title-wrap h1 span {
  color: #f3d783;
}

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

.lead {
  margin: 0;
  color: #514d47;
  font-size: 16px;
  line-height: 1.65;
}

.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 22px 0 16px;
}

.price-old,
.price-current {
  font-size: clamp(25px, 7.4vw, 31px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.price-old {
  color: #aaa39a;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

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

.discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  color: #5e4511;
  background: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, #292a31 0%, #17181e 100%);
  box-shadow: 0 14px 28px rgba(24, 24, 29, 0.19);
}

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

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

.meta-note {
  margin: 10px 0 0;
  color: #807a71;
  text-align: center;
  font-size: 12px;
}

.section {
  padding: 38px 14px 8px;
}

.section-intro {
  padding: 0 8px 17px;
}

.section-kicker {
  margin-bottom: 9px;
  color: var(--gold-deep);
}

.section-intro h2,
.order-card h2 {
  margin: 0;
  font-size: clamp(29px, 8vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.story-photo {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 48%;
}

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

.story-copy > p {
  margin: 0;
  color: #514d47;
  font-size: 15px;
  line-height: 1.72;
}

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

.notes-list {
  margin-top: 21px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 14px 0;
}

.note-row + .note-row {
  border-top: 1px solid var(--line);
}

.note-row span {
  padding-top: 2px;
  color: var(--gold-deep);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.note-row p {
  margin: 0;
  color: #403d38;
  font-size: 14px;
  line-height: 1.55;
}

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

.set-fact {
  min-height: 108px;
  padding: 15px;
  border: 1px solid rgba(184, 139, 35, 0.17);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffdf8 0%, #f7efd8 100%);
}

.set-fact strong {
  display: block;
  margin-bottom: 6px;
  color: #6e5113;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.set-fact span {
  color: #6b655c;
  font-size: 13px;
  line-height: 1.4;
}

.detail-figure {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 22px;
  background: #181920;
}

.detail-figure img {
  width: 100%;
  height: 425px;
  object-fit: cover;
  object-position: center 46%;
}

.detail-figure figcaption {
  padding: 14px 16px 16px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
  line-height: 1.55;
}

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

.reviews-carousel {
  position: relative;
}

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

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

.review-card {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 254px;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 227, 189, 0.55), rgba(240, 227, 189, 0) 42%),
    rgba(255, 253, 249, 0.98);
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5d450f;
  background: #f1e2b8;
  font-weight: 800;
}

.review-meta h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.review-meta span {
  color: #817b72;
  font-size: 12px;
}

.stars {
  margin: 18px 0 10px;
  color: #ad7f18;
  font-size: 14px;
  letter-spacing: 0.13em;
}

.review-card p {
  margin: 0;
  color: #504c46;
  font-size: 15px;
  line-height: 1.7;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(31, 31, 37, 0.78);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.carousel-arrow::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

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

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

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

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

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 15px 0 0;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(83, 75, 65, 0.23);
}

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

.order-section {
  padding: 30px 14px 16px;
}

.order-card {
  padding: 25px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(191, 145, 38, 0.28), rgba(191, 145, 38, 0) 38%),
    linear-gradient(180deg, #25262d 0%, #18191f 100%);
  box-shadow: 0 23px 55px rgba(18, 18, 22, 0.24);
}

.order-card .section-kicker {
  color: #f2d579;
}

.order-card > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.58;
}

.order-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 19px 0;
  padding: 13px 14px;
  border: 1px solid rgba(244, 215, 127, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.order-price span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.order-price strong {
  color: #f6dc8c;
  font-size: 23px;
  letter-spacing: -0.04em;
}

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

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  font-weight: 600;
}

.field-group input {
  width: 100%;
  height: 55px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  outline: 0;
  color: #25231f;
  background: rgba(255, 253, 249, 0.98);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field-group input:focus {
  border-color: #dfbd5c;
  box-shadow: 0 0 0 3px rgba(223, 189, 92, 0.14);
}

.field-group input::placeholder {
  color: #aaa49b;
}

.field-group.has-error input {
  border-color: var(--danger);
  background: #fff8f6;
}

.field-error,
.form-success {
  min-height: 18px;
  margin: 7px 0 0;
  color: #ef9b91;
  font-size: 12px;
  line-height: 1.42;
}

.form-success {
  color: #a9d19f;
}

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

.order-form .button-primary {
  margin-top: 2px;
  color: #1c1b18;
  background: linear-gradient(180deg, #f4dc94 0%, #d7b34f 100%);
  box-shadow: 0 14px 28px rgba(214, 175, 69, 0.18);
}

.privacy-note {
  margin: 11px 5px 0;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}

.site-footer {
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom));
  color: #777066;
  text-align: center;
}

.footer-title {
  margin-bottom: 12px;
  color: #4f4a43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.65;
}

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

.footer-links a {
  color: #625c53;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(98, 92, 83, 0.24);
}

.registry-note {
  color: #938c82;
}

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

  .hero-media {
    border-radius: 30px 30px 0 0;
  }
}

@media (max-width: 360px) {
  .hero-media,
  .hero-media img {
    height: 505px;
    min-height: 505px;
  }

  .hero-title-wrap {
    left: 13px;
    right: 13px;
    bottom: 14px;
    padding: 15px;
  }

  .hero-body {
    padding-left: 15px;
    padding-right: 15px;
  }

  .section,
  .order-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .story-photo {
    height: 385px;
  }

  .detail-figure img {
    height: 385px;
  }
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .hero-title-wrap {
    background: rgba(18, 18, 23, 0.87);
  }
}
