:root {
  --bg: #f6f6f4;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #626262;
  --line: #dededb;
  --graphite: #1d1d1f;
  --graphite-2: #2c2c2f;
  --red: #e5262f;
  --red-dark: #bd121b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 17, 17, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #f8f8f8;
  background: rgba(17, 17, 17, .92);
  backdrop-filter: blur(12px);
}

.topbar__inner {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 0;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 13px;
}

.hero {
  padding: 34px 0 56px;
  background:
    linear-gradient(145deg, rgba(17,17,17,.08), transparent 30%),
    var(--bg);
}

.hero__grid {
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 8vw, 68px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.15;
}

.hero__lead,
.gift-block__copy > p,
.final-cta p,
.order-grid > div > p {
  color: var(--muted);
}

.hero__lead {
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 18px;
}

.product-shot {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 18%, rgba(229, 38, 47, .18), transparent 34%),
    linear-gradient(140deg, #ffffff 0%, #ededeb 54%, #d7d7d5 100%);
  box-shadow: var(--shadow);
}

.product-shot img {
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  padding: 18px;
}

.product-shot.is-empty::after {
  content: "Фото товару";
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  color: rgba(17,17,17,.46);
  border: 1px dashed rgba(17,17,17,.25);
  border-radius: var(--radius);
  font-weight: 800;
}

.hero__media {
  min-height: 360px;
}

.gift-ribbon,
.bow,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.gift-ribbon {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(229, 38, 47, .28);
}

.hero__offer {
  display: grid;
  gap: 16px;
}

.price-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 6px 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(17, 17, 17, .08);
}

.price-card__old,
.price-inline span {
  color: #8b8b8b;
  text-decoration: line-through;
}

.price-card__new {
  font-size: 34px;
  line-height: 1;
}

.price-card__note {
  grid-column: 1 / -1;
  color: var(--red);
  font-weight: 800;
}

.hero-benefits,
.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.hero-benefits li,
.check-list li,
.tag-grid span,
.pill-row span {
  position: relative;
  padding: 12px 12px 12px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  font-weight: 750;
}

.hero-benefits li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 34px rgba(229, 38, 47, .3);
}

.microcopy,
.disclaimer,
.footer {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 58px 0;
}

.section--dark {
  color: #fff;
  background: linear-gradient(180deg, var(--graphite), #111);
}

.section--dark .eyebrow,
.section--dark h2 {
  color: #fff;
}

.section--dark p,
.section--dark .spec-table span {
  color: #c8c8c8;
}

.section--soft {
  background: #ededeb;
}

.section__head {
  max-width: 720px;
  margin-bottom: 24px;
}

.benefit-layout,
.gift-block,
.kit-grid,
.specs-grid,
.final-cta__grid,
.order-grid {
  display: grid;
  gap: 24px;
}

.benefit-cards,
.reviews,
.steps {
  display: grid;
  gap: 14px;
}

.info-card,
.step,
.review-card,
.kit-card,
.order-form {
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(17,17,17,.07);
}

.info-card,
.step,
.review-card,
.kit-card {
  padding: 18px;
}

.info-card p,
.review-card p {
  margin: 0;
  color: var(--muted);
}

.card-number {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.product-shot--tall,
.product-shot--gift,
.product-shot--kit,
.product-shot--specs,
.product-shot--final {
  min-height: 340px;
}

.gift-block__copy {
  align-self: center;
}

.badge--red,
.bow {
  color: #fff;
  background: var(--red);
}

.badge {
  margin: 8px 0 18px;
  padding: 9px 13px;
}

.bow {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 9px 12px;
}

.steps {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #fff;
  border-radius: 50%;
  background: var(--ink);
  font-weight: 900;
}

.product-shot--wide {
  min-height: 260px;
  margin-top: 4px;
}

.section--video {
  color: #fff;
  background: #151515;
}

.section--video p:not(.eyebrow) {
  color: #d0d0d0;
}

.video-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.video-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: #080808;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 720px;
  background: #000;
  object-fit: contain;
}

.disclaimer {
  max-width: 820px;
  margin: 16px 0 0;
}

.tag-grid,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-grid span,
.pill-row span {
  padding-left: 14px;
}

.spec-table {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}

.mini-specs {
  display: grid;
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}

.mini-specs div {
  display: grid;
  grid-template-columns: minmax(112px, .72fr) 1fr;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mini-specs div:last-child {
  border-bottom: 0;
}

.mini-specs span {
  color: #c8c8c8;
}

.mini-specs strong {
  color: #fff;
  font-weight: 800;
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(116px, .8fr) 1fr;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table strong {
  color: #fff;
  font-weight: 800;
}

.reviews {
  grid-template-columns: 1fr;
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.avatar {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(17,17,17,.13);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card h3,
.review-card__top p {
  margin: 0;
}

.review-photo {
  aspect-ratio: 4 / 5;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--radius);
  background: #f2f2f0;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--radius);
  background: var(--paper);
}

summary {
  min-height: 56px;
  padding: 16px 46px 16px 16px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
}

.final-cta {
  color: #fff;
  background: #111;
}

.final-cta p {
  color: #d0d0d0;
}

.price-inline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 22px 0;
}

.price-inline strong {
  font-size: 38px;
}

.pill-row {
  margin-bottom: 20px;
}

.pill-row span {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

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

.order-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.order-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--red);
  font-weight: 800;
}

.footer {
  padding: 28px 0;
  background: #fff;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--red);
}

.legal-page {
  min-height: 100vh;
  padding: 44px 0;
  background: var(--bg);
}

.legal-card {
  max-width: 860px;
  padding: 22px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(17,17,17,.08);
}

.legal-card h1 {
  font-size: clamp(30px, 7vw, 54px);
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 20px;
}

@media (min-width: 680px) {
  .hero-benefits,
  .steps,
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .hero {
    padding-top: 54px;
  }

  .hero__grid {
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
  }

  .hero__content {
    grid-column: 1 / -1;
  }

  .hero__media {
    min-height: 500px;
  }

  .hero__offer {
    align-self: stretch;
    align-content: center;
  }

  .benefit-layout,
  .gift-block,
  .kit-grid,
  .specs-grid,
  .final-cta__grid,
  .order-grid,
  .video-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reviews {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-shot--tall {
    min-height: 620px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .topbar__inner {
    justify-content: flex-start;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .price-card {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .mini-specs div {
    grid-template-columns: 1fr;
  }

  .footer {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 10px;
  }

  .footer-links a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f6f6f4;
  }
}

@media (max-width: 919px) {
  .benefit-layout > .product-shot,
  .gift-block > .product-shot,
  .video-grid > .video-card,
  .kit-grid > .product-shot,
  .final-cta__grid > .product-shot {
    order: -1;
  }
}
