/* «Улётный виски» — тёмная тема: чёрный, янтарь, золото */
:root {
  --bg: #0b0907;
  --bg-2: #120e0a;
  --surface: #18130e;
  --surface-2: #211a13;
  --line: rgba(201, 164, 92, .2);
  --line-strong: rgba(201, 164, 92, .45);
  --gold: #c9a45c;
  --gold-hi: #e4c88a;
  --amber: #c47a22;
  --amber-deep: #8a4b12;
  --text: #efe6d6;
  --text-2: #c9bba6;
  --muted: #968873;
  --danger: #e07a5f;
  --ok: #8fbf7f;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 2px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration-color: rgba(228, 200, 138, .4); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: #fff3d6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; color: #f6eddc; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
h1, h2, h3, .price, .cart-row__sum, .cart__total strong, .fact__num, .timeline__year, .success__row--total, .logo__name, .contact-card__value, .related__title, .article-index__title { font-variant-numeric: lining-nums; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
::selection { background: var(--amber); color: #fff; }

.icon { flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #000; padding: 8px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.eyebrow {
  display: inline-block;
  font: 600 .74rem/1.4 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.nowrap { white-space: nowrap; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 28px;
  font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--gold); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s;
  white-space: nowrap;
}
.btn--gold { background: linear-gradient(135deg, #d9b56c, #b8893c); color: #120c05; border-color: #d4ad62; }
.btn--gold:hover { background: linear-gradient(135deg, #ecd092, #c99a48); color: #000; }
.btn--ghost { background: transparent; color: var(--gold-hi); }
.btn--ghost:hover { background: rgba(201, 164, 92, .12); color: #fff3d6; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .72rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Верхняя полоса и шапка ---------- */
.topbar { background: #070605; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--text-2); }
.topbar__in { display: flex; gap: 28px; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); text-decoration: none; }
.topbar__item .icon { color: var(--gold); }
.topbar__phone { color: var(--gold-hi); font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 9, 7, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--gold); flex: none; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font: 700 1.7rem/1 var(--serif); color: #f6eddc; letter-spacing: .01em; }
.logo__sub { font: 500 .6rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }
.logo:hover .logo__name { color: #fff; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 9px; font: 500 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); text-decoration: none; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: #fff3d6; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.nav .nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 6px; }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--gold-hi); border: 1px solid var(--line); border-radius: 50%; transition: border-color .2s, background .2s; }
.cart-link:hover { border-color: var(--gold); background: rgba(201, 164, 92, .08); color: #fff3d6; }
.cart-link__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: #fff; font: 700 .7rem/20px var(--sans); text-align: center; }
.cart-link__count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; background: none; border: 0; color: var(--gold-hi); width: 46px; height: 46px; cursor: pointer; padding: 0; place-items: center; }
.burger__close { display: none; }

/* ---------- Главный экран ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11, 9, 7, .97) 0%, rgba(11, 9, 7, .82) 38%, rgba(11, 9, 7, .25) 75%, rgba(11, 9, 7, .45) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(11, 9, 7, 0) 30%); }
.hero__in { padding-top: 80px; padding-bottom: 110px; }
.hero__title { font-size: clamp(3.4rem, 9vw, 7rem); font-weight: 600; line-height: .95; margin-bottom: .3em; background: linear-gradient(180deg, #f8e7c2 0%, #d8b06a 55%, #a8742e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }
.section--dark { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head h2 { margin-bottom: .3em; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; max-width: none; flex-wrap: wrap; }
.section__head--row h2, .section__head--row h1 { margin: 0; }
.section__more { text-align: center; margin: 44px 0 0; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.ornament span { width: 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { transform: scaleX(-1); }
.ornament i { width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- Карточка товара ---------- */
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s, box-shadow .3s; }
.product-card:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media, .product__media { position: relative; display: block; background: radial-gradient(circle at 50% 42%, #fffdf8 0%, #f3ebdd 58%, #e2d4bd 100%); overflow: hidden; }
.product-card__media img, .product__media img { mix-blend-mode: multiply; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6%; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: #120c05; color: var(--gold-hi); border: 1px solid var(--gold); font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 10px; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.product-card__cat { font: 600 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.product-card__title { font-size: 1.6rem; margin-bottom: .45rem; }
.product-card__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover { color: var(--gold-hi); }
.product-card__meta { color: var(--text-2); font-size: .9rem; margin: 0; }
.product-card__meta--sub { color: var(--muted); margin-top: 2px; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; flex-wrap: wrap; }
.price { font: 600 1.7rem/1 var(--serif); color: var(--gold-hi); white-space: nowrap; }
.price--lg { font-size: clamp(2.2rem, 4vw, 2.8rem); }

/* ---------- Почему мы ---------- */
.why__item { text-align: center; padding: 8px 12px; }
.why__icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); margin-bottom: 22px; position: relative; }
.why__icon::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); border-radius: 50%; }
.why__item p { color: var(--text-2); max-width: 22rem; margin: 0 auto; }

/* ---------- Новости ---------- */
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.news-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.news-card__media { overflow: hidden; display: block; }
.news-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 22px 24px 26px; }
.news-card__date { display: block; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.news-card__title { font-size: 1.45rem; margin-bottom: .5rem; }
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: var(--gold-hi); }
.news-card__text { color: var(--text-2); font-size: .95rem; margin: 0; }

/* ---------- Статьи (анонс на главной) ---------- */
.articles-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.articles-teaser__intro p { color: var(--text-2); margin-bottom: 1.8rem; }
.article-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-index li { border-bottom: 1px solid var(--line); }
.article-index a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; padding: 22px 4px; color: var(--text); text-decoration: none; transition: background .25s, padding .25s; }
.article-index a:hover { background: rgba(201, 164, 92, .06); padding-left: 14px; }
.article-index__num { font: italic 500 1.5rem/1 var(--serif); color: var(--gold); }
.article-index__title { font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.25 var(--serif); }
.article-index__arrow { color: var(--gold); transition: transform .25s; }
.article-index a:hover .article-index__arrow { transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(196, 122, 34, .28), transparent 65%); }
.cta__in { max-width: 680px; }
.cta p { color: var(--text-2); margin-bottom: 1.8rem; font-size: 1.1rem; }

/* ---------- Внутренние страницы ---------- */
.page-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 15% 0%, rgba(196, 122, 34, .16), transparent 60%), var(--bg-2); isolation: isolate; overflow: hidden; }
.page-hero--image { padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 96px); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 9, 7, .96), rgba(11, 9, 7, .7) 55%, rgba(11, 9, 7, .35)), linear-gradient(0deg, rgba(11, 9, 7, .9), transparent 40%); }
.page-hero h1 { max-width: 860px; }
.page-hero__lead { max-width: 640px; font-size: 1.12rem; color: var(--text-2); margin: 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 28px; padding: 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-strong); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span { color: var(--muted); }

.prose { font-size: 1.06rem; color: var(--text-2); }
.prose--narrow { max-width: 780px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); margin-top: 1.7em; color: #f6eddc; }
.prose h2:first-child { margin-top: 0; }
.prose strong { color: var(--text); }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }
.lead { font: 500 clamp(1.3rem, 2.2vw, 1.6rem)/1.45 var(--serif); color: var(--text); }

.prose-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fact { background: var(--surface); padding: 28px 30px; display: flex; flex-direction: column; }
.fact__num { font: 600 2.6rem/1 var(--serif); color: var(--gold-hi); }
.fact__label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding: 0 0 40px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 136px; top: 10px; width: 9px; height: 9px; background: var(--bg-2); border: 1px solid var(--gold); transform: rotate(45deg); }
.timeline__year { font: 600 1.5rem/1.2 var(--serif); color: var(--gold-hi); text-align: right; padding-right: 8px; }
.timeline h3 { margin-bottom: .3em; }
.timeline p { color: var(--text-2); margin: 0; }

.info-card { background: var(--surface); border: 1px solid var(--line); padding: 36px 32px; }
.info-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); margin-bottom: 20px; }
.info-card h2 { font-size: 1.8rem; }
.info-card p { color: var(--text-2); margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps li { background: var(--bg-2); padding: 34px 28px; }
.steps__num { display: block; font: italic 500 2.6rem/1 var(--serif); color: var(--gold); margin-bottom: 18px; }
.steps h3 { font-size: 1.4rem; }
.steps p { color: var(--text-2); margin: 0; font-size: .95rem; }

.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 32px 28px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .25s, transform .25s; }
a.contact-card:hover { border-color: var(--gold); transform: translateY(-3px); color: var(--text); }
.contact-card__icon { color: var(--gold-hi); margin-bottom: 10px; }
.contact-card__label { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.contact-card__value { font: 600 1.35rem/1.3 var(--serif); overflow-wrap: anywhere; }
.contacts-extra { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.contacts-extra p:not(.eyebrow) { color: var(--text-2); }

/* ---------- Каталог и товар ---------- */
.catalog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--gold); color: var(--gold-hi); font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: rgba(201, 164, 92, .08); }
.chip span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--gold); color: #120c05; font-size: .7rem; letter-spacing: 0; }
.catalog-bar__note { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .9rem; margin: 0; }
.catalog-bar__note .icon { color: var(--gold); }

.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product__media { border: 1px solid var(--line); }
.product__title { font-size: clamp(2.2rem, 4.2vw, 3.3rem); margin-bottom: .3em; }
.product__short { color: var(--text-2); margin-bottom: 1.4rem; }
.product__price { margin: 0 0 .8rem; }
.stock { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .9rem; margin-bottom: 1.6rem; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(143, 191, 127, .15); }
.buy { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 1.4rem; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); height: 50px; }
.qty button { width: 44px; background: none; border: 0; color: var(--gold-hi); font-size: 1.3rem; cursor: pointer; }
.qty button:hover { background: rgba(201, 164, 92, .1); }
.qty input { width: 48px; text-align: center; background: none; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--text); font: 600 1rem var(--sans); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 40px; }
.product__help { font-size: .9rem; color: var(--muted); }
.product__desc { color: var(--text-2); font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.product__details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.product__details h2 { font-size: 2rem; }
.specs, .notes { margin: 0; }
.specs div, .notes div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt, .notes dt { color: var(--muted); font-size: .9rem; }
.specs dd, .notes dd { margin: 0; color: var(--text); }
.notes dt { font: italic 500 1.2rem/1.4 var(--serif); color: var(--gold); }
.related { display: block; margin-top: 32px; padding: 22px 24px; border: 1px solid var(--line-strong); text-decoration: none; background: rgba(201, 164, 92, .05); }
.related .eyebrow { margin-bottom: .5rem; }
.related__title { display: block; font: 600 1.35rem/1.3 var(--serif); color: var(--text); }
.related:hover { border-color: var(--gold); }

/* ---------- Корзина ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row:first-child { border-top: 1px solid var(--line); }
.cart-row__img { background: radial-gradient(circle, #fffdf8, #e8dcc8); }
.cart-row__img img { mix-blend-mode: multiply; aspect-ratio: 1; object-fit: contain; padding: 6px; }
.cart-row__name { font: 600 1.3rem/1.2 var(--serif); color: var(--text); text-decoration: none; display: block; margin-bottom: 4px; }
.cart-row__meta { color: var(--muted); font-size: .85rem; margin-bottom: 10px; }
.cart-row__controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-row__remove { background: none; border: 0; color: var(--muted); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px; }
.cart-row__remove:hover { color: var(--danger); }
.cart-row__sum { font: 600 1.4rem/1 var(--serif); color: var(--gold-hi); white-space: nowrap; text-align: right; }
.cart__empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); }
.cart__empty p { font: 500 1.5rem/1.3 var(--serif); color: var(--text-2); }
.cart__checkout { background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); position: sticky; top: 110px; }
.cart__checkout h2 { font-size: 1.9rem; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; margin: 8px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart__total span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cart__total strong { font: 600 2rem/1 var(--serif); color: var(--gold-hi); }

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.field small { text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: 400 1rem/1.4 var(--sans); padding: 13px 14px; border-radius: var(--radius); transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(201, 164, 92, .18); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); flex: none; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border: 1px solid var(--line-strong); background: rgba(201, 164, 92, .06); color: var(--text-2); }
.notice--error { border-color: rgba(224, 122, 95, .6); background: rgba(224, 122, 95, .08); color: #f2c3b5; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice p { margin: 0; }

.success { text-align: center; }
.success__in { max-width: 680px; }
.success__icon { display: inline-grid; place-items: center; width: 110px; height: 110px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold-hi); margin-bottom: 26px; }
.success__lead { font-size: 1.15rem; color: var(--text-2); }
.success__summary { text-align: left; border: 1px solid var(--line); background: var(--surface); padding: 8px 24px; margin: 28px 0; }
.success__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.success__row:last-child { border-bottom: 0; }
.success__row--total { font: 600 1.4rem/1 var(--serif); color: var(--gold-hi); }
.success .hero__actions { justify-content: center; }

/* ---------- Новость / статья ---------- */
.entry__head { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); }
.entry__head h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.entry__lead { font: 500 clamp(1.2rem, 2vw, 1.45rem)/1.45 var(--serif); color: var(--text-2); margin: 0; }
.entry__cover { margin: 0 auto clamp(36px, 5vw, 56px); }
.entry__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
.entry .prose { padding-bottom: clamp(32px, 5vw, 64px); }
.next-article { text-align: center; }
.next-article a { display: inline-flex; align-items: center; gap: 14px; font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.25 var(--serif); color: var(--text); text-decoration: none; }
.next-article a:hover { color: var(--gold-hi); }
.next-article .icon { color: var(--gold); flex: none; }

.article-list { display: grid; gap: clamp(24px, 3vw, 36px); }
.article-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.article-row:hover { border-color: var(--line-strong); }
.article-row__media { overflow: hidden; display: block; }
.article-row__media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; transition: transform .6s ease; }
.article-row:hover .article-row__media img { transform: scale(1.04); }
.article-row__body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.article-row__num { font: italic 500 1.6rem/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.article-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.article-row h2 a { color: inherit; text-decoration: none; }
.article-row h2 a:hover { color: var(--gold-hi); }
.article-row p { color: var(--text-2); }
.article-row__meta { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Админка ---------- */
.admin__login { max-width: 420px; margin: 40px auto; }
.admin__count { font-size: .55em; color: var(--gold); vertical-align: middle; }
.admin__table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.admin__table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin__table th, .admin__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.admin__table th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: var(--surface); }
.admin__table small { color: var(--muted); }

/* ---------- Подвал ---------- */
.footer { background: #070605; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 80px) 0 28px; font-size: .92rem; color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; }
.footer__brand p { margin-top: 20px; max-width: 22rem; color: var(--muted); }
.logo--footer .logo__name { font-size: 1.6rem; }
.footer__h { font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 6px 0 20px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__list a { color: var(--text-2); text-decoration: none; }
.footer__list a:hover { color: var(--gold-hi); }
.footer__contacts li, .footer__contacts a { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer__contacts .icon { color: var(--gold); margin-top: 4px; }
.footer__warning { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 48px 0 0; padding: 22px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; flex-wrap: wrap; }
.footer__warning p { margin: 0; font: 600 clamp(1.05rem, 2.2vw, 1.4rem)/1.3 var(--serif); color: var(--text); letter-spacing: .02em; }
.age-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--gold); border-radius: 50%; font: 700 1rem/1 var(--sans); color: var(--gold-hi); flex: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: var(--muted); }
.credits summary { cursor: pointer; }
.credits p { margin: 8px 0 0; max-width: 520px; }
.credits a { color: var(--text-2); }

/* ---------- Проверка возраста ---------- */
.agegate { border: 0; padding: 0; background: transparent; max-width: 520px; width: calc(100% - 32px); color: var(--text); }
.agegate::backdrop { background: rgba(5, 4, 3, .92); backdrop-filter: blur(6px); }
.agegate__box { background: var(--surface); border: 1px solid var(--gold); padding: clamp(32px, 5vw, 48px); text-align: center; box-shadow: var(--shadow); position: relative; }
.agegate__box::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.agegate__mark { display: block; width: 60px; height: 60px; color: var(--gold); margin: 0 auto 18px; }
.agegate h2 { font-size: clamp(1.8rem, 5vw, 2.3rem); }
.agegate__text { color: var(--text-2); }
.agegate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.agegate__deny { color: var(--gold-hi); font: 500 1.25rem/1.4 var(--serif); margin: 24px 0 0; }

/* ---------- Уведомление ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--surface-2); border: 1px solid var(--gold); color: var(--text); padding: 14px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; font-size: .92rem; max-width: calc(100% - 32px); animation: toast-in .3s ease; }
.toast a { white-space: nowrap; font-weight: 600; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 9, 7, .97); }
  body.nav-open .header { z-index: 80; }
  .burger { display: inline-grid; }
  .nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(360px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); padding: 96px 28px 32px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 60; margin: 0; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 16px 0; font-size: .86rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 0; border: 0; color: var(--gold-hi); font: 600 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
  .header__actions { margin-left: auto; position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: none; }
  body.nav-open .burger__open { display: none; }
  body.nav-open .burger__close { display: block; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 55; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-teaser, .prose-split, .product__grid, .product__details, .cart, .contacts-extra { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart__checkout { position: static; }
  .article-row { grid-template-columns: minmax(0, 1fr); }
  .article-row__media img { min-height: 0; aspect-ratio: 16 / 9; }
  .topbar__item:not(.topbar__phone):nth-child(1) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .grid--3, .grid--2, .steps, .contact-grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .topbar__in { justify-content: center; gap: 18px; }
  .topbar__item:nth-child(2) { display: none; }
  .header__in { min-height: 70px; gap: 12px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__name { font-size: 1.4rem; }
  .logo__sub { font-size: .56rem; letter-spacing: .16em; }
  .hero { min-height: auto; }
  .hero__in { padding-top: 64px; padding-bottom: 96px; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 9, 7, .6) 0%, rgba(11, 9, 7, .85) 55%, var(--bg) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .timeline::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .timeline__year { text-align: left; }
  .specs div, .notes div { grid-template-columns: 1fr; gap: 4px; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row__sum { grid-column: 2; text-align: left; }
  .footer__warning { flex-direction: column; gap: 12px; }
  .article-index a { grid-template-columns: 40px 1fr auto; gap: 12px; }
  .buy .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
