

/* Start:/local/templates/project/assets/fonts/fonts.css?17918733953058*/
/* ==========================================================================
   Montserrat, локальные woff2 (наборы Google Fonts: cyrillic, latin, latin-ext).
   Файлы лежат рядом с этим CSS. Браузер скачивает только те файлы,
   символы которых есть на странице (unicode-range).
   При обновлении шрифта меняйте v1 → v2 в именах, иначе сработает старый кэш.
   ========================================================================== */

/* --- Прямое начертание, 300–700 ----------------------------------------- */

/* cyrillic */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-cyrillic-v1.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin (в том числе цифры и знаки препинания) */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-latin-v1.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext (в том числе знак ₽) */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-latin-ext-v1.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Курсив, 400–500 (цитата на главной) -------------------------------- */

/* cyrillic */
@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-italic-cyrillic-v1.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-italic-latin-v1.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 400 500;
    font-display: swap;
    src: url("/local/templates/project/assets/fonts/montserrat-italic-latin-ext-v1.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* End */


/* Start:/local/js/project/toast/style.css?17917205083838*/
/* Переопределяются в шаблоне сайта через переменные */
.project-toast-stack {
	--project-toast-bg: #fff;
	--project-toast-color: #1f2328;
	--project-toast-radius: 6px;
	--project-toast-shadow: 0 6px 24px rgba(20, 24, 32, .16);
	--project-toast-success: #2e8b57;
	--project-toast-error: #c62828;
	--project-toast-info: #3b6ea8;
	--project-toast-muted: #59636e;
	--project-toast-media-bg: #f4f5f7;
	--project-toast-accent: #1f2328;
	--project-toast-accent-color: #fff;
	--project-toast-offset: 16px;

	position: fixed;
	right: var(--project-toast-offset);
	bottom: calc(var(--project-toast-offset) + env(safe-area-inset-bottom, 0px));
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	max-width: min(380px, calc(100vw - 2 * var(--project-toast-offset)));
	pointer-events: none;
}

.project-toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 12px 12px 16px;
	border-left: 4px solid var(--project-toast-info);
	border-radius: var(--project-toast-radius);
	background: var(--project-toast-bg);
	color: var(--project-toast-color);
	box-shadow: var(--project-toast-shadow);
	font-size: 15px;
	line-height: 1.4;
	pointer-events: auto;
	animation: project-toast-in .2s ease-out;
}

.project-toast--success { border-left-color: var(--project-toast-success); }
.project-toast--error   { border-left-color: var(--project-toast-error); }

.project-toast__text {
	flex: 1;
	min-width: 0;
	overflow-wrap: anywhere;
}

.project-toast__close {
	flex: none;
	width: 24px;
	height: 24px;
	margin: -2px -2px 0 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	opacity: .55;
	cursor: pointer;
}

.project-toast__close:hover { opacity: 1; }
.project-toast__close:focus-visible {
	opacity: 1;
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.project-toast.is-leaving { animation: project-toast-out .15s ease-in forwards; }

@keyframes project-toast-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

@keyframes project-toast-out {
	to { opacity: 0; transform: translateY(4px); }
}

/* сообщение с картинкой и заголовком */
.project-toast__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.project-toast__media {
	flex: none;
	display: block;
	width: 64px;
	height: 64px;
	border-radius: calc(var(--project-toast-radius) - 2px);
	background: var(--project-toast-media-bg);
	overflow: hidden;
}

.project-toast__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.project-toast--rich .project-toast__text {
	color: var(--project-toast-muted);
	font-size: 13px;
}

.project-toast__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

a.project-toast__title:hover { text-decoration: underline; }

.project-toast__note {
	font-weight: 600;
}

.project-toast__action {
	align-self: flex-start;
	margin-top: 8px;
	padding: 6px 12px;
	border-radius: calc(var(--project-toast-radius) - 2px);
	background: var(--project-toast-accent);
	color: var(--project-toast-accent-color);
	font-size: 14px;
	text-decoration: none;
}

.project-toast__action:hover { opacity: .9; }

.project-toast__title:focus-visible,
.project-toast__action:focus-visible {
	outline: 2px solid var(--project-toast-accent);
	outline-offset: 2px;
}

@media (max-width: 575px) {
	.project-toast-stack {
		left: var(--project-toast-offset);
		align-items: stretch;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-toast,
	.project-toast.is-leaving { animation: none; }
}

/* End */


/* Start:/local/templates/project/components/project/site.header/.default/style.css?179198965016588*/
/*
 * project:site.header — шапка, меню каталога, бургер-меню, компактная шапка.
 *
 * Перенесено из вёрстки: css/styles.css («Верхняя полоска», «Шапка»), css/menus.css целиком,
 * css/sticky.css (шапка). Токены (--wine-*, --cream-*, --gutter, --topbar-h…), .container, .icon,
 * .logo — в template_styles.css шаблона сайта: ими пользуются и другие блоки. Поле поиска (.search)
 * есть только в шапке и меню, поэтому оно здесь.
 */

/* --- Верхняя полоска ---------------------------------------------------- */
.topbar {
    display: none;
    background: var(--wine-700);
    border-bottom: .5px solid var(--cream-20);
    color: var(--cream-90);
    font-size: 13px;
}

.topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    height: var(--topbar-h);
}

.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__group--end { justify-content: flex-end; }
.topbar__nav { display: flex; gap: 22px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar .icon--xs { width: 11px; height: 11px; }

.topbar__city,
.topbar__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.topbar__city:hover,
.topbar__link:hover { color: var(--cream); }

.topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--cream);
}

.topbar__callback {
    color: var(--cream-70);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topbar__callback:hover { color: var(--cream); }

/* На 1024–1279 не хватает места: прячем строку про доставку */
@media (max-width: 1279px) {
    .topbar__delivery { display: none; }
}

/* --- Шапка -------------------------------------------------------------- */
.header {
    background: var(--g-wine);
    color: var(--cream);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
}

.header__burger { display: inline-flex; }
.header__burger .icon { width: 24px; height: 24px; }

.header__catalog,
.header__nav { display: none; }

.header__actions { display: flex; align-items: center; gap: 22px; }

.search {
    position: relative;
    flex: 1;
    min-width: 0;
}

.search__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    translate: 0 -50%;
    color: var(--cream-70);
    pointer-events: none;
}

.search__input {
    width: 100%;
    height: 36px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--cream-50);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--cream);
    font: inherit;
    font-size: 14px;
    appearance: none;
}

.search__input::placeholder { color: var(--cream-70); }
.search__input:focus { outline: none; border-color: var(--cream); }

.hdr-action {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--cream-70);
}

.hdr-action--cart { display: inline-flex; }
.hdr-action:hover { color: var(--cream); }
.hdr-action__label { display: none; }

.hdr-action__icon { position: relative; color: var(--cream); }
.hdr-action__icon .icon { width: 24px; height: 24px; }

.hdr-action__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--cream);
    color: var(--wine-900);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.hdr-action__badge:empty { display: none; }

@media (min-width: 1024px) {
    .topbar { display: block; }

    .header__inner { gap: 24px; }
    .header__burger { display: none; }
    .header__logo { --logo-size: 32px; }

    .header__catalog {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 40px;
        padding: 0 20px;
        border-radius: var(--radius-pill);
        background: var(--cream-12);
        font-size: 15px;
        font-weight: 600;
    }

    .header__catalog:hover { background: var(--cream-20); }

    .search__input { height: 40px; padding-left: 44px; }
    .search__icon { left: 16px; }

    .header__nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
    .header__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    .header__link:hover { opacity: .8; }

    .hdr-action { display: inline-flex; }
}

@media (min-width: 1280px) {
    .header__inner { gap: 28px; }
    .header__nav { gap: 24px; }
    .hdr-action__label { display: block; }
}

/* ==========================================================================
   Компактная и прилипающая шапка (было в css/sticky.css)
   ========================================================================== */

/* Телефон в шапке виден только в компактном режиме */
.header__phone { display: none; }

/* Мобильные: шапка закреплена сверху */
@media (max-width: 1023px) {
    :root { --sticky-offset: 64px; }

    html { scroll-padding-top: 76px; }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }
}

/* --- Десктоп: компактная «умная» шапка ---------------------------------- */
@media (min-width: 1024px) {
    /* Резерв под шапку, чтобы при переходе в fixed контент не прыгал */
    .site-header { min-height: calc(var(--topbar-h) + 80px); }

    .header { transition: transform .2s var(--ease-out); }

    html.is-compact .header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 50;
        box-shadow: 0 2px 14px rgb(58 9 13 / .25);
        animation: header-in .2s var(--ease-out);
    }

    html.is-compact.is-header-hidden .header { transform: translateY(-100%); box-shadow: none; }

    html.is-compact:not(.is-header-hidden) { --sticky-offset: 64px; }

    html.is-compact .header__inner { height: 64px; }
    html.is-compact .header__logo { --logo-size: 26px; }
    html.is-compact .header__nav { display: none; }
    html.is-compact .header__catalog { height: 36px; }
    html.is-compact .header__search .search__input { height: 36px; }

    html.is-compact .header__phone {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    html.is-compact .header__phone .icon { width: 16px; height: 16px; }

    @keyframes header-in { from { transform: translateY(-100%); } }
}

@media (prefers-reduced-motion: reduce) {
    .header { transition: none; animation: none; }
    html.is-compact .header { animation: none; }
}

/* ==========================================================================
   Меню: каталог на весь экран (десктоп) и выезжающее бургер-меню (мобильные).
   Оба — <dialog>, открываются через showModal() из js/menus.js.
   ========================================================================== */

html:has(dialog[data-menu][open]) { overflow: hidden; }

:where(.cmenu, .mmenu) a { color: inherit; text-decoration: none; }

:where(.cmenu, .mmenu) button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

:where(.cmenu, .mmenu) :where(a, button, summary):focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Каталог (десктоп) -------------------------------------------------- */
.cmenu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-y: auto;
    background: var(--g-wine);
    color: var(--cream);
}

.cmenu::backdrop { background: transparent; }

.cmenu[open] { animation: cmenu-in .2s ease-out; }

@keyframes cmenu-in { from { opacity: 0; } }

.cmenu__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cmenu__top {
    display: flex;
    align-items: center;
    gap: 48px;
    height: 108px;
    border-bottom: 1px solid var(--cream-20);
}

.cmenu__logo { --logo-size: 38px; }

.cmenu__search { flex: 1; }
.cmenu__search .search__input { height: 50px; padding-left: 52px; background: var(--cream-06); font-size: 15px; }
.cmenu__search .search__icon { left: 22px; }

.cmenu__close {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--cream-70);
    font-size: 15px;
}

.cmenu__close:hover { color: var(--cream); }

.cmenu__close-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--cream-50);
    border-radius: 50%;
    color: var(--cream);
}

.cmenu__close:hover .cmenu__close-icon { border-color: var(--cream); }

.cmenu__body {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 427px) minmax(0, 1fr) minmax(0, 360px);
    column-gap: 64px;
    align-items: start;
    padding: 72px 0 64px;
}

.cmenu__eyebrow {
    margin: 0;
    color: var(--cream-90);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Корневые разделы */
.cmenu__roots { margin: 18px 0 0; padding: 0; list-style: none; }

.cmenu__root {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 82px;
    color: var(--cream-50);
    transition: color .15s;
}

.cmenu__num { width: 15px; font-size: 14px; }

.cmenu__name {
    flex: 1;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.1;
    white-space: nowrap;
}

.cmenu__arrow { width: 26px; height: 26px; opacity: 0; transition: opacity .15s; }

.cmenu__root:hover,
.cmenu__root[aria-current="true"] { color: var(--cream); }

.cmenu__root[aria-current="true"] .cmenu__num { color: var(--cream-90); }
.cmenu__root[aria-current="true"] .cmenu__name { font-weight: 400; }
.cmenu__root[aria-current="true"] .cmenu__arrow { opacity: .8; }

/* Подразделы активного раздела */
.cmenu__panel-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 26px;
}

.cmenu__panel-title { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.2; }
.cmenu__count { color: var(--cream-50); font-size: 14px; }

.cmenu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 128px));
    gap: 26px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cmenu__item { display: block; }

.cmenu__thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    aspect-ratio: 128 / 170;
}

.cmenu__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s;
}

.cmenu__item--photo .cmenu__thumb img { object-fit: cover; }
.cmenu__item--logo .cmenu__thumb { aspect-ratio: 128 / 88; }

.cmenu__item:hover .cmenu__thumb img { transform: scale(1.04); }

.cmenu__label {
    display: block;
    margin-top: 12px;
    color: var(--cream-90);
    font-size: 16px;
    line-height: 1.25;
}

.cmenu__item:hover .cmenu__label { color: var(--cream); }

.cmenu__more { margin-top: 28px; color: var(--cream-50); font-size: 14px; }
.cmenu__more:hover { color: var(--cream); }

/* Промо-карточка */
.cmenu__promo {
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--cream-06);
}

.cmenu__promo-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 420;
    object-fit: cover;
}

.cmenu__promo-body { padding: 26px 24px 24px; }
.cmenu__promo .cmenu__eyebrow { color: var(--cream-70); letter-spacing: .1em; }

.cmenu__promo-title {
    margin: 12px 0 14px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.cmenu__promo-btn {
    display: inline-flex;
    padding: 12px 20px;
    border: 1px solid var(--cream);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .15s, color .15s;
}

.cmenu__promo-btn:hover { background: var(--cream); color: var(--wine-900); }

/* Низ */
.cmenu__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 26px 0 36px;
    border-top: 1px solid var(--cream-20);
}

.cmenu__links { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 17px; color: var(--cream-90); }
.cmenu__links a:hover { color: var(--cream); }

.cmenu__contacts { display: flex; align-items: center; gap: 30px; }

.cmenu__city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cream-70);
    font-size: 16px;
}

.cmenu__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
}

.cmenu__city .icon,
.cmenu__phone .icon { width: 16px; height: 16px; color: var(--cream-70); }

/* Узкий десктоп: промо уходит, разделы ужимаются */
@media (max-width: 1399px) {
    .cmenu__body { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
    .cmenu__promo { display: none; }
    .cmenu__name { font-size: 32px; }
    .cmenu__root { min-height: 68px; }
}

/* --- Бургер-меню (мобильные) -------------------------------------------- */
.mmenu {
    position: fixed;
    inset: 0 auto auto 0;
    width: min(350px, calc(100% - 40px));
    max-width: none;
    height: auto;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 0 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--wine-700);
    color: var(--cream);
}

.mmenu::backdrop {
    background: rgb(244 236 230 / .25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mmenu[open] { animation: mmenu-in .25s ease-out; }

@keyframes mmenu-in { from { transform: translateX(-100%); } }

.mmenu__inner { padding: 18px 20px 24px; }

.mmenu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mmenu__logo { --logo-size: 24px; }
.mmenu__close .icon { width: 24px; height: 24px; }

.mmenu__search .search__input { height: 42px; background: var(--cream-06); font-size: 16px; }

.mmenu__eyebrow {
    margin: 0 0 4px;
    color: var(--cream-70);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mmenu__section { margin-top: 18px; }

.mmenu__section--site {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--cream-20);
}

.mmenu__list { margin: 0; padding: 0; list-style: none; }

.mmenu__summary,
.mmenu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 17px;
    line-height: 1.25;
}

.mmenu__summary { list-style: none; cursor: pointer; }
.mmenu__summary::-webkit-details-marker { display: none; }

.mmenu__acc[open] > .mmenu__summary { font-weight: 700; }

.mmenu__chevron { width: 18px; height: 18px; transition: rotate .2s; }
.mmenu__acc[open] .mmenu__chevron { rotate: 180deg; }

.mmenu__sub {
    display: grid;
    gap: 10px;
    margin: 4px 0 10px;
    padding: 0 0 0 14px;
    border-left: 1px solid var(--cream-50);
    list-style: none;
    color: var(--cream-70);
    font-size: 15px;
}

.mmenu__sub a:hover { color: var(--cream); }

.mmenu__contacts {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 40px;
}

.mmenu__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
}

.mmenu__city {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cream-70);
    font-size: 15px;
}

.mmenu__phone .icon,
.mmenu__city .icon { width: 16px; height: 16px; color: var(--cream-70); }

@media (prefers-reduced-motion: reduce) {
    .cmenu[open], .mmenu[open] { animation: none; }
    .cmenu__thumb img, .mmenu__chevron, .cmenu__arrow, .cmenu__root { transition: none; }
}

/* End */


/* Start:/local/templates/project/components/project/city.select/.default/style.css?17920605312842*/
/* local/components/project/city.select/templates/.default/style.css
 *
 * Только окно выбора города: в вёрстке его нет, оформлено на токенах шаблона сайта
 * (--text, --text-muted, --accent, --band). Кнопки города (.topbar__city, .cmenu__city,
 * .mmenu__city) - в стилях сайта.
 * TODO: сверить с дизайном, когда появится макет окна.
 */

.city-select {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 64px);
    padding: 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 40px rgb(58 9 13 / .18);
    color: var(--text);
}

.city-select::backdrop { background: rgb(0 0 0 / .4); }

.city-select__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.city-select__title { margin: 0; font-size: 20px; font-weight: 600; }

.city-select__close {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--text);
    cursor: pointer;
}

.city-select__close:hover { background: var(--band); }
.city-select__close .icon { width: 20px; height: 20px; }

.city-select__search {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--accent);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 16px; /* меньше 16px - iOS приближает страницу при фокусе */
}

.city-select__search:focus { outline: none; box-shadow: 0 1px 0 var(--text); }

.city-select__list { margin: 12px 0 0; padding: 0; list-style: none; }
.city-select__list--columns { columns: 2; column-gap: 24px; }
.city-select__subtitle { margin: 20px 0 4px; color: var(--text-muted); font-size: 14px; font-weight: 400; }

.city-select__item {
    display: block;
    width: 100%;
    padding: 6px 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}

.city-select__item:hover { color: var(--accent); }
.city-select__item:focus-visible,
.city-select__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.city-select__region { display: block; color: var(--text-muted); font-size: 13px; }
.city-select__empty { padding: 6px 0; color: var(--text-muted); }

/* display у списков не задаём, но на всякий случай: [hidden] сильнее */
.city-select [hidden] { display: none !important; }

@media (max-width: 575.98px) {
    .city-select { padding: 20px 16px; }
    .city-select__list--columns { columns: 1; }
}
/* End */


/* Start:/local/templates/project/components/project/site.footer/.default/style.css?17919896439119*/
/*
 * project:site.footer — подвал и нижняя панель вкладок (мобильные).
 *
 * Перенесено из вёрстки: css/styles.css («Подвал»), css/sticky.css (панель вкладок).
 * Токены, .container, .icon, .logo — в template_styles.css шаблона сайта.
 */

/* --- Подвал ------------------------------------------------------------- */
.site-footer {
    padding: 32px 0 24px;
    background: var(--g-wine);
    color: var(--cream);
}

.footer { display: flex; flex-direction: column; gap: 24px; }
.footer__top { display: flex; flex-direction: column; gap: 24px; }

.logo--footer { --logo-size: 34px; }

.footer__desc {
    max-width: 44ch;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--cream-90);
}

.footer__rule { margin: 0; border: 0; border-top: 1px solid var(--cream-20); }
.footer__rule--desktop { display: none; }

/* Карточка «Нужна помощь» */
.help {
    padding: 16px;
    border: 1px solid var(--cream-20);
    border-radius: var(--radius-card);
    background: var(--cream-06);
}

.help__title { margin: 0; font-size: 16px; font-weight: 600; }
.help__sub { margin: 10px 0 0; font-size: 13px; color: var(--cream-70); }
.help__phone { display: none; }

.help__actions { display: flex; gap: 8px; margin-top: 16px; }
.help__actions .btn { flex: 1; padding-inline: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s, box-shadow .15s;
}

.btn .icon { width: 18px; height: 18px; }
.btn--light { background: var(--cream); color: var(--wine-900); }
.btn--light:hover { background: #fff; }

/* На мобильных «Заказать звонок» — контурная */
.help__order { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream-50); }
.help__order:hover { background: var(--cream-06); box-shadow: inset 0 0 0 1px var(--cream); }

/* Колонки меню */
.footer__cols { display: flex; flex-direction: column; }

.fmenu { border-bottom: 1px solid var(--cream-20); }
.fmenu:first-child { border-top: 1px solid var(--cream-20); }
.fmenu--desktop { display: none; }

.fmenu__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

summary.fmenu__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
}

summary.fmenu__title::-webkit-details-marker { display: none; }

.fmenu__chevron { width: 18px; height: 18px; transition: rotate .2s; }
.fmenu[open] .fmenu__chevron { rotate: 180deg; }

.fmenu__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
    font-size: 15px;
}

.fmenu__link { color: var(--cream-90); }
.fmenu__link:hover,
.fmenu__link[aria-current] { color: var(--cream); }

/* Отдел продаж */
.footer__sales { padding-top: 24px; }
.footer__sales .fmenu__title { margin-bottom: 16px; }

.contacts {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.35;
    color: var(--cream-90);
}

.contacts li { display: flex; align-items: flex-start; gap: 10px; }
.contacts .icon { width: 18px; height: 18px; margin-top: 1px; }
.contacts a:hover { color: var(--cream); }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--cream-50);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
}

.pill:hover { border-color: var(--cream); }

/* Оплата */
.payments { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.payments__label { width: 100%; font-size: 13px; color: var(--cream-70); }

.payments__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    padding: 6px 10px;
    border-radius: var(--radius-chip);
    background: var(--cream-12);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* Низ */
.footer__bottom { display: flex; flex-direction: column; gap: 20px; }
.footer__copy { order: 2; margin: 0; font-size: 13px; color: var(--cream-70); }

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--cream-70);
}

.footer__legal-link:hover { color: var(--cream); }

@media (min-width: 1024px) {
    .site-footer { padding: 56px 0 28px; }

    .footer { gap: 40px; }


    .logo--footer { --logo-size: 38px; }
    .footer__desc { margin-top: 16px; }

    .footer__rule--desktop { display: block; }
    .footer__rule--mobile { display: none; }

    .help { display: flex; align-items: center; gap: 24px; padding: 18px 24px; }
    .help__text { flex: 1; }
    .help__sub { margin-top: 4px; font-size: 12px; }

    .help__phone {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 600;
        white-space: nowrap;
    }

    .help__actions { margin-top: 0; }
    .help__actions .btn { padding-inline: 22px; }
    .help__call { display: none; }
    .help__order { background: var(--cream); color: var(--wine-900); box-shadow: none; }
    .help__order:hover { background: #fff; box-shadow: none; }

    .footer__cols {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 24px;
    }

    .fmenu,
    .fmenu:first-child { border: 0; }

    .fmenu--desktop { display: block; }
    .fmenu__title { margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; }

    summary.fmenu__title {
        padding: 0;
        cursor: default;
        pointer-events: none;
    }

    /* Раскрыто до работы JS (в браузерах с поддержкой ::details-content) */
    .fmenu::details-content { content-visibility: visible; display: contents; }

    .fmenu__chevron { display: none; }
    .fmenu__list { gap: 9px; padding: 0; font-size: 14px; }

    .footer__sales { padding-top: 0; }
    .footer__sales .fmenu__title { margin-bottom: 18px; }
    .contacts { gap: 12px; font-size: 14px; }
    .socials { margin-top: 20px; }
    .pill { height: 30px; font-size: 12px; }

    .payments { flex-wrap: nowrap; }
    .payments__label { width: auto; margin-right: 2px; }
    .payments__label::after { content: ":"; }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }

    .footer__copy { order: 0; font-size: 12px; white-space: nowrap; }
    .footer__legal { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; }
}

@media (min-width: 1280px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    .footer__cols {
        grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.3fr);
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn, .fmenu__chevron { transition: none; }
}

/* ==========================================================================
   Нижняя панель вкладок (было в css/sticky.css)
   ========================================================================== */

/* Место под панель внизу страницы */
@media (max-width: 1023px) {
    body { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom)); }
}

.tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 46;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: var(--safe-bottom);
    border-top: 1px solid var(--line);
    background: #fff;
}

.tabbar__item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    height: var(--tabbar-h);
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font: inherit;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
}

.tabbar__item .icon { width: 24px; height: 24px; }
.tabbar__item[aria-current="page"] { color: var(--accent); font-weight: 600; }
.tabbar__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 8px; }

.tabbar__icon { position: relative; }

.tabbar__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.tabbar__badge:empty { display: none; }

@media (min-width: 1024px) {
    .tabbar { display: none; }
}

/* End */


/* Start:/local/templates/project/template_styles.css?179206012340195*/
/* ==========================================================================
   A-SVET — шаблон сайта: токены, база, шапка, подвал, общие блоки,
   меню, прилипающие шапка/полосы/панель вкладок.
   Собрано из styles.css, components.css (общие куски), menus.css, sticky.css, cart.css (.page-head).
   ========================================================================== */

/* --- Токены ------------------------------------------------------------- */
:root {
    --wine-900: #3A090D;
    --wine-800: #4E191E;
    --wine-700: #5F262C;
    --cream: #F4ECE6;
    --cream-90: rgb(244 236 230 / .9);
    --cream-70: rgb(244 236 230 / .7);
    --cream-50: rgb(244 236 230 / .5);
    --cream-20: rgb(244 236 230 / .2);
    --cream-12: rgb(244 236 230 / .12);
    --cream-06: rgb(244 236 230 / .06);
    --gold: #C9A381;

    --page-bg: #FBF7F5;
    --text: #3A090D;
    --text-muted: #9C8486;
    --accent: #8C6061;
    --accent-hover: #774E50;
    --band: #F4ECE6;
    --band-deep: #EBDCD1;
    --dot: #E3CFC2;
    --line: #DFC6B5;
    --danger: #B33340;
    --badge-sale: #B33340;
    --badge-hit: #774787;
    --badge-new: #EB7F09;
    --shadow-card: 0 4px 20px rgb(58 9 13 / .06);
    --shadow-card-hover: 0 10px 30px rgb(58 9 13 / .14);
    --g-wine: linear-gradient(90deg, var(--wine-900) 0%, var(--wine-800) 50.96%, var(--wine-900) 100%);

    --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1478px;
    --gutter: 16px;
    --topbar-h: 30px;
    --header-h: 64px;
    --radius-card: 12px;
    --radius-tile: 16px;
    --radius-chip: 6px;
    --radius-pill: 999px;
}

@media (min-width: 768px) {
    :root { --gutter: 32px; }
}

@media (min-width: 1024px) {
    :root { --header-h: 80px; }
}

/* --- База --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

body.page-white { --page-bg: #fff; background: var(--page-bg); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

img { max-width: 100%; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--xs { width: 12px; height: 12px; }

:where(.site-header, .site-footer) a { color: inherit; text-decoration: none; }

:where(.site-header, .site-footer) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:where(.site-header, .site-footer) :focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 3px;
    border-radius: 4px;
}

[hidden] { display: none !important; }

/* --- Логотип (временный текстовый, заменить на SVG) -------------------- */
.logo {
    --logo-size: 18px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    flex: none;
    line-height: 1;
}

.logo__word {
    font-size: var(--logo-size);
    font-weight: 300;
    letter-spacing: .16em;
    margin-right: -.16em;
    background: linear-gradient(90deg, #B68B66, #E3C7A6 50%, #B68B66);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo__tag {
    margin-top: .4em;
    font-size: calc(var(--logo-size) * .22);
    letter-spacing: .3em;
    white-space: nowrap;
    color: var(--gold);
}

/* --- Верхняя полоска ---------------------------------------------------- */
.topbar {
    display: none;
    background: var(--wine-700);
    border-bottom: .5px solid var(--cream-20);
    color: var(--cream-90);
    font-size: 13px;
}

.topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
    height: var(--topbar-h);
}

.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__group--end { justify-content: flex-end; }
.topbar__nav { display: flex; gap: 22px; }
.topbar .icon { width: 14px; height: 14px; }
.topbar .icon--xs { width: 11px; height: 11px; }

.topbar__city,
.topbar__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.topbar__city:hover,
.topbar__link:hover { color: var(--cream); }

.topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--cream);
}

.topbar__callback {
    color: var(--cream-70);
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.topbar__callback:hover { color: var(--cream); }

/* На 1024–1279 не хватает места: прячем строку про доставку */
@media (max-width: 1279px) {
    .topbar__delivery { display: none; }
}

/* --- Шапка -------------------------------------------------------------- */
.header {
    background: var(--g-wine);
    color: var(--cream);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--header-h);
}

.header__burger { display: inline-flex; }
.header__burger .icon { width: 24px; height: 24px; }

.header__catalog,
.header__nav { display: none; }

.header__actions { display: flex; align-items: center; gap: 22px; }

.search {
    position: relative;
    flex: 1;
    min-width: 0;
}

.search__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    translate: 0 -50%;
    color: var(--cream-70);
    pointer-events: none;
}

.search__input {
    width: 100%;
    height: 36px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--cream-50);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--cream);
    font: inherit;
    font-size: 14px;
    appearance: none;
}

.search__input::placeholder { color: var(--cream-70); }
.search__input:focus { outline: none; border-color: var(--cream); }

.hdr-action {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--cream-70);
}

.hdr-action--cart { display: inline-flex; }
.hdr-action:hover { color: var(--cream); }
.hdr-action__label { display: none; }

.hdr-action__icon { position: relative; color: var(--cream); }
.hdr-action__icon .icon { width: 24px; height: 24px; }

.hdr-action__badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--cream);
    color: var(--wine-900);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.hdr-action__badge:empty { display: none; }

@media (min-width: 1024px) {
    .topbar { display: block; }

    .header__inner { gap: 24px; }
    .header__burger { display: none; }
    .header__logo { --logo-size: 32px; }

    .header__catalog {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 40px;
        padding: 0 20px;
        border-radius: var(--radius-pill);
        background: var(--cream-12);
        font-size: 15px;
        font-weight: 600;
    }

    .header__catalog:hover { background: var(--cream-20); }

    .search__input { height: 40px; padding-left: 44px; }
    .search__icon { left: 16px; }

    .header__nav { display: flex; align-items: center; gap: 22px; font-size: 16px; }
    .header__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    .header__link:hover { opacity: .8; }

    .hdr-action { display: inline-flex; }
}

@media (min-width: 1280px) {
    .header__inner { gap: 28px; }
    .header__nav { gap: 24px; }
    .hdr-action__label { display: block; }
}

/* --- Подвал ------------------------------------------------------------- */
.site-footer {
    padding: 32px 0 24px;
    background: var(--g-wine);
    color: var(--cream);
}

.footer { display: flex; flex-direction: column; gap: 24px; }
.footer__top { display: flex; flex-direction: column; gap: 24px; }

.logo--footer { --logo-size: 34px; }

.footer__desc {
    max-width: 44ch;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--cream-90);
}

.footer__rule { margin: 0; border: 0; border-top: 1px solid var(--cream-20); }
.footer__rule--desktop { display: none; }

/* Карточка «Нужна помощь» */
.help {
    padding: 16px;
    border: 1px solid var(--cream-20);
    border-radius: var(--radius-card);
    background: var(--cream-06);
}

.help__title { margin: 0; font-size: 16px; font-weight: 600; }
.help__sub { margin: 10px 0 0; font-size: 13px; color: var(--cream-70); }
.help__phone { display: none; }

.help__actions { display: flex; gap: 8px; margin-top: 16px; }
.help__actions .btn { flex: 1; padding-inline: 12px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s, box-shadow .15s;
}

.btn .icon { width: 18px; height: 18px; }
.btn--light { background: var(--cream); color: var(--wine-900); }
.btn--light:hover { background: #fff; }

/* На мобильных «Заказать звонок» — контурная */
.help__order { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream-50); }
.help__order:hover { background: var(--cream-06); box-shadow: inset 0 0 0 1px var(--cream); }

/* Колонки меню */
.footer__cols { display: flex; flex-direction: column; }

.fmenu { border-bottom: 1px solid var(--cream-20); }
.fmenu:first-child { border-top: 1px solid var(--cream-20); }
.fmenu--desktop { display: none; }

.fmenu__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

summary.fmenu__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
}

summary.fmenu__title::-webkit-details-marker { display: none; }

.fmenu__chevron { width: 18px; height: 18px; transition: rotate .2s; }
.fmenu[open] .fmenu__chevron { rotate: 180deg; }

.fmenu__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
    font-size: 15px;
}

.fmenu__link { color: var(--cream-90); }
.fmenu__link:hover,
.fmenu__link[aria-current] { color: var(--cream); }

/* Отдел продаж */
.footer__sales { padding-top: 24px; }
.footer__sales .fmenu__title { margin-bottom: 16px; }

.contacts {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.35;
    color: var(--cream-90);
}

.contacts li { display: flex; align-items: flex-start; gap: 10px; }
.contacts .icon { width: 18px; height: 18px; margin-top: 1px; }
.contacts a:hover { color: var(--cream); }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.pill {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid var(--cream-50);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
}

.pill:hover { border-color: var(--cream); }

/* Оплата */
.payments { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.payments__label { width: 100%; font-size: 13px; color: var(--cream-70); }

.payments__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    padding: 6px 10px;
    border-radius: var(--radius-chip);
    background: var(--cream-12);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* Низ */
.footer__bottom { display: flex; flex-direction: column; gap: 20px; }
.footer__copy { order: 2; margin: 0; font-size: 13px; color: var(--cream-70); }

.footer__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--cream-70);
}

.footer__legal-link:hover { color: var(--cream); }

@media (min-width: 1024px) {
    .site-footer { padding: 56px 0 28px; }

    .footer { gap: 40px; }


    .logo--footer { --logo-size: 38px; }
    .footer__desc { margin-top: 16px; }

    .footer__rule--desktop { display: block; }
    .footer__rule--mobile { display: none; }

    .help { display: flex; align-items: center; gap: 24px; padding: 18px 24px; }
    .help__text { flex: 1; }
    .help__sub { margin-top: 4px; font-size: 12px; }

    .help__phone {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 20px;
        font-weight: 600;
        white-space: nowrap;
    }

    .help__actions { margin-top: 0; }
    .help__actions .btn { padding-inline: 22px; }
    .help__call { display: none; }
    .help__order { background: var(--cream); color: var(--wine-900); box-shadow: none; }
    .help__order:hover { background: #fff; box-shadow: none; }

    .footer__cols {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 24px;
    }

    .fmenu,
    .fmenu:first-child { border: 0; }

    .fmenu--desktop { display: block; }
    .fmenu__title { margin-bottom: 18px; font-size: 13px; letter-spacing: .08em; }

    summary.fmenu__title {
        padding: 0;
        cursor: default;
        pointer-events: none;
    }

    /* Раскрыто до работы JS (в браузерах с поддержкой ::details-content) */
    .fmenu::details-content { content-visibility: visible; display: contents; }

    .fmenu__chevron { display: none; }
    .fmenu__list { gap: 9px; padding: 0; font-size: 14px; }

    .footer__sales { padding-top: 0; }
    .footer__sales .fmenu__title { margin-bottom: 18px; }
    .contacts { gap: 12px; font-size: 14px; }
    .socials { margin-top: 20px; }
    .pill { height: 30px; font-size: 12px; }

    .payments { flex-wrap: nowrap; }
    .payments__label { width: auto; margin-right: 2px; }
    .payments__label::after { content: ":"; }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 24px;
    }

    .footer__copy { order: 0; font-size: 12px; white-space: nowrap; }
    .footer__legal { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; }
}

@media (min-width: 1280px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
    }

    .footer__cols {
        grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.3fr);
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn, .fmenu__chevron { transition: none; }
}

/* ==========================================================================
   Общие блоки (из components.css)
   ========================================================================== */

/* --- Хлебные крошки ---------- */
.breadcrumbs { padding: 14px 0 10px; font-size: 12px; }

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-muted);
}

.breadcrumbs__list li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

@media (min-width: 1024px) {
    .breadcrumbs { padding: 26px 0 0; font-size: 12px; }
    .breadcrumbs__list { gap: 4px 18px; }
    .breadcrumbs__list li + li::before { content: "›"; margin-right: 18px; font-size: 15px; line-height: 1; }
}

/* --- Заголовок секции и ссылка «смотреть все» --------------------------- */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}

.more-link::after {
    content: "»";
    font-size: 1.2em;
    line-height: 1;
}

.more-link:hover { color: var(--accent); }

@media (min-width: 1024px) {
    .section-head { justify-content: flex-start; gap: 32px; margin-bottom: 40px; }
    .section-title { font-size: 40px; }
    .more-link { font-size: 15px; }
}

/* --- Кнопка акцентная --------------------------------------------------- */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 0;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s;
}

.btn-accent:hover { background: var(--accent-hover); }

.btn-accent:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Плитки (категории, бренды, фото) ----------------------------------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    position: relative;
    display: block;
    aspect-ratio: 162 / 180;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-card);
    color: var(--text);
    text-decoration: none;
    transition: box-shadow .2s;
}

.tile:hover { box-shadow: var(--shadow-card-hover); }

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

.tile__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile__label {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Логотип бренда */
.tile--logo { aspect-ratio: 162 / 112; }
.tile--logo .tile__img { object-fit: contain; }

/* Фото на всю плитку: на мобильных подпись под фото, на десктопе — поверх */
.tile--photo {
    display: flex;
    flex-direction: column;
    aspect-ratio: auto;
}

.tile--photo .tile__img { height: auto; aspect-ratio: 162 / 142; }

.tile--photo .tile__label {
    position: static;
    padding: 12px;
}

@media (min-width: 1024px) {
    .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
    .tiles--tight { gap: 30px 10px; }

    .tile {
        aspect-ratio: 260 / 322;
        border-radius: var(--radius-tile);
        box-shadow: none;
    }

    .tiles--tight .tile { aspect-ratio: 287 / 359; }
    .tile--logo,
    .tiles--logos .tile { aspect-ratio: 260 / 182; }

    .tile__label { left: 13px; bottom: 12px; font-size: 20px; }

    .tile--photo { display: block; }
    .tile--photo .tile__img { height: 100%; aspect-ratio: auto; }

    .tile--photo .tile__label {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 14px;
        background: rgb(255 255 255 / .6);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
}

/* --- Секции с каруселями товаров (главная, карточка, корзина) --------------------------------------------------- */
.products { padding-block: 32px; }
.products:last-of-type { padding-bottom: 48px; }

@media (min-width: 1024px) {
    .products { padding-block: 48px; }
    .products:last-of-type { padding-bottom: 96px; }
}

.badge {
    padding: 3px 8px;
    border-radius: 0 4px 4px 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.25;
}

.badge--sale { background: var(--badge-sale); }
.badge--hit { background: var(--badge-hit); }
.badge--new { background: var(--badge-new); text-transform: uppercase; }

/* --- Светлая полоса на всю ширину (блоки «Сотрудничаем», «О компании») --- */
.band {
    margin-inline: calc(var(--gutter) * -1);
    padding: 32px var(--gutter);
    background: var(--band);
}

.band__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .band { margin-inline: -30px; padding: 25px 80px; }
    .band__title { margin-bottom: 20px; font-size: 38px; line-height: 1.15; }
}

@media (min-width: 1024px) and (max-width: 1599px) {
    /* Пока полям не хватает места, не выходим за контейнер */
    .band { margin-inline: 0; }
}

/* --- Блок «Сотрудничаем с дизайнерами»: раскладка (форма — в project:form/designer) --- */
.partners { padding-block: 32px; }

.partners__text { font-size: 14px; line-height: 1.45; }
.partners__text p { margin: 0 0 1em; }

@media (min-width: 1024px) {
    .partners { padding-block: 64px; }

    .partners__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 587px);
        gap: 80px;
        align-items: start;
    }

    .partners__text { padding-top: 53px; font-size: 16px; line-height: 1.35; }
    .partners__text p { max-width: 620px; margin-bottom: 1.35em; }
}

/* --- Заголовок страницы (корзина, оформление, дальше — каталог, кабинет) --- */
.page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin: 4px 0 18px;
}

.page-head__title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.page-head__meta { color: var(--text-muted); font-size: 13px; }

@media (min-width: 1024px) {
    .page-head { gap: 8px 16px; margin: 18px 0 28px; }
    .page-head__title { font-size: 36px; }
    .page-head__meta { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .tile, .btn-accent { transition: none; }
}

/* ==========================================================================
   Меню (menus.css)
   ========================================================================== */

html:has(dialog[data-menu][open]) { overflow: hidden; }

:where(.cmenu, .mmenu) a { color: inherit; text-decoration: none; }

:where(.cmenu, .mmenu) button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

:where(.cmenu, .mmenu) :where(a, button, summary):focus-visible {
    outline: 2px solid var(--cream);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Каталог (десктоп) -------------------------------------------------- */
.cmenu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-y: auto;
    background: var(--g-wine);
    color: var(--cream);
}

.cmenu::backdrop { background: transparent; }

.cmenu[open] { animation: cmenu-in .2s ease-out; }

@keyframes cmenu-in { from { opacity: 0; } }

.cmenu__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.cmenu__top {
    display: flex;
    align-items: center;
    gap: 48px;
    height: 108px;
    border-bottom: 1px solid var(--cream-20);
}

.cmenu__logo { --logo-size: 38px; }

.cmenu__search { flex: 1; }
.cmenu__search .search__input { height: 50px; padding-left: 52px; background: var(--cream-06); font-size: 15px; }
.cmenu__search .search__icon { left: 22px; }

.cmenu__close {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--cream-70);
    font-size: 15px;
}

.cmenu__close:hover { color: var(--cream); }

.cmenu__close-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--cream-50);
    border-radius: 50%;
    color: var(--cream);
}

.cmenu__close:hover .cmenu__close-icon { border-color: var(--cream); }

.cmenu__body {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 427px) minmax(0, 1fr) minmax(0, 360px);
    column-gap: 64px;
    align-items: start;
    padding: 72px 0 64px;
}

.cmenu__eyebrow {
    margin: 0;
    color: var(--cream-90);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* Корневые разделы */
.cmenu__roots { margin: 18px 0 0; padding: 0; list-style: none; }

.cmenu__root {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 82px;
    color: var(--cream-50);
    transition: color .15s;
}

.cmenu__num { width: 15px; font-size: 14px; }

.cmenu__name {
    flex: 1;
    font-size: 40px;
    font-weight: 300;
    line-height: 1.1;
    white-space: nowrap;
}

.cmenu__arrow { width: 26px; height: 26px; opacity: 0; transition: opacity .15s; }

.cmenu__root:hover,
.cmenu__root[aria-current="true"] { color: var(--cream); }

.cmenu__root[aria-current="true"] .cmenu__num { color: var(--cream-90); }
.cmenu__root[aria-current="true"] .cmenu__name { font-weight: 400; }
.cmenu__root[aria-current="true"] .cmenu__arrow { opacity: .8; }

/* Подразделы активного раздела */
.cmenu__panel-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 26px;
}

.cmenu__panel-title { margin: 0; font-size: 26px; font-weight: 400; line-height: 1.2; }
.cmenu__count { color: var(--cream-50); font-size: 14px; }

.cmenu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 128px));
    gap: 26px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cmenu__item { display: block; }

.cmenu__thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    aspect-ratio: 128 / 170;
}

.cmenu__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s;
}

.cmenu__item--photo .cmenu__thumb img { object-fit: cover; }
.cmenu__item--logo .cmenu__thumb { aspect-ratio: 128 / 88; }

.cmenu__item:hover .cmenu__thumb img { transform: scale(1.04); }

.cmenu__label {
    display: block;
    margin-top: 12px;
    color: var(--cream-90);
    font-size: 16px;
    line-height: 1.25;
}

.cmenu__item:hover .cmenu__label { color: var(--cream); }

.cmenu__more { margin-top: 28px; color: var(--cream-50); font-size: 14px; }
.cmenu__more:hover { color: var(--cream); }

/* Промо-карточка */
.cmenu__promo {
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--cream-06);
}

.cmenu__promo-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 420;
    object-fit: cover;
}

.cmenu__promo-body { padding: 26px 24px 24px; }
.cmenu__promo .cmenu__eyebrow { color: var(--cream-70); letter-spacing: .1em; }

.cmenu__promo-title {
    margin: 12px 0 14px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
}

.cmenu__promo-btn {
    display: inline-flex;
    padding: 12px 20px;
    border: 1px solid var(--cream);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .15s, color .15s;
}

.cmenu__promo-btn:hover { background: var(--cream); color: var(--wine-900); }

/* Низ */
.cmenu__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 26px 0 36px;
    border-top: 1px solid var(--cream-20);
}

.cmenu__links { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 17px; color: var(--cream-90); }
.cmenu__links a:hover { color: var(--cream); }

.cmenu__contacts { display: flex; align-items: center; gap: 30px; }

.cmenu__city {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cream-70);
    font-size: 16px;
}

.cmenu__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
}

.cmenu__city .icon,
.cmenu__phone .icon { width: 16px; height: 16px; color: var(--cream-70); }

/* Узкий десктоп: промо уходит, разделы ужимаются */
@media (max-width: 1399px) {
    .cmenu__body { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
    .cmenu__promo { display: none; }
    .cmenu__name { font-size: 32px; }
    .cmenu__root { min-height: 68px; }
}

/* --- Бургер-меню (мобильные) -------------------------------------------- */
.mmenu {
    position: fixed;
    inset: 0 auto auto 0;
    width: min(350px, calc(100% - 40px));
    max-width: none;
    height: auto;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 0 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--wine-700);
    color: var(--cream);
}

.mmenu::backdrop {
    background: rgb(244 236 230 / .25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.mmenu[open] { animation: mmenu-in .25s ease-out; }

@keyframes mmenu-in { from { transform: translateX(-100%); } }

.mmenu__inner { padding: 18px 20px 24px; }

.mmenu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mmenu__logo { --logo-size: 24px; }
.mmenu__close .icon { width: 24px; height: 24px; }

.mmenu__search .search__input { height: 42px; background: var(--cream-06); font-size: 16px; }

.mmenu__eyebrow {
    margin: 0 0 4px;
    color: var(--cream-70);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mmenu__section { margin-top: 18px; }

.mmenu__section--site {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--cream-20);
}

.mmenu__list { margin: 0; padding: 0; list-style: none; }

.mmenu__summary,
.mmenu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 17px;
    line-height: 1.25;
}

.mmenu__summary { list-style: none; cursor: pointer; }
.mmenu__summary::-webkit-details-marker { display: none; }

.mmenu__acc[open] > .mmenu__summary { font-weight: 700; }

.mmenu__chevron { width: 18px; height: 18px; transition: rotate .2s; }
.mmenu__acc[open] .mmenu__chevron { rotate: 180deg; }

.mmenu__sub {
    display: grid;
    gap: 10px;
    margin: 4px 0 10px;
    padding: 0 0 0 14px;
    border-left: 1px solid var(--cream-50);
    list-style: none;
    color: var(--cream-70);
    font-size: 15px;
}

.mmenu__sub a:hover { color: var(--cream); }

.mmenu__contacts {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 40px;
}

.mmenu__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
}

.mmenu__city {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cream-70);
    font-size: 15px;
}

.mmenu__phone .icon,
.mmenu__city .icon { width: 16px; height: 16px; color: var(--cream-70); }

@media (prefers-reduced-motion: reduce) {
    .cmenu[open], .mmenu[open] { animation: none; }
    .cmenu__thumb img, .mmenu__chevron, .cmenu__arrow, .cmenu__root { transition: none; }
}

/* ==========================================================================
   Прилипающие элементы (sticky.css)
   ========================================================================== */

:root {
    --tabbar-h: 60px;
    --bar-h-mobile: 68px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --sticky-offset: 0px;   /* сколько сверху занято шапкой — для полос и sticky-блоков */
    --ease-out: cubic-bezier(.2, .7, .3, 1);
}

/* Телефон в шапке виден только в компактном режиме */
.header__phone { display: none; }

/* --- Мобильные ---------------------------------------------------------- */
@media (max-width: 1023px) {
    :root { --sticky-offset: 64px; }

    html { scroll-padding-top: 76px; }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 50;
    }

    body { padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom)); }
    body.has-bottom-bar { padding-bottom: calc(var(--tabbar-h) + var(--bar-h-mobile) + var(--safe-bottom)); }
}

/* --- Десктоп: компактная «умная» шапка ---------------------------------- */
@media (min-width: 1024px) {
    /* Резерв под шапку, чтобы при переходе в fixed контент не прыгал */
    .site-header { min-height: calc(var(--topbar-h) + 80px); }

    .header { transition: transform .2s var(--ease-out); }

    html.is-compact .header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 50;
        box-shadow: 0 2px 14px rgb(58 9 13 / .25);
        animation: header-in .2s var(--ease-out);
    }

    html.is-compact.is-header-hidden .header { transform: translateY(-100%); box-shadow: none; }

    html.is-compact:not(.is-header-hidden) { --sticky-offset: 64px; }

    html.is-compact .header__inner { height: 64px; }
    html.is-compact .header__logo { --logo-size: 26px; }
    html.is-compact .header__nav { display: none; }
    html.is-compact .header__catalog { height: 36px; }
    html.is-compact .header__search .search__input { height: 36px; }

    html.is-compact .header__phone {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;
        white-space: nowrap;
    }

    html.is-compact .header__phone .icon { width: 16px; height: 16px; }

    @keyframes header-in { from { transform: translateY(-100%); } }
}

/* --- Полосы покупки и итога --------------------------------------------- */
.sticky-bar {
    position: fixed;
    right: 0;
    left: 0;
    z-index: 45;
    background: #fff;
    color: var(--text);
}

.sticky-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sticky-bar p { margin: 0; }

@media (max-width: 1023px) {
    .sticky-bar {
        bottom: calc(var(--tabbar-h) + var(--safe-bottom));
        border-top: 1px solid var(--line);
    }

    .sticky-bar__inner { min-height: var(--bar-h-mobile); padding-block: 10px; }
}

@media (min-width: 1024px) {
    .sticky-bar {
        top: var(--sticky-offset);
        box-shadow: 0 6px 16px rgb(58 9 13 / .08);
        visibility: hidden;
        transform: translateY(-100%);
        transition: top .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
    }

    .sticky-bar.is-visible {
        visibility: visible;
        transform: none;
        transition: top .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s;
    }

    .sticky-bar__inner { min-height: 84px; gap: 24px; padding-block: 12px; }
}

/* Полоса только для десктопа (карточка товара: на мобильных пока скрыта) */
@media (max-width: 1023px) {
    .sticky-bar--desktop { display: none; }
}

/* Полоса только для мобильных (оформление заказа) */
@media (min-width: 1024px) {
    .sticky-bar--mobile { display: none; }
}

/* Полоса покупки (карточка товара) */
.buybar__img,
.buybar__info { display: none; }

.buybar__price { display: grid; flex: none; }
.buybar__old { color: var(--text-muted); font-size: 12px; }
.buybar__current { font-size: 20px; font-weight: 700; line-height: 1.15; white-space: nowrap; }

.buybar__cta { flex: 1; min-width: 0; min-height: 46px; padding-inline: 12px; }
.buybar__cta-full { display: none; }

.buybar__fav {
    display: inline-grid;
    place-items: center;
    flex: none;
    order: 1;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.buybar__fav:hover { border-color: var(--accent); }
.buybar__fav[aria-pressed="true"] .icon { fill: currentColor; }
.buybar__fav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-width: 1024px) {
    .buybar__img {
        display: block;
        flex: none;
        width: 56px;
        height: 56px;
        border-radius: 6px;
        object-fit: cover;
    }

    .buybar__info { display: grid; flex: 1; gap: 6px; min-width: 0; }

    .buybar__title {
        overflow: hidden;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .buybar__meta { color: var(--accent); font-size: 12px; }

    .buybar__price { justify-items: end; }
    .buybar__current { font-size: 24px; }

    .buybar__fav { order: 0; }
    .buybar__cta { flex: none; min-width: 296px; }
    .buybar__cta-full { display: inline; }
    .buybar__cta-short { display: none; }
}

/* Полоса итога (корзина) */
.cartbar__icon,
.cartbar__info { display: none; }

.cartbar__total { display: grid; flex: none; }
.cartbar__label { color: var(--text-muted); font-size: 12px; }
.cartbar__value { font-size: 20px; font-weight: 700; line-height: 1.15; white-space: nowrap; }

.cartbar__cta { flex: 1; min-width: 0; min-height: 46px; }
.cartbar__cta-extra { display: none; }

@media (min-width: 1024px) {
    .cartbar__icon { display: block; flex: none; width: 24px; height: 24px; }
    .cartbar__info { display: grid; flex: 1; gap: 4px; min-width: 0; }
    .cartbar__title { font-size: 16px; font-weight: 600; }
    .cartbar__meta { color: var(--accent); font-size: 12px; }

    .cartbar__total { justify-items: end; }
    .cartbar__count { display: none; }
    .cartbar__value { font-size: 24px; }

    .cartbar__cta { flex: none; min-width: 210px; }
    .cartbar__cta-extra { display: inline; }
}

/* --- Нижняя панель вкладок (мобильные) ---------------------------------- */
.tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 46;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: var(--safe-bottom);
    border-top: 1px solid var(--line);
    background: #fff;
}

.tabbar__item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    height: var(--tabbar-h);
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font: inherit;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
}

.tabbar__item .icon { width: 24px; height: 24px; }
.tabbar__item[aria-current="page"] { color: var(--accent); font-weight: 600; }
.tabbar__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 8px; }

.tabbar__icon { position: relative; }

.tabbar__badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.tabbar__badge:empty { display: none; }

@media (min-width: 1024px) {
    .tabbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .header, .sticky-bar, .sticky-bar.is-visible { transition: none; animation: none; }
    html.is-compact .header { animation: none; }
}

/* End */
/* /local/templates/project/assets/fonts/fonts.css?17918733953058 */
/* /local/js/project/toast/style.css?17917205083838 */
/* /local/templates/project/components/project/site.header/.default/style.css?179198965016588 */
/* /local/templates/project/components/project/city.select/.default/style.css?17920605312842 */
/* /local/templates/project/components/project/site.footer/.default/style.css?17919896439119 */
/* /local/templates/project/template_styles.css?179206012340195 */
