
:root {
  --bg: #f5efe8;
  --bg-soft: #fbf7f2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #2f302d;
  --muted: #6f7067;
  --line: rgba(146, 118, 84, 0.18);
  --accent: #b88b56;
  --accent-dark: #8f6941;
  --shadow: 0 24px 60px rgba(98, 78, 52, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 430px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.72), transparent 30%),
    linear-gradient(180deg, #f7f2ec 0%, #f5efe8 52%, #f2ece5 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
}

.hero {
  padding: 18px 0 12px;
}

.hero-card,
.story-intro,
.review-card,
.order-card,
.legal-card,
.detail-card {
  backdrop-filter: blur(18px);
}

.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.88));
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 26, 22, 0.42), rgba(31, 26, 22, 0.18));
  color: #fff;
}

.hero-kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.hero-kicker {
  color: rgba(255,255,255,0.86);
}

.hero-kicker::before,
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(184, 139, 86, 0.16);
}

.hero h1,
.story h2,
.reviews h2,
.order h2,
.legal-card h1 {
  margin: 10px 0 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: 30px;
  max-width: 10ch;
}

.hero-content {
  padding: 18px 18px 20px;
}

.hero-text,
.story-intro p,
.order-note,
.review-card p,
.detail-card p,
.footer p,
.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.price-old,
.price-current {
  font-size: 27px;
  letter-spacing: -0.03em;
}

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

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #cba36e 0%, #b88b56 100%);
  color: #fff;
  box-shadow: 0 16px 26px rgba(184, 139, 86, 0.26);
}

.button-full {
  width: 100%;
}

.hero-sold {
  margin: 12px 2px 0;
  color: #8d8578;
  font-size: 13px;
}

.story,
.reviews,
.order {
  padding: 12px 0;
}

.story-intro {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.58));
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--radius-xl);
  padding: 22px 18px 20px;
  box-shadow: var(--shadow);
}

.story h2,
.reviews h2,
.order h2 {
  font-size: 26px;
}

.story-intro p {
  margin-top: 14px;
}

.fact-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.fact-list li {
  position: relative;
  padding: 12px 14px 12px 38px;
  border-radius: 16px;
  background: rgba(255,255,255,0.64);
  border: 1px solid var(--line);
  color: var(--text);
  line-height: 1.45;
  font-size: 14px;
}

.fact-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  color: var(--accent);
  font-weight: 700;
}

.details-flow {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.detail-card {
  margin: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.62));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}

.detail-card img {
  border-radius: 18px;
  background: #fff;
}

.detail-card figcaption {
  padding: 14px 6px 6px;
}

.detail-card h3,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.review-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.review-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.76);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(98, 78, 52, 0.08);
}

.review-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.review-card {
  min-width: 100%;
  padding: 20px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.68));
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(196, 152, 97, 0.18), rgba(196, 152, 97, 0.08));
  border: 1px solid rgba(184, 139, 86, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.review-avatar-head {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-8px);
}

.review-avatar-body {
  width: 24px;
  height: 14px;
  border-radius: 14px 14px 10px 10px;
  background: var(--accent);
  transform: translateY(9px);
}

.review-avatar {
  position: relative;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.review-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(96, 84, 69, 0.22);
  cursor: pointer;
}

.review-dot.is-active {
  background: var(--accent);
}

.order-card,
.legal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.72));
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 32px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.order-note {
  margin-top: 12px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  color: #776f64;
}

.form-field input {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(146, 118, 84, 0.18);
  background: rgba(255,255,255,0.84);
  padding: 0 16px;
  color: var(--text);
  outline: none;
}

.form-field input:focus {
  border-color: rgba(184, 139, 86, 0.7);
  box-shadow: 0 0 0 4px rgba(184, 139, 86, 0.14);
}

.form-error {
  min-height: 18px;
  font-size: 12px;
  color: #c24848;
}

.form-field.has-error input {
  border-color: rgba(194, 72, 72, 0.5);
  background: rgba(255, 244, 244, 0.92);
}

.policy-note {
  margin: -2px 4px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #847b70;
  text-align: center;
}

.form-success {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(196, 152, 97, 0.12);
  border: 1px solid rgba(184, 139, 86, 0.24);
  color: #6c573d;
  line-height: 1.5;
}

.footer {
  padding: 12px 0 28px;
}

.footer .container {
  display: grid;
  gap: 12px;
}

.footer-block {
  padding: 20px 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: 0 16px 32px rgba(98, 78, 52, 0.08);
}

.footer-title {
  margin: 0 0 10px;
  color: var(--text) !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.footer-links a {
  color: var(--accent-dark);
}

.legal-page {
  padding: 22px 0;
}

.legal-main {
  padding: 18px 0 28px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent-dark);
}

@media (min-width: 640px) {
  .container {
    width: min(calc(100% - 34px), 760px);
  }

  .hero-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-media img {
    height: 100%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .details-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .footer .container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  :root {
    --container: 1040px;
  }

  .hero {
    padding-top: 26px;
  }

  .story,
  .reviews,
  .order {
    padding-top: 18px;
  }

  .story-intro {
    padding: 28px 28px 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .story h2,
  .reviews h2,
  .order h2 {
    font-size: 34px;
  }

  .detail-card {
    padding: 12px;
  }
}
.form-status {
  min-height: 20px;
  margin: 6px 4px 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: #847b70;
}

.form-status.error {
  color: #c24848;
}

.form-status.success {
  color: #6c573d;
}

.button:disabled {
  opacity: 0.7;
  cursor: default;
}
