/* ===== Всплывающие уведомления (модуль site_notice) =====
   Рисуются site-notice.js. Тот же файл подключается в админке для предпросмотра,
   поэтому цвета заданы с запасными значениями: в админке нет переменных темы сайта.
   Ширины — в % от окна, а не в vw: на телефоне страница бывает шире экрана, и vw уводил окно за край. */

.sn-card {
	--sn-accent: var(--accent, #FFED00);
	--sn-black: var(--black, #000000);
	--sn-grey: var(--grey, #6E6E6E);
	--sn-border: var(--border, #EDEDED);
	--sn-soft: var(--bg-second, #F3F3F7);
	--sn-radius: var(--radius-m, 10px);
	--sn-radius-card: 16px;
	--sn-pad-x: 28px;
	--sn-pad-y: 28px;
	--sn-gap: 14px;
	--sn-bg: #FFFFFF;
	--sn-fg: var(--sn-black);
	--sn-muted: var(--sn-grey);

	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 480px;
	max-width: 100%;
	overflow: hidden;
	background: var(--sn-bg);
	color: var(--sn-fg);
	border-radius: var(--sn-radius-card);
	text-align: left;
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
.sn-card *, .sn-card *::before, .sn-card *::after { box-sizing: border-box; }
.sn-card.sn-w-s { width: 380px; }
.sn-card.sn-w-l { width: 640px; }

/* В theme.css у всех img opacity: 0 до появления в зоне видимости (класс .visible).
   Окно вставляется позже, поэтому картинки показываем сразу. */
.sn-card img { opacity: 1; transition: none; }

/* Темы окна */
.sn-card.sn-t-accent { --sn-bg: var(--sn-accent); --sn-muted: rgba(0, 0, 0, .72); --sn-border: rgba(0, 0, 0, .14); --sn-soft: rgba(0, 0, 0, .07); }
.sn-card.sn-t-dark { --sn-bg: #111214; --sn-fg: #FFFFFF; --sn-muted: #BDBDC2; --sn-border: rgba(255, 255, 255, .16); --sn-soft: rgba(255, 255, 255, .08); }

/* Кнопка закрытия: вне прокручиваемой части, видна и поверх картинки */
.sn-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	background: rgba(255, 255, 255, .92);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .16);
	color: #000;
	cursor: pointer;
	transition: background 200ms ease, transform 200ms ease;
}
.sn-close:hover { background: #FFFFFF; transform: scale(1.06); }
.sn-close:focus-visible { outline: 2px solid var(--sn-fg); outline-offset: 2px; }
.sn-close svg { display: block; width: 13px; height: 13px; stroke: currentColor; }
.sn-t-light .sn-close { background: var(--sn-soft); box-shadow: none; }
.sn-t-light .sn-close:hover { background: #E6E6EB; }
/* Поверх картинки или цветной плашки (sn-has-cover ставит site-notice.js) — белый кружок с тенью */
.sn-card.sn-has-cover .sn-close { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .16); }
.sn-t-accent .sn-close { background: rgba(0, 0, 0, .08); box-shadow: none; }
.sn-t-accent .sn-close:hover { background: rgba(0, 0, 0, .15); }
.sn-t-dark .sn-close { background: rgba(255, 255, 255, .14); box-shadow: none; color: #FFFFFF; }
.sn-t-dark .sn-close:hover { background: rgba(255, 255, 255, .26); }
.sn-card.sn-has-cover.sn-t-dark .sn-close,
.sn-card.sn-has-cover.sn-t-accent .sn-close { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .16); color: #000; }

.sn-body {
	display: flex;
	flex-direction: column;
	gap: var(--sn-gap);
	min-height: 0;
	padding: var(--sn-pad-y) var(--sn-pad-x);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
/* Сетка из 12 колонок: место блока (--c колонки, --r строка) считает site-notice.js (SiteNotice.layout),
   на телефоне — свои --mc / --mr (блоки «на телефоне во всю ширину») */
.sn-card:not(.sn-type-bar) > .sn-body {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 12px;
	row-gap: var(--sn-gap);
	align-items: center;
}
.sn-cell { grid-column: var(--c, 1 / -1); grid-row: var(--r, auto); }
.sn-va-top { align-self: start; }
.sn-va-bottom { align-self: end; }
/* Блок под крестиком (первая строка, до правого края) не залезает под него */
.sn-cell.sn-tr { padding-right: 44px; }
.sn-cell.sn-tr.sn-al-center { padding-left: 44px; }

.sn-block { position: relative; flex-shrink: 0; min-width: 0; margin: 0; }
.sn-al-left { text-align: left; }
.sn-al-center { text-align: center; }
.sn-al-right { text-align: right; }
.sn-badge:has(.sn-bh-3) { padding-top: 3px; padding-bottom: 3px; }
.sn-sp { display: block; }

/* Блок во всю ширину окна (картинка, плашка заголовка) */
.sn-full { margin-left: calc(var(--sn-pad-x) * -1); margin-right: calc(var(--sn-pad-x) * -1); }
.sn-body > .sn-full:first-child { margin-top: calc(var(--sn-pad-y) * -1); }
.sn-body > .sn-full:last-child { margin-bottom: calc(var(--sn-pad-y) * -1); }
/* После плашки/картинки сверху — обычный отступ, а не двойной */
.sn-body > .sn-full:first-child + .sn-block { margin-top: 4px; }

/* Картинка / баннер */
.sn-b-image img { display: block; width: 100%; height: auto; max-width: 100%; border: 0; border-radius: var(--sn-radius); }
.sn-b-image.sn-full img { border-radius: 0; }
.sn-b-image a { display: block; }
.sn-img-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	background: var(--sn-soft);
	border: 2px dashed var(--sn-border);
	border-radius: var(--sn-radius);
	color: var(--sn-muted);
	font-size: 13px;
}
.sn-b-image.sn-full .sn-img-empty { border-radius: 0; border-width: 0 0 2px; }

/* Метка «Акция», «Новинка».
   promo (по умолчанию) — как кнопка «Наши акции» в меню (.bm-promo / .mm-promo-bar в theme.css):
   чёрная плашка, жёлтый шестигранник со знаком и жёлтый текст */
.sn-b-badge { line-height: 1; }
.sn-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: 100%;
	vertical-align: top;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
/* Перенос в метке только по пробелам, слово не рвётся посередине («Акци-я») */
.sn-badge-t { min-width: 0; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.sn-badge-hex {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 25px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: var(--sn-accent);
	color: #000;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
}
/* Знак из 2–3 символов («15%», «1+1») — шестигранник крупнее, как .bm-promo-hex в меню */
.sn-badge-hex.sn-bh-2 { width: 28px; height: 32px; font-size: 11px; letter-spacing: -.02em; }
.sn-badge-hex.sn-bh-3 { width: 34px; height: 38px; font-size: 11px; letter-spacing: -.04em; }
.sn-badge-promo { padding: 5px 14px 5px 6px; background: #000; color: var(--sn-accent); border-radius: var(--sn-radius); }
.sn-t-dark .sn-badge-promo { background: #2A2B30; }
.sn-badge-accent { padding: 5px 14px 5px 6px; background: var(--sn-accent); color: #000; border-radius: var(--sn-radius); }
.sn-badge-accent .sn-badge-hex { background: #000; color: var(--sn-accent); }
.sn-t-accent .sn-badge-accent { background: #000; color: var(--sn-accent); }
.sn-t-accent .sn-badge-accent .sn-badge-hex { background: var(--sn-accent); color: #000; }
.sn-badge-outline { padding: 4px 13px 4px 5px; border: 1px solid currentColor; color: var(--sn-fg); border-radius: var(--sn-radius); }
.sn-badge-outline .sn-badge-hex { background: var(--sn-fg); color: var(--sn-bg); }
.sn-badge:not(:has(.sn-badge-hex)) { padding-left: 14px; }

/* Шестигранный стикер со скидкой — как на карточке товара (.sticker.ce-hex в card-extra.css):
   чёрный шестигранник, крупно «−30%», под ним мелко «акция» */
.sn-b-sticker { line-height: 1; }
.sn-sticker-wrap { display: inline-block; vertical-align: top; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18)); }
.sn-sticker {
	--sk-w: 92px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: var(--sk-w);
	height: calc(var(--sk-w) * 1.145);
	padding: 0 6px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: #000;
	color: var(--sn-accent);
	text-align: center;
	line-height: 1;
}
.sn-sticker-v { display: block; max-width: 100%; font-size: calc(var(--sk-w) * .3); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.sn-sticker-c { display: block; max-width: 100%; margin-top: calc(var(--sk-w) * .04); font-size: calc(var(--sk-w) * .11); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.sn-sticker.sn-sk-long .sn-sticker-v { font-size: calc(var(--sk-w) * .22); }
.sn-sticker.sn-sk-xlong .sn-sticker-v { font-size: calc(var(--sk-w) * .16); }
.sn-sticker.sn-sk-s { --sk-w: 64px; }
.sn-sticker.sn-sk-l { --sk-w: 124px; }
.sn-sticker.sn-sk-accent { background: var(--sn-accent); color: #000; }
.sn-sticker.sn-sk-red { background: var(--red, #B61A2D); color: #FFFFFF; }
/* На жёлтом окне жёлтый стикер не виден, на тёмном — чёрный */
.sn-t-accent .sn-sticker.sn-sk-accent { background: #000; color: var(--sn-accent); }
.sn-t-dark .sn-sticker.sn-sk-dark { background: var(--sn-accent); color: #000; }
/* В углу окна: поверх картинки, слегка повёрнут */
.sn-b-sticker.sn-sk-corner { position: absolute; top: 14px; left: 14px; z-index: 2; transform: rotate(-8deg); }

/* Заголовок */
.sn-title { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.sn-ts-s .sn-title { font-size: 17px; }
.sn-ts-m .sn-title { font-size: 21px; }
.sn-ts-l .sn-title { font-size: 26px; line-height: 1.15; }
/* Плашка как в шапке окон сайта (cr-head) */
.sn-band { padding: 20px 64px 20px var(--sn-pad-x); background: var(--sn-accent); color: #000; }
.sn-band.sn-al-center { padding-left: 64px; }
.sn-band.sn-al-right { padding-right: 64px; }
.sn-t-accent .sn-band { background: #000; color: var(--sn-accent); }

/* Текст */
.sn-text { color: var(--sn-muted); overflow-wrap: break-word; }
.sn-xs-s .sn-text { font-size: 13px; line-height: 1.45; }
.sn-xs-m .sn-text { font-size: 15px; line-height: 1.5; }
.sn-text p, .sn-text ul, .sn-text ol, .sn-text div { margin: 0 0 8px; }
.sn-text > :last-child { margin-bottom: 0; }
.sn-text ul, .sn-text ol { padding-left: 20px; }
/* theme.css сбрасывает маркеры списков — возвращаем */
.sn-text ul > li { display: list-item; list-style: disc; }
.sn-text ol > li { display: list-item; list-style: decimal; }
.sn-text li { margin: 0 0 4px; }
.sn-text a { color: var(--sn-fg); text-decoration: underline; }
.sn-text b, .sn-text strong { color: var(--sn-fg); font-weight: 700; }

/* Форматирование из редактора (жирный, курсив, цвет, маркер) в любом тексте окна */
.sn-card b, .sn-card strong { font-weight: 700; }
.sn-card i, .sn-card em { font-style: italic; }
.sn-card u { text-decoration: underline; text-underline-offset: 2px; }
.sn-card s, .sn-card strike { text-decoration: line-through; }
.sn-card [style*="background-color"] { padding: 0 .15em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sn-title b, .sn-title strong { font-weight: 800; }

/* Кнопки в стиле сайта (.cr-btn / .cr-skip) */
.sn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: var(--sn-radius);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
	transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
.sn-btn:hover, .sn-btn:focus { text-decoration: none; }
.sn-btn:focus-visible { outline: 2px solid var(--sn-fg); outline-offset: 2px; }
.sn-btn-full { display: flex; width: 100%; }
.sn-btn-dark { background: #000; border-color: #000; color: var(--sn-accent); }
.sn-btn-dark:hover { background: var(--sn-accent); border-color: var(--sn-accent); color: #000; }
.sn-btn-accent { background: var(--sn-accent); border-color: var(--sn-accent); color: #000; }
.sn-btn-accent:hover { background: #000; border-color: #000; color: var(--sn-accent); }
.sn-btn-outline { background: transparent; border-color: var(--sn-fg); color: var(--sn-fg); font-weight: 600; }
.sn-btn-outline:hover { background: var(--sn-fg); color: var(--sn-bg); }
.sn-btn-link { min-height: 36px; padding: 0; background: none; color: var(--sn-muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sn-btn-link:hover { color: var(--sn-fg); text-decoration: none; }
.sn-btn-link.sn-btn-full { width: auto; display: inline-flex; }
/* На тёмном и жёлтом фоне чёрная кнопка должна отделяться от фона */
.sn-t-dark .sn-btn-dark { background: var(--sn-accent); border-color: var(--sn-accent); color: #000; }
.sn-t-dark .sn-btn-dark:hover { background: #FFFFFF; border-color: #FFFFFF; }
.sn-t-accent .sn-btn-accent { background: #FFFFFF; border-color: #FFFFFF; }

/* Таймер до конца акции */
.sn-timer-label { margin-bottom: 8px; font-size: 13px; line-height: 1.3; color: var(--sn-muted); }
.sn-timer { display: inline-flex; gap: 8px; max-width: 100%; }
.sn-timer span {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* В узкой ячейке сетки ячейки таймера сжимаются */
	flex: 0 1 60px;
	min-width: 40px;
	padding: 8px 4px 7px;
	background: var(--sn-soft);
	border-radius: var(--sn-radius);
	font-size: 11px;
	line-height: 1.2;
	color: var(--sn-muted);
}
.sn-timer b { font-size: 22px; font-weight: 700; line-height: 1.15; color: var(--sn-fg); font-variant-numeric: tabular-nums; }
.sn-timer.sn-timer-end { opacity: .5; }

/* Промокод: по нажатию копируется */
.sn-code {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	margin: 0;
	padding: 10px 16px;
	background: var(--sn-soft);
	border: 2px dashed var(--sn-fg);
	border-radius: var(--sn-radius);
	color: var(--sn-fg);
	font: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: background 200ms ease;
}
.sn-code:hover { background: var(--sn-border); }
.sn-code-l { color: var(--sn-muted); font-size: 13px; }
.sn-code-v { font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sn-code-ok {
	position: absolute;
	inset: -2px;
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--sn-fg);
	color: var(--sn-bg);
	border-radius: var(--sn-radius);
	font-size: 13px;
	font-weight: 700;
}
.sn-code.sn-copied .sn-code-ok { display: flex; }
.sn-edit .sn-code-ok { display: none !important; }

.sn-b-divider hr { height: 0; margin: 0; border: 0; border-top: 1px solid var(--sn-border); }

/* ===== Окно по центру: оборачивается в .modal_bg / .modal_content сайта ===== */
.modal_content.sn-size {
	display: flex;
	width: auto;
	max-width: calc(100% - 32px);
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	margin: 0;
	padding: 0;
	background: none;
	border-radius: 16px;
	overflow: visible;
}
.modal_content.sn-size .modal_data { display: flex; padding: 0; gap: 0; max-width: 100%; max-height: inherit; color: inherit; }
.modal_content.sn-size .sn-card { max-height: inherit; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); animation: snPop .25s ease; }

/* ===== Карточка в углу ===== */
.sn-toast-wrap {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 998;
	display: flex;
	max-width: calc(100% - 48px);
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
}
.sn-card.sn-type-toast { --sn-pad-x: 22px; --sn-pad-y: 22px; --sn-gap: 10px; width: 380px; border-radius: 14px; box-shadow: 0 12px 40px rgba(0, 0, 0, .2); }
.sn-card.sn-type-toast.sn-w-s { width: 330px; }
.sn-card.sn-type-toast.sn-w-l { width: 440px; }
.sn-card.sn-type-toast .sn-close { top: 10px; right: 10px; width: 30px; height: 30px; }
.sn-card.sn-type-toast .sn-cell.sn-tr { padding-right: 34px; }
.sn-card.sn-type-toast .sn-cell.sn-tr.sn-al-center { padding-left: 34px; }
.sn-card.sn-type-toast .sn-btn:not(.sn-btn-link) { min-height: 44px; }
.sn-card.sn-type-toast .sn-btn-link { min-height: 0; }
.sn-toast-wrap .sn-card { max-width: 100%; max-height: inherit; animation: snUp .3s ease; }
.sn-toast-wrap .sn-card.sn-out { animation: snDown .25s ease forwards; }

/* ===== Полоса сверху: над шапкой сайта, блоки в ряд =====
   Тема окна задаёт цвет полосы (по умолчанию — тёмная, как на скриншоте-образце) */
/* z-index ниже слоёв сайта: поиск на телефоне (.s-content-to-header, 999), меню и окна открываются поверх полосы */
.sn-bar-wrap { position: relative; z-index: 1; overflow: hidden; transition: height .25s ease, opacity .25s ease; }
/* Мобильное меню (theme.css: top 61px, height calc(100% - 61px)) — под шапкой, которую полоса сдвинула вниз.
   --sn-bar-vis — сколько полосы сейчас видно сверху (site-notice.js, showBar); прокрутили — 0 */
html.sn-has-bar .l-slider-menu { top: calc(61px + var(--sn-bar-vis, 0px)); height: calc(100% - 61px - var(--sn-bar-vis, 0px)); }
.sn-bar-wrap.sn-out { height: 0 !important; opacity: 0; }
.sn-card.sn-type-bar {
	--sn-pad-x: 56px;
	--sn-pad-y: 8px;
	--sn-gap: 18px;
	width: 100%;
	max-width: none;
	border-radius: 0;
	font-size: 14px;
	animation: none;
}
.sn-card.sn-type-bar .sn-body {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	row-gap: 6px;
	min-height: 44px;
	overflow: visible;
}
.sn-type-bar .sn-block { margin: 0 !important; text-align: left; }
.sn-type-bar .sn-full { margin: 0; }
.sn-type-bar .sn-close { top: 50%; right: 12px; width: 30px; height: 30px; margin-top: -15px; background: none; box-shadow: none; }
.sn-type-bar .sn-close:hover { background: var(--sn-soft); transform: none; }
.sn-type-bar .sn-close svg { width: 12px; height: 12px; }
/* Заголовок и текст — в одну строку, без лишних отступов */
.sn-type-bar .sn-title { font-size: 15px !important; line-height: 1.25; letter-spacing: 0; }
.sn-type-bar .sn-band { padding: 4px 10px; border-radius: var(--sn-radius); }
.sn-type-bar .sn-text { font-size: 13px !important; color: inherit; opacity: .85; }
.sn-type-bar .sn-text p, .sn-type-bar .sn-text ul, .sn-type-bar .sn-text ol { margin: 0; }
.sn-type-bar .sn-b-image img { max-height: 32px; width: auto; border-radius: 4px; }
.sn-type-bar .sn-b-divider { align-self: stretch; }
.sn-type-bar .sn-b-divider hr { height: 100%; min-height: 20px; border-top: 0; border-left: 1px solid var(--sn-border); }
.sn-type-bar .sn-b-spacer .sn-sp { height: 1px !important; }
/* Кнопка — компактная */
.sn-type-bar .sn-btn:not(.sn-btn-link) { min-height: 32px; padding: 0 14px; font-size: 13px; }
.sn-type-bar .sn-btn-link { min-height: 0; color: inherit; font-size: 13px; }
.sn-type-bar .sn-btn-full { width: auto; display: inline-flex; }
/* Промокод — плашкой, как «промокод BLACK» на образце */
.sn-type-bar .sn-code { gap: 6px; padding: 4px 10px; border: 0; background: var(--sn-accent); color: #000; border-radius: 6px; }
.sn-type-bar .sn-code:hover { background: #FFF34D; }
.sn-type-bar .sn-code-l { color: rgba(0, 0, 0, .7); font-size: 13px; font-weight: 600; }
.sn-type-bar .sn-code-v { font-size: 14px; letter-spacing: .03em; }
.sn-type-bar .sn-code-ok { inset: 0; background: #000; color: var(--sn-accent); }
.sn-t-accent.sn-type-bar .sn-code { background: #000; color: var(--sn-accent); }
.sn-t-accent.sn-type-bar .sn-code-l { color: rgba(255, 237, 0, .75); }
/* Таймер — «03 дн 12 : 43 : 59» */
.sn-type-bar .sn-b-timer { display: flex; align-items: center; gap: 8px; }
.sn-type-bar .sn-timer-label { margin: 0; font-size: 13px; color: inherit; opacity: .85; }
.sn-type-bar .sn-timer { display: inline-flex; align-items: center; gap: 10px; }
.sn-type-bar .sn-timer span { position: relative; flex: 0 0 auto; flex-direction: row; align-items: baseline; gap: 3px; min-width: 0; padding: 3px 6px; font-size: 0; background: var(--sn-soft); border-radius: 5px; }
.sn-type-bar .sn-timer b { font-size: 14px; line-height: 1.2; }
.sn-type-bar .sn-timer span:first-child { padding: 0; background: none; }
.sn-type-bar .sn-timer span:first-child::after { content: 'дн'; font-size: 12px; color: var(--sn-muted); }
.sn-type-bar .sn-timer span:nth-child(n+3)::before { content: ':'; position: absolute; left: -8px; top: 50%; transform: translateY(-55%); font-size: 13px; font-weight: 700; color: var(--sn-muted); }
.sn-type-bar .sn-sticker { --sk-w: 40px; }
.sn-type-bar .sn-sticker-c { display: none; }
.sn-type-bar .sn-sticker-wrap { filter: none; }
.sn-type-bar .sn-badge-promo, .sn-type-bar .sn-badge-accent { padding-top: 3px; padding-bottom: 3px; }

@keyframes snPop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes snUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes snDown { to { opacity: 0; transform: translateY(20px); } }

@media (max-width: 767px) {
	.sn-card { --sn-pad-x: 20px; --sn-pad-y: 22px; --sn-gap: 12px; --sn-radius-card: 14px; }
	.sn-ts-m .sn-title { font-size: 19px; }
	.sn-ts-l .sn-title { font-size: 22px; }
	.sn-band { padding-top: 16px; padding-bottom: 16px; padding-right: 58px; }
	.sn-btn:not(.sn-btn-link) { min-height: 48px; padding: 0 20px; }
	.sn-timer { display: flex; gap: 6px; }
	.sn-timer span { flex: 1 1 0; min-width: 0; }
	/* Раскладка для телефона */
	.sn-cell { grid-column: var(--mc, 1 / -1); grid-row: var(--mr, auto); }
	.sn-cell.sn-tr { padding-right: 0; padding-left: 0; }
	.sn-cell.sn-mtr { padding-right: 44px; }
	.sn-cell.sn-mtr.sn-al-center { padding-left: 44px; }
	.sn-card.sn-type-toast .sn-cell.sn-tr { padding-right: 0; padding-left: 0; }
	.sn-card.sn-type-toast .sn-cell.sn-mtr { padding-right: 34px; }
	.sn-timer b { font-size: 20px; }
	.sn-sticker.sn-sk-l { --sk-w: 108px; }
	/* Полоса на телефоне: блоки переносятся, крестик справа */
	.sn-card.sn-type-bar { --sn-pad-x: 12px; --sn-gap: 10px; }
	.sn-card.sn-type-bar .sn-body { padding-left: 40px; padding-right: 40px; min-height: 40px; row-gap: 6px; text-align: center; }
	.sn-type-bar .sn-title { font-size: 13px !important; }
	.sn-type-bar .sn-close { right: 6px; }
	.sn-type-bar .sn-timer-label { display: none; }
	.sn-b-sticker.sn-sk-corner { top: 10px; left: 10px; }

	/* Окно по центру: почти во всю ширину экрана */
	.modal_content.sn-size { width: calc(100% - 20px); max-width: 480px; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
	.modal_content.sn-size .modal_data, .modal_content.sn-size .sn-card { width: 100%; }

	.sn-toast-wrap { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); max-width: none; max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
	.sn-toast-wrap .sn-card { width: 100%; }
	.sn-card.sn-type-toast { --sn-pad-x: 18px; --sn-pad-y: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.sn-card, .sn-toast-wrap .sn-card { animation: none !important; }
}
