.header {
    width: 100%;
    padding: 20px clamp(10px, 1.389vw, 20px);
}
.header .container {
    width: 100%;
    max-width: 1440px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
        'logo search contacts'
        'menu menu menu';
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.logo-wrap {
    grid-area: logo;
}
.logo-wrap .logo {
    font-size: clamp(40px, 4.167vw, 60px);
    font-weight: 800;
    line-height: 0.83;
    color: var(--c-main);
    margin-top: 20px;
}
.logo-wrap .site-desk {
    font-size: 21px;
    margin: 0;
}
.dgwt-wcas-search-wrapp {
    grid-area: search;
}
.head-contacts-wrapper {
    grid-area: contacts;
    display: flex;
    grid-gap: 20px;
    justify-content: flex-end;
    align-items: center;
}
.header__cart-item {
    position: relative;
}
.header__cart-item svg {
    width: 30px;
}
.header__cart-item span {
    position: absolute;
    top: -10px;
    color: var(--c-main-font);
}
.head-contacts {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
}
.head-contacts a {
    font-weight: 400;
    font-size: 24px;
    line-height: 0.83;
    color: var(--c-main-font);
}
.head-contacts span {
    position: relative;
}
.head-contacts span::before {
    position: absolute;
    left: -25px;
    width: 18px;
    height: 18px;
    content: '';
    background: url('../img/clock-icon.svg') no-repeat;
    background-size: cover;
}
.menu-mainmenu-container {
    grid-area: menu;
}
.header-menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0;
    padding: 20px 10px;
    background: var(--c-main);
}

@media screen and (min-width: 993px) {
    .header-menu {
        border-radius: 14px 14px 0 0;
    }
}
.header-menu .menu-item {
    display: flex;
    justify-content: center;
}
.header-menu .menu-item a {
    color: #fff;
}
.header-menu .menu-item .cart__product-count {
    position: relative;
    top: -10px;
    color: #fff;
}
/* Burger menu- start */
.burger {
    display: none;
}
.overflow {
    overflow: hidden;
}
.burger-btn {
    position: relative;
    width: 30px;
    height: 28px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    z-index: 110;
}
.burger-btn-line {
    width: 30px;
    height: 4px;
    border-radius: 5px;
    background: var(--c-main-font);
    transition: 0.3s all;
}
.burger-btn--active .burger-btn-line {
    background: #fff;
}
.burger-btn--active .burger-btn-line:nth-child(1) {
    position: absolute;
    top: 12px;
    transform: rotate(45deg);
}
.burger-btn--active .burger-btn-line:nth-child(2) {
    background: transparent;
}
.burger-btn--active .burger-btn-line:nth-child(3) {
    position: absolute;
    top: 12px;
    transform: rotate(-45deg);
}
.burger-menu-nav {
    position: absolute;
    top: 20vh;
    left: 0;
    right: 0;
    display: flex;
    grid-gap: 10px;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 100%;
    max-height: 360px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    z-index: 110;
}
.burger-menu-nav .burger-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    grid-gap: 10px;
    flex-flow: column;
}
.burger-menu-nav .burger-menu .menu-item {
    font-size: 28px;
}
.burger-menu-nav .burger-menu .current-menu-item {
    color: var(--c-main);
}

.burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    background: #000000cf;
    z-index: 100;
}
/* Burger menu- end */


.form-call-back {
    width: 100%;
    max-width: 440px;
    display: none;
    position: fixed;
    top: 20dvh;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    z-index: 1001;
}
.call-back-form {
    position: relative;
    display: flex;
    grid-gap: 20px;
    flex-flow: column;
    align-items: center;
    padding: 20px;
}
.form-call-back .close-modal {
    width: 36px;
    height: 36px;
    position: relative;
    top: 20px;
    left: calc(100% - 50px);
    padding: 0;
    border: none;
    outline: none;
    background: none;
    transition: .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.form-call-back .close-modal:hover {
    transform: scale(1.1);
}
.call-back-form .input-name,
.call-back-form .input-phone {
    width: 100%;
    height: 50px;
    padding-left: 20px;
}
input:user-invalid {
    border: 1px solid #ff0000 !important;
}
.personal-data-checkbox {
    display: flex;
    grid-gap: 10px;
    align-items: baseline;
}
.personal-data-checkbox input {
    width: 20px;
    height: 20px;
}
.personal-data-checkbox a {
    color: var(--c-main);
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    visibility: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0 / 59%);
    opacity: 0;
    transition: all 1s;
}
.modal-overlay--active {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    transition: all 1s;
}





@media screen and (max-width: 1200px) {}
    
@media screen and (max-width: 992px) {
    .header .container {
        grid-gap: 0;
        grid-template-columns: repeat(2, auto);
        grid-template-areas:
            'logo contacts'
            'search search';
    }
    .dgwt-wcas-search-wrapp {
        max-width: 100% !important;
    }
    .head-contacts {
        grid-template-columns: 1fr;
    }
    .head-contacts span,
    .head-contacts .btn {
        display: none;
    }
    .head-contacts-wrapper .burger {
        display: block;
    }
    .menu-mainmenu-container {
        display: none;
    }
}

@media screen and (max-width: 768px) {

}

@media screen and (max-width: 572px) {
    .logo-wrap .site-desk {
        display: none;
    }
    .head-contacts-wrapper .head-contacts {
        display: none;
    }
}

/* =======================================================
   Многоуровневое меню для ПК (Desktop) — КОМПАКТНОЕ
   ======================================================= */

/* Относительное позиционирование для родительских пунктов */
.header-menu .menu-item {
    position: relative; 
}

/* Базовый блок подменю (все уровни) */
.header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%; /* Выпадает ровно под родительским пунктом */
    left: 0;
    width: 210px; /* Фиксированная компактная ширина */
    background: var(--c-main);
    padding: 5px 0;
    margin: 0;
    list-style: none;
    z-index: 100;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    /* УДАЛЕНЫ max-height и overflow, чтобы вложенные уровни не обрезались */
}

/* Показываем подменю при наведении */
.header-menu .menu-item:hover > .sub-menu {
    display: flex;
}

/* Настройки пунктов внутри выпадающего списка */
.header-menu .sub-menu .menu-item {
    width: 100%;
    display: block;
    text-align: left;
}

/* Ссылки подменю: уменьшаем шрифт и отступы */
.header-menu .sub-menu .menu-item a {
    padding: 6px 15px; /* Компактные отступы между строками */
    display: block;
    font-size: 14px; /* Уменьшенный, но хорошо читаемый шрифт для плотных данных */
    line-height: 1.3;
    color: #fff;
    white-space: normal; /* РАЗРЕШАЕМ перенос длинных названий на 2 строки, чтобы меню не растягивалось вширь */
    word-wrap: break-word;
    transition: background 0.15s ease;
}

/* Эффект при наведении на пункт подменю */
.header-menu .sub-menu .menu-item a:hover {
    background: rgba(255, 255, 255, 0.12); 
}

/* --- ПОДДЕРЖКА 3-ГО И 4-ГО УРОВНЕЙ --- */
/* Последующие уровни выпадают вправо и идеально выравниваются по верхней линии */
.header-menu .sub-menu .sub-menu {
    top: -5px; 
    left: 100%; 
}

/* --- СТРЕЛОЧКИ ДЛЯ ПК ВЕРСИИ --- */
/* Добавляем миниатюрную стрелочку-указатель вправо для пунктов, внутри которых ЕСТЬ подкатегории */
.header-menu .sub-menu .menu-item-has-children > a {
    padding-right: 25px; /* Место под стрелку */
    position: relative;
}

.header-menu .sub-menu .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.6);
    border-top: 1.5px solid rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) rotate(45deg);
    transition: border-color 0.15s;
}

.header-menu .sub-menu .menu-item-has-children:hover > a::after {
    border-color: #fff; /* Стрелочка становится ярче при наведении */
}

/* =======================================================
   Многоуровневое меню для мобильных устройств (Burger)
   ======================================================= */

/* Разрешаем скролл внутри меню, если раскрытые подменю не влезают в экран */
.burger-menu-nav {
    overflow-y: auto; 
    max-height: 80vh; /* Даем больше пространства по высоте */
    justify-content: flex-start; /* Прижимаем к верху при прокрутке */
}

/* Скрываем подменю по умолчанию */
.burger-menu .sub-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.05); /* Легкое затемнение фона для подменю */
    border-radius: 10px;
    width: 100%;
}

/* =======================================================
   Стрелочки и логика раскрытия для мобильного меню
   ======================================================= */

/* Подготавливаем родительский пункт меню (WordPress автоматически дает класс menu-item-has-children) */
.burger-menu .menu-item-has-children {
    position: relative;
    display: flex;
    flex-wrap: wrap; /* Позволяет подменю переноситься на новую строку */
    justify-content: space-between;
    align-items: center;
}

/* Ссылка должна занимать всё свободное пространство до стрелки */
.burger-menu .menu-item-has-children > a {
    flex-grow: 1;
}

/* Стили для нашей кнопки-стрелки (ее мы создадим в JS) */
.submenu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Рисуем саму галочку стрелки с помощью CSS */
.submenu-toggle::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--c-main-font, #000); /* Цвет стрелки */
    border-bottom: 2px solid var(--c-main-font, #000);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.3s ease;
}

/* Состояние, когда подменю ОТКРЫТО (класс is-active добавит JS) */
.burger-menu .menu-item-has-children.is-active > .submenu-toggle::after {
    transform: translateY(2px) rotate(-135deg); /* Поворачиваем стрелку вверх */
}

.burger-menu .menu-item-has-children.is-active > .sub-menu {
    display: flex; /* Показываем само подменю */
}

/* Уменьшаем размер шрифта для мобильных подменю */
.burger-menu .sub-menu .menu-item {
    font-size: 20px; 
    padding: 5px 0;
}

/* Трёхуровневая шапка */
.header {
    padding: 0 clamp(10px, 1.389vw, 20px);
}

.header .container {
    display: block;
    max-width: 1440px;
    margin: 0 auto;
}

.header__top-row {
    background: #f1f1f1;
    box-shadow: 0 0 0 100vmax #f1f1f1;
    clip-path: inset(0 -100vmax);
}

.header__top-content {
    min-height: 38px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 6px 0;
    color: var(--c-main-font);
    font-size: 14px;
}

.header__phones {
    display: flex;
    gap: 12px;
}

.header__top-content a,
.header__top-content button {
    color: var(--c-main-font);
}

.header__top-content a:hover {
    color: var(--c-main);
}

.header__email {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header__top-content .btn {
    padding: 5px 12px;
    font-size: 13px;
    line-height: 1.2;
}

.header__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__social-link {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #229ed9 !important;
}

.header__social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.header__main-row {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.logo-wrap,
.dgwt-wcas-search-wrapp,
.header__actions {
    grid-area: auto;
}

.logo-wrap .logo {
    margin-top: 0;
}

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

.header__favorite-item,
.header__cart-item {
    position: relative;
    display: inline-flex;
    color: var(--c-main-font);
}

.header__favorite-item svg,
.header__cart-item svg,
.header__account svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.header__favorite-item:hover,
.header__cart-item:hover,
.header__account:hover {
    color: var(--c-main);
}

.header__action-counter,
.header__cart-item .cart-item__counter {
    position: absolute;
    top: -9px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--c-main);
    color: #fff !important;
    font-size: 11px;
    line-height: 1;
}

.header__account {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--c-main-font);
    font-size: 15px;
    white-space: nowrap;
}
.header__account--logged-in {
    position: relative;
}
.header__account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    text-decoration: none;
}
.header__account-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: -14px;
    z-index: 1002;
    width: 180px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    border: 1px solid #d5e3e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(28, 69, 88, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.header__account--logged-in:hover .header__account-menu,
.header__account--logged-in:focus-within .header__account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header__account-menu a {
    display: block;
    padding: 9px 15px;
    color: var(--c-main-font);
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
}
.header__account-menu a:hover,
.header__account-menu a:focus {
    background: #edf6f9;
    color: var(--c-main);
}

.header__actions .burger {
    margin-left: 4px;
}

@media screen and (max-width: 992px) {
    .header__top-content {
        justify-content: center;
    }

    .header__main-row {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .header__main-row .dgwt-wcas-search-wrapp {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .header__actions .burger {
        display: block;
    }
}

@media screen and (max-width: 572px) {
    .header__top-content {
        gap: 7px 12px;
        font-size: 12px;
    }

    .header__working-hours,
    .header__top-content .btn {
        display: none;
    }

    .header__main-row {
        grid-template-columns: 1fr auto;
        gap: 15px;
        padding: 14px 0;
    }

    .header__actions {
        gap: 14px;
    }

    .header__account span {
        display: none;
    }
}

/* Избранное */
.favorite-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 7px 10px;
    border: 1px solid var(--c-main);
    border-radius: 4px;
    background: #fff;
    color: var(--c-main);
    font: inherit;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.favorite-toggle:hover,
.favorite-toggle.is-active {
    background: var(--c-main);
    color: #fff;
}

.favorite-toggle__icon {
    font-size: 18px;
    line-height: 1;
}

.favorites-page {
    padding-top: 35px;
    padding-bottom: 60px;
}

.favorites-page__heading {
    margin: 0 0 28px;
}

.favorites-page__empty,
.favorites-page__loading {
    margin: 0;
    color: #666;
}

.favorites-page__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.favorites-page__item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    overflow: hidden;
}

.favorites-page__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 16px;
}

.favorites-page__image img {
    max-height: 100%;
    object-fit: contain;
}

.favorites-page__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
}

.favorites-page__title {
    color: var(--c-main-font);
    font-weight: 600;
}

.favorites-page__price {
    margin-top: 10px;
    font-weight: 600;
}

.favorites-page__content .favorite-toggle {
    margin-top: auto;
}

/* В каталоге кнопка находится поверх карточки, справа сверху. */
.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product > .favorite-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
}

.woocommerce ul.products li.product > .favorite-toggle .favorite-toggle__label {
    display: none;
}

.woocommerce ul.products li.product > .favorite-toggle:hover,
.woocommerce ul.products li.product > .favorite-toggle.is-active {
    background: var(--c-main);
}

/* Мегаменю каталога */
.menu-mainmenu-container {
    position: relative;
}

.header-menu {
    position: relative;
}

.header-menu > .catalog-menu-item {
    position: static;
}

.header-menu > .catalog-menu-item > .catalog-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 120;
    display: none;
    width: 100%;
    padding: 28px clamp(20px, 3vw, 45px) 22px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.header-menu > .catalog-menu-item:hover > .catalog-mega-menu,
.header-menu > .catalog-menu-item:focus-within > .catalog-mega-menu,
.header-menu > .catalog-menu-item.is-mega-open > .catalog-mega-menu {
    display: block;
}

.catalog-mega-menu__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 270px);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-mega-menu__categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 34px;
}

.catalog-mega-menu__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-mega-menu__section-title {
    display: block;
    margin-bottom: 8px;
    color: var(--c-main-font) !important;
    font-weight: 700;
    line-height: 1.25;
}

.catalog-mega-menu__subcategories {
    column-width: 135px;
    column-gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-mega-menu__subcategories > li {
    break-inside: avoid;
    margin-bottom: 5px;
}

.catalog-mega-menu__subcategories ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 5px 0 0 12px;
    padding: 0;
    list-style: none;
}

.catalog-mega-menu__subcategories a {
    display: inline;
    color: #4c4c4c !important;
    font-size: 14px;
    line-height: 1.35;
}

.catalog-mega-menu__section-title:hover,
.catalog-mega-menu__subcategories a:hover {
    color: var(--c-main) !important;
}

.catalog-mega-menu__features {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.catalog-mega-menu__feature {
    position: relative;
    display: flex;
    min-height: 126px;
    align-items: flex-end;
    padding: 12px;
    overflow: hidden;
    background: #eaf5f8;
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
}

.catalog-mega-menu__feature::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .63) 100%);
}

.catalog-mega-menu__feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-mega-menu__feature span {
    position: relative;
    z-index: 1;
}

.catalog-mega-menu__all {
    grid-column: 1 / -1;
    justify-self: start;
    padding-top: 4px;
    color: var(--c-main) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media screen and (max-width: 1200px) {
    .catalog-mega-menu__inner {
        grid-template-columns: minmax(0, 1fr) 230px;
    }

    .catalog-mega-menu__categories {
        gap: 18px;
    }
}

@media screen and (max-width: 992px) {
    .header-menu > .catalog-menu-item > .catalog-mega-menu {
        display: none !important;
    }
}

/* Аккуратная иерархия категорий в мегаменю. */
.catalog-mega-menu__section-heading,
.catalog-mega-menu__subcategory-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 7px;
}

.catalog-mega-menu__section-title {
    margin-bottom: 0;
}

.catalog-mega-menu__toggle {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: -2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: #eaf5f8;
    cursor: pointer;
}

.catalog-mega-menu__toggle::before {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 7px;
    height: 7px;
    content: '';
    border-right: 2px solid var(--c-main);
    border-bottom: 2px solid var(--c-main);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.catalog-mega-menu__section.is-open > .catalog-mega-menu__section-heading .catalog-mega-menu__toggle::before,
.catalog-mega-menu__subcategory-item.is-open > .catalog-mega-menu__subcategory-heading .catalog-mega-menu__toggle::before {
    top: 10px;
    transform: rotate(225deg);
}

.catalog-mega-menu__subcategories,
.catalog-mega-menu__subcategories ul {
    display: none;
}

.catalog-mega-menu__section > .catalog-mega-menu__subcategories {
    display: block;
    margin-top: 12px;
}

.catalog-mega-menu__subcategory-item.is-open > .catalog-mega-menu__subcategories {
    display: block;
    margin: 7px 0 2px 12px;
    column-width: auto;
}

.catalog-mega-menu__subcategories > li {
    margin-bottom: 7px;
}

.catalog-mega-menu__subcategory-heading a {
    flex: 1;
}

.catalog-mega-menu__features {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 12px;
}

.catalog-mega-menu__feature {
    flex: 0 0 128px;
    min-height: 0;
}

@media screen and (max-width: 768px) {
    .favorites-page__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .favorites-page__list {
        grid-template-columns: 1fr;
    }
}
