:root {
  --snow: #f4f5f7;
  --white: #fff;
  --ink: #1d1d1f;
  --mute: #6b6e76;
  --line: #e6e7eb;
  --yellow: #f5c518;
  --yellow-dark: #e0b000;
  --danger: #9f1d1d;
  --ok: #1b7a4a;
  --header: #18181b;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(29, 29, 31, 0.06);
  --top: 30px;
  --bar: 64px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--snow);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, .banner-title { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; }
.banner-title { font-weight: 700; margin-bottom: 8px; }

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.skip:focus {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  background: #fff; padding: 8px 12px;
}

.topbar {
  height: var(--top);
  background: var(--header);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 700;
}
.topbar .wrap, .topbar p {
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.topbar span + span::before { content: "·"; margin-right: 8px; opacity: .6; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid #e9e9ed;
}
.header__row {
  min-height: var(--bar);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand i {
  width: 34px; height: 34px; border-radius: 9px; background: var(--header);
  display: grid; place-items: center;
}
.brand i::before {
  content: "";
  width: 12px; height: 18px; border-radius: 6px; background: var(--yellow);
  box-shadow: 0 -5px 0 -2px var(--yellow);
}
.brand em { font-style: normal; color: #9a7600; }
.nav { display: none; gap: 18px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 650; color: #3a3a40; }
.nav a[aria-current="page"] { color: var(--ink); }
.header__tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cart-link, .menu-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 700;
}
.cart-link strong {
  min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--yellow);
  display: grid; place-items: center; font-size: .85rem;
}
.menu-btn { width: 42px; padding: 0; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 2px; background: var(--ink); position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px 16px;
}
.drawer.is-open { display: grid; }
.drawer a { padding: 12px 0; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--line); }

.banner { padding: 16px 0 8px; }
.slides { position: relative; min-height: 240px; }
.slide {
  display: none;
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.slide.is-on { display: block; }
.kicker { color: #9a7600; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; margin-bottom: 8px; }
.lead { color: #3f4248; font-size: 1.05rem; max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.slide__nav { display: flex; gap: 8px; margin-top: 12px; }
.dot {
  width: 10px; height: 10px; border-radius: 99px; border: 0; background: #d5d6db; padding: 0;
}
.dot.is-on { background: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--ink); background: #fff; color: var(--ink);
  text-decoration: none; font-weight: 800;
}
.btn--yellow { background: var(--yellow); border-color: var(--yellow); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--small { min-height: 38px; font-size: .92rem; }
.btn--danger { color: var(--danger); border-color: #e7c4c4; background: #fff; }

.trust, .steps, .series, .grid { display: grid; gap: 12px; }
.trust { grid-template-columns: 1fr 1fr; margin: 8px 0 20px; }
.trust article, .step, .series a, .card, .panel, .cod {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust article { padding: 14px; }
.trust strong { display: block; font-size: 1.05rem; }
.trust span, .mute { color: var(--mute); }

.section { padding: 12px 0 28px; }
.section__head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 14px; }
.section__head a { font-weight: 700; }

.grid { grid-template-columns: 1fr 1fr; }
.card { overflow: hidden; display: flex; flex-direction: column; }
.card__media { background: #f7f7f8; aspect-ratio: 1; }
.card__media img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { margin: 0; color: var(--mute); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card h3 { font-size: 1rem; margin: 0; }
.card h3 a { text-decoration: none; }
.card__line { color: var(--mute); font-size: .92rem; margin: 0; min-height: 2.6em; }
.card__price { margin: 0; font-size: 1.15rem; }
.card .btn { margin-top: auto; }

.steps { grid-template-columns: 1fr; }
.step { padding: 16px; }
.step b {
  width: 32px; height: 32px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; margin-bottom: 8px;
}
.series { grid-template-columns: 1fr; }
.series a { padding: 16px; text-decoration: none; display: block; border-left: 6px solid var(--swatch, var(--ink)); }
.series strong { display: block; }

.faq details { background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 8px 0 0; color: #3f4248; }

.cta {
  margin-top: 18px;
  background: var(--header);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 12px;
}
.cta .kicker { color: var(--yellow); }
.cta p { color: rgba(255,255,255,.8); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--mute); font-size: .92rem; margin: 16px 0; }
.crumbs a { color: var(--ink); }

.product { display: grid; gap: 18px; padding-bottom: 36px; }
.product__photo { background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.product__photo img { width: 100%; border-radius: 12px; }
.price { font-size: 2rem; font-weight: 800; margin: 8px 0; }
.specs { display: grid; gap: 8px; margin: 14px 0; }
.specs div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.specs dt { color: var(--mute); }
.specs dd { margin: 0; text-align: right; font-weight: 700; }
.qty { display: flex; gap: 8px; align-items: center; }
.qty input, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border: 1px solid #d5d7de; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.qty input { width: 88px; }
.note { color: var(--mute); font-size: .92rem; }

.layout { display: grid; gap: 16px; padding-bottom: 28px; }
.filters { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.filters h2 { font-size: 1rem; }
.filters a, .filters label { display: block; padding: 6px 0; text-decoration: none; }
.filters a.is-on { font-weight: 800; }
.pager { display: flex; gap: 8px; justify-content: center; margin: 16px 0 28px; }
.pager a, .pager span { min-width: 40px; min-height: 40px; display: grid; place-items: center; background: #fff; border-radius: 10px; text-decoration: none; }

.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; }
.cart-item img { width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: var(--snow); }
.totals { background: #fff; border-radius: 14px; padding: 14px; }
.totals row, .totals p { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-size: 1.25rem; font-weight: 800; }

.cod {
  background: #fff8dc;
  border: 2px solid var(--yellow);
  border-radius: 14px;
  padding: 14px;
  margin: 12px 0;
}
.cod strong { display: block; font-size: 1.15rem; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; }
.field span { font-weight: 700; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: #fff; }
.errors { background: #fff1f1; color: var(--danger); border-radius: 10px; padding: 10px 12px; }
.prose { background: #fff; border-radius: 16px; padding: 18px 16px 28px; box-shadow: var(--shadow); }
.prose h1 { margin-bottom: 8px; }
.order-no { font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: .04em; }

.footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 18px; margin-top: 12px; }
.footer__grid { display: grid; gap: 18px; }
.footer h2 { font-size: 1rem; }
.footer a { display: block; text-decoration: none; padding: 4px 0; color: #3a3a40; }
.footer-contact { margin-top: 12px; display: grid; gap: 10px; }
.footer-contact p { margin: 0; }
.footer-contact span { display: block; color: var(--mute); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.footer-contact a { padding: 0; font-weight: 700; word-break: break-word; }
.contact-cards { display: grid; gap: 12px; margin: 4px 0 18px; }
.contact-card {
  display: grid; gap: 4px; text-decoration: none;
  background: #fff8dc; border: 2px solid var(--yellow); border-radius: 14px; padding: 14px 16px;
}
.contact-card span { color: #9a7600; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.contact-card strong { font-size: 1.05rem; word-break: break-word; }
.legal { color: var(--mute); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.health-warning {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #fff1f1;
  color: #9f1d1d;
  border: 2px solid #9f1d1d;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.legal .health-warning { margin-bottom: 0; }

.gate {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(18, 18, 20, .72);
  display: grid; place-items: center; padding: 18px;
}
.gate[hidden], .cookie[hidden] { display: none; }
.gate__card, .cookie__card {
  width: min(440px, 100%);
  background: #fff; border-radius: 18px; padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.gate__actions { display: grid; gap: 8px; margin-top: 14px; }
body:not(.age-ok) .header,
body:not(.age-ok) main,
body:not(.age-ok) .footer { display: none; }
body.age-no #age-gate { display: none; }
body.age-no #age-block { display: grid; }
.cookie {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(18,18,20,.45);
  display: grid; place-items: end center;
  padding: 12px;
}
.cookie__card { width: min(760px, 100%); margin-inline: auto; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.empty { padding: 28px 0 48px; }

.admin-bar { background: var(--header); color: #fff; }
.admin-bar .wrap { display: flex; gap: 14px; align-items: center; min-height: 56px; flex-wrap: wrap; }
.admin-bar a { color: #fff; font-weight: 700; text-decoration: none; }
.admin { padding: 18px 0 40px; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 99px; background: #f4f5f7; font-size: .85rem; font-weight: 700; }

@media (min-width: 760px) {
  .nav { display: flex; }
  .menu-btn, .drawer { display: none !important; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .series { grid-template-columns: repeat(5, 1fr); }
  .product { grid-template-columns: 1fr 1fr; align-items: start; }
  .layout { grid-template-columns: 240px 1fr; align-items: start; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .slide { padding: 42px 40px; min-height: 280px; }
  .cta { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 1040px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
  .topbar span:nth-child(2) { display: none; }
  .grid { grid-template-columns: 1fr; }
}
