/* =====================================================================
   Скин «Журнал» — dutyfree1.ru «Duty Free №1»
   Глянцевый журнал: мастхед, обложка с анонсами, содержание, редакционная сетка,
   колонка редактора, указатель домов, колофон. Playfair Display + IBM Plex Mono.
   Цвета: чёрный и шампань (как у «Первого класса»).
   ===================================================================== */
:root {
    --bg: #FAF8F4;          --bg-rgb: 250, 248, 244;
    --surface: #F1EDE6;     --surface-2: #E8E2D8;
    --ink: #121211;         --ink-rgb: 18, 18, 17;
    --ink-2: #4E4A44;       --muted: #8A847A;
    --line: rgba(18, 18, 17, .14);
    --line-strong: rgba(18, 18, 17, .4);
    --accent: #9C7A3C;
    --gold: #CDAE72;
    --night: #0D0D0C;
    --night-ink: #F3EEE5;
    --sale: #A23B2A;
    --badge-bg: #0D0D0C;

    --f-display: "Playfair Display", "Didot", Georgia, serif;
    --f-ui: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
    --f-logo: "Playfair Display", Georgia, serif;
    --w-thin: 400;
    --w-ui: 400;
    --w-strong: 500;
    --w-bold: 500;
    --header-h: 60px;
}
body { font-size: 14px; line-height: 1.65; letter-spacing: -.01em; }
::selection { background: var(--gold); color: var(--night); }

/* ---------- типографика ---------- */
.display { font-weight: 400; letter-spacing: -.02em; }
.display em { font-style: italic; color: var(--accent); }
.h1, .category__title { font-weight: 900; letter-spacing: -.03em; }
.eyebrow, .kicker { font-family: var(--f-ui); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker { display: block; margin-bottom: 10px; }
.rich-text { font-family: var(--f-display); font-size: 18px; line-height: 1.7; }
.rich-text h2, .rich-text h3 { font-weight: 700; }

/* ---------- кнопки и ссылки ---------- */
.btn { font-size: 12px; letter-spacing: .14em; min-height: 50px; padding: 0 28px; }
.link-arrow { letter-spacing: .12em; border-bottom-color: var(--ink); }
.chip { font-size: 12px; border-radius: 0; }
.tabs__btn { font-size: 12px; letter-spacing: .12em; }

/* ---------- мастхед ---------- */
.mast { background: var(--night); color: var(--night-ink); }
.mast__issue { border-bottom: 1px solid rgba(243, 238, 229, .14); }
.mast__issue-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 34px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 238, 229, .7); }
.mast__issue-row b, .mast__issue-row strong { color: var(--gold); font-weight: 500; }
.mast__logo {
    display: block; padding: 18px 0 6px; text-align: center; white-space: nowrap; color: var(--night-ink);
    font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 10.6vw, 168px); line-height: .9; letter-spacing: -.035em;
}
.mast__num { font-style: italic; font-weight: 400; color: var(--gold); margin-left: .08em; letter-spacing: -.02em; }
.mast__logo .logo__img { margin: 0 auto; max-height: 120px; }
@media (max-width: 639px) {
    .mast__issue-row { font-size: 10px; letter-spacing: .08em; }
    .mast__logo { padding: 14px 0 4px; }
}

/* строка меню (прилипает) */
.mbar {
    position: sticky; top: 0; z-index: 40; background: var(--bg);
    border-bottom: 3px double var(--ink);
}
.mbar__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); gap: 16px; }
.mbar__side { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mbar__side--right { justify-content: flex-end; }
.mbar__logo {
    font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; white-space: nowrap;
    max-width: 0; overflow: hidden; opacity: 0; transition: max-width .4s var(--ease), opacity .3s;
}
.mbar__logo em { font-style: italic; font-weight: 400; color: var(--accent); margin-left: .1em; }
.mbar.is-stuck .mbar__logo { max-width: 260px; opacity: 1; }
.mbar__nav { position: static; }
.mbar .nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; list-style: none; }
.mbar .nav__item + .nav__item::before { content: "/"; color: var(--muted); padding: 0 14px; }
.mbar .nav__item { display: flex; align-items: center; }
.mbar .nav__link { height: var(--header-h); font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--ink); }
.mbar .nav__link::after { bottom: 16px; background: var(--accent); }
.mbar .flyout { top: 100%; border-top: 0; }
.mbar .flyout__list a { font-family: var(--f-display); font-size: 17px; }
@media (max-width: 1023px) {
    .mbar__row { grid-template-columns: auto 1fr auto; }
    .mbar__logo { max-width: 260px; opacity: 1; font-size: 19px; }
    .mast { display: none; }
}
@media (max-width: 380px) { .mbar__logo { font-size: 16px; } }

/* ---------- обложка ---------- */
.cover { background: var(--night); color: var(--night-ink); padding: 0 0 80px; --ink: var(--night-ink); --muted: rgba(243, 238, 229, .6); --line: rgba(243, 238, 229, .16); --accent: var(--gold); }
.cover__head { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cover__title {
    position: relative; z-index: 2; margin: 28px 0 0; max-width: 14ch;
    font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 8.6vw, 140px); line-height: .9; letter-spacing: -.035em;
}
.cover__title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); padding-left: 1.4em; }
.cover__body { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 44px; align-items: end; margin-top: -3.2vw; }
.cover__lines { list-style: none; display: grid; gap: 0; align-self: end; }
.cover__lines li { border-top: 1px solid var(--line); }
.cover__lines li:last-child { border-bottom: 1px solid var(--line); }
.cover__lines a, .cover__lines li > b { display: block; padding: 16px 0; }
.cover__lines b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 24px; line-height: 1.15; }
.cover__lines span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cover__lines a:hover b { color: var(--gold); font-style: italic; }
.cover__photo { position: relative; display: block; aspect-ratio: 4 / 5; background: #F4F0E8; overflow: hidden; }
.cover__photo img { position: absolute; inset: 8% 10% 8%; width: 80%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease); }
.cover__photo:hover img { transform: scale(1.03); }
.cover__photo--cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.cover__aside { display: grid; gap: 28px; }
.cover__lead { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.45; color: rgba(243, 238, 229, .85); }
.cover__price { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cover__price b { font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--night-ink); }
.cover__price-label { color: var(--gold); }
.cover__price-sum { font-size: 15px; color: var(--night-ink); }
.cover__price-sum s { color: var(--muted); font-size: 12px; }
.cover__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.cover .btn { background: var(--gold); border-color: var(--gold); color: var(--night); }
.cover .btn:hover { background: transparent; color: var(--gold); }
.cover .link-arrow { border-color: var(--night-ink); }
@media (max-width: 960px) {
    .cover__body { grid-template-columns: 1fr 1fr; margin-top: 24px; }
    .cover__photo { grid-column: 1 / -1; order: -1; aspect-ratio: 1; }
    .cover__title em { padding-left: .6em; }
}
@media (max-width: 639px) {
    .cover { padding-bottom: 48px; }
    .cover__head { font-size: 10px; }
    .cover__title { margin-top: 18px; }
    .cover__body { grid-template-columns: 1fr; gap: 28px; }
    .cover__lines b { font-size: 20px; }
}

/* ---------- содержание ---------- */
.toc { padding: 88px 0 40px; }
.toc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 18px; border-bottom: 3px double var(--ink); }
.toc__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 7vw, 104px); line-height: .9; letter-spacing: -.035em; }
.toc__note { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc__list { list-style: none; counter-reset: none; }
.toc__row {
    position: relative; display: grid; grid-template-columns: 72px auto 1fr auto; align-items: baseline; gap: 18px;
    padding: 22px 0 18px; border-bottom: 1px solid var(--line);
}
.toc__num { font-size: 13px; color: var(--accent); }
.toc__name { font-family: var(--f-display); font-size: clamp(28px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.02em; transition: color .2s; }
.toc__leader { align-self: end; margin-bottom: .55em; border-bottom: 2px dotted var(--line-strong); }
.toc__go { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc__thumb {
    position: absolute; right: 120px; top: 50%; width: 150px; height: 150px; object-fit: contain; mix-blend-mode: multiply;
    background: var(--surface); transform: translateY(-50%) rotate(-4deg) scale(.8); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .35s var(--ease); z-index: 2;
}
.toc__row:hover .toc__name { font-style: italic; color: var(--accent); }
.toc__row:hover .toc__thumb { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }
@media (max-width: 760px) {
    .toc { padding-top: 56px; }
    .toc__row { grid-template-columns: 40px 1fr auto; gap: 10px; padding: 16px 0 14px; }
    .toc__leader, .toc__thumb { display: none; }
    .toc__go span, .toc__go { font-size: 0; }
    .toc__go .icon { width: 18px; height: 18px; }
}

/* ---------- главное в номере: редакционная сетка ---------- */
.feature { padding: 72px 0 96px; }
.feature__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.feature__title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 4.4vw, 64px); line-height: .95; letter-spacing: -.03em; }
.feature__title em { font-weight: 400; font-style: italic; color: var(--accent); }
.grid--editorial { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }
.grid--editorial > .mcard:first-child { grid-column: span 2; grid-row: span 2; }
.grid--editorial > .mcard:first-child .card__media { aspect-ratio: 1 / 1.08; }
.grid--editorial > .mcard:first-child .card__name { font-size: clamp(30px, 3vw, 44px); }
@media (max-width: 1100px) { .grid--editorial { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .feature { padding: 48px 0 64px; }
    .feature__head { flex-direction: column; align-items: flex-start; }
    .grid--editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
    .grid--editorial > .mcard:first-child { grid-row: auto; }
}

/* ---------- карточка-подпись ---------- */
.product-list { counter-reset: mcard; }
.mcard { counter-increment: mcard; }
.mcard .card__media { background: var(--surface); }
.mcard .card__body { padding-top: 14px; gap: 6px; }
.mcard__caption { display: flex; align-items: baseline; gap: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mcard__num::before { content: counter(mcard, decimal-leading-zero) " —"; color: var(--accent); }
.mcard .card__brand { font-size: 11px; letter-spacing: .12em; color: var(--ink); font-weight: 500; }
.mcard .card__name { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 23px; line-height: 1.15; }
.mcard .card__meta { font-size: 11px; letter-spacing: .02em; }
.mcard__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.mcard .card__price { margin: 0; padding: 0; font-size: 15px; }
.mcard .card__price .price { font-weight: 500; }
.mcard__buy, .mcard__buy:hover {
    width: auto; height: auto; padding: 4px 0; background: none !important; border: 0; border-radius: 0 !important; color: var(--ink) !important;
    font-size: 11px; letter-spacing: .12em; text-transform: uppercase; box-shadow: none;
}
.mcard__buy span { display: inline !important; border-bottom: 1px solid var(--ink); }
.mcard__buy:hover span { color: var(--accent); border-color: var(--accent); }
.mcard__buy.is-added span { color: var(--accent); }
.mcard .card__fav { opacity: .6; }
.badge { background: var(--badge-bg); color: var(--gold); font-family: var(--f-ui); font-weight: 500; letter-spacing: .1em; }
.badge--sale { background: var(--bg); color: var(--sale); padding: 5px 8px 4px; }
@media (hover: none), (max-width: 760px) {
    .mcard .card__name { font-size: 19px; }
    .mcard__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
    .mcard__buy span { display: inline !important; }
}

/* ---------- колонка редактора ---------- */
.column { background: var(--night); color: var(--night-ink); padding: 96px 0; --muted: rgba(243, 238, 229, .6); --line: rgba(243, 238, 229, .18); --ink: var(--night-ink); --accent: var(--gold); }
.column__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
.column__quote { position: relative; margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.02em; }
.column__quote::before { content: "«"; position: absolute; left: -.55em; top: -.1em; color: var(--gold); }
.column__quote em { color: var(--gold); }
.column__text { columns: 2 260px; column-gap: 36px; font-family: var(--f-display); font-size: 17px; line-height: 1.7; color: rgba(243, 238, 229, .85); }
.column__text p { margin: 0 0 1em; break-inside: avoid; }
.column__text p:first-child::first-letter { float: left; margin: .02em .1em 0 0; font-weight: 900; font-size: 3.6em; line-height: .8; color: var(--gold); }
.column__text b { color: var(--night-ink); font-weight: 700; }
.column .link-arrow { column-span: all; margin-top: 8px; border-color: var(--night-ink); font-family: var(--f-ui); }
@media (max-width: 960px) { .column__grid { grid-template-columns: 1fr; gap: 40px; } .column__quote::before { position: static; } }

/* ---------- указатель домов ---------- */
.index { padding: 88px 0 56px; }
.index__title { margin: 0 0 28px; padding-bottom: 14px; border-bottom: 3px double var(--ink); font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; }
.index__list { list-style: none; columns: 4 200px; column-gap: 36px; }
.index__list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dotted var(--line-strong); }
.index__letter { display: block; margin-top: 14px; font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; color: var(--accent); }
.index__list a { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.index__list a:hover { color: var(--accent); }

/* ---------- условия ---------- */
.terms { padding: 0 0 72px; }
.terms__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.terms__list li { padding: 20px 20px 22px 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.terms__list li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.terms__list b { display: block; margin: 8px 0 4px; font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--ink); }
.terms__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--ink); border-radius: 50%; font-size: 11px; }
@media (max-width: 960px) {
    .terms__list { grid-template-columns: 1fr 1fr; }
    .terms__list li, .terms__list li + li { padding: 18px 12px; border-left: 0; border-bottom: 1px solid var(--line); }
}
.seo-text--mag { max-width: 760px; margin: 0 auto 24px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- колофон ---------- */
.colophon { margin-top: 0; background: var(--night); color: var(--night-ink); --muted: rgba(243, 238, 229, .55); --line: rgba(243, 238, 229, .16); --ink: var(--night-ink); --ink-2: rgba(243, 238, 229, .8); }
.colophon--order { margin-top: 48px; }
.colophon__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.colophon__label { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.colophon__imprint dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; font-size: 13px; }
.colophon__imprint dt { color: var(--muted); }
.colophon__imprint dd { margin: 0; }
.colophon__social { display: flex; gap: 16px; margin-top: 22px; }
.colophon__col ul { list-style: none; display: grid; gap: 9px; font-size: 13px; }
.colophon a:hover { color: var(--gold); }
.colophon__giant {
    overflow: hidden; white-space: nowrap; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--line);
    font-family: var(--f-display); font-weight: 900; font-size: 13.2vw; line-height: .85; letter-spacing: -.045em; text-align: center;
}
.colophon__giant em { font-style: italic; font-weight: 400; color: var(--gold); }
@media (min-width: 1440px) { .colophon__giant { font-size: 190px; } }
.colophon__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
@media (max-width: 760px) {
    .colophon__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; }
    .colophon__imprint { grid-column: 1 / -1; }
    .colophon__imprint dl { grid-template-columns: 90px 1fr; }
}

/* ---------- страницы каталога и товара ---------- */
.category__head { padding-top: 36px; border-bottom: 3px double var(--ink); margin-bottom: 28px; }
.category__title { font-size: clamp(40px, 5.6vw, 84px); }
.pdp__name { font-weight: 900; letter-spacing: -.03em; }
.pdp__brand { font-family: var(--f-ui); }
.buy__current { font-family: var(--f-ui); font-weight: 500; font-size: 30px; }
.gallery__main { background: var(--surface); }
.drawer__group summary, .drawer__link { font-family: var(--f-display); font-weight: 400; font-style: italic; }
.drawer__phone, .footer__phone { font-family: var(--f-ui); font-size: 18px; }
.search-panel__form input { font-family: var(--f-display); font-style: italic; }
