/* alco.moscow — catalog listings: three columns, filters, sidebars (docs/filters.md).
   Uses the design tokens of site.css (fallbacks keep the page readable on their own). Mobile first; ≥ 1280 px = three columns, ≥ 1024 px = navigation column and the line of filters. */

.lst {
    --lst-gap: 24px;
    --lst-line: var(--line, rgba(26, 22, 20, .12));
    --lst-text: var(--text, #1A1614);
    --lst-muted: var(--muted, #6E655C);
    --lst-paper: var(--paper, #FBF8F3);
    --lst-ivory: var(--ivory, #F4EEE4);
    --lst-wine: var(--wine, #5E1220);
    --lst-wine-deep: var(--wine-deep, #430C17);
    --lst-brass: var(--brass, #B79B6B);
    --lst-display: var(--font-display, 'Cormorant Garamond', Georgia, 'Times New Roman', serif);
    --lst-ease: 200ms ease;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* D-187: on a phone the products come right after the heading and the two buttons; the text and the articles below them */
    grid-template-areas: "head" "nav" "picks" "main" "intro" "arts";
    column-gap: 32px;
    align-items: start;
    color: var(--lst-text);
    padding-bottom: 56px;
}
.lst-head { grid-area: head; margin-bottom: 8px; }
.lst-head h1 { overflow-wrap: anywhere; }
.lst-head .count { display: block; margin-top: 8px; color: var(--lst-muted); font-size: 14px; }
.lst-introbox { grid-area: intro; margin: 8px 0 16px; min-width: 0; }
.lst .listing-intro { max-width: 75ch; }
.lst .listing-intro.is-clamped { max-height: 9.6em; overflow: hidden; position: relative; }
.lst .listing-intro.is-clamped::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
    background: linear-gradient(to bottom, rgba(244, 238, 228, 0), var(--lst-ivory));
}
.lst .listing-intro.is-clamped.is-open, .lst .lst-outro.is-clamped.is-open { max-height: none; }
.lst .listing-intro.is-clamped.is-open::after, .lst .lst-outro.is-clamped.is-open::after { display: none; }
.lst .intro-more {
    display: inline-block; margin: 8px 0 0; padding: 4px 0;
    background: none; border: 0; border-bottom: 1px solid currentColor; color: var(--lst-wine);
    font: 600 14px/1.4 inherit; cursor: pointer;
}
.lst-main { grid-area: main; min-width: 0; }
@media (max-width: 1023px) {
    .lst-introbox { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--lst-line); }
    .lst-subcats.is-duplicate { display: none; } /* the same sections / brands are behind «Страны и бренды» */
}
@media (max-width: 719px) {
    .flt-top .flt-search:has(input[value=""]) { display: none; } /* the search of the header is right above */
}

/* ---------- sidebars: disclosures below 1024 px (navigation) and 1280 px («Подборки») ---------- */
.lst-toggle-state, .flt-open-state, .flt-more-state {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0;
}
.lst-side { min-width: 0; }
.lst-nav { grid-area: nav; }
.lst-right { grid-area: picks; min-width: 0; }
.side-arts, .side-cta { display: none; }
.lst-side-toggle {
    display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
    border: 1px solid var(--lst-line); border-radius: 4px; background: var(--lst-paper);
    font-weight: 600; font-size: 15px; cursor: pointer; user-select: none;
    transition: border-color var(--lst-ease);
}
.lst-side-toggle small {
    flex: 1; min-width: 0; color: var(--lst-wine); font-weight: 500; font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right;
}
.lst-side-toggle small.is-hint { color: var(--lst-muted); font-weight: 400; }
.lst-side-toggle span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lst-side-toggle svg { flex: none; margin-left: auto; transition: transform var(--lst-ease); }
.lst-side-toggle small + svg { margin-left: 0; }
.lst-side-toggle:hover { border-color: var(--lst-brass); }
.lst-toggle-state:focus-visible + .lst-side .lst-side-toggle { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.lst-picks .lst-side-toggle { margin-top: 8px; }
.lst-side-body { display: none; padding: 16px 4px 8px; }
#lst-nav-open:checked + .lst-nav .lst-side-body,
#lst-picks-open:checked + .lst-picks .lst-side-body { display: block; }
#lst-nav-open:checked + .lst-nav .lst-side-toggle svg,
#lst-picks-open:checked + .lst-picks .lst-side-toggle svg { transform: rotate(180deg); }
.lst-side-title { font-family: var(--lst-display); font-size: 26px; font-weight: 600; line-height: 1.1; margin: 0 0 12px; }
.lst-side-title a { color: inherit; }
.lst-side-title a[aria-current] { color: var(--lst-wine); }
.lst-side-sub {
    margin: 24px 0 8px; padding-top: 16px; border-top: 1px solid var(--lst-line);
    font: 600 12px/1.4 var(--font-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--lst-muted);
}
.lst-side-sub small { display: block; margin-top: 2px; letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 500; color: var(--lst-text); }
.lst-picks .lst-side-title { display: none; }

/* «Страны» / «Разделы» and «Бренды» (catalog/partials/nav, D-095): groups that open and close on their own, rows of
   16 px with the count in its own right-aligned column, long names wrap; the first rows + «Все …», a search over the
   whole list (catalog.js). */
.nav-group { border-top: 1px solid var(--lst-line); }
.nav-group > summary {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; cursor: pointer; list-style: none;
    font-family: var(--lst-display); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--lst-text);
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group-title { flex: 1; min-width: 0; }
.nav-group-title small { display: block; margin-top: 2px; font: 500 13px/1.35 var(--font-body, inherit); color: var(--lst-muted); }
.nav-group-chev { flex: none; color: var(--lst-muted); transition: transform var(--lst-ease); }
.nav-group[open] > summary .nav-group-chev { transform: rotate(180deg); }
.nav-group > summary:hover { color: var(--lst-wine); }
.nav-group > :not(summary) { padding-bottom: 14px; }
.nav-find { position: relative; display: flex; align-items: center; margin: 2px 0 8px; }
.nav-find svg { position: absolute; left: 11px; color: var(--lst-muted); pointer-events: none; }
.nav-find input, .flt-find input {
    width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--lst-line); border-radius: 6px;
    background: var(--lst-paper); font-size: 16px; color: var(--lst-text);
}
.nav-find input { padding-left: 34px; }
.nav-find input:focus, .flt-find input:focus { outline: none; border-color: var(--lst-brass); }
.nav-tree, .nav-brand-list { list-style: none; margin: 0; padding: 0; }
.nav-tree .nav-tree { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--lst-line); }
.nav-tree li, .nav-brand-list li { position: relative; }
.nav-tree a, .nav-brand-list a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
    min-height: 44px; padding: 10px 0; color: var(--lst-text); font-size: var(--fs-nav, 16px); font-weight: 400; line-height: 1.35;
    text-decoration: none; transition: color var(--lst-ease), background-color var(--lst-ease);
}
.nav-tree a span, .nav-brand-list a span { min-width: 0; overflow-wrap: break-word; }
.nav-tree a small, .nav-brand-list a small {
    min-width: 3ch; text-align: right; color: var(--lst-muted); font-size: var(--fs-count, 12.5px); font-variant-numeric: tabular-nums;
}
.nav-tree a:hover, .nav-brand-list a:hover { color: var(--lst-wine); }
.nav-tree a[aria-current], .nav-brand-list a[aria-current] { color: var(--lst-wine); font-weight: 600; }
.nav-tree a[aria-current]::before, .nav-brand-list a[aria-current]::before {
    content: ""; position: absolute; left: -12px; top: 50%; width: 2px; height: 1.2em; transform: translateY(-50%); background: var(--lst-wine);
}
.nav-tree .has-kids > details > a { grid-template-columns: minmax(0, 1fr) auto 30px; }
.nav-tree details > summary {
    position: absolute; right: 0; top: 7px; width: 30px; height: 30px; display: grid; place-items: center;
    list-style: none; cursor: pointer; color: var(--lst-muted); border-radius: 4px; z-index: 1;
}
.nav-tree details > summary::-webkit-details-marker { display: none; }
.nav-tree details > summary:hover { color: var(--lst-wine); background: rgba(183, 155, 107, .12); }
.nav-tree details > summary svg { transition: transform var(--lst-ease); }
.nav-tree details[open] > summary svg { transform: rotate(90deg); }
[data-nav-list].is-collapsed > li.is-more { display: none; }
[data-nav-list].is-searching > li.is-more:not([hidden]) { display: list-item; }
.nav-all {
    display: inline-flex; align-items: baseline; gap: 6px; margin-top: 6px; padding: 8px 0; border: 0; background: none; cursor: pointer;
    color: var(--lst-wine); font: 600 15px/1.3 var(--font-body, inherit); border-bottom: 1px solid transparent;
}
.nav-all small { color: var(--lst-muted); font-weight: 500; font-size: 13px; }
.nav-all:hover { border-bottom-color: currentColor; }
.nav-none, .nav-note { margin: 8px 0 0; color: var(--lst-muted); font-size: 13px; }
/* D-465 a long list of the right column: the first 20 rows and «Показать все (N)» (on articles too, outside .lst) */
.picks-all { color: var(--wine, #5E1220); margin-top: 4px; }
.picks-all small { color: var(--muted, #6E655C); }

/* right sidebar */
/* «Подборки» (catalog/partials/picks-blocks, D-096): links to landing pages — rows with an arrow on the right, short
   labels as a wrapped line of links; titled groups open on their heading row. Not checkboxes, not filter buttons. */
.picks-block { border-top: 1px solid var(--lst-line); }
.picks-block:last-child { border-bottom: 1px solid var(--lst-line); }
.picks-block > summary, .flt-group > summary {
    display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 0; cursor: pointer; list-style: none;
    font: 500 var(--fs-filter-head, 15px)/1.35 var(--font-body, inherit); color: var(--lst-text); user-select: none;
}
.picks-block > summary::-webkit-details-marker { display: none; }
.picks-block > summary > span { flex: 1; min-width: 0; overflow-wrap: break-word; }
.picks-chev { flex: none; color: var(--lst-muted); transition: transform var(--lst-ease); }
.picks-block[open] > summary .picks-chev { transform: rotate(180deg); }
.picks-block > summary:hover, .flt-group > summary:hover { color: var(--lst-wine); }
.picks-links, .picks-tags { list-style: none; margin: 0; padding: 0; }
.picks-block > .picks-links, .picks-block > .picks-tags, .picks-block > .picks-long { margin-bottom: 10px; }
.picks-link {
    display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 12px; align-items: center; min-height: 44px; padding: 8px 0;
    border-bottom: 1px solid rgba(183, 155, 107, .22); color: var(--lst-wine); font-size: var(--fs-filter, 15px); line-height: 1.35;
    text-decoration: none;
}
.picks-links > li:last-child > .picks-link { border-bottom: 0; }
.picks-link span { min-width: 0; overflow-wrap: break-word; }
.picks-link svg { transition: transform var(--lst-ease); }
.picks-link:hover { color: var(--lst-wine-deep); }
.picks-link:hover span { text-decoration: underline; text-decoration-color: rgba(94, 18, 32, .35); text-underline-offset: 3px; }
.picks-link:hover svg { transform: translateX(3px); }
.picks-link[aria-current] { font-weight: 600; }
.picks-tags { display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 2px 0 4px; }
.picks-tag {
    display: inline-block; padding: 6px 0; color: var(--lst-wine); font-size: var(--fs-filter, 15px); line-height: 1.3;
    text-decoration: underline; text-decoration-color: rgba(94, 18, 32, .3); text-underline-offset: 3px; font-variant-numeric: tabular-nums lining-nums;
}
.picks-tag:hover { text-decoration-color: currentColor; }
.picks-tag[aria-current] { font-weight: 600; text-decoration: none; }
.picks-link:focus-visible, .picks-tag:focus-visible { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
/* D-154: the title of a group is the heading of its block — the wine serif heading with the brass rule of the side
   cards; no common «Подборки» heading above it */
.picks-block > summary > .picks-title {
    position: relative; flex: 1; min-width: 0; margin: 0; padding-bottom: 10px; overflow-wrap: break-word;
    font-family: var(--lst-display); font-size: var(--fs-side-title, 22px); font-weight: 600; line-height: 1.15; color: var(--lst-wine);
}
.picks-block > summary > .picks-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 1px; background: var(--lst-brass); }
.picks-block > summary:hover > .picks-title { color: var(--lst-wine-deep); }

/* ---------- subcategory chips / tags ---------- */
.lst-main > .chips, .lst-subcats .chips { margin: 0 0 16px; }

/* ---------- filter form ---------- */
.flt { position: relative; margin: 8px 0 12px; }
.flt-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
.flt-top > :only-child { grid-column: 1 / -1; }
.flt-search { grid-column: 1 / -1; }
.flt-open-btn { order: 1; }
.flt-top .flt-sort { order: 2; }
.flt-search {
    min-width: 0; position: relative; display: flex; align-items: center;
    border: 1px solid var(--lst-line); border-radius: 4px; background: var(--lst-paper);
    transition: border-color var(--lst-ease);
}
.flt-search:focus-within { border-color: var(--lst-brass); }
.flt-search svg { flex: none; margin-left: 12px; color: var(--lst-muted); }
.flt-search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 8px 0 10px; border: 0; background: transparent;
    font-size: 16px; color: var(--lst-text);
}
.flt-search input:focus { outline: none; }
.flt-search input::-webkit-search-cancel-button { cursor: pointer; }
.flt-search-go {
    flex: none; height: 38px; margin-right: 4px; padding: 0 14px; border: 0; border-radius: 3px;
    background: transparent; color: var(--lst-wine); font-weight: 600; font-size: 14px; cursor: pointer;
}
.flt-search-go:hover { background: rgba(94, 18, 32, .06); }
.flt-open-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px;
    border: 1px solid rgba(26, 22, 20, .3); border-radius: 6px; background: var(--lst-paper); color: var(--lst-text);
    font-weight: 600; font-size: 15px; cursor: pointer; user-select: none;
}
.flt-open-btn:hover { border-color: var(--lst-wine); color: var(--lst-wine); }
.flt-open-state:focus-visible ~ .flt-top .flt-open-btn,
.flt-open-btn:focus-visible { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.flt-open-count, .flt-badge {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: var(--lst-wine); color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.flt-open-count[hidden], .flt-badge[hidden] { display: none; }

/* mobile / tablet panel (CSS-only open state, works without JS) */
.flt-panel { display: none; }
.flt-open-state:checked ~ .flt-panel {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 1000;
    height: 100vh; height: 100dvh; background: var(--lst-ivory);
    animation: flt-in 220ms ease;
}
html:has(.flt-open-state:checked) { overflow: hidden; }
@keyframes flt-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.flt-panel-head {
    flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 60px; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--lst-line); background: var(--lst-paper);
}
.flt-panel-head strong { font-family: var(--lst-display); font-size: 28px; font-weight: 600; }
.flt-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; cursor: pointer; }
.flt-close:hover { background: rgba(26, 22, 20, .06); }
.flt-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 8px 20px 24px; -webkit-overflow-scrolling: touch; }
.flt-panel-foot {
    flex: none; display: flex; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--lst-line); background: var(--lst-paper);
}
.flt-panel-foot .btn { height: 52px; justify-content: center; padding: 0 16px; white-space: nowrap; }
.flt-reset { flex: 0 0 auto; }
.flt-show { flex: 1 1 auto; min-width: 0; }
.flt-show span { font-variant-numeric: tabular-nums; }
.flt-sort { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.flt-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flt-sort .select { width: 100%; min-width: 0; height: 48px !important; }
@media (max-width: 1279px) { .flt-top .flt-sort .select { font-size: 14px; padding-left: 10px; padding-right: 28px; text-overflow: ellipsis; } }
@media (min-width: 720px) and (max-width: 1023px) {
    .lst-side-body .nav-sections > .nav-tree, .lst-side-body .nav-brand-list { columns: 2; column-gap: 32px; }
    .lst-side-body .nav-tree li, .nav-brand-list li { break-inside: avoid; }
}

.flt-sort .select, .lst .sort-form .select {
    height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--lst-line); border-radius: 4px;
    background-color: var(--lst-paper); font-size: 15px; color: var(--lst-text);
}
.flt-group { border-bottom: 1px solid var(--lst-line); }
.flt-group > summary { gap: 10px; min-height: 52px; }
.flt-group > summary::-webkit-details-marker { display: none; }
.flt-group > summary .flt-name { flex: 1; min-width: 0; }
.flt-chev { flex: none; transition: transform var(--lst-ease); color: var(--lst-muted); }
.flt-group[open] > summary .flt-chev { transform: rotate(180deg); }
.flt-pop { padding: 0 0 16px; }
.flt-more-state, .flt-more-btn { display: none; }
.flt-overflow { display: contents; }
.flt-pop-foot { display: none; }
.flt-opts { list-style: none; margin: 0; padding: 0; }
.flt-opts[data-collapsed] > li:nth-child(n+9):not(.is-checked) { display: none; }
.flt-opt {
    display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; cursor: pointer; font-size: var(--fs-filter, 15px);
}
.flt-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.flt-box {
    flex: none; width: 20px; height: 20px; border: 1.5px solid rgba(26, 22, 20, .45); border-radius: 3px; background: var(--lst-paper);
    display: grid; place-items: center; transition: background var(--lst-ease), border-color var(--lst-ease);
}
.flt-opt input:checked + .flt-box { background: var(--lst-wine); border-color: var(--lst-wine); }
.flt-opt input:checked + .flt-box::after {
    content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px);
}
.flt-opt input:focus-visible + .flt-box { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.flt-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.flt-opt small { min-width: 3ch; text-align: right; color: var(--lst-muted); font-size: var(--fs-count, 12.5px); font-variant-numeric: tabular-nums; }
.flt-opts > li.is-checked .flt-label { color: var(--lst-wine); font-weight: 600; }

/* chosen values in a group heading: «Объём · 2» */
.flt-panel .flt-badge {
    display: inline; min-width: 0; height: auto; padding: 0; border-radius: 0; background: none;
    color: var(--lst-wine); font-size: inherit; font-weight: 600;
}
.flt-panel .flt-badge::before { content: "· "; color: var(--lst-muted); font-weight: 400; }
.flt-panel .flt-badge[hidden] { display: none; }
.flt-group.is-set > summary .flt-name { color: var(--lst-wine); }

/* short values (volumes, years, strengths): rounded buttons, several per row; still checkboxes (one or several) */
.flt-group.is-pills .flt-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.flt-group.is-pills .flt-opt {
    position: relative; min-height: 36px; gap: 0; padding: 6px 12px; border: 1px solid var(--lst-line); border-radius: 18px;
    background: var(--lst-paper); font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums lining-nums;
    transition: border-color var(--lst-ease), background-color var(--lst-ease), color var(--lst-ease);
}
.flt-group.is-pills .flt-box, .flt-group.is-pills .flt-opt small { display: none; }
.flt-group.is-pills .flt-label { flex: none; }
.flt-group.is-pills .flt-opt:hover { border-color: var(--lst-wine); color: var(--lst-wine); }
.flt-group.is-pills li.is-checked .flt-opt, .flt-group.is-pills .flt-opt:has(input:checked) {
    border-color: var(--lst-wine); background: var(--lst-wine); color: #fff;
}
.flt-group.is-pills li.is-checked .flt-label, .flt-group.is-pills .flt-opt:has(input:checked) .flt-label { color: #fff; }
.flt-group.is-pills .flt-opt:has(input:checked)::before {
    content: ""; width: 8px; height: 5px; margin: 0 7px 3px 0; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg);
}
.flt-group.is-pills .flt-opt:has(input:focus-visible) { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.flt-group.is-pills .is-zero .flt-opt { border-style: dashed; }
.is-zero .flt-opt { cursor: default; color: var(--lst-muted); }
.is-zero .flt-box { border-color: rgba(26, 22, 20, .18); }
.flt-more, .flt-clear {
    margin-top: 6px; padding: 6px 0; border: 0; background: none; color: var(--lst-wine); font: inherit;
    font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; border-bottom: 1px solid transparent;
}
.flt-more:hover, .flt-clear:hover { border-bottom-color: currentColor; }
.flt-find { margin: 0 0 8px; }
.flt-nothing { margin: 8px 0; color: var(--lst-muted); font-size: 14px; }

/* range: two thumbs over one track + inputs */
.flt-range { padding: 4px 0 4px; }
.flt-slider { position: relative; height: 36px; margin: 0 10px 8px; }
.flt-slider[hidden] { display: none; }
.flt-slider-track { position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: rgba(26, 22, 20, .15); border-radius: 1px; }
.flt-slider-fill { position: absolute; top: 0; bottom: 0; background: var(--lst-wine); }
.flt-slider input[type="range"] {
    position: absolute; left: -10px; right: -10px; top: 0; width: calc(100% + 20px); height: 36px; margin: 0;
    background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.flt-slider input[type="range"]::-webkit-slider-runnable-track { background: none; height: 36px; }
.flt-slider input[type="range"]::-moz-range-track { background: none; }
.flt-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 7px; border-radius: 50%;
    background: var(--lst-paper); border: 2px solid var(--lst-wine); box-shadow: 0 1px 3px rgba(18, 16, 16, .18); cursor: grab;
}
.flt-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
    background: var(--lst-paper); border: 2px solid var(--lst-wine); box-shadow: 0 1px 3px rgba(18, 16, 16, .18); cursor: grab;
}
.flt-slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--lst-brass); outline-offset: 2px; }
.flt-slider input[type="range"]:focus { outline: none; }
.flt-range-inputs { display: flex; align-items: center; gap: 8px; }
.flt-range-inputs label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lst-muted); }
.flt-range-inputs input {
    flex: 1; min-width: 0; width: 100%; height: 44px; padding: 0 10px; border: 1px solid var(--lst-line); border-radius: 4px;
    background: var(--lst-paper); font-size: 16px; color: var(--lst-text); font-variant-numeric: tabular-nums;
}
.flt-range-inputs input:focus { outline: none; border-color: var(--lst-brass); }
.flt-unit { color: var(--lst-muted); font-size: 14px; min-width: 1ch; }
.flt-dash { color: var(--lst-muted); }

/* chosen conditions */
.flt-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 16px; }
.flt-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px 6px 12px;
    border: 1px solid var(--lst-line); border-radius: 4px; background: var(--lst-paper); color: var(--lst-text);
    font-size: 14px; text-decoration: none; transition: border-color var(--lst-ease), color var(--lst-ease);
}
.flt-chip svg { color: var(--lst-muted); }
.flt-chip:hover { border-color: var(--lst-wine); color: var(--lst-wine); }
.flt-chip:hover svg { color: var(--lst-wine); }
.flt-chip-reset { padding: 6px 4px; font-size: 14px; font-weight: 600; color: var(--lst-wine); border-bottom: 1px solid transparent; }
.flt-chip-reset:hover { border-bottom-color: currentColor; }

/* results */
.lst-results { position: relative; transition: opacity var(--lst-ease); }
.lst-results.is-loading { opacity: .45; pointer-events: none; }
.lst-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.lst-toolbar .toolbar-count { color: var(--lst-muted); font-size: 14px; }
.lst .sort-form { display: flex; align-items: center; gap: 8px; }
.lst .sort-form label { font-size: 14px; color: var(--lst-muted); }
.lst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lst .empty { padding: 32px 24px; border: 1px solid var(--lst-line); border-radius: 6px; background: var(--lst-paper); text-align: center; }
.lst .empty p + p { margin-top: 10px; }
.flt-empty-title { font-family: var(--lst-display); font-size: 26px; font-weight: 600; }
.flt-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px !important; }

/* «О разделе …»: the section's SEO text after the products, clamped to ~8 lines (catalog.js [data-clamp]) */
.lst-about { margin-top: 56px; padding: 32px 0 0; border-top: 1px solid var(--lst-line); position: relative; }
.lst-about::before {
    content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--lst-brass);
}
.lst-about-title {
    margin: 0 0 16px; max-width: 30ch; font-family: var(--lst-display); font-size: clamp(26px, 1vw + 20px, 32px);
    font-weight: 600; line-height: 1.15; overflow-wrap: anywhere;
}
.lst .lst-outro { max-width: 75ch; }
.lst .lst-outro.is-clamped { max-height: calc(8 * 1.7em); overflow: hidden; position: relative; }
.lst .lst-outro.is-clamped::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; pointer-events: none;
    background: linear-gradient(to bottom, rgba(244, 238, 228, 0), var(--lst-ivory));
}

@media (min-width: 720px) {
    .lst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- the bar above the products: search in the section, order, «Фильтры» (D-095) ---------- */
@media (min-width: 720px) {
    .flt-top { display: flex; align-items: stretch; gap: 10px; }
    .flt-search { flex: 1 1 auto; }
    .flt-top .flt-sort { flex: 0 0 auto; }
    .flt-top .flt-sort .select { width: auto; }
    .flt-open-btn { order: 3; flex: none; }
}
@media (min-width: 1024px) {
    .flt-sort label { position: static; width: auto; height: auto; clip: auto; font-size: 14px; color: var(--lst-muted); white-space: nowrap; }
}

/* the sliding «Фильтры» panel (narrower than the three columns): full screen on phones, a sheet on the right from
   720 px; closes by its button, Escape and Back (catalog.js) */
@media (min-width: 720px) {
    .flt-open-state:checked ~ .flt-panel {
        inset: 0 0 0 auto; width: min(420px, 100%); border-left: 1px solid var(--card-border, var(--lst-line));
        box-shadow: 0 0 0 100vmax rgba(18, 16, 16, .38); animation: flt-sheet 220ms ease;
    }
    @keyframes flt-sheet { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.flt-panel-title { font-family: var(--lst-display); font-size: 26px; font-weight: 600; line-height: 1.1; margin: 0; color: var(--lst-wine); }

/* ---------- 1024–1279 px: the navigation is a column on the left ---------- */
@media (min-width: 1024px) {
    .lst.has-nav {
        grid-template-columns: 236px minmax(0, 1fr); column-gap: 32px;
        grid-template-areas: "nav head" "nav intro" "nav arts" "nav picks" "nav main";
        grid-template-rows: auto auto auto auto 1fr;
    }
    .lst-nav { grid-row: 1 / -1; align-self: stretch; }
    .lst-nav .lst-side-toggle { display: none; }
    .lst-nav .lst-side-body, #lst-nav-open:checked + .lst-nav .lst-side-body {
        display: block; position: sticky; top: calc(var(--header-h, 0px) + var(--crumbs-h, 0px) + 16px);
        max-height: calc(100vh - var(--header-h, 0px) - var(--crumbs-h, 0px) - 32px); overflow: auto; overscroll-behavior: contain;
    }
    .lst-subcats.is-duplicate { display: none; }
}

/* ---------- ≥ 1280 px: three columns — navigation | filters above the products | «Подборки», «Статьи» (D-097) ---------- */
@media (min-width: 1280px) {
    .lst { column-gap: 32px; grid-template-rows: auto auto 1fr; }
    .lst.has-nav.has-right { grid-template-columns: 240px minmax(0, 1fr) 252px; grid-template-areas: "nav head picks" "nav intro picks" "nav main picks"; }
    .lst.has-nav:not(.has-right) { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "nav head" "nav intro" "nav main"; }
    .lst.has-right:not(.has-nav) { grid-template-columns: minmax(0, 1fr) 256px; grid-template-areas: "head picks" "intro picks" "main picks"; }
    .lst:not(.has-nav):not(.has-right) { grid-template-areas: "head" "intro" "main"; }
    .lst-nav, .lst-right { grid-row: 1 / -1; align-self: stretch; }
    .arts-strip { display: none; }
    .lst-side-toggle { display: none; }
    .lst-picks .lst-side-body, #lst-picks-open:checked + .lst-picks .lst-side-body { display: block; }
    .lst-picks .lst-side-title { display: block; }
    /* the right column: «Подборки» and «Статьи» in one sticky box; it scrolls only when open groups are taller than the
       screen. Each card is as tall as its content. */
    .lst-right-body {
        position: sticky; top: calc(var(--header-h, 0px) + var(--crumbs-h, 0px) + 16px); padding: 0 0 24px;
        max-height: calc(100vh - var(--header-h, 0px) - var(--crumbs-h, 0px) - 32px); overflow: auto; overscroll-behavior: contain;
    }
    .lst-right .lst-side-body { position: static; max-height: none; overflow: visible; padding: 0; margin: 0; }
    .side-arts, .side-cta { display: block; }
    .lst-right-body > :is(.side-cta, .side-cta-sub) ~ :is(.lst-picks, .side-arts),
    .lst-right-body > .lst-picks ~ .side-arts { margin-top: 20px; }

}
@media (min-width: 1440px) {
    .lst { column-gap: 40px; }
    .lst.has-nav.has-right { grid-template-columns: 252px minmax(0, 1fr) 260px; }
    .lst.has-right:not(.has-nav) { grid-template-columns: minmax(0, 1fr) 264px; column-gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .lst *, .lst *::before, .lst *::after { transition: none !important; animation: none !important; }
}

/* ---------- the line of filters above the products: listings and the search page (D-097) ----------
   ≥ 1024 px: calm light buttons with dropdowns — the first four groups and «Ещё фильтры N»; wine only for what is
   chosen. Narrower: the «Фильтры» button and the sliding panel (above). */
.search-filters { display: block; padding-bottom: 0; margin-top: 16px; }
@media (min-width: 1100px) {
    .lst-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .flt-wrap { margin: 8px 0 12px; }
    .flt-wrap .flt { margin: 0 0 10px; }
    .search-filters .flt-wrap { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 12px; }
    .search-filters .flt { order: 2; margin: 0 0 0 auto; }
    .search-filters .flt-panel { order: 1; flex: 1; min-width: 0; }
    .search-filters .flt-sort .select { height: 40px !important; }
    .flt-wrap .flt-open-btn { display: none; }
    .flt-wrap .flt-panel, .flt-wrap .flt-open-state:checked ~ .flt-panel {
        display: block; position: static; height: auto; background: none; animation: none; inset: auto; z-index: auto; width: auto; box-shadow: none; border: 0;
    }
    html:has(.flt-wrap .flt-panel) { overflow: visible; }
    .flt-wrap .flt-panel-head, .flt-wrap .flt-panel-foot { display: none; }
    .flt-wrap .flt-scroll { overflow: visible; padding: 0; }
    .flt-wrap .flt-groups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; overflow: visible; }
    .flt-wrap .flt-group { position: relative; border: 0; }
    .flt-wrap .flt-group.is-extra { display: none; }
    .flt-wrap .flt-more-state:checked ~ .flt-group.is-extra, .flt-wrap .flt-group.is-extra.is-set { display: block; }
    .flt-wrap .flt-group > summary {
        min-height: 40px; padding: 0 12px 0 14px; gap: 8px; border: 1px solid var(--lst-line); border-radius: 6px;
        background: var(--lst-paper); font-size: 14px; font-weight: 500; transition: border-color var(--lst-ease);
    }
    .flt-wrap .flt-group > summary:hover, .flt-wrap .flt-group[open] > summary { border-color: rgba(26, 22, 20, .35); color: var(--lst-text); }
    .flt-wrap .flt-group.is-set > summary { border-color: var(--lst-wine); color: var(--lst-wine); }
    .flt-wrap .flt-group.is-set > summary .flt-name { color: var(--lst-wine); }
    .flt-wrap .flt-group > summary .flt-name { flex: none; }
    .flt-wrap .flt-pop {
        position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; width: 320px; max-width: calc(100vw - 48px);
        padding: 14px 16px 12px; border: 1px solid var(--card-border, var(--lst-line)); border-radius: 8px; background: var(--lst-paper);
        box-shadow: 0 18px 40px rgba(18, 16, 16, .12);
    }
    .flt-wrap .flt-group.is-range .flt-pop { width: 340px; }
    .flt-wrap .flt-group.is-right .flt-pop { left: auto; right: 0; }
    .flt-wrap .flt-opts { max-height: 320px; overflow: auto; overscroll-behavior: contain; margin-right: -8px; padding-right: 8px; }
    .flt-wrap .flt-opts[data-collapsed] > li:nth-child(n+9):not(.is-checked) { display: list-item; }
    .flt-wrap .flt-group.is-pills .flt-opts { max-height: none; overflow: visible; }
    .flt-wrap .flt-more { display: none; }
    .flt-wrap .flt-opt { min-height: 36px; font-size: 14px; }
    .flt-wrap .flt-group.is-pills .flt-opt { min-height: 34px; }
    .flt-wrap .flt-box { width: 18px; height: 18px; }
    .flt-wrap .flt-pop-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lst-line); }
    .flt-wrap .flt-pop-foot .flt-clear { margin: 0 auto 0 0; }
    .flt-wrap .flt-range-inputs input { height: 40px; font-size: 15px; }
    .flt-wrap .flt-more-btn {
        order: 99; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; cursor: pointer; user-select: none;
        border: 1px dashed rgba(26, 22, 20, .28); border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--lst-text);
    }
    .flt-wrap .flt-more-btn b { font-weight: 500; color: var(--lst-muted); }
    .flt-wrap .flt-more-btn:hover { border-color: rgba(26, 22, 20, .5); }
    .flt-wrap .flt-more-btn .if-open, .flt-wrap .flt-more-state:checked ~ .flt-more-btn .if-closed { display: none; }
    .flt-wrap .flt-more-state:checked ~ .flt-more-btn .if-open { display: inline; }
    .flt-wrap .flt-more-state:focus-visible ~ .flt-more-btn { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
}

/* ---------- scroll bars of the side columns and the sliding panel: thin (≈ 6 px), muted brass, no track; darker on
   hover — visible enough to say there is more below (D-097) ---------- */
@media (min-width: 1024px) {
    :is(.lst-nav .lst-side-body, .lst-right-body, .flt-scroll, .flt-wrap .flt-opts)::-webkit-scrollbar { width: 6px; height: 6px; }
    :is(.lst-nav .lst-side-body, .lst-right-body, .flt-scroll, .flt-wrap .flt-opts)::-webkit-scrollbar-track { background: transparent; }
    :is(.lst-nav .lst-side-body, .lst-right-body, .flt-scroll, .flt-wrap .flt-opts)::-webkit-scrollbar-thumb { background: rgba(138, 110, 64, .28); border-radius: 3px; }
    :is(.lst-nav .lst-side-body, .lst-right-body, .flt-scroll, .flt-wrap .flt-opts):hover::-webkit-scrollbar-thumb { background: rgba(138, 110, 64, .5); }
    @supports not selector(::-webkit-scrollbar) {
        .lst-nav .lst-side-body, .lst-right-body, .flt-scroll, .flt-wrap .flt-opts { scrollbar-width: thin; scrollbar-color: rgba(138, 110, 64, .32) transparent; }
    }
}

/* ---------- «Статьи» of the section ---------- */
/* right column (≥ 1280 px): small picture + two lines of title */
.side-arts-title { display: block; font-size: 22px; }
.side-arts-list { list-style: none; margin: 0; padding: 0; }
.side-arts-list li + li { margin-top: 2px; }
.side-art {
    position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center;
    padding: 7px 0; color: var(--lst-text); text-decoration: none;
}
.side-art-thumb {
    display: block; width: 60px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--lst-paper);
    box-shadow: inset 0 0 0 1px var(--lst-line);
}
.side-art-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; color: transparent; }
.side-art-thumb.is-empty {
    /* D-302 the icon of the drink of the article on the paper of the brand */
    display: grid; place-items: center; color: var(--brass-deep, #8A6E40);
    background: radial-gradient(90% 120% at 50% 0%, #fff 0, var(--ivory, #F4EEE4) 70%), var(--lst-paper);
}
.side-art-thumb.is-empty .drink-icon { width: 26px; height: 26px; }
.side-art-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    font-size: 14px; line-height: 1.35; font-weight: 500; overflow-wrap: anywhere; transition: color var(--lst-ease);
}
a.side-art:hover .side-art-title { color: var(--lst-wine); }
a.side-art:hover .side-art-thumb img { transform: scale(1.05); }
a.side-art:focus-visible { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.side-art.is-current .side-art-title { color: var(--lst-wine); font-weight: 600; }
.side-art.is-current::before {
    content: ""; position: absolute; left: -12px; top: 50%; width: 2px; height: 2.4em; transform: translateY(-50%); background: var(--lst-brass);
}
.side-arts-more { margin-top: 6px; }
.side-arts-more > summary {
    display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 0; cursor: pointer; list-style: none;
    color: var(--lst-wine); font-weight: 600; font-size: 14px; border-bottom: 1px solid transparent;
}
.side-arts-more > summary::-webkit-details-marker { display: none; }
.side-arts-more > summary::after {
    content: ""; align-self: center; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--lst-ease);
}
.side-arts-more[open] > summary::after { transform: rotate(-135deg); }
.side-arts-more > summary small { color: var(--lst-muted); font-weight: 500; font-size: 13px; }
.side-arts-more > summary:hover { border-bottom-color: currentColor; }
.side-arts-more[open] > summary { margin-bottom: 4px; }
@media (min-width: 1440px) {
    .side-art { grid-template-columns: 72px minmax(0, 1fr); }
    .side-art-thumb { width: 72px; }
}

/* below 1280 px: a horizontal strip of compact cards (the next one peeks out) */
.arts-strip { grid-area: arts; min-width: 0; margin: 0 0 16px; }
.arts-strip-title {
    display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px;
    font: 600 12px/1.4 var(--font-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--lst-muted);
}
.arts-strip-title small { letter-spacing: 0; font-size: 13px; font-weight: 500; }
.arts-strip-list {
    list-style: none; margin: 0 calc(-1 * var(--gutter, 16px)); padding: 2px var(--gutter, 16px) 10px;
    display: grid; grid-auto-flow: column; grid-auto-columns: min(264px, 76%); gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 16px);
    -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(26, 22, 20, .2) transparent;
}
.arts-strip-list li { display: flex; min-width: 0; scroll-snap-align: start; }
.arts-strip-card {
    flex: 1; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center;
    min-height: 74px; padding: 9px 12px 9px 9px; border: 1px solid var(--lst-line); border-radius: 4px;
    background: var(--lst-paper); color: var(--lst-text); text-decoration: none; transition: border-color var(--lst-ease);
}
.arts-strip-card .side-art-thumb { width: 72px; }
.arts-strip-card:hover { border-color: var(--lst-brass); }
.arts-strip-card:hover .side-art-title { color: var(--lst-wine); }
.arts-strip-card:focus-visible { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.arts-strip-card .side-art-title { -webkit-line-clamp: 3; line-clamp: 3; }
@media (min-width: 720px) { .arts-strip-list { grid-auto-columns: 280px; } }

/* ---------- article pages: the listing layout around the text (templates/pages/article.php) ---------- */
.art-layout .art-head { margin-bottom: 4px; }
.art-layout .art-head h1 { max-width: none; }
/* D-339 the head of an article: as the head of a section — the medallion, the title, the section with its flag and the time */
.art-layout[data-drink] .art-head { margin-bottom: 18px; }
.lst .art-head .art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.art-meta a { color: var(--ivory, #F4EEE4); text-decoration: none; border-bottom: 1px solid var(--drink-light, var(--lst-brass)); }
.art-meta a:hover { color: var(--drink-light, var(--lst-brass)); }
.art-meta-flag { display: inline-block; flex: none; width: 18px; height: 13px; border-radius: 2px; margin-right: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); object-fit: cover; }
/* D-339 the subheadings of the text (h2 / h3, and the bold paragraphs of the old editor): the display face, a line and a lozenge */
.article .prose h2, .article .prose h3 { position: relative; margin: 1.7em 0 .7em; padding-bottom: 12px; font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-align: left !important; color: var(--text); }
.article .prose h2 { font-size: clamp(24px, 1vw + 18px, 30px); }
.article .prose h3 { font-size: clamp(20px, .6vw + 16px, 24px); }
.article .prose h2::after, .article .prose h3::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 40px; height: 1px; background: var(--drink, var(--lst-brass)); }
.article .prose h2::before, .article .prose h3::before { content: ""; position: absolute; left: 44px; bottom: -1px; width: 6px; height: 6px; background: var(--drink, var(--lst-brass)); transform: rotate(45deg); }
.art-main > .article > :first-child { margin-top: 12px; }
.art-main .article-links .btn { max-width: 100%; white-space: normal; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 4px 10px; }
.art-main .article-links .btn small { font-weight: 500; opacity: .75; white-space: nowrap; }
.art-main .arts-strip { margin: 40px 0 0; }
.art-main .art-products { margin-top: 56px; }
.art-layout .lst-nav { margin-bottom: 8px; }
.art-layout .lst-right { display: none; }
@media (min-width: 1280px) {
    .art-layout .lst-right { display: block; }
    .art-layout .lst-nav { margin-bottom: 0; }
    .art-layout .art-products .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
    /* no section: the text and the other articles side by side, no gap in the middle */
    .lst.art-layout.has-right:not(.has-nav) { grid-template-columns: minmax(0, 800px) 272px; column-gap: 72px; }
}

/* «Перейти в раздел …» on top of the right column of an article */
.side-cta {
    position: relative; padding: 16px 16px 14px; border: 1px solid var(--lst-line); border-radius: 4px;
    background: var(--lst-paper); color: var(--lst-text); text-decoration: none; transition: border-color var(--lst-ease);
}
.side-cta::before { content: ""; position: absolute; left: 16px; top: -1px; width: 40px; height: 2px; background: var(--lst-brass); }
.side-cta small { display: block; font: 600 11.5px/1.4 var(--font-body, inherit); letter-spacing: .12em; text-transform: uppercase; color: var(--lst-muted); }
.side-cta b { display: block; margin: 4px 0 10px; font-family: var(--lst-display); font-size: 24px; font-weight: 600; line-height: 1.1; overflow-wrap: anywhere; }
.side-cta span { display: inline-flex; align-items: center; gap: 8px; color: var(--lst-wine); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.side-cta svg { transition: transform var(--lst-ease); }
.side-cta:hover { border-color: var(--lst-wine); }
.side-cta:hover svg { transform: translateX(3px); }
.side-cta:focus-visible { outline: 2px solid var(--lst-wine); outline-offset: 2px; }
.lst-right-body > .side-cta-sub { display: block; margin-top: 10px; color: var(--lst-wine); font-weight: 600; font-size: 14px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.side-cta-sub:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .side-art-thumb img, .side-cta svg { transition: none; } }

/* ---------- side columns as light cards (D-094, D-095) ----------
   The navigation (from 1024 px) and the right column (from 1280 px): light cards with a thin brass border and a small
   radius, serif titles of about 24 px with a short brass rule, rows of the lists on a soft hover; the current section
   or brand on a light wine tint with a wine bar. No heavy shadows, no capitals, no ornaments next to the groups. */
.lst {
    --lst-tint: rgba(183, 155, 107, .14);
}
@media (min-width: 1024px) {
    .lst-nav .lst-side-body {
        padding: 20px 14px 14px; background: var(--lst-paper); border: 1px solid var(--card-border, rgba(183, 155, 107, .38));
        border-radius: var(--card-radius, 8px);
    }
    .lst-nav .lst-side-title { position: relative; margin: 0 4px 12px; padding-bottom: 12px; font-size: var(--fs-side-title, 24px); }
    .lst-nav .nav-group > summary { padding-left: 4px; padding-right: 4px; }
    .lst-nav .nav-group > :not(summary) { padding-left: 0; }
    .lst-nav .nav-find { margin-left: 4px; margin-right: 4px; }
    .lst-nav .nav-all, .lst-nav .nav-none, .lst-nav .nav-note { margin-left: 6px; }
    .lst-nav .nav-tree a, .lst-nav .nav-brand-list a {
        min-height: var(--nav-row, 38px); padding: 8px 8px 8px 10px; border-radius: 6px;
    }
    .lst-nav .nav-tree a:hover, .lst-nav .nav-brand-list a:hover { background: var(--lst-tint); }
    .lst-nav .nav-tree a[aria-current], .lst-nav .nav-brand-list a[aria-current] { background: rgba(94, 18, 32, .07); }
    .lst-nav .nav-tree a[aria-current]::before, .lst-nav .nav-brand-list a[aria-current]::before { left: 0; height: 60%; border-radius: 2px; }
    .lst-nav .nav-tree details > summary { top: 4px; right: 2px; }
}
/* titles of the side cards: serif, ≈ 24 px, a short brass rule under them; «Фильтры» and «Подборки» in the deep wine
   of the main buttons (D-096) */
.lst-side-title::after, .side-arts-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 1px; background: var(--lst-brass);
}
.lst-side-title, .side-arts-title { position: relative; }
.lst-picks .lst-side-title { color: var(--lst-wine); }
@media (min-width: 1280px) {
    .lst-right-body > .lst-picks, .lst-right-body > .side-arts {
        padding: 20px 18px 14px; background: var(--lst-paper); border: 1px solid var(--card-border, rgba(183, 155, 107, .38));
        border-radius: var(--card-radius, 8px);
    }
    .lst-right .lst-picks .lst-side-title, .lst-right .side-arts-title {
        margin: 0 0 8px; padding-bottom: 12px; font-size: var(--fs-side-title, 24px);
    }
    .lst-right .picks-block { border-top: 0; border-bottom: 1px solid rgba(183, 155, 107, .25); }
    .lst-right .picks-block:last-child { border-bottom: 0; }
    .lst-right .side-art-title { font-size: 15px; }
    .lst-right .side-art.is-current::before { left: -10px; }
}

/* D-155: three levels in the link groups — the group title in wine (the heading), the links in the text colour with a
   quiet arrow (wine on hover), the current page as in the left column: a light wine ground, a wine bar on the left,
   bold wine text, no arrow */
.picks-link { color: var(--lst-text); }
.picks-link svg { color: var(--lst-muted); }
.picks-link:hover, .picks-link:hover svg { color: var(--lst-wine); }
.picks-link[aria-current] {
    position: relative; margin: 0 -8px; padding-left: 12px; padding-right: 8px; border-radius: 3px;
    background: rgba(94, 18, 32, .07); color: var(--lst-wine); font-weight: 600; cursor: default;
}
.picks-link[aria-current]::before {
    content: ""; position: absolute; left: 0; top: 20%; width: 2px; height: 60%; border-radius: 2px; background: var(--lst-wine);
}
.picks-link[aria-current] svg { visibility: hidden; }
.picks-link[aria-current]:hover span { text-decoration: none; }
.picks-tag { color: var(--lst-text); text-decoration-color: rgba(46, 33, 28, .3); }
.picks-tag:hover { color: var(--lst-wine); }
.picks-tag[aria-current] { padding: 6px 8px; margin: 0 -8px; border-radius: 3px; background: rgba(94, 18, 32, .07); color: var(--lst-wine); }

/* D-158: kinds of wine as a tree — the colour page is the parent row (bold), its sugars are indented under it with a thin
   guide line; no separators between a parent and its children */
.picks-links.is-tree .picks-link.is-parent { font-weight: 600; border-bottom: 0; padding-bottom: 2px; }
.picks-links.is-tree .picks-link.is-child {
    position: relative; min-height: 36px; padding: 6px 0 6px 18px; border-bottom: 0; font-size: calc(var(--fs-filter, 15px) - 1px);
}
.picks-links.is-tree .picks-link.is-child::after {
    content: ""; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: rgba(183, 155, 107, .45);
}
.picks-links.is-tree li:has(> .is-child) + li:has(> .picks-link:not(.is-child)) { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(183, 155, 107, .22); }
.picks-links.is-tree .picks-link.is-child[aria-current] { margin: 0 -8px 0 0; padding-left: 18px; }
.picks-links.is-tree .picks-link.is-child[aria-current]::before { left: 4px; }

/* D-169: the places as a tree that opens on the arrow — region ▸ subregion ▸ appellation */
.picks-accordion details > summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.picks-accordion details > summary::-webkit-details-marker { display: none; }
.picks-accordion details > summary .picks-link { flex: 1 1 auto; min-width: 0; }
.picks-node-chev {
    flex: 0 0 28px; height: 28px; display: grid; place-items: center; margin-left: 4px; border-radius: 3px; color: var(--lst-wine);
}
.picks-node-chev::before {
    content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
}
.picks-accordion details[open] > summary .picks-node-chev::before { transform: translateY(2px) rotate(-135deg); }
.picks-accordion details > summary:hover .picks-node-chev { background: rgba(94, 18, 32, .06); }
.picks-accordion .picks-sub { margin: 0 0 4px 12px; padding-left: 10px; border-left: 1px solid rgba(183, 155, 107, .45); }
.picks-accordion .picks-sub .picks-link { font-size: calc(var(--fs-filter, 15px) - 1px); min-height: 34px; }

/* D-171: «География» of a place — the places above it, it (marked), the places inside it; each says what it is */
.picks-map { list-style: none; margin: 0; padding: 4px 0 2px; }
.picks-map-row {
    position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
    padding: 5px 0 5px calc(var(--lvl, 0) * 14px); line-height: 1.3;
}
.picks-map-row::before {
    content: ""; position: absolute; left: calc(var(--lvl, 0) * 14px - 10px); top: 0; height: 15px; width: 7px;
    border-left: 1px solid rgba(183, 155, 107, .7); border-bottom: 1px solid rgba(183, 155, 107, .7);
}
.picks-map-row[style*="--lvl:0"]::before { display: none; }
.picks-map-row a { color: var(--lst-text); text-decoration: none; }
.picks-map-row a:hover { color: var(--lst-wine); text-decoration: underline; }
.picks-map-here { font-weight: 600; color: var(--lst-wine); }
.picks-map-row small { flex: 0 0 auto; font-size: 12px; color: var(--lst-muted, #8a7a6a); letter-spacing: .02em; }

/* D-161: a small flag before a country in «Страны» — the old flags of the site, a thin border so a white field shows */
.nav-tree a:has(> .nav-flag) { grid-template-columns: 20px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; }
.nav-tree a .nav-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(46, 33, 28, .14); }
.nav-tree a .nav-flag.is-empty { display: block; box-shadow: none; }

/* D-245 «Подобрать за 30 секунд» */
.picker{max-width:1180px;margin:0 auto;padding:28px 16px 56px}
.picker-head{text-align:center;margin-bottom:28px}
.picker-kicker{margin:0 0 6px;color:var(--brass-deep);font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.picker-head h1{margin:0;font-family:var(--font-display);font-weight:600;font-size:clamp(30px, 4vw, 44px);line-height:1.1;color:var(--text)}
.picker-progress{display:flex;justify-content:center;gap:10px;list-style:none;margin:18px 0 0;padding:0}
.picker-progress li{display:flex;align-items:center;gap:10px}
.picker-progress li + li::before{content:"";width:36px;height:1px;background:var(--line-strong)}
.picker-progress span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--line-strong);font-size:13px;font-weight:700;color:var(--muted);background:var(--paper)}
.picker-progress .is-current span{background:var(--wine);border-color:var(--wine);color:var(--ivory)}
.picker-progress .is-done span{background:var(--brass);border-color:var(--brass);color:var(--ink)}
.picker-answers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0 0}
.picker-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border:1px solid var(--line-strong);border-radius:999px;background:var(--paper);color:var(--text);font-size:14px;font-weight:600;text-decoration:none}
.picker-chip span:first-child{color:var(--muted);font-weight:500}
.picker-chip:hover{border-color:var(--wine)}
.picker-options{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;max-width:880px;margin:0 auto}
.picker-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:96px;padding:18px 14px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-l);color:var(--text);text-align:center;text-decoration:none;transition:border-color var(--t) ease, transform var(--t) ease, box-shadow var(--t) ease}
.picker-option b{font-size:17px;font-weight:700}
.picker-option:hover,.picker-option:focus-visible{border-color:var(--wine);transform:translateY(-2px);box-shadow:0 14px 30px -18px rgba(94, 18, 32, .45)}
.picker-option.is-accent{background:var(--wine);border-color:var(--wine);color:var(--ivory)}
.picker-icon{display:inline-flex;color:var(--brass-deep);line-height:1}
.picker-option:hover .picker-icon{color:var(--wine)}
.picker-hint{color:var(--muted);font-size:13px}
.picker-why{margin:8px 2px 0;color:var(--text-soft);font-size:13px;line-height:1.4}
.picker-why span{color:var(--success);font-weight:700}
.picker-again{text-align:center;margin-top:32px}
@media (min-width: 720px){
    .picker-options{grid-template-columns:repeat(3, minmax(0, 1fr))}
    .picker-options-4{grid-template-columns:repeat(4, minmax(0, 1fr))}
    .picker-option{min-height:140px}
}
/* D-302 a product photo of the section as the picture of an article: the whole bottle */
.side-art-thumb.is-product { background: #fff; }
.side-art-thumb.is-product img { object-fit: contain; padding: 3px 0; }

/* D-320 the character of the drink: one style of the shop, the accent of the section — its colour in a soft light behind the
   heading, its icon in a medallion, the ornament under the heading, «Читать полностью» and the titles of the columns */
[data-drink="absinthe"]  { --drink: #3F7A4B; --drink-light: #8FC49A; --drink-glow: rgba(70, 150, 90, .55); }
[data-drink="rum"]       { --drink: #A8641F; --drink-light: #E0A25A; --drink-glow: rgba(205, 128, 45, .55); }
[data-drink="whisky"]    { --drink: #9A5A26; --drink-light: #D9A066; --drink-glow: rgba(180, 105, 40, .55); }
[data-drink="cognac"]    { --drink: #8E4520; --drink-light: #D38A5A; --drink-glow: rgba(165, 78, 30, .55); }
[data-drink="wine"]      { --drink: #7A1E2C; --drink-light: #D7808C; --drink-glow: rgba(140, 28, 46, .65); }
[data-drink="port"]      { --drink: #6B1630; --drink-light: #CF7B97; --drink-glow: rgba(125, 22, 58, .65); }
[data-drink="sparkling"] { --drink: #A88634; --drink-light: #E6CD8A; --drink-glow: rgba(210, 175, 95, .5); }
[data-drink="vodka"]     { --drink: #4F6E86; --drink-light: #A9C3D8; --drink-glow: rgba(120, 160, 195, .5); }
[data-drink="agave"]     { --drink: #5F7D33; --drink-light: #B4CB82; --drink-glow: rgba(115, 150, 60, .55); }
[data-drink="gin"]       { --drink: #3E7C78; --drink-light: #93CBC6; --drink-glow: rgba(60, 140, 135, .55); }
[data-drink="liqueur"]   { --drink: #8B3A5C; --drink-light: #D995B3; --drink-glow: rgba(150, 55, 95, .55); }
[data-drink="cigars"]    { --drink: #7A4E2D; --drink-light: #C9996F; --drink-glow: rgba(140, 90, 50, .6); }

.lst[data-drink] .listing-head {
    position: relative; isolation: isolate; align-items: center; padding: 26px 30px 30px; margin-top: 12px; margin-bottom: 18px; overflow: hidden;
    border-radius: 6px; color: var(--ivory, #F4EEE4);
    background: radial-gradient(60% 160% at 100% 0%, var(--drink-glow), transparent 70%), radial-gradient(45% 140% at 0% 100%, rgba(94, 18, 32, .35), transparent 70%), var(--ink, #121010);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .6);
}
.lst[data-drink] .listing-head h1 { position: relative; padding-bottom: 14px; color: var(--ivory, #F4EEE4); }
.lst[data-drink] .listing-head .count { color: var(--muted-dark, #B9AFA3); }
/* D-327 a compact head: the icon on the left, the title (at most two lines, smaller) and the count under it */
.lst[data-drink] .listing-head {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; row-gap: 6px; align-items: center;
    padding: 20px 26px 20px;
}
.lst[data-drink] .listing-head > .listing-drink, .lst[data-drink] .listing-head > .listing-flag { grid-row: 1 / span 2; }
.lst[data-drink] .listing-head h1 {
    max-width: none; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.12; padding-bottom: 12px; align-self: end;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: normal;
}
.lst[data-drink] .listing-head .count { grid-column: 2; align-self: start; font-size: 13px; letter-spacing: .02em; }
.listing-reading { font-size: 15px; letter-spacing: 0; color: var(--ivory, #F4EEE4); opacity: .85; }
.listing-head:not(:is(.lst[data-drink] *)) .listing-reading { color: inherit; }
.lst[data-drink] .listing-head h1::after, .lst[data-drink] .listing-head h1::before { bottom: auto; top: calc(100% - 5px); }
.lst[data-drink] .listing-head h1::before { top: calc(100% - 8px); }
.lst[data-drink] .listing-head .listing-flag { width: 52px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.lst[data-drink] .listing-head h1::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 44px; height: 1px; background: var(--drink-light); }
.lst[data-drink] .listing-head h1::before { content: ""; position: absolute; left: 48px; bottom: -1px; width: 6px; height: 6px; background: var(--drink-light); transform: rotate(45deg); }
.listing-drink {
    display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%;
    color: var(--drink-light, var(--lst-brass)); background: rgba(255, 255, 255, .04);
    box-shadow: 0 0 0 1px var(--drink-light, var(--lst-brass)), 0 0 0 6px rgba(255, 255, 255, .03), 0 0 30px -6px var(--drink-glow, transparent);
}
.listing-drink .drink-icon { width: 30px; height: 30px; }
.lst[data-drink] .intro-more { color: var(--drink); border-bottom-color: var(--drink); }
.lst[data-drink] .lst-side-title::after, .lst[data-drink] .side-arts-title::after { background: var(--drink); }
@media (max-width: 599px) { .lst[data-drink] .listing-head { padding: 16px 16px 16px; column-gap: 14px; } .lst[data-drink] .listing-head h1 { font-size: 24px; } .listing-drink { width: 46px; height: 46px; } .listing-drink .drink-icon { width: 24px; height: 24px; } }

/* D-340 an article in the column and the strip: its title after a lozenge of the colour of the drink of the page */
.side-art-dot { flex: none; width: 6px; height: 6px; margin: 7px 2px 0 0; background: var(--drink, var(--lst-wine, #7A1E2C)); transform: rotate(45deg); }
.side-art, .arts-strip-card { grid-template-columns: 8px minmax(0, 1fr); gap: 10px; align-items: start; }
.side-art { padding: 9px 0; }
.arts-strip-card { min-height: 0; padding: 12px 14px; }
.side-art-title { font-size: 14.5px; }
.side-arts-list li + li { border-top: 1px solid var(--lst-line, #eadfd0); }
