@font-face {
  font-family: "Montserrat Site";
  src: url("/frame/fonts/Montserrat-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Site";
  src: url("/frame/fonts/Montserrat-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Site";
  src: url("/frame/fonts/Montserrat-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

body {
    margin: 0px;
	-webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font: 14px/20px 'Lucida Grande', Tahoma, Verdana, sans-serif;
    color: #404040;
    background-color: #F0F3F4;
    background-image: url(img/bg.jpg);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
[hidden] { display: none !important; }

main {
    padding-left: 30px;
    padding-right: 30px;
    flex: 1;
    min-height: 0;
}
main h1 {
  line-height: 1.15;
}

/* ===== Archive product status ===== */

div.warning {
    position: relative;
    width: 100%;
    box-sizing: border-box;

    margin: 18px 0 24px;
    padding: 18px 20px 18px 76px;

    background: rgba(126, 138, 162, 0.10);
    border: 1px solid rgba(126, 138, 162, 0.45);
    border-left: 4px solid #f77e12;
    border-radius: 8px;

    color: #404040;
}

/* Круглый значок */
div.warning::before {
    content: "";

    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    box-sizing: border-box;

    border: 1.5px solid #f77e12;
    border-radius: 50%;

    background:
        no-repeat center / 21px 21px
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f77e12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M5 7l1 13h12l1-13'/%3E%3Cpath d='M9 11h6'/%3E%3Cpath d='M8 4h8l1 3H7z'/%3E%3C/svg%3E");
}

div.warning h2 {
    margin: 0 0 5px;
    font-family: "Montserrat Site", "PT Sans", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: #404040;
}

div.warning p {
    margin: 0;
    line-height: 1.45;
}

div.warning a {
    display: inline-block;
    margin-top: 8px;

    color: #f77e12;
    font-weight: 600;
    text-decoration: none;
}

div.warning a::after {
    content: "";
    display: inline-block;
    width: 0.42em;
    height: 0.42em;
    margin-left: 0.45em;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg);
    vertical-align: 0.15em;
}

div.warning a:hover,
div.warning a:focus-visible {
    text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 600px) {

    div.warning {
        margin: 14px 0 20px;
        padding: 14px 14px 14px 62px;
    }

    div.warning::before {
        left: 14px;

        width: 34px;
        height: 34px;

        background-size: 18px 18px;
    }

    div.warning h2 {
        font-size: 1rem;
    }
}

/* ===== Promo ===== */

div.promo {
    margin: 15px 0 15px 0;
}
div.promo img {
    width: 354px;
    max-width: 100%;
    height: auto;
}

/* ===== Resources ===== */

h2.resources {
    position: relative;

    margin: 24px 0 12px;
    padding-left: 14px;

    color: #4b5563;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

/* Оранжевая полоска */

h2.resources::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 3px;
    height: 26px;

    background: #f77e12;
    transform: translateY(-50%);
}

/* Заголовок мобильного аккордеона */

h2.resources .a2__toggle {
    padding-left: 0;

    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* Ограничиваем ширину списка на больших экранах */

div.resources {
    width: 100%;
    max-width: 700px;
}


/* Список */

div.resources ul {
    margin: 0;
    padding: 0;

    list-style: none;
    border-top: 0;
}

div.resources li {
    margin: 0;
    padding: 0;

    border-bottom: 0;
}

/* Ссылки ресурсов */

div.resources li > a {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 42px;
    padding: 8px 4px;
    box-sizing: border-box;

    border-bottom: 1px solid #bdc7d0;

    color: #174f7c;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

div.resources li:first-child > a {
    border-top: 1px solid #bdc7d0;
}

/* Стрелка вверх-вправо */

div.resources li > a::after {
    content: "";

    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-left: auto;

    background-color: #5f6b76;

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E")
        no-repeat center / 17px 17px;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E")
        no-repeat center / 17px 17px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}


/* Наведение мыши и клавиатурный фокус */

div.resources li > a:hover,
div.resources li > a:focus-visible {
    background-color: rgba(189, 199, 208, 0.22);
    color: #0e3f66;
    text-decoration: none;
}

div.resources li > a:hover::after,
div.resources li > a:focus-visible::after {
    background-color: #f77e12;
    transform: translate(2px, -2px);
}


/* Видимый клавиатурный фокус */

div.resources li > a:focus-visible {
    outline: 2px solid #174f7c;
    outline-offset: 2px;
}


/* Отключение анимации по системной настройке */

@media (prefers-reduced-motion: reduce) {
    div.resources li > a,
    div.resources li > a::after {
        transition: none;
    }
}

/* Планшеты и мобильные устройства */

@media (max-width: 1023px) {
    h2.resources {
        margin: 14px 0 8px;
        font-size: 18px;
    }

    div.resources {
        max-width: none;
    }

    div.resources li > a {
        min-height: 48px;
        padding: 12px 2px;
    }
}

/* ===== See also: ссылки-чипы ===== */

h2.see-also {
    margin: 24px 0 12px;
    position: relative;
    padding-left: 14px;
	
    color: #4b5563;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

/* Оранжевая полоска */

h2.see-also::before {
    content: "";

    position: absolute;
    left: 0;
    top: 50%;

    width: 3px;
    height: 26px;

    background: #f77e12;
    transform: translateY(-50%);
}

/* Заголовок мобильного аккордеона */

h2.see-also .a2__toggle {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}


/* Контейнер */

div.see-also {
    width: 100%;
    max-width: 850px;
	margin-bottom: 32px;
}


/* Список */

div.see-also ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

div.see-also li {
    max-width: 100%;
    margin: 0;
    padding: 0;
}


/* Ссылки-чипы */

div.see-also li > a {
    display: inline-flex;
    align-items: center;

    max-width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    box-sizing: border-box;

    border: 1px solid #aebac4;
    border-radius: 999px;

    color: #174f7c;

    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
}


/* Наведение */

div.see-also li > a:hover {
    border-color: #f77e12;
    background: #bdc7d042;
    color: #0e3f66;
}


/* Клавиатурный фокус */

div.see-also li > a:focus-visible {
    border-color: #f77e12;
    background: #bdc7d042;
    color: #0e3f66;

    outline: 2px solid #174f7c;
    outline-offset: 2px;
}


/* Мобильная версия */

@media (max-width: 1023px) {
    h2.see-also {
        margin: 14px 0 8px;
        font-size: 18px;
    }

    div.see-also {
        max-width: none;
		margin-bottom: 24px;
    }

    div.see-also li > a {
        min-height: 44px;
        padding: 9px 13px;
    }
}


img.right {
    float: right;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    clear: both;
}
th.subject,
td.subject {
    text-align: left;
    padding: 0.4em 0.6em;
    word-break:normal;
}
th.amount,
td.amount {
    text-align: right;
    padding: 0.4em 0.6em;
    white-space: nowrap;
}
th.other,
td.other {
    text-align: center;
    padding: 0.4em 0.6em;
}
/* Цвет артикулов и названий групп при нажатии */
.std-tbl td.other a:active,
.std-tbl tbody th[scope="colgroup"] a:active {
    color: #f77e12;
}
.std-tbl {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1rem;
}
.std-tbl th,
.std-tbl td {
    vertical-align: middle;
    border-right: 1px dotted #999;
}
.std-tbl th:last-child,
.std-tbl td:last-child {
    border-right: none;
}
.std-tbl thead th {
    font-weight: bold;
    border-bottom: 2px solid #666;
}
.std-tbl tbody th[scope="colgroup"] {
    border-top: 2px solid #666;
    background-color: rgba(0, 0, 0, 0.05);
    text-align: left;
}
.std-tbl tbody th[scope="colgroup"] h3,
.std-tbl tbody th[scope="colgroup"] h2 {
    font-size: 1.15em;
    font-weight: 700;
}
.std-tbl tbody th[scope="colgroup"] a {
    text-decoration: none;
}
.std-tbl tbody td {
    border-bottom: 1px dotted #aaa;
}
.std-tbl tfoot th,
.std-tbl tfoot td {
    border-top: 2px solid #666;
    font-weight: bold;
}
.std-tbl tfoot th[scope="row"] {
    text-align: right;
	padding-right: 12px;
}

/* Названия товаров */
.std-tbl td.subject:first-child > a,
.std-tbl td.subject:first-child > a:visited {
    display: inline;
    color: #006bb3;
    text-decoration: none;

    padding-bottom: 2px;
    background-image: linear-gradient(#f77e12, #f77e12);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0% 2px;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    transition: background-size 0.25s ease;
}

/* Убираем прежнюю полосу */
.std-tbl td.subject:first-child > a::after {
    content: none;
}

/* Подчёркивание каждой строки слева направо */
.std-tbl td.subject:first-child > a:hover,
.std-tbl td.subject:first-child > a:focus-visible {
    background-size: 100% 2px;
}

/* Фокус для клавиатуры */
.std-tbl td.subject:first-child > a:focus-visible {
    outline: 2px solid #006bb3;
    outline-offset: 3px;
}

/* Подчёркивание при касании — без анимации */
@media (hover: none) {
    .std-tbl td.subject:first-child > a {
        transition: none;
    }

    .std-tbl td.subject:first-child > a:active {
        background-size: 100% 2px;
    }
}

/* Учитываем настройку уменьшения движения */
@media (prefers-reduced-motion: reduce) {
    .std-tbl td.subject:first-child > a {
        transition: none;
    }
}

/* ===== Product groups ===== */

/* Сетка начальных страниц групп продуктов */
main:has(> div.prod-grp) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) fit-content(min(32%, 330px));
    column-gap: 28px;
    align-content: start;
}

/* Остальные блоки страницы — на всю ширину */
main:has(> div.prod-grp) > * {
    grid-column: 1 / -1;
    order: 4;
}

main:has(> div.prod-grp) > h1 {
    order: 0;
}

/* Плашка и список располагаются в общей сетке */
main > div.prod-grp {
    display: contents;
}

/* Плашка на всю ширину */
main > div.prod-grp > .promo {
    grid-column: 1 / -1;
    order: 1;
}

/* Изображение справа под плашкой */
main > img.prod-grp {
    grid-column: 2;
    order: 3;

    float: none;
    display: block;
	min-width: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 240px;
    margin: 0 0 28px;

    align-self: start;
    justify-self: end;
}

/* Описание слева */
main > div.prod-grp > ul {
    grid-column: 1;
    order: 2;
    min-width: 0;

    margin: 0 0 28px;
    padding-left: 20px;
    list-style: disc outside;

    font-size: 1rem;
    line-height: 1.5;
    color: #404040;
}

/* Описание на страницах без изображения */
main:not(:has(> img.prod-grp)) > div.prod-grp > ul {
    grid-column: 1 / -1;
}

main > div.prod-grp > ul > li {
	position: relative;
    display: list-item;
    margin: 0;
    padding-left: 5px;
}

main > div.prod-grp > ul > li + li {
    margin-top: 16px;
}

/* Оранжевые маркеры */
main > div.prod-grp > ul > li::marker {
    color: transparent;
}
main > div.prod-grp > ul > li::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 0.3em;
    bottom: 0.3em;
    width: 2px;
    background-color: #f77e12;
}

h2.retired {
    color: #7e8aa2;
    display: flex;
    font-size: 1.15em;
    justify-content: center;
}
ul.retired {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.95rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}
ul.retired li {
    margin: 0;
    padding: 0;
}
ul.retired a {
    display: block;
    padding: 0.3rem 0;
    text-decoration: none;
    color: #7e8aa2;
    line-height: 1.2;
    white-space: nowrap;
}
ul.retired a:hover,
ul.retired a:focus {
    color: #f77e12;
}
/* ===== Collections ===== */

h2.auxiliary {
}
a.buy-btn {
}

.std-tbl [role="button"] {
	padding: 4px;
	color: #128bf7;
	font-size: 1rem;
	font-weight: 500;
	border: none;
	margin-left: 5px;
	text-decoration: none;
	transition: border-color 0.3s ease-out,
              color 0.3s ease-out;
	font-family: inherit;
	font-style: normal;
}
.std-tbl [role="button"]:hover,
.std-tbl [role="button"]:active {
	color: #ff8000;
	transition: border-color 0.3s ease-in,
              color 0.3s ease-in;
	font-family: inherit;
	font-style: normal;
	font-weight: 500;
	font-size: 1rem;
}

.datetime {
    margin: 0 0 0.5rem 0;
    font-size: 0.9em;
    font-weight: 600;
}
/* ===== FAQ ===== */
h3.faq {
}
div.faq {
}
/* ===== Webinars hub ===== */
.events {
    margin: 2rem 0;
}
.events ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.events li {
    margin: 0 0 1.5rem 0;
    padding: 0 0 1.5rem 0;
    border-bottom: 1px solid #ccc;
}
.events li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.events h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1.1em;
    line-height: 1.35;
}
.events p {
    margin: 0;
    line-height: 1.5;
}
/* ===== CTA ===== */

.cta {
    margin: 24px 0;
}
.cta > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cta > ul > li {
    margin: 0;
}
.cta a[role="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

	min-height: 44px;
	box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 8px;

	font-family: "Montserrat Site", "PT Sans", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;

    color:  ghostwhite;
    background-color: #f77e12;
	text-decoration: none;
    white-space: nowrap;
	transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

.cta a[role="button"]:hover,
.cta a[role="button"]:active {
	color: #f77e12;
	background-color: ghostwhite;
	transition: color 0.3s ease-in, background-color 0.3s ease-in;
}

.cta a[role="button"]:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
/* ===== Accordion-h2 ===== */

main h2 {
    margin: 0.5rem 0 0.5rem 0;
    line-height: 1.3;
}
.a2__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    background: transparent;
    border: none;
    font: inherit;
    color: #596273;
    padding: 0.75rem 0;
    cursor: pointer;
    min-height: 44px;
}
.a2__toggle::after {
    content: '';
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.16s ease-out;
    flex: 0 0 auto;
}
.a2__toggle:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 3px;
}
.a2__toggle.is-open,
h2.is-open .a2__toggle {
    font-weight: 600;
}
.a2__toggle.is-open::after,
h2.is-open .a2__toggle::after {
    transform: rotate(225deg);
}
.a2__panel {
    padding-bottom: 0.75rem;
    scroll-margin-top: 5rem;
}
.a2__panel[hidden] {
    display: none;
}
@media (prefers-reduced-motion: no-preference) {
    .a2__panel {
        transition: opacity 0.16s ease-out;
    }
    .a2__panel[hidden] {
        opacity: 0;
    }
    .a2__panel:not([hidden]) {
        opacity: 1;
    }
}

/* ===== Navigation ===== */

/* Design tokens (легко твикать тему) */
:root {
    color-scheme: light;
    --nav-bg: var(--eg-header-bg, transparent);
    --nav-current-fg: var(--eg-header-current-fg, #0a7aff);
    --nav-current-bg: var(--eg-header-current-bg, transparent);
    --nav-current-underline: var(--eg-header-current-underline, #0a7aff);
    --nav-fg: var(--eg-header-fg, #111111);
    --nav-fg-muted: rgba(0,0,0,0.6);
    --nav-accent: var(--eg-accent, #0a7aff);
    --nav-border: rgba(0,0,0,0.12);
    --nav-surface: #ffffff;
    --nav-surface-2: #f7f7f7;
    --nav-focus: #0a7aff;
    --nav-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    --nav-radius: 10px;
    --nav-gap: 16px;
    --nav-item-pad-x: 14px;
    --nav-item-pad-y: 10px;
    --nav-z-header: 1000;
    --nav-z-overlay: 1001;
    --nav-z-drawer: 1002;
    --nav-trans: 160ms ease;
}
/* Доступность: утилиты */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
:where(.focus-ring, a, button, [role="menuitem"]):where(:focus-visible) {
    outline: 2px solid var(--nav-focus);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Шапка: базовая сетка. Можно навесить фон/тень прямо на header */
header {
    --nav-accent: #f77e12;
    --nav-current-fg: var(--nav-fg);
    --nav-current-bg: transparent;
    --nav-current-underline: #f77e12;
    --nav-focus: #9a4800;

    position: relative;
    z-index: var(--nav-z-header);
    background: var(--nav-bg);
    color: var(--nav-fg);
}
header > .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}
header > .logo img {
    display: block;
    height: 200px; /* подстройка логотипа */
}
header > .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0; /* скрываем текст "Меню" визуально */
    line-height: 0;
}
header > .menu-toggle::before {
    content: "";
    width: 22px;
    height: 22px;
    background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='currentColor' stroke-width='2' viewBox='0 0 24 24' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E");
}
header > .menu-toggle,
header > .bin-button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px; /* тач-цель 44x44 */
    padding: 6px 10px;
    border-radius: 8px;
}
header > .menu-toggle:hover {
    background: var(--nav-surface-2);
}

header > .bin-button:hover {
    background: transparent;
    color: var(--nav-accent);
}
header > .menu-toggle:active,
header > .bin-button:active {
    transform: translateY(0.5px);
}
header > .bin-button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;

    border: 0;
    border-radius: 8px;
    background: transparent;

    font-size: 0;
    line-height: 0;
}
header > .bin-button::before {
  content: "";
  width: 25px;
  height: 25px;
  flex: 0 0 25px;

    background-color: currentColor;

    --cart-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 12.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E");

    -webkit-mask: var(--cart-icon) center / contain no-repeat;
    mask: var(--cart-icon) center / contain no-repeat;
}

/* Мини-лейаут внутри header: логотип, далее nav, далее корзина
  JS добавит .nav рядом с логотипом; на десктопе меню горизонтальное */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--nav-gap);
  padding: 10px 16px;
}

/* Источник: скрыть список .menu (перемещается JS) */
.menu {
    display: none !important;
}

/* ====== Десктопная навигация ====== */
.nav {
    display: none; /* по умолчанию скрыто, JS покажет нужный режим */
    align-items: center;
    justify-content: flex-start;
    gap: var(--nav-gap);
    color: var(--nav-fg);
}
.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.nav__item {
    position: relative;
}
.nav__link,
.nav__btn {
	box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--nav-fg);
    padding: var(--nav-item-pad-y) var(--nav-item-pad-x);
    min-height: 44px;  /* тач-цель */
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
	white-space: nowrap;
}
/* Плавное подчёркивание верхнего меню от центра */
.nav--desktop > .nav__list > .nav__item > .nav__link,
.nav--desktop > .nav__list > .nav__item > .nav__btn {
    position: relative;
    text-decoration: none;
}

.nav--desktop > .nav__list > .nav__item > .nav__link::after,
.nav--desktop > .nav__list > .nav__item > .nav__btn::after {
    content: "";
    position: absolute;
    left: var(--nav-item-pad-x);
    right: var(--nav-item-pad-x);
    bottom: 6px;
    height: 2px;

    background: var(--nav-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--nav-trans);
}

@media (hover: hover) and (pointer: fine) {
    .nav--desktop > .nav__list > .nav__item:hover > .nav__link::after,
    .nav--desktop > .nav__list > .nav__item:hover > .nav__btn::after {
        transform: scaleX(1);
    }
}

.nav--desktop > .nav__list > .nav__item > .nav__link.is-active::after,
.nav--desktop > .nav__list > .nav__item > .nav__link[aria-current="page"]::after,
.nav--desktop > .nav__list > .nav__item > .nav__btn.is-active::after {
    transform: scaleX(1);
}

.nav__link.is-active,
.nav__link[aria-current="page"],
.nav__sublink.is-active,
.nav__sublink[aria-current="page"] {
    color: var(--nav-current-fg);
    background: var(--nav-current-bg);
    text-decoration-line: underline;
    text-decoration-color: var(--nav-current-underline);
}
.nav--desktop .nav__sublink.is-active,
.nav--desktop .nav__sublink[aria-current="page"] {
    color: var(--nav-fg);
    background: #eceff1;
    text-decoration: none;
}

/* Выпадающие панели */
.nav__panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    margin-top: 7px;
    background: var(--nav-surface);
    color: var(--nav-fg);
    border: 1px solid var(--nav-border);
    border-radius: var(--nav-radius);
    box-shadow: var(--nav-shadow);
    padding: 7px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity var(--nav-trans), transform var(--nav-trans), visibility var(--nav-trans);
}
.nav__panel .nav__submenu {
    list-style: none;
    margin: 0;
    padding: 4px;
    display: grid;
    gap: 2px;
}
.nav__panel .nav__sublink {
    display: block;
    min-height: 36px;
    padding: 7px;
    border-radius: 5px;

    color: var(--nav-fg);
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
}
.nav__panel .nav__sublink:hover {
    background: var(--nav-surface-2);
}
.nav__panel .nav__divider,
.nav__panel .nav__divider span {
    display: block;
    height: 1px;
    background: var(--nav-border);
    border-radius: 1px;
}

/* Состояние открытия подменю (JS добавляет .is-open на панель и на кнопку) */
.nav__panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ====== Мобильный режим / Drawer ====== */

.nav__overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity var(--nav-trans),
    visibility var(--nav-trans);

  z-index: var(--nav-z-overlay);
}

.nav__overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.nav__drawer {
  --nav-fg: #383838;
  --nav-accent: #ff7600;
  --nav-current-fg: #ff7600;
  --nav-current-bg: #eceff1;
  --nav-current-underline: #ff7600;
  --nav-focus: #9a4800;

  position: fixed;
  top: 0;
  right: 0;

  width: min(90vw, 380px);
  height: 100dvh;

  display: grid;
  grid-template-rows: auto minmax(0, 1fr);

  background: var(--nav-surface);
  color: var(--nav-fg);

  border-top: 3px solid var(--nav-accent);
  border-left: 1px solid var(--nav-border);
  border-radius: 22px 0 0 22px;

  box-shadow: var(--nav-shadow);
  overflow: hidden;

  transform: translateX(100%);
  transition: transform var(--nav-trans);

  z-index: var(--nav-z-drawer);
}

.nav__drawer.is-open {
  transform: translateX(0);
}

.nav__drawer-header {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--nav-gap);

  box-sizing: border-box;
  min-height: 78px;
  padding: 10px 18px;

  background: var(--nav-surface);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.28);
}

.nav__drawer-header::before {
  content: "Меню";

  color: var(--nav-fg);

  font-family: "Montserrat Site", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}


.nav__drawer-close {
  appearance: none;
  position: relative;
  box-sizing: border-box;

  display: grid;
  place-items: center;
  flex: 0 0 44px;

  width: 44px;
  height: 44px;
  padding: 0;

  border: 1px solid var(--nav-border);
  border-radius: 50%;

  background: transparent;
  color: var(--nav-fg);

  font-size: 0;
  cursor: pointer;
}

.nav__drawer-close::before,
.nav__drawer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  pointer-events: none;
}

.nav__drawer-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav__drawer-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav__drawer-close:hover {
  background: var(--nav-surface-2);
}

.nav__drawer .nav {
  display: block;

  min-height: 0;
  padding: 0 18px 24px;

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav--drawer .nav__list {
  display: grid;
  align-items: stretch;
  gap: 0;
}

.nav--drawer .nav__btn,
.nav--drawer .nav__link {
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  min-height: 56px;
  padding: 13px 2px;

  border: 0;
  border-bottom: 1px solid var(--nav-border);
  border-radius: 0;

  background: transparent;
  color: var(--nav-fg);

  font-family: "Montserrat Site", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;

  text-align: left;
  text-decoration: none;
}

.nav--drawer .nav__btn:hover,
.nav--drawer .nav__link:hover {
  background: transparent;
  color: var(--nav-current-fg);
  text-decoration: none;
}

.nav--drawer .nav__btn[aria-expanded="true"] {
  color: var(--nav-fg);
  border-bottom-color: transparent;

  text-decoration-line: underline;
  text-decoration-color: var(--nav-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}


/* Стрелка раскрывающегося пункта */

.nav--drawer .nav__btn::before {
  content: "";

  order: 2;
  flex: 0 0 auto;

  width: 0.5rem;
  height: 0.5rem;

  margin-right: 4px;
  margin-left: auto;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  opacity: 0.65;

  transform: rotate(45deg);
  transition: transform 0.2s ease-out;
}

.nav--drawer .nav__btn[aria-expanded="true"]::before {
  color: var(--nav-accent);
  transform: rotate(225deg);
}


/* Вложенные разделы */

.nav--drawer .nav__panel {
  position: static;
  display: none;

  margin: 0 0 10px 2px;
  padding: 2px 0 4px 16px;

  border: 0;
  border-left: 2px solid var(--nav-accent);
  border-radius: 0;

  box-shadow: none;
  background: transparent;

  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav--drawer .nav__panel.is-open {
  display: block;
}


.nav--drawer .nav__submenu {
  margin: 0;
  padding: 0;
  gap: 2px;
}

.nav--drawer .nav__sublink {
  display: flex;
  align-items: center;

  min-height: 44px;
  padding: 9px 10px;

  border-radius: 8px;

  color: var(--nav-fg);

  font-family: "Montserrat Site", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.4;

  text-decoration: none;
}

.nav--drawer .nav__sublink:hover {
  background: var(--nav-surface-2);
  text-decoration: none;
}

/* учитываем отключение анимации */
@media (prefers-reduced-motion: reduce) {
    .nav--drawer .nav__btn::before {
        transition: none;
    }
}

/* Показ/скрытие режимов по брейкпоинту */
@media (min-width: 900px) {
    /* десктоп */
    .nav--desktop {
        display: flex;
    }
    header > .menu-toggle {
        display: none;
    }
}
@media (max-width: 899.98px) {
    /* мобильный */
    .nav--desktop {
        display: none;
    }
	
	/* кнопки CTA центрируем */
	 .cta > ul {
        justify-content: center;
    }
	
    /* корректируем масштабируемость фото в мобильной версии */
img.right {
        float: none;
        display: block;
        max-width: 100%;
        height: auto;
        margin: 10px auto;
    }
 main:has(> div.prod-grp) {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }

    main > div.prod-grp > .promo {
        text-align: center;
    }

    main > img.prod-grp {
        grid-column: 1;
        order: 2;

        max-width: min(100%, 300px);
        max-height: 300px;
        margin: 0 0 20px;

        justify-self: center;
    }

    main > div.prod-grp > ul {
        grid-column: 1;
        order: 3;
    }
	
/* добавляем больше места контенту (таблицам) в мобильной версии */
	main {
    padding-left: 12px;
    padding-right: 12px;
}

/* Линк купить размещаем под ценой в мобильной версии */
.std-tbl:has(a[role="button"][data-sku]) td.amount {
    text-align: left;
}

.std-tbl:has(a[role="button"][data-sku]) td.amount > a[role="button"][data-sku] {
    display: block;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}
}

/* Состояние body при открытом drawer: можно запретить прокрутку фона */
body.drawer-open {
    overflow: hidden;
	overscroll-behavior: none;
}

/* Значок-счётчик корзины (JS может добавить .nav__cart) */
.nav__cart {
    position: relative;
}
.nav__cart-badge {
    position: absolute;
    top: -0.1px;
    right: -8px;

    min-width: 18px;
    height: 18px;
    padding: 0 3px;
    border-radius: 9px;

    background: var(--nav-accent);
    color: var(--nav-badge-fg, #fff);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--nav-bg);
}

/* Микро-анимации — отключаем по prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .nav__panel,
    .nav__overlay,
    .nav__drawer,
    .nav__btn::after,
    .nav__link::after {
        transition: none !important;
    }
}

/* ===== Contact information ===== */

footer {
    text-align: center;
    background: #7e8aa2;
    color: #F7F7F7;
    padding: 24px 16px;
    clear: none;
}
.org_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
    justify-content: center;
}
.org_card {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: pt-sans, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
}
.org_card a {
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

/* ===== Dialogs ===== */

#modals-root {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding: 12px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.5);
}

.modal_dlg {
    width: 460px;
    max-width: 100%;
    max-height: 90vh;
    box-sizing: border-box;

    margin-top: 10vh;
    padding: 20px 22px;

    overflow: auto;

    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);

    text-align: center;
}

.modal_dlg-wrapper {
    margin-top: 1em;
    line-height: 1.45;
    text-align: center;
}

.modal_dlg hr {
    margin: 16px 0;
    border: 0;
    border-top: 1px solid #aaa;
}

.modal_dlg-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.modal_dlg-buttons a[role="button"] {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;

    padding: 11px 12px;

    border: 1px solid #f77e12;
    border-radius: 5px;

    color: #f77e12;
    background-color: #fff;

    font-family: "Montserrat Site", "PT Sans", sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;

    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.modal_dlg-buttons a[role="button"]:hover,
.modal_dlg-buttons a[role="button"]:active {
    color: #fff;
    background-color: #f77e12;
}

.modal_dlg-buttons a[role="button"]:focus-visible {
    outline: 2px solid #f77e12;
    outline-offset: 2px;
}

#add_to_bin_dlg-price,
#add_to_bin_dlg-total {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    background-color: #f77e12;
    color: #fff;
    font-weight: 600;
}
.modal_dlg {
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Название товара */
#add_to_bin_dlg-name {
    font-family: "Montserrat Site", "PT Sans", sans-serif;
    font-weight: 600;
	font-size: 1.1em;
}

/* Артикул */
#add_to_bin_dlg-sku {
    font-weight: 600;
}

/* Блок с итоговой стоимостью */
#add_to_bin_dlg-desc {
    font-weight: 600;
	font-size: 1.02em;
}

/* Сами суммы */
#add_to_bin_dlg-price,
#add_to_bin_dlg-total {
    font-family: "Montserrat Site", "PT Sans", sans-serif;
    font-weight: 600;
}

/* Мобильная версия */
@media (max-width: 899.98px) {

    .modal_dlg {
        width: 460px;
        max-width: 100%;
        margin-top: 5vh;
        padding: 16px;
    }

    .modal_dlg-buttons {
        gap: 8px;
    }

    .modal_dlg-buttons a[role="button"] {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 0.74rem;
    }
}

/* ===== Order submit ===== */

#bin_table td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: center;
    padding-left: 0.4em;
    padding-right: 0.4em;
}
#bin_table td:last-child button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
#bin_table td:last-child button:focus {
    outline: 2px solid #666;
    outline-offset: 2px;
}
#bin_table .bin-quantity {
    display: inline-block;
    width: 4.0rem;
    box-sizing: border-box;
    padding: 0.2em 0.35em;
    border: 1px solid transparent;
    font: inherit;
    text-align: center;
}
#bin_table input.bin-quantity {
    border-color: #767676;
	text-align: center;
	text-indent: 12px;
}
#bin_form {
    width: 500px;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 15px;
    margin: 15px;
}
#bin_form > div:first-of-type {
    display: grid;
    grid-template-columns: 170px 1fr;
    row-gap: 10px;
    column-gap: 12px;
    align-items: center;
}
#bin_form > div:first-of-type > label {
    justify-self: start;
}
#bin_form input[type="text"],
#bin_form input[type="tel"],
#bin_form input[type="email"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#bin_form select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#bin_form > label {
    display: block;
    margin-top: 12px;
    line-height: 1.5;
}
#bin_form > label > select {
    display: block;
    margin-top: 8px;
    width: 100%;
}
#bin_form hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 14px 0;
}
#bin_form input[type="checkbox"] {
    margin: 0 3px 0 0;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    position: relative;
    top: -1.5px;
}
#bin_form input[type="submit"] {
    margin-top: 12px;
    background-color: #4CAF50;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
}
#bin_form input[type="submit"]:hover {
    background-color: #45a049;
}

/* Визуальное положение цирфы в input  для портретного режима и при повороте */
@media (hover: none) and (pointer: coarse) {
    #bin_table input.bin-quantity {
        text-indent: 0;
    }
}

/* Корректировка отображения для мобильной версии */
@media (max-width: 899.98px) {
    #bin_table {
        font-size: 0.76rem;
    }

    #bin_table th,
    #bin_table td {
        padding-left: 0.25em;
        padding-right: 0.25em;
    }

    #bin_table td:last-child {
        padding-left: 0.1em;
        padding-right: 0.5em;
    }

    #bin_table .bin-quantity {
        width: 2.7rem;
    }

	#bin_form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}
    #bin_table thead th {
    text-align: center;
}
}

/* Отображение формы для сартфонов с экраном 420 */
@media (max-width: 420px) {
    #bin_form {
        padding: 12px;
    }

    #bin_form > div:first-of-type {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    #bin_form > div:first-of-type > label:not(:first-child) {
        margin-top: 8px;
    }

    #bin_form input[type="text"],
    #bin_form input[type="tel"],
    #bin_form input[type="email"] {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

/* ===== Item with image + expando ===== */

.aux_expando {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}
.aux_expando > div:first-child {
    flex: 0 0 500px;
}
.expando {
    display: block;
    width: 150px;
    height: auto;
    transition: width .25s ease-in-out, height .25s ease-in-out;
}
/*
 * Блок времени работы.
 * Цвет линии меняется через --office-hours-accent.
 */

:root {
  --office-hours-accent: #ff7600;
  --office-hours-background: rgba(226, 226, 226, 0.82);
  --office-hours-text: #33383d;
}
.office-hours {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  width: 100%;
  margin: 16px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--office-hours-accent);
  background: var(--office-hours-background);
  color: var(--office-hours-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  box-sizing: border-box;
}
.office-hours__title {
  font-weight: 700;
}
.office-hours__schedule {
  font-weight: 400;
}
@media (max-width: 600px) {
  .office-hours {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* Order confirmation */
#order_main {
    display: flex;
    flex-direction: column;
    align-items: center;
	width: 100%;
    margin: auto;
}
#order_info {
	clear: none;
	background: #0c9118; /* Цвет фона */
    width: 480px;
    height: 280px;
    top: 90px;
    margin: auto;
    text-align: center;
	align-content:center;
	color: #fff; /* Цвет текста */
	padding: 10px; /* Поля вокруг текста */
	border-radius: 10px; /* Уголки */
	font-family: sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size:16px;
}
#order_contacts {
	background: #0c9118; /* Цвет фона */
    text-align: center;
	width: 470px;
	top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
	text-wrap: none;
	font-family: sans-serif;
	font-size:17px;
	}
#order_id {
	font-family: sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size:20px;
}

/* Logo animation */

.logo.logo--animated {
  position: relative;
  display: block;
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
}

.logo.logo--animated img {
  position: absolute;
  inset: 0;
  display: block;
  width: 200px;
  height: 200px;
  max-width: none;
}

.logo.logo--animated .logo__owl {
  z-index: 1;
}

.logo.logo--animated .logo__letters {
  z-index: 2;
  transform-origin: center;
  animation: elita-logo-spin 6s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.logo.logo--animated:hover .logo__letters,
.logo.logo--animated:focus-visible .logo__letters,
.logo.logo--animated.is-spinning .logo__letters {
  animation-play-state: running;
}

@keyframes elita-logo-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo.logo--animated .logo__letters {
    animation: none;
  }
}
/* === Order confirmation: mobile === */

@media (max-width: 899.98px) {

    #order_info {
        width: 100%;
        max-width: 480px;
        height: auto;
        box-sizing: border-box;
    }

    #order_contacts {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
    }

    #order-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #order-content .std-tbl {
        width: 100%;
        table-layout: fixed;
        font-size: 0.76rem;
    }

    #order-content .std-tbl th,
    #order-content .std-tbl td {
        padding-left: 0.25em;
        padding-right: 0.25em;
    }

    /* Артикул */
    #order-content .std-tbl th:nth-child(1),
    #order-content .std-tbl td:nth-child(1) {
        width: 18%;
    }

    /* Название продукта */
    #order-content .std-tbl th:nth-child(2),
    #order-content .std-tbl td:nth-child(2) {
        width: 30%;
    }

    /* Кол-во */
    #order-content .std-tbl th:nth-child(3),
    #order-content .std-tbl td:nth-child(3) {
        width: 10%;
    }

    /* Цена */
    #order-content .std-tbl th:nth-child(4),
    #order-content .std-tbl td:nth-child(4) {
        width: 20%;
    }

    /* Стоимость */
    #order-content .std-tbl th:nth-child(5),
    #order-content .std-tbl td:nth-child(5) {
        width: 22%;
    }

    #order-content .std-tbl th.amount,
    #order-content .std-tbl td.amount {
        padding-left: 0.15em;
        padding-right: 0.15em;
    }
	#order-content .std-tbl thead th {
    text-align: center;
}
}

/*
 * Дополнение для домашней страницы к /frame/site.css.
 * Базовый шрифт, фон страницы, Montserrat Site, .cta, .office-hours,
 * .sr-only, [hidden] и общие стили фокуса уже берутся из CSS сайта.
 */

#home-page,
#home-page *,
#home-page *::before,
#home-page *::after {
  box-sizing: border-box;
}

#home-page .home-product-carousel a,
#home-page .home-directions a,
#home-page .home-social-links a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#home-page .home-hero {
  padding: clamp(42px, 8vw, 84px) 0 clamp(48px, 8vw, 92px);
}

#home-page .home-section-label {
  margin: 0 0 12px;
  color: var(--office-hours-accent, #f77e12);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#home-page h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.35rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}

#home-page .home-introduction {
  max-width: 710px;
  margin: 22px 0 0;
  color: #565f68;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

/* Уже есть основной вариант кнопок .cta. Новое правило нужно
   только для прозрачной вторичной кнопки. */
#home-page .cta a.home-action-secondary[role="button"] {
  border: 2px solid var(--office-hours-accent, #f77e12);
  color: #404040;
  background: transparent;
}

#home-page .cta a.home-action-secondary[role="button"]:hover,
#home-page .cta a.home-action-secondary[role="button"]:active {
  color: ghostwhite;
  background: var(--office-hours-accent, #f77e12);
}

#home-page .home-product-carousel {
  width: calc(100% + 60px);
  margin: 0 -30px 42px;
  padding: clamp(34px, 5vw, 58px) 30px;
  background: rgba(240, 243, 244, 0.72);
}

#home-page .home-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

#home-page [data-home-carousel-status] {
  color: var(--nav-fg-muted, #626b74);
}

#home-page .home-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

#home-page .home-carousel-controls button {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nav-border, rgba(0, 0, 0, 0.12));
  border-radius: 8px;
  background: var(--nav-surface, #fff);
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

#home-page .home-carousel-controls button:hover {
  color: var(--office-hours-accent, #f77e12);
  border-color: currentColor;
}

#home-page .home-carousel-controls svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 16px;
  stroke-width: 2;
}

#home-page .home-product-slide {
  min-height: 470px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(26px, 5vw, 52px);
  align-items: center;
  background: var(--nav-surface, #fff);
  border-radius: 14px;
}

#home-page .home-slide-image {
  min-width: 0;
  min-height: 340px;
  padding: 20px;
  display: grid;
  place-items: center;
  background: var(--nav-surface-2, #f7f7f7);
  border-radius: 14px;
}

#home-page .home-slide-image img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 320px;
  height: auto;
  object-fit: contain;
}

#home-page .home-product-slide.is-entering {
  animation: home-slide-enter-animation 0.55s ease-out;
}

@keyframes home-slide-enter-animation {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

#home-page .home-slide-content {
  min-width: 0;
}

#home-page .home-slide-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

#home-page .home-slide-heading > span {
  color: var(--office-hours-accent, #f77e12);
  font-size: 2rem;
}

#home-page .home-slide-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.7vw, 3rem);
  font-weight: 500;
}

#home-page .home-slide-product-list {
  display: grid;
  border-top: 1px solid var(--nav-border, rgba(0, 0, 0, 0.12));
}

#home-page .home-slide-product-list a {
  min-height: 80px;
  padding: 13px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-bottom: 1px solid var(--nav-border, rgba(0, 0, 0, 0.12));
  text-decoration: none;
}

#home-page .home-slide-product-list a:hover,
#home-page .home-slide-product-list a:focus-visible {
  color: var(--office-hours-accent, #f77e12);
}

#home-page .home-slide-product-list strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

#home-page .home-slide-product-list small {
  color: var(--nav-fg-muted, #626b74);
  font-size: 0.95rem;
  line-height: 1.48;
}

#home-page .home-slide-all-products {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 500;
}

#home-page .home-slide-all-products > span,
#home-page .home-directions-header > a > span {
  border-bottom: 1px dashed transparent;
  line-height: 1.35;
  transition: border-color 0.2s ease;
}

#home-page .home-slide-all-products:hover > span,
#home-page .home-slide-all-products:focus-visible > span,
#home-page .home-directions-header > a:hover > span,
#home-page .home-directions-header > a:focus-visible > span {
  border-bottom-color: currentColor;
}

#home-page .home-slide-all-products svg,
#home-page .home-directions-header > a svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

#home-page .home-directions {
  padding: clamp(36px, 6vw, 64px) 0;
}

#home-page .home-directions-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

#home-page .home-directions-header h2,
#home-page .home-consultation h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.15;
  font-weight: 500;
}

#home-page .home-directions-header > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#home-page .home-directions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#home-page .home-directions-grid > a {
  min-height: 138px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;

  background: var(--nav-surface, #fff);
  border-top: 3px solid transparent;
  border-radius: 14px;
  text-decoration: none;

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-top-color 0.25s ease;
}

#home-page .home-directions-grid > a:hover,
#home-page .home-directions-grid > a:focus-visible {
  border-top-color: var(--office-hours-accent, #f77e12);
  transform: translateY(-10px);
  box-shadow: -26px 26px 22px 0 rgba(0, 0, 0, 0.16);
}

#home-page .home-directions-grid svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  color: var(--office-hours-accent, #f77e12);
}

#home-page .home-directions-grid span {
  display: grid;
  gap: 8px;
}

#home-page .home-directions-grid strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

#home-page .home-directions-grid small {
  color: var(--nav-fg-muted, #626b74);
  font-size: 0.94rem;
  line-height: 1.5;
}

#home-page .home-consultation {
  margin: 0 0 clamp(38px, 6vw, 64px);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--nav-surface, #fff);
  border-radius: 14px;
}

#home-page .home-consultation p:last-child {
  margin: 12px 0 0;
  color: var(--nav-fg-muted, #626b74);
  line-height: 1.55;
}

#home-page .home-consultation .cta {
  flex: 0 0 auto;
  margin: 0;
}

  #home-page .office-hours {
    flex-flow: row nowrap;
    align-items: flex-start;
  }
  
#home-page .office-hours > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--office-hours-accent, #f77e12);
  stroke-width: 2;
}

#home-page .home-office-hours-text {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

#home-page .home-social-links {
  width: calc(100% + 60px);
  margin: 24px -30px 0;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--nav-surface, #fff);
  border-top: 1px solid var(--nav-border, rgba(0, 0, 0, 0.12));
}

#home-page .home-social-links h2 {
  margin: 0;
  color: #404040;
  font-size: 1.08rem;
  line-height: 1.4;
  font-weight: 500;
}

#home-page .home-social-links nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
}

#home-page .home-social-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

#home-page .home-social-links a:hover,
#home-page .home-social-links a:focus-visible {
  color: var(--office-hours-accent, #f77e12);
  text-decoration: underline;
}

#home-page .home-social-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 8px;
  background: #404040;
  color: #f0f3f4;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
}

@media (pointer: coarse) {
  #home-page .home-carousel-controls button {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

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

  #home-page .home-directions-grid > a:hover,
  #home-page .home-directions-grid > a:focus-visible {
    transform: none;
  }
}

/* Используем те же контрольные точки, которые уже применяются в site.css. */
@media (max-width: 899.98px) {
  #home-page .home-product-carousel,
  #home-page .home-social-links {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  #home-page .home-directions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #home-page .home-hero {
    padding: 34px 0;
  }

  #home-page .home-product-carousel {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #home-page .home-product-slide {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #home-page .home-slide-image {
    min-height: 240px;
  }

  #home-page .home-slide-image img {
    max-height: 230px;
  }

  #home-page .home-carousel-header,
  #home-page .home-directions-header,
  #home-page .home-consultation,
  #home-page .home-social-links {
    align-items: flex-start;
    flex-direction: column;
  }

  #home-page .home-directions-header > a {
    white-space: normal;
  }

  #home-page .home-office-hours-text {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  #home-page .home-directions-grid {
    grid-template-columns: 1fr;
  }

  #home-page .home-consultation .cta,
  #home-page .home-consultation .cta > ul,
  #home-page .home-consultation .cta li,
  #home-page .home-consultation .cta a[role="button"] {
    width: 100%;
  }

  #home-page .home-social-links nav {
    width: 100%;
    justify-content: flex-start;
  }
}
/* Общая прокрутка пунктов меню и контактов */
.nav__drawer--contacts .nav__drawer-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0 18px 24px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.nav__drawer.nav__drawer--contacts .nav {
  display: block;
  flex: 0 0 auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* Линия после последнего пункта — граница контактов */
.nav__drawer--contacts .nav--drawer > .nav__list > .nav__item:last-child > .nav__link,
.nav__drawer--contacts .nav--drawer > .nav__list > .nav__item:last-child > .nav__btn {
  border-bottom: 0;
}

.nav__drawer--contacts .nav__drawer-contacts {
  flex: 0 0 auto;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--nav-border);
  font-family: "Montserrat Site", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.nav__drawer--contacts .nav__drawer-contact-link,
.nav__drawer--contacts .nav__drawer-hours {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 2px;
  color: var(--nav-fg);
  text-decoration: none;
}

.nav__drawer--contacts .nav__drawer-contact-link > svg,
.nav__drawer--contacts .nav__drawer-hours > svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.nav__drawer--contacts .nav__drawer-contact-link > span,
.nav__drawer--contacts .nav__drawer-hours > span {
  min-width: 0;
}

.nav__drawer--contacts .nav__drawer-contact-link:hover,
.nav__drawer--contacts .nav__drawer-contact-link:focus-visible {
  color: var(--nav-accent);
  text-decoration: none;
}

.nav__drawer--contacts .nav__drawer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 12px;
}

.nav__drawer--contacts .nav__drawer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  text-decoration: none;
}

.nav__drawer--contacts .nav__drawer-socials a > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #404040;
  color: #f0f3f4;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
}

.nav__drawer--contacts .nav__drawer-socials a:hover > span,
.nav__drawer--contacts .nav__drawer-socials a:focus-visible > span {
  background: var(--nav-accent);
}

.nav__drawer--contacts .nav__drawer-contacts a:focus-visible {
  outline: 2px solid var(--nav-focus);
  outline-offset: 3px;
}


/* ===== Подбор решения ===== */

body.solution-picker-open {
    overflow: hidden;
    overscroll-behavior: none;
}

.sp-overlay[hidden] {
    display: none;
}

.sp-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 27, 34, 0.52);
}

.sp-dialog,
.sp-dialog *,
.sp-dialog *::before,
.sp-dialog *::after {
    box-sizing: border-box;
}

.sp-dialog {
    width: min(100%, 680px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 28px;
    border-radius: 16px;
    background: var(--nav-surface, #fff);
    color: #404040;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.sp-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.sp-heading-wrap {
    min-width: 0;
    flex: 1;
}

.sp-kicker {
    margin: 0 0 7px;
    color: var(--office-hours-accent, #f77e12);
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sp-title {
    margin: 0;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: #303840;
}

.sp-description {
    margin: 10px 0 0;
    color: #596273;
    font-size: 1rem;
    line-height: 1.55;
}

.sp-close {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: -6px -6px 0 0;
    padding: 0;
    border: 1px solid #d6dde2;
    border-radius: 50%;
    background: var(--nav-surface-2, #f7f7f7);
    color: #596273;
    cursor: pointer;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

/* Рисуем крестик линиями, чтобы он был геометрически по центру круга. */
.sp-close::before,
.sp-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
}

.sp-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.sp-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.sp-close:hover {
    border-color: var(--office-hours-accent, #f77e12);
    background: #fffaf5;
    color: var(--office-hours-accent, #f77e12);
}

.sp-content {
    margin-top: 24px;
}

.sp-options {
    display: grid;
    gap: 10px;
}

.sp-option {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid #d6dde2;
    border-radius: 10px;
    background: var(--nav-surface, #fff);
    color: #303840;
    font: inherit;
    font-size: 1rem;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sp-option:hover {
    border-color: var(--office-hours-accent, #f77e12);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.sp-option-label {
    flex: 1;
}

.sp-option-arrow {
    flex: 0 0 auto;
    color: var(--office-hours-accent, #f77e12);
    font-size: 1.15rem;
}

.sp-results {
    display: grid;
    gap: 12px;
}

.sp-result-card {
    padding: 17px 18px;
    border: 1px solid #d6dde2;
    border-radius: 10px;
    background: var(--nav-surface, #fff);
}

.sp-result-title {
    margin: 0;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
    color: #303840;
}

.sp-result-text {
    margin: 7px 0 0;
    line-height: 1.5;
    color: #596273;
}

.sp-result-link,
.sp-consultation-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    font-family: "Montserrat Site", Arial, sans-serif;
    font-weight: 600;
}

.sp-result-link {
    text-decoration: none;
}

.sp-result-link {
    color: #174f7c;
}

.sp-result-link:hover {
    color: var(--office-hours-accent, #f77e12);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sp-consultation {
    margin-top: 18px;
    padding: 18px;
    border-left: 3px solid var(--office-hours-accent, #f77e12);
    background: var(--nav-surface-2, #f7f7f7);
}

.sp-consultation p {
    margin: 0;
    line-height: 1.5;
}

.sp-consultation-toggle {
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    color: ghostwhite;
    background: var(--office-hours-accent, #f77e12);
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

.sp-consultation-toggle:hover,
.sp-consultation-toggle:active {
    color: var(--office-hours-accent, #f77e12);
    background: ghostwhite;
}

.sp-contact-details {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #d6dde2;
}

.sp-contact-details[hidden] {
    display: none;
}

.sp-contact-group {
    display: grid;
    gap: 7px;
}

.sp-contact-title {
    font-family: "Montserrat Site", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #303840;
}

.sp-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.sp-contact-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #174f7c;
	font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.sp-contact-links a > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.sp-contact-links a:hover,
.sp-contact-links a:focus-visible {
    color: var(--office-hours-accent, #f77e12);
    text-decoration: none;
}

.sp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #e1e6e9;
}

.sp-back,
.sp-restart {
    min-height: 44px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: #174f7c;
    font: inherit;
    cursor: pointer;
}

.sp-back:hover,
.sp-restart:hover {
    color: var(--office-hours-accent, #f77e12);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sp-dialog :focus-visible {
    outline: 2px solid var(--nav-focus, #0a7aff);
    outline-offset: 3px;
}

.sp-title:focus,
.sp-title:focus-visible {
    outline: none;
}

@media (max-width: 599.98px) {
    .sp-overlay {
        align-items: end;
        padding: 0;
    }

    .sp-dialog {
        width: 100%;
        max-height: 94dvh;
        padding: 22px 16px 18px;
        border-radius: 16px 16px 0 0;
    }

    .sp-header {
        gap: 10px;
    }

    .sp-option {
        min-height: 56px;
        padding: 13px 14px;
    }

    .sp-footer {
    align-items: center;
    flex-direction: row;
    }

    .sp-restart {
    margin-left: auto;
    text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-option,
    .sp-consultation-toggle {
        transition: none;
    }

    .sp-option:hover {
        transform: none;
    }
}

/* ===== Video links ===== */

.video {
    margin: 24px 0;
}

.video > ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
}

.video > ul > li {
    margin: 0;
    padding: 0;
}

.video a[role="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 48px;
    min-height: 48px;
    box-sizing: border-box;
	
    background: transparent;
    border-radius: 8px;
    text-decoration: none;

    -webkit-tap-highlight-color: transparent;

    transition: transform 0.25s ease-out;
}

.video a[role="button"] img {
    display: block;
    width: 48px;
    height: 48px;
	border-radius: 8px;

    transition: filter 0.25s ease-out;
}

/* YouTube */
.video li:nth-child(1) a:hover img,
.video li:nth-child(1) a:active img {
    filter:
        brightness(0.9)
        saturate(0.9)
        drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.30))
        drop-shadow(3px 5px 6px rgba(0, 0, 0, 0.20));
}

/* VK */
.video li:nth-child(2) a:hover img,
.video li:nth-child(2) a:active img {
    filter:
        brightness(0.9)
        saturate(0.9)
        drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.30))
        drop-shadow(3px 5px 6px rgba(0, 0, 0, 0.20));
}

/* Подъём */
.video a[role="button"]:hover,
.video a[role="button"]:active {
    transform: translateY(-2px);
}

/* Клавиатурный фокус */
.video a[role="button"]:focus-visible {
    outline: 2px solid #f77e12;
    outline-offset: 3px;
}


/* Отключение движения при соответствующей настройке системы */
@media (prefers-reduced-motion: reduce) {
    .video a[role="button"],
    .video a[role="button"] img {
        transition: none;
    }

    .video a[role="button"]:hover,
    .video a[role="button"]:active {
        transform: none;
    }
}

@media (hover: none) {
    .video a[role="button"] img {
        transition: none;
    }
}

/* Мобильная шапка — увеличиваем бургер и корзину,
   не меняя их положение */
@media (max-width: 767px) {

    /* Бургер */
    header > .menu-toggle::before {
        width: 28px;
        height: 28px;
    }

    /* Корзина */
    header > .bin-button::before {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
    }
}