/* ============================================================
   Антикварный магазин «XIX век» — основной стиль
   Палитра: тёмное дерево, бронза, золото, пергамент.
   ============================================================ */

/* ---------- Шрифты (локальные, без внешних запросов) ---------- */
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-400-cyr.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-400-lat.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-500-cyr.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-500-lat.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-600-cyr.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-600-lat.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-700-cyr.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-700-lat.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-400-italic-cyr.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/cormorant-400-italic-lat.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-400-cyr.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-400-lat.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-500-cyr.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-500-lat.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-600-cyr.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-600-lat.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}

/* ---------- Токены ---------- */
:root {
    --ink:            #0c0705;
    --bg:             #17100b;
    --bg-deep:        #100a06;
    --panel:          #20160f;
    --panel-2:        #2a1c13;
    --panel-3:        #34241a;
    --line:           #4a3524;
    --line-soft:      #38281b;

    --gold:           #d8ab54;
    --gold-bright:    #f0cf87;
    --gold-deep:      #a97d33;
    --gold-soft:      rgba(216, 171, 84, .16);

    --text:           #efe4d4;
    --text-soft:      #c4b3a0;
    --text-mute:      #a3907a;

    --accent:         #9e2b20;
    --accent-bright:  #c2412f;

    --radius:         2px;
    --radius-lg:      4px;

    --shadow-card:    0 18px 40px -22px rgba(0, 0, 0, .95), 0 2px 0 rgba(216, 171, 84, .06) inset;
    --shadow-deep:    0 40px 80px -40px rgba(0, 0, 0, 1);

    --serif: 'Cormorant', 'Times New Roman', Georgia, serif;
    --sans:  'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --shell: 1280px;
    --gutter: clamp(16px, 3.2vw, 40px);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Тканевая фактура и тёплое свечение поверх фона */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(1100px 620px at 50% -8%, rgba(216, 171, 84, .10), transparent 62%),
        radial-gradient(760px 520px at 88% 12%, rgba(158, 43, 32, .07), transparent 68%),
        radial-gradient(900px 700px at 6% 88%, rgba(216, 171, 84, .045), transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-bright); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .01em;
    margin: 0 0 .5em;
    color: var(--text);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: rgba(216, 171, 84, .28); color: #fff; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ---------- Каркас ---------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 1;
}

.page {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px);
}

/* ---------- Верхняя полоса ---------- */
.topbar {
    position: relative;
    z-index: 5;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line-soft);
    font-size: 12.5px;
    letter-spacing: .06em;
    color: var(--text-mute);
}
.topbar__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 40px;
    /* Боковые отступы наследуем от .shell — иначе контент липнет к краю экрана */
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: var(--text-soft); }
.topbar a:hover { color: var(--gold); }
.topbar__dot { color: var(--gold-deep); }
.topbar__label { text-transform: uppercase; letter-spacing: .16em; font-size: 10.5px; color: var(--gold-deep); }

/* ---------- Шапка ---------- */
.header {
    position: relative;
    z-index: 4;
    background:
        linear-gradient(180deg, rgba(42, 28, 19, .96), rgba(23, 16, 11, .99)),
        var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px -40px #000;
}
.header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-deep) 22%, var(--gold) 50%, var(--gold-deep) 78%, transparent);
    opacity: .55;
}

.header__in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    /* Только вертикальные отступы: горизонтальные даёт .shell */
    padding-top: clamp(14px, 2vw, 22px);
    padding-bottom: clamp(14px, 2vw, 22px);
}

/* Логотип */
.brand { display: flex; align-items: center; gap: 16px; color: inherit; }
.brand:hover { color: inherit; }

.brand__mark {
    width: 56px; height: 56px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-deep);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(216, 171, 84, .22), rgba(0, 0, 0, .4) 70%);
    box-shadow: 0 0 0 3px rgba(216, 171, 84, .07), inset 0 0 12px rgba(0, 0, 0, .6);
    font-family: var(--serif);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .02em;
    color: var(--gold-bright);
}
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__over {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
}
.brand__name {
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 33px);
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    letter-spacing: .015em;
}
.brand__name em {
    font-style: normal;
    color: var(--gold-bright);
}
.brand__sub {
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* Навигация */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    position: relative;
    display: block;
    padding: 10px 16px;
    color: var(--text-soft);
    font-size: 13.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    opacity: .85;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--gold-bright); }

.header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    padding-left: 22px;
    border-left: 1px solid var(--line-soft);
}
.header__phone a {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: .02em;
    white-space: nowrap;
}
.header__phone a:hover { color: #fff; }
.header__phone span {
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* Мобильное меню */
.burger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: var(--radius);
    color: var(--gold);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.burger svg { width: 20px; height: 20px; }

/* ---------- Двухколоночный макет ---------- */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: clamp(24px, 3.4vw, 48px);
    align-items: start;
}
.layout__main { min-width: 0; }

/* ---------- Боковая колонка ---------- */
.aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; }

.side-card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.side-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px 13px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(216, 171, 84, .07), transparent);
}
.side-card__head h2 {
    margin: 0;
    font-size: 15px;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-family: var(--sans);
    font-weight: 600;
    color: var(--gold);
}
.side-card__head svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }

.cat-list { list-style: none; margin: 0; padding: 8px 0; }
.cat-list a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 18px;
    color: var(--text-soft);
    font-size: 14.5px;
    font-family: var(--serif);
    font-size: 17px;
    border-left: 2px solid transparent;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cat-list a:hover {
    background: rgba(216, 171, 84, .06);
    color: var(--gold-bright);
    border-left-color: var(--gold-deep);
}
.cat-list a.is-active {
    background: rgba(216, 171, 84, .09);
    color: var(--gold-bright);
    border-left-color: var(--gold);
}
.cat-list .name { flex: 1 1 auto; }
.cat-list .count {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

/* Контактный блок в сайдбаре */
.side-contact { padding: 18px; }
.side-contact__row {
    display: flex;
    gap: 11px;
    padding: 9px 0;
    font-size: 13.5px;
    color: var(--text-soft);
    border-bottom: 1px dashed rgba(74, 53, 36, .55);
}
.side-contact__row:last-child { border-bottom: 0; }
.side-contact__row svg { width: 15px; height: 15px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.side-contact__row strong { color: var(--text); font-weight: 500; }
.side-contact__hours { font-size: 13px; }
.side-contact__hours div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.side-contact__hours span:first-child { color: var(--text-mute); }

/* ---------- Заголовки страниц ---------- */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    margin-bottom: clamp(22px, 3vw, 34px);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
}
.page-head::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 92px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.page-head h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: .005em;
}
.page-head h1 em { font-style: normal; color: var(--gold-bright); }
.page-head__meta {
    font-size: 12.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-mute);
    padding-bottom: 6px;
}
.eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: 10.5px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
    font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    margin-bottom: clamp(30px, 4vw, 52px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(120% 130% at 82% 8%, rgba(216, 171, 84, .13), transparent 58%),
        linear-gradient(115deg, #241811 0%, #1a120c 46%, #120c08 100%);
    box-shadow: var(--shadow-deep);
}
.hero::before {
    /* Тонкая гравированная рамка внутри */
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(216, 171, 84, .17);
    border-radius: 2px;
    pointer-events: none;
}
.hero__in {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    padding: clamp(30px, 4.6vw, 62px) clamp(24px, 4vw, 56px);
}
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    font-weight: 500;
}
.hero__kicker::before {
    content: '';
    width: 34px; height: 1px;
    background: var(--gold-deep);
}
.hero h1 {
    font-size: clamp(34px, 5.4vw, 62px);
    line-height: 1.04;
    margin: 0 0 18px;
    letter-spacing: -.005em;
    font-weight: 600;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold-bright);
    display: block;
}
.hero__lead {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-soft);
    max-width: 52ch;
    line-height: 1.7;
    margin-bottom: 26px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Правая часть hero: «витрина» */
.hero__frame {
    position: relative;
    aspect-ratio: 4 / 4.6;
    max-height: 430px;
    border: 1px solid var(--gold-deep);
    padding: 9px;
    background: linear-gradient(160deg, rgba(216, 171, 84, .12), rgba(0, 0, 0, .35));
    box-shadow: 0 30px 60px -30px #000, inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.hero__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(.94) contrast(1.02);
}
.hero__frame::after {
    content: '';
    position: absolute;
    inset: 9px;
    background: linear-gradient(180deg, transparent 55%, rgba(12, 7, 5, .55));
    pointer-events: none;
}
.hero__badge {
    position: absolute;
    left: 22px; bottom: 22px;
    z-index: 2;
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: .04em;
    color: var(--gold-bright);
    text-shadow: 0 2px 10px #000;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    min-height: 46px;
    border: 1px solid var(--gold-deep);
    border-radius: var(--radius);
    background: transparent;
    color: var(--gold-bright);
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    white-space: nowrap;
}
.btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a120c;
    transform: translateY(-1px);
}
.btn--solid {
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    border-color: var(--gold);
    color: #1b1208;
    font-weight: 600;
    box-shadow: 0 12px 26px -14px rgba(216, 171, 84, .8);
}
.btn--solid:hover {
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #140d06;
}
.btn--ghost { border-color: var(--line); color: var(--text-soft); }
.btn--ghost:hover { background: rgba(216, 171, 84, .1); border-color: var(--gold-deep); color: var(--gold-bright); }
.btn--sm { padding: 9px 16px; min-height: 38px; font-size: 11px; letter-spacing: .1em; }
.btn--danger { border-color: #7a2a22; color: #e29a90; }
.btn--danger:hover { background: #7a2a22; border-color: #7a2a22; color: #fff; }
.btn svg { width: 15px; height: 15px; }

/* ---------- Сетка товаров ---------- */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.section-head h2 {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 600;
}
.section-head__note {
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-mute);
}

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

/* Карточка товара */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 30px -24px #000;
}
.card:hover {
    border-color: var(--gold-deep);
    transform: translateY(-3px);
    box-shadow: 0 26px 46px -28px #000, 0 0 0 1px rgba(216, 171, 84, .12);
}
.card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    color: inherit;
}
.card__link:hover { color: inherit; }

.card__media {
    position: relative;
    aspect-ratio: 4 / 3.4;
    flex: none;
    overflow: hidden;
    background:
        radial-gradient(70% 70% at 50% 42%, #2c1e14, #150e09 78%);
    border-bottom: 1px solid var(--line-soft);
}
.card__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: transform .5s cubic-bezier(.2, .7, .3, 1), filter .3s ease;
    filter: saturate(.96);
}
.card:hover .card__media img { transform: scale(1.045); filter: saturate(1.04); }

.card__badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    padding: 4px 9px;
    background: rgba(12, 7, 5, .82);
    border: 1px solid rgba(216, 171, 84, .3);
    border-radius: 2px;
    font-size: 9.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    backdrop-filter: blur(3px);
}
.card__count {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(12, 7, 5, .82);
    border: 1px solid rgba(216, 171, 84, .26);
    border-radius: 2px;
    font-size: 10px;
    color: var(--gold-bright);
    letter-spacing: .04em;
}
.card__count svg { width: 11px; height: 11px; }

.card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 16px 16px;
    flex: 1 1 auto;
}
.card__title {
    font-family: var(--serif);
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 600;
    line-height: 1.24;
    margin: 0;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
    /* Фиксируем три строки, чтобы цены стояли на одной линии */
    min-height: calc(1.24em * 3);
}
.card:hover .card__title { color: var(--gold-bright); }
.card__price {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(74, 53, 36, .45);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.card__price b {
    font-family: var(--serif);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 700;
    color: var(--gold-bright);
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.card__price small {
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* Пустое состояние */
.empty {
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(42, 28, 19, .35);
}
.empty h2 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--text-mute); max-width: 46ch; margin: 0 auto 18px; }

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-top: clamp(28px, 4vw, 44px);
    flex-wrap: wrap;
}
.pager a, .pager span {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-soft);
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    transition: all .18s ease;
}
.pager a:hover { border-color: var(--gold-deep); color: var(--gold-bright); background: rgba(216, 171, 84, .07); }
.pager .is-current { background: var(--gold); border-color: var(--gold); color: #1a120c; font-weight: 600; }
.pager .is-gap { border-color: transparent; color: var(--text-mute); }

/* ---------- Карточка товара (страница) ---------- */
.product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}
.product__gallery { position: sticky; top: 24px; }

.product__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    background: radial-gradient(66% 66% at 50% 44%, #2d1f15, #130d08 80%);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow-card);
}
.product__stage img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: clamp(10px, 2vw, 22px);
    transition: opacity .22s ease;
}
.product__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(216, 171, 84, .12), inset 0 0 60px rgba(0, 0, 0, .5);
    pointer-events: none;
}
.product__zoom {
    position: absolute;
    right: 12px; bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(12, 7, 5, .8);
    border: 1px solid rgba(216, 171, 84, .28);
    border-radius: 2px;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    pointer-events: none;
}
.product__zoom svg { width: 12px; height: 12px; }

/* Миниатюры */
.product__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.product__thumbs button {
    width: 74px; height: 74px;
    padding: 3px;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease;
}
.product__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs button:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.product__thumbs button.is-active { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(216, 171, 84, .4); }

/* Правая колонка карточки */
.product__info { padding-top: 4px; }
.product__cat {
    display: inline-block;
    font-size: 10.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 12px;
    font-weight: 500;
}
.product__cat:hover { color: var(--gold); }
.product h1 {
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.1;
    margin: 0 0 18px;
    font-weight: 600;
}

.product__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-bottom: 22px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.product__price b {
    font-family: var(--serif);
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 700;
    color: var(--gold-bright);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.product__price span {
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-mute);
    padding-bottom: 6px;
}

.product__desc {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.75;
}
.product__desc p { margin: 0 0 14px; }
.product__desc h3, .product__desc h4 {
    font-family: var(--serif);
    color: var(--text);
    margin: 22px 0 10px;
    font-size: 20px;
}
.product__desc ul, .product__desc ol { margin: 0 0 14px; padding-left: 22px; }
.product__desc li { margin-bottom: 6px; }
.product__desc blockquote {
    margin: 16px 0;
    padding: 12px 18px;
    border-left: 2px solid var(--gold-deep);
    background: rgba(216, 171, 84, .05);
    color: var(--text);
    font-style: italic;
    font-family: var(--serif);
    font-size: 18px;
}
.product__desc a { border-bottom: 1px solid rgba(216, 171, 84, .4); }

/* Инфо-плашка «как купить» */
.buy-note {
    margin-top: 26px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 2px solid var(--gold-deep);
    background: linear-gradient(100deg, rgba(216, 171, 84, .06), transparent 70%);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.buy-note h3 {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
    font-weight: 600;
}
.buy-note p { font-size: 13.5px; color: var(--text-soft); margin: 0 0 8px; }
.buy-note a { color: var(--gold-bright); border-bottom: 1px solid rgba(216, 171, 84, .35); }

/* Хлебные крошки */
.crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--text-mute);
    margin-bottom: 18px;
}
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--gold); }
.crumbs span.sep { color: var(--gold-deep); opacity: .6; }

/* ---------- Лайтбокс ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 5, 3, .96);
    backdrop-filter: blur(6px);
    padding: clamp(12px, 3vw, 44px);
}
.lightbox.is-open { display: flex; }
.lightbox__stage {
    position: relative;
    max-width: min(1180px, 92vw);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border: 1px solid var(--gold-deep);
    background: #120c08;
    box-shadow: 0 50px 100px -40px #000;
    transition: opacity .18s ease;
}
.lightbox__close, .lightbox__prev, .lightbox__next {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border: 1px solid rgba(216, 171, 84, .35);
    background: rgba(20, 13, 8, .86);
    color: var(--gold-bright);
    border-radius: 50%;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a120c;
}
.lightbox__close { top: -6px; right: -6px; }
.lightbox__prev { left: clamp(-64px, -5vw, -18px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(-64px, -5vw, -18px); top: 50%; transform: translateY(-50%); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 20px; height: 20px; }
.lightbox__bar {
    position: absolute;
    left: 50%; bottom: -44px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--text-mute);
    white-space: nowrap;
}
.lightbox__bar b { color: var(--gold); font-weight: 500; }
body.is-locked { overflow: hidden; }

/* ---------- Информационные страницы ---------- */
.prose {
    max-width: 76ch;
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--text-soft);
}
.prose h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    color: var(--text);
    margin: 40px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; color: var(--text); margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { margin: 0 0 18px; padding-left: 4px; list-style: none; }
.prose ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 9px;
}
.prose ul li::before {
    content: '';
    position: absolute;
    left: 4px; top: .72em;
    width: 6px; height: 6px;
    background: var(--gold-deep);
    transform: rotate(45deg);
}
.prose a { border-bottom: 1px solid rgba(216, 171, 84, .4); }

.lead {
    font-family: var(--serif);
    font-size: clamp(19px, 2.1vw, 24px);
    line-height: 1.55;
    color: var(--text);
    margin-bottom: 28px;
    font-weight: 400;
}

/* Две колонки «О нас» */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
}
.about-figure {
    position: relative;
    border: 1px solid var(--gold-deep);
    padding: 8px;
    background: linear-gradient(160deg, rgba(216, 171, 84, .1), rgba(0, 0, 0, .3));
    box-shadow: var(--shadow-deep);
}
.about-figure img { width: 100%; filter: saturate(.9) contrast(1.03); }
.about-figure figcaption {
    padding: 12px 6px 4px;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--text-mute);
    text-align: center;
    font-style: italic;
    font-family: var(--serif);
    font-size: 14px;
}

/* Плитки «что оцениваем» */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin: 26px 0 34px;
    padding: 0;
    list-style: none;
}
.tile {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.45;
    transition: border-color .2s ease, color .2s ease;
}
.tile:hover { border-color: var(--gold-deep); color: var(--text); }
.tile svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 1px; }

/* CTA в конце страницы «О нас» */
.about-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--line);
    border-left: 2px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    background:
        radial-gradient(120% 160% at 0% 50%, rgba(216, 171, 84, .1), transparent 62%),
        linear-gradient(180deg, var(--panel-2), var(--panel));
}
.about-cta__label {
    display: block;
    font-size: 10.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 7px;
    font-weight: 600;
}
.about-cta__text {
    margin: 0;
    font-size: 14px;
    color: var(--text-soft);
    max-width: 46ch;
    line-height: 1.6;
}
.about-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Полоса-цитата */
.pullquote {
    margin: 36px 0;
    padding: 26px 30px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--serif);
    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.45;
    color: var(--text);
    font-style: italic;
    text-align: center;
    background: radial-gradient(60% 120% at 50% 50%, rgba(216, 171, 84, .06), transparent);
}
.pullquote span { display: block; margin-top: 12px; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-style: normal; }

/* ---------- Контакты ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3.6vw, 46px);
    align-items: start;
}
.contact-card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 34px);
    box-shadow: var(--shadow-card);
}
.contact-card h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    margin: 0 0 6px;
}
.contact-card__sub {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 22px;
    display: block;
}

.contact-rows { display: flex; flex-direction: column; gap: 2px; }
.contact-row {
    display: flex;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(74, 53, 36, .55);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row__ico {
    width: 34px; height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(216, 171, 84, .05);
}
.contact-row__ico svg { width: 15px; height: 15px; }
.contact-row__body { min-width: 0; }
.contact-row__label {
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 3px;
}
.contact-row__value { font-size: 16px; color: var(--text); font-family: var(--serif); font-size: 18px; }
.contact-row__value a { color: var(--gold-bright); }
.contact-row__value a:hover { color: #fff; }
.contact-row__note { font-size: 12.5px; color: var(--text-mute); margin-top: 3px; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td {
    padding: 6px 0;
    font-size: 14.5px;
    border-bottom: 1px dashed rgba(74, 53, 36, .4);
}
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:first-child { color: var(--text-mute); letter-spacing: .06em; }
.hours-table td:last-child { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.hours-table tr.is-closed td:last-child { color: var(--accent-bright); }

.map-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--panel);
    box-shadow: var(--shadow-card);
}
.map-canvas {
    width: 100%;
    height: clamp(320px, 42vw, 420px);
    background: #1a120c;
    z-index: 0;
}
/* Тёплый «антикварный» тон карты — мягкий, чтобы улицы читались */
.map-canvas .leaflet-tile-pane {
    filter: sepia(.22) saturate(.9) brightness(.95) contrast(1.02);
}
.map-canvas .leaflet-control-attribution {
    background: rgba(12, 7, 5, .78);
    color: var(--text-mute);
    font-size: 10px;
}
.map-canvas .leaflet-control-attribution a { color: var(--gold); }
.map-canvas .leaflet-bar a {
    background: #1d140e;
    border-color: var(--line);
    color: var(--gold-bright);
}
.map-canvas .leaflet-bar a:hover { background: var(--gold); color: #1a120c; }
.map-canvas .leaflet-popup-content-wrapper,
.map-canvas .leaflet-popup-tip {
    background: #20160f;
    color: var(--text);
    border: 1px solid var(--gold-deep);
    border-radius: 2px;
    box-shadow: 0 20px 40px -20px #000;
}
.map-canvas .leaflet-popup-content {
    margin: 10px 14px;
    font-family: var(--sans);
    font-size: 12.5px;
    line-height: 1.5;
}
.map-canvas .leaflet-popup-content b { font-family: var(--serif); font-size: 15px; color: var(--gold-bright); }
.map-canvas .leaflet-popup-close-button { display: none; }

/* Метка магазина */
.shop-pin { display: grid; place-items: center; }
.shop-pin__dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold-bright);
    border: 2px solid #2a1c13;
    box-shadow: 0 0 0 5px rgba(216, 171, 84, .28), 0 4px 10px rgba(0, 0, 0, .6);
}
.map-card__cap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 18px;
    border-top: 1px solid var(--line-soft);
    font-size: 12.5px;
    color: var(--text-mute);
    flex-wrap: wrap;
}
.map-card__cap b { color: var(--text); font-weight: 500; }
.map-card__cap a { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* Фото фасада */
.facade {
    position: relative;
    border: 1px solid var(--gold-deep);
    padding: 8px;
    background: linear-gradient(160deg, rgba(216, 171, 84, .1), rgba(0, 0, 0, .3));
    /* Сбрасываем браузерный margin: 1em 40px у <figure>, иначе фото уже колонки */
    margin: 22px 0 0;
}
.facade img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: saturate(.88) contrast(1.04) sepia(.06);
}
.facade figcaption {
    padding: 10px 4px 2px;
    font-family: var(--serif);
    font-size: 14px;
    font-style: italic;
    color: var(--text-mute);
    text-align: center;
}

/* ---------- Подвал ---------- */
.footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    background: linear-gradient(180deg, var(--bg-deep), #080503);
    border-top: 1px solid var(--line);
}
.footer::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
    opacity: .6;
}
.footer__in {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding-top: clamp(34px, 4.6vw, 58px);
    padding-bottom: 30px;
}
.footer__brand .brand__name { font-size: 26px; }
.footer__about {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-mute);
    line-height: 1.7;
    max-width: 42ch;
}
.footer h3 {
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 14px;
    font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer li a, .footer address a { color: var(--text-soft); font-size: 14px; }
.footer li a:hover, .footer address a:hover { color: var(--gold-bright); }
.footer address {
    font-style: normal;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.8;
}
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(74, 53, 36, .45);
    font-size: 12px;
    color: var(--text-mute);
}
.footer__bottom a { color: var(--text-soft); }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- 404: «пустая рама» ---------- */
.nf {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 40px);
}

.nf__frame {
    position: relative;
    text-align: center;
    padding: clamp(34px, 5.5vw, 62px) clamp(22px, 4.5vw, 54px) clamp(30px, 4.5vw, 52px);
    border: 1px solid var(--gold-deep);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(216, 171, 84, .09), transparent 62%),
        linear-gradient(180deg, var(--panel-2), var(--panel));
    box-shadow: var(--shadow-card);
}
/* Внутренняя тонкая линия — двойная рама, как на паспарту */
.nf__frame::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(216, 171, 84, .22);
    pointer-events: none;
}

/* Уголки-«гвоздики» */
.nf__corner {
    position: absolute;
    width: 9px; height: 9px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    background: var(--bg);
    z-index: 2;
}
.nf__corner--tl { top: -5px; left: -5px; }
.nf__corner--tr { top: -5px; right: -5px; }
.nf__corner--bl { bottom: -5px; left: -5px; }
.nf__corner--br { bottom: -5px; right: -5px; }

.nf__eyebrow {
    display: block;
    font-family: var(--sans);
    font-size: 10px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--gold-deep);
    font-weight: 500;
    margin-bottom: clamp(14px, 2vw, 22px);
}

/* Крупная цифра 404 с ромбами между знаками */
.nf__code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.4vw, 16px);
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(64px, 13vw, 132px);
    line-height: .86;
    letter-spacing: .02em;
    color: var(--gold-bright);
    text-shadow: 0 0 42px rgba(216, 171, 84, .22), 0 2px 0 rgba(0, 0, 0, .55);
    margin-bottom: clamp(10px, 1.6vw, 16px);
}
.nf__code span { display: block; }
.nf__code i {
    font-size: clamp(11px, 1.6vw, 18px);
    font-style: normal;
    color: var(--gold-deep);
    opacity: .75;
    transform: translateY(-.14em);
}

.nf__title {
    font-family: var(--serif);
    font-size: clamp(24px, 3.6vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 clamp(14px, 2vw, 20px);
    color: var(--text);
}

/* Разделитель «— ◆ —» */
.nf__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto clamp(16px, 2.2vw, 24px);
    max-width: 240px;
}
.nf__rule i {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.nf__rule b {
    font-size: 9px;
    color: var(--gold-deep);
    line-height: 1;
}

.nf__text {
    max-width: 48ch;
    margin: 0 auto clamp(22px, 3vw, 32px);
    color: #d3c4b1;
    font-size: clamp(13.5px, 1.2vw, 15px);
    line-height: 1.72;
}

.nf__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Подсказка с контактами под рамой */
.nf__help {
    margin-top: clamp(22px, 3vw, 34px);
    text-align: center;
    padding: 0 clamp(8px, 2vw, 20px);
}
.nf__help-title {
    font-family: var(--serif);
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
}
.nf__help-text {
    color: #bfae99;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px;
}
.nf__actions .btn--ghost { border-color: #6a4d33; }
.nf__help-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
    font-size: 13.5px;
}
.nf__help-links a { color: var(--gold); }
.nf__help-links a:hover { color: var(--gold-bright); }
.nf__dot { color: var(--gold-deep); font-size: 8px; }

@media (max-width: 600px) {
    .nf__actions .btn { flex: 1 1 100%; }
    .nf__frame::before { inset: 5px; }
}

/* ---------- Анимация появления ---------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
    .layout { grid-template-columns: minmax(0, 1fr) 250px; }
    .header__phone { display: none; }
}

@media (max-width: 980px) {
    .hero__in { grid-template-columns: 1fr; }
    .hero__frame { max-height: 330px; aspect-ratio: 16 / 10; order: -1; }
    .product { grid-template-columns: 1fr; }
    .product__gallery { position: static; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer__in { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .layout { grid-template-columns: 1fr; }
    .aside { position: static; order: 2; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .burger { display: inline-flex; }
    .nav {
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--panel);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px #000;
        padding: 8px var(--gutter) 16px;
        display: none;
        z-index: 20;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
    .nav a::after { display: none; }
    .nav a.is-active { color: var(--gold-bright); }
    .header__in { position: relative; }
    .topbar__in { justify-content: center; }
    .topbar__group:last-child { display: none; }
}

@media (max-width: 600px) {
    .grid--3, .grid--2 { grid-template-columns: 1fr; }
    .brand__mark { width: 46px; height: 46px; font-size: 14px; }
    .brand__sub { display: none; }
    .card__media { aspect-ratio: 4 / 3; }
    .product__thumbs button { width: 60px; height: 60px; }
    .footer__in { grid-template-columns: 1fr; }
    .lightbox__prev { left: 4px; }
    .lightbox__next { right: 4px; }
    .lightbox__close { top: 4px; right: 4px; }
    .lightbox__bar { bottom: -34px; }
}

/* ---------- Печать ---------- */
@media print {
    body::before, .topbar, .header, .aside, .footer, .lightbox, .buy-note { display: none !important; }
    body { background: #fff; color: #000; }
    .layout { display: block; }
    a { color: #000; }
}
