:root {
  --ink: #242322;
  --muted: #6d6965;
  --paper: #f5f3ef;
  --surface: #ffffff;
  --soft: #eae6e0;
  --line: rgba(36, 35, 34, 0.11);
  --accent: #b33b34;
  --accent-dark: #872a25;
  --charcoal: #191918;
  --radius: 28px;
  --shadow: 0 24px 64px rgba(37, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #e8e5e1;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.88), transparent 30rem),
    #e8e5e1;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(26, 25, 23, 0.10);
}

.hero {
  background: var(--surface);
}

.hero-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #77736f;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08) 28%, rgba(16, 16, 16, 0.72) 100%);
}

.hero-heading {
  position: absolute;
  inset: auto 24px 28px;
  z-index: 1;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero h1 {
  margin: 0;
  font-size: clamp(45px, 13vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-content {
  padding: 25px 24px 30px;
}

.hero-copy {
  margin: 0 0 20px;
  color: #56524e;
  font-size: 16px;
  line-height: 1.55;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1;
}

.old-price {
  color: #99938d;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.new-price {
  color: var(--ink);
  font-weight: 800;
}

.discount {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1dfdc;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.primary-button,
.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 17px;
  background: var(--charcoal);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(22, 22, 21, 0.17);
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:active,
.submit-button:active {
  transform: translateY(1px);
}

.sold {
  margin: 11px 0 0;
  color: #89837d;
  text-align: center;
  font-size: 12px;
}

.product-section,
.reviews-section,
.order-section {
  padding: 54px 20px;
}

.product-section {
  background: linear-gradient(180deg, #ece9e4 0%, #f3f1ed 42%, #e7e3dd 100%);
}

.section-intro {
  margin: 0 4px 22px;
}

.section-kicker {
  color: var(--accent-dark);
}

.section-intro h2,
.order-card h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(35, 33, 31, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card-body {
  padding: 24px 22px 25px;
}

.product-card-body > p {
  margin: 0 0 14px;
  color: #5e5a56;
  font-size: 15px;
  line-height: 1.65;
}

.spec-list {
  margin: 23px 0 0;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.spec-list dt {
  color: #8a847d;
}

.spec-list dd {
  color: #3e3b38;
  font-weight: 650;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.detail-photo,
.detail-note {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.detail-photo-large {
  grid-column: 1 / -1;
}

.detail-photo img {
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-photo-large img {
  aspect-ratio: 1.6 / 1;
}

.detail-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
  padding: 18px;
  background: var(--charcoal);
  color: #fff;
}

.detail-note span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.detail-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  line-height: 1.5;
}

.reviews-section {
  background: #f9f8f5;
}

.section-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.review-count {
  flex: 0 0 auto;
  padding-bottom: 4px;
  color: #8c867f;
  font-size: 12px;
}

.reviews-carousel {
  overflow: hidden;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.reviews-track {
  display: flex;
  transition: transform 420ms cubic-bezier(.22,.7,.25,1);
}

.review-slide {
  flex: 0 0 100%;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.review-head {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e7e3dd;
  color: #4e4a45;
  font-weight: 800;
}

.review-head div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-head strong {
  font-size: 14px;
}

.review-head div span {
  color: #8d8780;
  font-size: 11px;
}

.stars {
  color: #b77b38;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.review-slide > p {
  margin: 0;
  color: #57534e;
  font-size: 15px;
  line-height: 1.62;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.carousel-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: #47433f;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  gap: 7px;
}

.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #c7c1bb;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.is-active {
  width: 21px;
  background: #47433f;
}

.order-section {
  scroll-margin-top: 12px;
  background: linear-gradient(180deg, #e5e1da 0%, #dcd7cf 100%);
}

.order-card {
  padding: 30px 23px 26px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.order-lead {
  margin: 13px 0 22px;
  color: #6f6963;
  font-size: 14px;
  line-height: 1.55;
}

.order-price {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 24px;
  padding: 17px 18px;
  border-radius: 18px;
  background: #f1efeb;
}

.order-price span {
  color: #77716a;
  font-size: 12px;
}

.order-price strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.order-price small {
  color: #9b625d;
  font-size: 10px;
}

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

.field-group label {
  display: block;
  margin: 0 0 7px 3px;
  color: #5f5a55;
  font-size: 12px;
  font-weight: 700;
}

.field-group input,
.field-group select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #d8d3cc;
  border-radius: 15px;
  outline: none;
  background: #fbfaf8;
  color: var(--ink);
  font-size: 16px;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-group input:focus,
.field-group select:focus {
  border-color: #67615b;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(71, 66, 60, 0.09);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #67615b;
  border-bottom: 2px solid #67615b;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.field-group select:invalid {
  color: #918b85;
}

.field-group select option {
  color: var(--ink);
}

.field-group.has-error input,
.field-group.has-error select {
  border-color: #b84b43;
  background: #fff9f8;
}

.field-error {
  display: block;
  min-height: 17px;
  margin: 5px 3px 0;
  color: #a3352f;
  font-size: 11px;
  line-height: 1.4;
}

.submit-button {
  margin-top: 5px;
  background: var(--accent);
  box-shadow: 0 12px 25px rgba(150, 45, 38, 0.22);
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-policy {
  margin: 12px auto 0;
  max-width: 310px;
  color: #918b85;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.form-policy a {
  text-underline-offset: 2px;
}

.form-status {
  margin: 10px 0 0;
  color: #a3352f;
  text-align: center;
  font-size: 12px;
}

.site-footer {
  padding: 35px 24px calc(34px + env(safe-area-inset-bottom));
  background: #191918;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.65;
}

.footer-title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer strong {
  color: rgba(255, 255, 255, 0.86);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 22px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 3px;
}

.registry,
.copyright {
  margin: 0;
}

.copyright {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.42);
}

@media (min-width: 481px) {
  body {
    padding: 22px 0;
  }

  .page-shell {
    border-radius: 34px;
  }
}

@media (max-width: 370px) {
  .hero-media {
    min-height: 460px;
  }

  .price-row {
    gap: 7px;
    font-size: 17px;
  }

  .section-intro h2,
  .order-card h2 {
    font-size: 27px;
  }

  .review-head {
    grid-template-columns: 38px 1fr;
  }

  .stars {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
