:root {
  --bg: #f2ede6;
  --bg-deep: #e6ddd1;
  --panel: rgba(255, 253, 249, 0.96);
  --text: #302b26;
  --muted: #70675e;
  --soft: #9e9184;
  --line: rgba(82, 66, 50, 0.12);
  --accent: #a86435;
  --accent-deep: #7b4424;
  --accent-soft: #f1dfcd;
  --cream: #fff9f1;
  --danger: #aa493e;
  --success: #4f7357;
  --shadow: 0 22px 62px rgba(82, 61, 40, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,0) 30%),
    linear-gradient(180deg, #f8f4ee 0%, var(--bg) 52%, #ebe3d9 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

.page-shell { min-height: 100vh; padding: 12px 0 24px; }
.page, .site-footer { width: min(100%, 440px); margin: 0 auto; }
.page { display: flex; flex-direction: column; gap: 24px; }

.hero-media {
  position: relative;
  margin: 0 12px;
  min-height: 525px;
  border-radius: 32px;
  overflow: hidden;
  background: #d9c0a0;
  box-shadow: var(--shadow);
}
.hero-media > img { width: 100%; height: 525px; object-fit: cover; object-position: 51% center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,19,15,.10) 0%, rgba(24,19,15,.02) 48%, rgba(24,19,15,.42) 100%);
}
.hero-title-wrap { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.eyebrow {
  color: #fff8ee;
  background: rgba(49,35,24,.50);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
}
.hero-title-wrap h1 {
  width: fit-content;
  max-width: 310px;
  margin: 10px 0 0;
  padding: 14px 16px 15px;
  border-radius: 22px;
  color: #fffaf4;
  background: rgba(43,31,22,.58);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  font-size: 35px;
  line-height: .98;
  letter-spacing: -.045em;
}
.hero-content { margin: 0 16px; padding: 0 2px; }
.lead { margin: 0 0 16px; color: #5e574f; font-size: 15px; line-height: 1.68; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 11px; margin-bottom: 15px; }
.price-old, .price-current { font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.price-old { color: #aaa096; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; }
.price-current { color: #2f2924; font-weight: 850; }
.discount { display: inline-flex; align-items: center; min-height: 29px; padding: 0 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-deep); font-size: 13px; font-weight: 800; }
.button { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 0 18px; border: 0; border-radius: 19px; cursor: pointer; text-decoration: none; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: default; opacity: .72; }
.button-primary { color: #fffaf5; background: linear-gradient(180deg, #b87646 0%, #8f532f 100%); box-shadow: 0 14px 30px rgba(133,76,43,.26); }
.sold-note { margin: 10px 0 0; color: #8d8379; font-size: 12px; text-align: center; }

.section-heading { margin: 0 14px 14px; }
.section-label { color: var(--accent-deep); background: rgba(255,255,255,.70); border: 1px solid rgba(120,79,45,.10); }
.section-heading h2, .order-card h2 { margin: 11px 0 0; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }

.product-story {
  margin: 0 12px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,245,238,.98));
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(81,58,39,.08);
}
.story-main-image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story-body { padding: 21px; }
.story-body > p { margin: 0; color: #5d554d; font-size: 15px; line-height: 1.7; }
.story-body > p + p { margin-top: 13px; }
.features { display: grid; gap: 10px; margin-top: 18px; }
.feature { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: rgba(246,237,226,.88); border: 1px solid rgba(126,76,41,.08); }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 15px; color: var(--accent-deep); background: #fff9f1; font-size: 13px; font-weight: 850; }
.feature strong { display: block; margin: 2px 0 5px; font-size: 14px; }
.feature p { margin: 0; color: #71665c; font-size: 13px; line-height: 1.5; }
.usage-note { margin-top: 18px; padding: 17px; border-radius: 21px; background: linear-gradient(180deg, #fffaf4, #f3e6d8); border: 1px solid rgba(126,76,41,.10); }
.usage-note h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.usage-note p { margin: 0; color: #665b52; font-size: 14px; line-height: 1.62; }
.setup-image { width: 100%; margin-top: 16px; border-radius: 20px; border: 1px solid var(--line); }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.detail { margin: 0; overflow: hidden; border-radius: 19px; background: #fff; border: 1px solid var(--line); }
.detail-wide { grid-column: 1 / -1; }
.detail img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.detail-wide img { aspect-ratio: 1.2 / 1; }
.detail figcaption { padding: 11px 12px 13px; color: #71675e; font-size: 12px; line-height: 1.48; }

.reviews-carousel { position: relative; margin: 0 12px; }
.carousel-viewport { overflow: hidden; border-radius: 28px; }
.carousel-track { display: flex; transition: transform .36s ease; }
.review-card { flex: 0 0 100%; min-width: 100%; min-height: 232px; padding: 25px 22px 23px; border-radius: 28px; background: linear-gradient(155deg, #fffdf9, #f2e5d8); border: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.review-avatar { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-deep); background: #ead4bf; font-weight: 850; }
.review-head h3 { margin: 0 0 3px; font-size: 17px; }
.review-head span:not(.review-avatar) { color: #8d8074; font-size: 12px; }
.review-card p { margin: 0; color: #5f574f; font-size: 15px; line-height: 1.72; }
.carousel-arrow { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; transform: translateY(-50%); border: 1px solid rgba(111,76,48,.14); border-radius: 50%; background: rgba(255,253,249,.92); cursor: pointer; box-shadow: 0 8px 22px rgba(72,50,33,.10); }
.carousel-arrow::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto; border-top: 2px solid var(--accent-deep); border-right: 2px solid var(--accent-deep); }
.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: 14px 0 0; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(123,68,36,.22); }
.carousel-dots button.is-active { background: var(--accent-deep); }

.order-card { margin: 0 12px; padding: 23px 21px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,234,224,.98)); border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(81,58,39,.08); }
.order-lead { margin: 12px 0 20px; color: #645c54; font-size: 14px; line-height: 1.62; }
.field-group { margin-bottom: 15px; }
.field-group label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 750; }
.field-group input { width: 100%; height: 54px; padding: 0 15px; border: 1px solid rgba(116,78,50,.16); border-radius: 17px; outline: none; color: var(--text); background: rgba(255,255,255,.98); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.field-group input:focus { border-color: rgba(155,91,50,.58); box-shadow: 0 0 0 4px rgba(168,100,53,.10); }
.field-group input::placeholder { color: #aaa096; }
.field-group.has-error input { border-color: var(--danger); background: #fff7f5; box-shadow: 0 0 0 4px rgba(170,73,62,.08); }
.field-error, .form-status { min-height: 18px; margin: 7px 0 0; color: var(--danger); font-size: 12px; line-height: 1.4; }
.form-status { color: var(--success); text-align: center; }
.form-status.is-error { color: var(--danger); }
.privacy-note { margin: 11px 0 0; color: #857b72; font-size: 11px; line-height: 1.48; text-align: center; }

.site-footer { padding: 28px 18px 8px; color: #696158; text-align: center; }
.footer-title { margin-bottom: 11px; font-size: 11px; font-weight: 850; letter-spacing: .09em; }
.site-footer p { margin: 0 0 11px; font-size: 12px; line-height: 1.6; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.footer-links a { color: #564d45; font-size: 12px; text-decoration: none; border-bottom: 1px solid rgba(86,77,69,.25); }
.registry-note { color: #8a8178; }

@media (min-width: 441px) {
  .page-shell { padding-top: 18px; }
}
@media (max-width: 350px) {
  .hero-media, .product-story, .reviews-carousel, .order-card { margin-left: 8px; margin-right: 8px; }
  .hero-media, .hero-media > img { min-height: 480px; height: 480px; }
  .hero-title-wrap h1 { font-size: 31px; }
  .price-old, .price-current { font-size: 23px; }
  .story-body { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { transition: none; }
}
