/*body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
*/

/* ================================================================ */
/* ========== СТИЛЬ КАК У OHIO POWER TOOL ========== */
/* ================================================================ */

body {
    background-color: #e9ecef;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    padding: 0px;
}

.page-wrapper {
    margin: 0;
    position: relative;
    transition: margin .3s ease-out 0s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.page-header {
    margin-bottom: 0;
    border: 0;
    padding-bottom: 0;
    position: relative;
    box-shadow: none;
    background-color: #000;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1920px;
    border-bottom: 10px solid #d52821;
}
.page-header:after {
    width: 100%;
    height: 2px;
    content: '';
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
}

.header {
    /*max-width: 1440px !important;*/
    width: 100%;
}

.header.content {
    height: 90px;
    transition: none;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    padding: 0 20px 10px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    position: relative;
}

/*
@media (min-width: 768px), print
@media screen and (min-width: 768px)
styles-l.min.css:1:805885.header.content:before, .header.content:after {
display: none !important;
}
*/

.sections.nav-sections {
    left: 0;
    top: auto;
    height: auto;
    max-width: none;
    width: 100%;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
    background: url('/static/images/fullmenu-bg.png') no-repeat 100% 0;
    margin-top: -40px;
    padding-top: 22px;
    box-shadow: 0px 2px 5px rgba(0,0,0,.4);
}

.sections.nav-sections .nav-sections-items {
    width: 100%;
    z-index: 9;
    transition: .1s all ease-in;
}

nav-sections-item-title {
    display: none;
}

.navigation {
    background: inherit;
    display: block;
    z-index: 2;
    font-weight: 700;
    height: inherit;
    left: auto;
    overflow: inherit;
    padding: 0;
    position: relative;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    /*max-width: 1280px;*/
    width: 100%;
}

.navigation .level0 {
    margin: 0 10px 0 0;
    display: inline-block;
    position: relative;
}

.ui-menu-icon {
position: absolute;
right: 0;
display: inline-block;
text-decoration: none;
}

.ui-menu-icon:after {
content: '';
-webkit-font-smoothing: antialiased;
font-size: 12px;
line-height: 20px;
color: inherit;
/*font-family: 'luma-icons';*/
vertical-align: middle;
font-weight: 400;
overflow: hidden;
speak: none;
text-align: center;
}

.navigation>ul>li {
position: static;
}
level-top {
text-align: center;
padding-right: 20px;
font-size: 14px;
padding: 6px 15px 6px 15px !important;
font-family: "Roboto Condensed", sans-serif;
color: #fff;
line-height: 1.3em;
position: relative;
text-decoration: none;
box-sizing: border-box;
display: inline-block;
background: #d82a20;
}

/* ================================================================ */
/* ===== ИКОНКИ В ШАПКЕ (Мой аккаунт / Корзина) ===== */
/* ================================================================ */

.info-account{
    padding: 20px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
    font-weight: 400;
    min-height: 55px;
}

.header__icon-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #fff;
    font-family: "poster-gothic-atf", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.header__icon-login {
    color: #d82a20;
    text-decoration: underline;
    text-transform: none;
}

.header__icon-login:hover {
    text-decoration: none;
}

.header__icon-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

.header__icon-link img {
    display: block;
    flex-shrink: 0;
}

.header__icon-text {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Убираем отступы у main внутри обертки */
.site-wrapper main {
    flex: 1;
    padding: 0 20px;
}

/* Футер внутри обертки */
.site-wrapper .footer {
    border-radius: 0;
    margin-top: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    body {
        padding: 10px;
    }
    .site-wrapper {
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 5px;
    }
    .site-wrapper {
        border-radius: 8px;
    }
    .site-wrapper main {
        padding: 0 10px;
    }
}

main {
    flex: 1;
}

/* ========== СТИЛИ ДЛЯ МЕНЮ ========== */
/*
.navbar {
    background-color: #000000 !important;
    /*border-bottom: 2px solid #BD0000;*/
/*    min-height: 85px;
}

.nav {
    background: #d82a20;
    position: relative;
    padding-top: 22px;
    margin-top: -2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
*/



/* ========== СТИЛИ ДЛЯ ЛОГОТИПА ========== */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
    z-index: 1;
}

.navbar-brand img {
    height: 70px !important;
    width: auto;
    object-fit: contain;
    display: block;
}
/* ========== СТИЛИ ДЛЯ КНОПКИ "КАТАЛОГ" ========== */
.btn-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 24px;
    background-color: #BD0000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    line-height: 1.5;
    height: 38px;
    transition: none;
}

/* ========== ВЫРАВНИВАНИЕ ЭЛЕМЕНТОВ ========== */
.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
}

/* ========== ФОРМА ПОИСКА ========== */
.d-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    height: 38px;
}

.btn-outline-dark {
    height: 38px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    border-color: #BD0000;
    color: #BD0000;
}

.btn-outline-dark:hover {
    background-color: #BD0000;
    border-color: #BD0000;
    color: white;
}

/* ========== СТИЛИ ДЛЯ ПОДВАЛА ========== */
.footer {
    background-color: #000;
    color: #ffffff;
    padding: 30px 0;
    margin-top: 40px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer .copyright {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ================================================================ */
/* ========== СТИЛИ ДЛЯ КАРТОЧЕК КАТЕГОРИЙ ========== */
/* ================================================================ */

.category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: 1px solid #e9ecef !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    min-height: 200px;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(189, 0, 0, 0.15) !important;
    border-color: #BD0000 !important;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    background: #f8f9fa;
    overflow: hidden;
}

.category-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image-wrapper img {
    transform: scale(1.08);
}

.category-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-image-placeholder i {
    font-size: 64px;
    color: #BD0000;
    opacity: 0.4;
}

.category-overlay-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(189, 0, 0, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay-icon {
    opacity: 1;
    transform: translateY(0);
}

.category-card .card-body {
    padding: 20px 20px 16px;
    position: relative;
    background: #ffffff;
}

.category-card .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1c2126;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.category-card:hover .card-title {
    color: #BD0000 !important;
}

.category-card .card-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    min-height: 20px;
}

.category-arrow-wrapper {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #BD0000;
    transition: all 0.4s ease;
}

.category-arrow i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    background: #BD0000;
    color: #ffffff;
}

.category-card:hover .category-arrow i {
    transform: translateX(4px);
}

/* ================================================================ */
/* ========== ГОРИЗОНТАЛЬНЫЕ КАРТОЧКИ КАТЕГОРИЙ ========== */
/* ================================================================ */

.category-card-horizontal {
    border: 1px solid #e9ecef !important;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
}

.category-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: #dee2e6 !important;
}

.category-card-inner {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 80px;
}

.category-image-wrapper-horizontal {
    flex: 0 0 35%;
    max-width: 35%;
    /*background: #ffffff;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}

.category-image-wrapper-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 100px;
    transition: transform 0.4s ease;
}

.category-card-horizontal:hover .category-image-wrapper-horizontal img {
    transform: scale(1.05);
}

.category-image-placeholder-horizontal {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    min-height: 70px;
}

.category-image-placeholder-horizontal i {
    font-size: 32px;
    color: #BD0000;
    opacity: 0.3;
}

.category-content {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*background: #ffffff;*/
}

.category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c2126;
    margin: 0 0 2px 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
}

.category-card-horizontal:hover .category-title {
    color: #1c2126 !important;
}

.category-subtitle {
    font-size: 0.75rem;
    color: #adb5bd;
    margin: 0;
}

/* ================================================================ */
/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
/* ================================================================ */

.breadcrumb {
    background-color: transparent !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    font-size: 0.8rem !important;
}

.breadcrumb-item {
    color: #6c757d !important;
}

.breadcrumb-item a {
    color: #6c757d !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #495057 !important;
    text-decoration: none !important;
}

.breadcrumb-item.active {
    color: #495057 !important;
    font-weight: 500 !important;
}

/*
.breadcrumb-item + .breadcrumb-item::before {
    color: #adb5bd !important;
    content: "—" !important;
    padding: 0 8px !important;
}
*/

/* ================================================================ */
/* ========== КАРТОЧКИ ТОВАРОВ ========== */
/* ================================================================ */

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef !important;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #dee2e6 !important;
}

.product-card .card-img-top {
    height: 180px;
    object-fit: contain;
    padding: 10px;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 14px;
}

/* ========== НАЗВАНИЕ ТОВАРА ========== */
.product-title {
    font-size: 0.8rem;
    font-weight: 400;
    color: #1c2126;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.2rem;
    margin-bottom: 4px;
    text-align: left !important;
}

/* ========== АРТИКУЛ ========== */
.product-article {
    font-size: 0.7rem;
    color: #adb5bd;
    margin-bottom: 4px;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
}

/* ========== СТАТУС НАЛИЧИЯ ========== */
.product-stock {
    font-size: 0.7rem;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
}

.product-stock.in-stock {
    color: #28a745;
}

.product-stock.out-of-stock {
    color: #dc3545;
}

/* ========== ЦЕНА ========== */
.product-price {
    font-size: 1rem;
    font-weight: 600;
    color: #1c2126;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
}

.product-old-price {
    font-size: 0.75rem;
    color: #adb5bd;
    text-decoration: line-through;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
}

/* ========== КОНТЕЙНЕРЫ ========== */
.product-card .card-body .mb-1,
.product-card .card-body .mb-2 {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 2px !important;
}

/* ========== КНОПКА "В КОРЗИНУ" ========== */
.btn-cart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 8px;
    padding: 6px 18px;
    background-color: #BD0000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100% !important;
    white-space: nowrap;
}

.btn-cart:hover {
    background-color: #a00000;
}

.btn-cart i {
    font-size: 0.75rem;
}

/* ================================================================ */
/* ========== АДАПТИВНОСТЬ ========== */
/* ================================================================ */

@media (max-width: 992px) {
    .category-image-wrapper-horizontal {
        flex: 0 0 30%;
        max-width: 30%;
    }
    .category-content {
        flex: 0 0 70%;
        max-width: 70%;
    }
    .category-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .filter-sidebar {
        position: static;
    }

    .navbar-brand img {
        height: 32px;
    }

    .btn-catalog {
        padding: 4px 18px;
        font-size: 0.85rem;
        height: 34px;
    }

    .form-control {
        height: 34px;
    }

    .btn-outline-dark {
        height: 34px;
        font-size: 0.85rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .category-card {
        min-height: 160px;
    }

    .category-card .card-body {
        padding: 16px 16px 12px;
    }

    .category-image-wrapper {
        padding-top: 60%;
    }

    .category-card .card-title {
        font-size: 0.95rem;
    }

    .category-arrow {
        width: 30px;
        height: 30px;
    }

    .category-arrow i {
        font-size: 12px;
    }

    .category-image-placeholder i {
        font-size: 48px;
    }

    .category-card-inner {
        min-height: 70px;
    }

    .category-image-wrapper-horizontal {
        flex: 0 0 30%;
        max-width: 30%;
        padding: 6px;
    }

    .category-image-wrapper-horizontal img {
        max-height: 70px;
    }

    .category-content {
        flex: 0 0 70%;
        max-width: 70%;
        padding: 10px 12px;
    }

    .category-title {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .category-subtitle {
        font-size: 0.7rem;
    }

    .category-image-placeholder-horizontal i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 28px;
    }

    .btn-catalog {
        padding: 4px 14px;
        font-size: 0.8rem;
        height: 30px;
    }

    .form-control {
        height: 30px;
        font-size: 0.8rem;
    }

    .btn-outline-dark {
        height: 30px;
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .category-image-wrapper {
        padding-top: 56%;
    }

    .category-image-placeholder i {
        font-size: 40px;
    }

    .category-card-inner {
        min-height: 60px;
    }

    .category-image-wrapper-horizontal {
        flex: 0 0 25%;
        max-width: 25%;
        padding: 4px;
    }

    .category-image-wrapper-horizontal img {
        max-height: 60px;
    }

    .category-content {
        flex: 0 0 75%;
        max-width: 75%;
        padding: 8px 10px;
    }

    .category-title {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .category-subtitle {
        font-size: 0.65rem;
        margin: 0;
    }

    .category-image-placeholder-horizontal i {
        font-size: 20px;
    }
}

/* ========== СТАТУС НАЛИЧИЯ ========== */
.product-stock {
    font-size: 0.7rem;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
}

.product-stock.in-stock {
    color: #28a745;
}

.product-stock.on-order {
    color: #fd7e14;  /* Оранжевый */
}

/* ================================================================ */
/* ========== СТИЛИ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ ТОВАРА ========== */
/* ================================================================ */

/* Цена — как в карточке */
.product-detail-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1c2126;
}

.product-detail-old-price {
    font-size: 1.2rem;
    color: #adb5bd;
    text-decoration: line-through;
    margin-left: 12px;
}

/* Статус — как в карточке */
.product-detail-stock {
    font-size: 1rem;
    font-weight: 500;
}

.product-detail-stock.in-stock {
    color: #28a745;
}

.product-detail-stock.on-order {
    color: #fd7e14;
}

/* Кнопка "В корзину" на детальной странице - КРАСНАЯ */
.btn-detail-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    background-color: #BD0000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-detail-cart:hover {
    background-color: #a00000;
}

.btn-detail-cart i {
    font-size: 0.9rem;
}

/* ================================================================ */
/* ========== СТИЛИ ДЛЯ ХАРАКТЕРИСТИК ========== */
/* ================================================================ */

.characteristics-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.characteristic-item {
    display: flex;
    align-items: baseline;
    font-size: 0.9rem;
    padding: 4px 0;
    border-bottom: 1px dashed #dee2e6;
}

.characteristic-item:last-child {
    border-bottom: none;
}

.characteristic-name {
    flex-shrink: 0;
    color: #1c2126;
    font-weight: 400;
    white-space: nowrap;
}

.characteristic-line {
    flex: 1;
    border-bottom: 1px dotted #ced4da;
    margin: 0 8px;
    height: 1em;
}

.characteristic-value {
    flex-shrink: 0;
    color: #495057;
    font-weight: 400;
    white-space: nowrap;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================================ */
/* ========== СТИЛИ ДЛЯ КАРУСЕЛИ КАТЕГОРИЙ ========== */
/* ================================================================ */

/* Кнопки навигации карусели */
#categoriesCarousel .carousel-control-prev,
#categoriesCarousel .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#categoriesCarousel:hover .carousel-control-prev,
#categoriesCarousel:hover .carousel-control-next {
    opacity: 1;
}

#categoriesCarousel .carousel-control-prev-icon,
#categoriesCarousel .carousel-control-next-icon {
    background-color: #BD0000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 50% 50%;
}

/* Карусель на мобильных устройствах */
@media (max-width: 768px) {
    #categoriesCarousel .carousel-control-prev,
    #categoriesCarousel .carousel-control-next {
        opacity: 1;
        width: 8%;
    }

    #categoriesCarousel .carousel-control-prev-icon,
    #categoriesCarousel .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    #categoriesCarousel .carousel-control-prev,
    #categoriesCarousel .carousel-control-next {
        width: 10%;
    }

    #categoriesCarousel .carousel-control-prev-icon,
    #categoriesCarousel .carousel-control-next-icon {
        width: 24px;
        height: 24px;
    }
}

/* ===== МЕГАМЕНЮ ===== */
.header-catalog {
    position: relative;
    display: inline-block;
}

.catalog-toggle {
    background: #BD0000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.catalog-toggle:hover {
    background: #990000;
}

.catalog-toggle:focus {
    outline: none;
}

.catalog-toggle i {
    font-size: 18px;
}

/* Выпадающее окно */
.catalog-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    max-width: 900px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    z-index: 1000;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.catalog-menu.is-active {
    display: block;
}

/* Внутренняя сетка */
.catalog-menu__inner {
    display: flex;
    gap: 0;
    min-height: 200px;
}

/* Левая колонка */
.catalog-menu__sections {
    width: 240px;
    flex-shrink: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-right: none;
}

/* Разделитель только когда есть подкатегории */
.catalog-menu__inner.has-subsections .catalog-menu__sections {
    border-right: 1px solid #edf2f7;
}

.catalog-menu__section-item {
    padding: 0;
}

.catalog-menu__section-link {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 10px 14px;
    border-radius: 8px;
    transition: color 0.15s;
}

.catalog-menu__section-link:hover {
    color: #BD0000;
    text-decoration: none;
}

.catalog-menu__section-icon {
    width: 20px;
    display: flex;
    justify-content: center;
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
}

.catalog-menu__section-item:hover .catalog-menu__section-icon {
    color: #BD0000;
}

.catalog-menu__section-name {
    flex: 1;
}

.catalog-menu__arrow {
    margin-left: auto;
    color: #adb5bd;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.catalog-menu__section-item:hover .catalog-menu__arrow {
    opacity: 1;
    transform: translateX(0);
    color: #BD0000;
}

.catalog-menu__section-item.is-current .catalog-menu__arrow {
    opacity: 1;
    transform: translateX(0);
    color: #BD0000;
}

/* Правая колонка */
.catalog-menu__subsections {
    display: none;
    flex: 1;
    padding: 0 0 0 20px;
    min-height: 200px;
    min-width: 500px;
}

.catalog-menu__subsections.is-active {
    display: block;
}

/* Группы подкатегорий */
.catalog-menu__subsections-group {
    display: none;
}

.catalog-menu__subsections-group.is-active {
    display: block;
}

.catalog-menu__subsections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 12px;
    align-items: start;
}

.catalog-menu__sub-item {
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    align-self: start;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.catalog-menu__sub-item i {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 3px;
    flex-shrink: 0;
}

.catalog-menu__sub-item-name {
    flex: 1;
    max-width: 30ch;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    display: inline-block;
    line-height: 1.3;
}

.catalog-menu__sub-item-count {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 4px;
    flex-shrink: 0;
}

.catalog-menu__sub-item:hover {
    color: #BD0000;
}

.catalog-menu__sub-item:hover .catalog-menu__sub-item-count {
    color: #BD0000;
}

.catalog-menu__sub-item--empty {
    color: #999;
    font-size: 14px;
    padding: 10px 0;
}

.catalog-menu__show-all {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #BD0000;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.catalog-menu__show-all:hover {
    background: #BD0000;
    color: #fff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-menu {
        width: 100% !important;
        min-width: auto;
        left: 0;
        right: 0;
        padding: 15px;
    }

    .catalog-menu__inner {
        flex-direction: column;
        min-height: auto;
    }

    .catalog-menu__sections {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid #edf2f7;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .catalog-menu__subsections {
        padding: 0;
        min-height: auto;
    }

    .catalog-menu__subsections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px 8px;
    }

    .catalog-menu__sub-item-name {
        max-width: 20ch;
        font-size: 13px;
    }

    .catalog-menu__sub-item {
        font-size: 13px;
        padding: 4px 0;
    }
}

@media (max-width: 576px) {
    .catalog-menu__subsections-grid {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }

    .catalog-menu__sub-item-name {
        max-width: 16ch;
        font-size: 13px;
    }

    .catalog-menu__sub-item {
        font-size: 13px;
        padding: 4px 0;
    }

    .catalog-menu__sub-item i {
        font-size: 10px;
    }
}

/* ===== САЙДБАР-МЕНЮ ===== */
.sidebar-catalog {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-catalog__header {
    padding: 12px 16px;
    border-bottom: 2px solid #BD0000;
    font-weight: 600;
    font-size: 15px;
    color: #1c2126;
}

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

.sidebar-catalog__item {
    border-bottom: 1px solid #e9ecef;
}

.sidebar-catalog__item:last-child {
    border-bottom: none;
}

.sidebar-catalog__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sidebar-catalog__link:hover {
    background: #f8f9fa;
    color: #BD0000;
    text-decoration: none;
}

.sidebar-catalog__link.has-children {
    font-weight: 500;
}

.sidebar-catalog__arrow {
    color: #adb5bd;
    font-size: 11px;
    transition: transform 0.25s ease;
}

.sidebar-catalog__item.open .sidebar-catalog__arrow {
    transform: rotate(180deg);
}

.sidebar-catalog__children {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    display: none;
}

.sidebar-catalog__item.open .sidebar-catalog__children {
    display: block;
}

.sidebar-catalog__child {
    border-top: 1px solid #e9ecef;
}

.sidebar-catalog__child:first-child {
    border-top: none;
}

.sidebar-catalog__child-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px 8px 30px;
    color: #555;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease;
}

.sidebar-catalog__child-link:hover {
    background: #ffffff;
    color: #BD0000;
    text-decoration: none;
}

.sidebar-catalog__child-count {
    color: #adb5bd;
    font-size: 11px;
}

/* ===== НОВИНКИ В САЙДБАРЕ ===== */
.sidebar-new-products {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-new-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 2px solid #BD0000;
}

.sidebar-new-products__title {
    font-weight: 600;
    font-size: 15px;
    color: #1c2126;
}

.sidebar-new-products__all {
    font-size: 12px;
    color: #BD0000;
    text-decoration: none;
}

.sidebar-new-products__all:hover {
    text-decoration: underline;
}

.sidebar-new-products__list {
    padding: 8px 0;
}

.sidebar-new-products__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.sidebar-new-products__item:hover {
    background: #f8f9fa;
}

.sidebar-new-products__img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.sidebar-new-products__info {
    flex: 1;
    min-width: 0;
}

.sidebar-new-products__name {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-new-products__price {
    font-size: 13px;
    font-weight: 600;
    color: #BD0000;
}

.sidebar-new-products__empty {
    padding: 20px;
    text-align: center;
    color: #adb5bd;
    font-size: 13px;
}

/* ===== КАРУСЕЛЬ БАННЕРОВ ===== */
#bannerCarousel {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

#bannerCarousel .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

#bannerCarousel:hover .carousel-control-prev,
#bannerCarousel:hover .carousel-control-next {
    opacity: 1;
}

#bannerCarousel .carousel-control-prev:hover,
#bannerCarousel .carousel-control-next:hover {
    background: rgba(189, 0, 0, 0.8);
}

#bannerCarousel .carousel-control-prev {
    left: 20px;
}

#bannerCarousel .carousel-control-next {
    right: 20px;
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

#bannerCarousel .carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    padding: 30px 20px;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    padding-left: 40px;
}

#bannerCarousel .carousel-caption h5 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

#bannerCarousel .carousel-caption p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
    #bannerCarousel .carousel-item img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    #bannerCarousel .carousel-item img {
        height: 200px;
    }

    #bannerCarousel .carousel-caption h5 {
        font-size: 18px;
    }

    #bannerCarousel .carousel-caption p {
        font-size: 13px;
    }

    #bannerCarousel .carousel-control-prev,
    #bannerCarousel .carousel-control-next {
        width: 32px;
        height: 32px;
        opacity: 1;
    }

    #bannerCarousel .carousel-control-prev {
        left: 10px;
    }

    #bannerCarousel .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    #bannerCarousel .carousel-item img {
        height: 150px;
    }

    #bannerCarousel .carousel-caption h5 {
        font-size: 14px;
    }

    #bannerCarousel .carousel-caption p {
        font-size: 11px;
    }

    #bannerCarousel .carousel-caption {
        padding: 15px 15px 15px 20px;
    }
}

/* ================================================================ */
/* ===== КАРТОЧКИ КАТЕГОРИЙ (BENTO GRID) ===== */
/* ================================================================ */

.category-cards-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 20px;
}

.category-card-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 224 / 185;
    text-decoration: none;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.category-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-card-item .category-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* =========================================
   BENTO КАТЕГОРИИ
   ========================================= */

.bento-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 185px 185px;
    gap: 12px;
    margin-bottom: 20px;
}

.bento-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f1f1;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.bento-card:hover img {
    transform: scale(1.06);
}

.bento-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 75%);
    z-index: 1;
}

.bento-card-content {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 2;
}

.bento-card-content h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ===== РАСКЛАДКА ===== */

/* 1-я карточка — ДЛИННАЯ (2 колонки, 1 строка) */
.bento-1 {
    grid-column: 1 / 3;
    grid-row: 1;
}

/* 2-я карточка — ВЕРТИКАЛЬНАЯ (1 колонка, 2 строки) */
.bento-2 {
    grid-column: 3;
    grid-row: 1 / 3;
}

/* 3-я карточка — КОРОТКАЯ (1 колонка, 1 строка) */
.bento-3 {
    grid-column: 1;
    grid-row: 2;
}

/* 4-я карточка — КОРОТКАЯ (1 колонка, 1 строка) */
.bento-4 {
    grid-column: 2;
    grid-row: 2;
}

/* 5-я карточка — ДЛИННАЯ (2 колонки, 1 строка) */
.bento-5 {
    grid-column: 1 / 3;
    grid-row: 3;
}

/* 6-я карточка — КОРОТКАЯ (1 колонка, 1 строка) */
.bento-6 {
    grid-column: 3;
    grid-row: 3;
}

/* ===== НОВОСТИ В САЙДБАРЕ ===== */
.sidebar-news {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 2px solid #BD0000;
}

.sidebar-news__title {
    font-weight: 600;
    font-size: 15px;
    color: #1c2126;
}

.sidebar-news__all {
    font-size: 12px;
    color: #BD0000;
    text-decoration: none;
}

.sidebar-news__all:hover {
    text-decoration: underline;
}

.sidebar-news__list {
    padding: 8px 0;
}

.sidebar-news__item {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.sidebar-news__item:hover {
    background: #f8f9fa;
}

.sidebar-news__date {
    font-size: 11px;
    color: #adb5bd;
    margin-bottom: 2px;
}

.sidebar-news__title {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    font-weight: 400;
}

.sidebar-news__item:hover .sidebar-news__title {
    color: #BD0000;
}

/* ===== НОВОСТИ В САЙДБАРЕ (КАК НОВИНКИ) ===== */
.sidebar-news {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-news__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 2px solid #BD0000;
}

.sidebar-news__title {
    font-weight: 600;
    font-size: 15px;
    color: #1c2126;
}

.sidebar-news__all {
    font-size: 12px;
    color: #BD0000;
    text-decoration: none;
}

.sidebar-news__all:hover {
    text-decoration: underline;
}

.sidebar-news__list {
    padding: 8px 0;
}

.sidebar-news__item {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.sidebar-news__item:last-child {
    border-bottom: none;
}

.sidebar-news__item:hover {
    background: #f8f9fa;
}

.sidebar-news__date {
    font-size: 11px;
    color: #adb5bd;
    margin-bottom: 2px;
}

.sidebar-news__title-text {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
    font-weight: 400;
}

.sidebar-news__item:hover .sidebar-news__title-text {
    color: #BD0000;
}

/* ================================================================
   СКРЫВАЕМ САЙДБАР НА МОБИЛЬНЫХ
   ================================================================ */
@media (max-width: 768px) {
    aside.col-lg-3 {
        display: none;
    }

    section.col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ================================================================
   БЕНТО НА МОБИЛЬНЫХ — 4 КВАДРАТА 2×2
   ================================================================ */
@media (max-width: 768px) {

    .bento-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        margin-bottom: 16px;
    }

    .bento-1, .bento-2, .bento-3,
    .bento-4, .bento-5, .bento-6 {
        grid-column: auto;
        grid-row: auto;
    }

    /* Скрываем 5 и 6 */
    .bento-5,
    .bento-6 {
        display: none;
    }

    /* Квадратные карточки */
    .bento-card {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .bento-card-content {
        left: 12px;
        right: 12px;
        bottom: 10px;
    }

    .bento-card-content h3 {
        font-size: 14px;
        line-height: 1.2;
    }
}

/* ===== БРЕНДЫ ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    min-height: 100px;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.brand-card img {
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 8px;
}

.brand-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    color: #BD0000;
    margin-bottom: 8px;
}

.brand-card__name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
}

/* Мобильные */
@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .brand-card {
        min-height: 80px;
        padding: 10px 6px;
    }

    .brand-card__name {
        font-size: 11px;
    }
}

/* ===== КНОПКА ИЗБРАННОГО ===== */
.btn-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: none;
    color: #adb5bd;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-fav:hover {
    color: #dc3545;
    transform: scale(1.1);
}

.btn-fav--active {
    color: #dc3545;
}

.btn-fav--active:hover {
    color: #a02020;
}


/* ===== СТРАНИЦА ТОВАРА — КНОПКИ ===== */
.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 16px;
}

.product-actions .btn-cart {
    padding: 10px 24px;
    font-size: 0.95rem;
    height: 38px;
    justify-content: center;
}

/* ===== СЕЛЕКТОР КОЛИЧЕСТВА ===== */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    height: 38px;
    background: #fff;
    flex-shrink: 0;
}

.quantity-selector__btn {
    width: 34px;
    height: 36px;
    border: none;
    background: transparent;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}

.quantity-selector__btn:hover {
    background: #f8f9fa;
    color: #BD0000;
}

.quantity-selector__btn:active {
    background: #e9ecef;
}

.quantity-selector__input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #1c2126;
    outline: none;
    -moz-appearance: textfield;
    background: #fff;
}

.quantity-selector__input::-webkit-outer-spin-button,
.quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* На мобильном — на всю ширину */
@media (max-width: 576px) {
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector {
        width: 100%;
    }

    .quantity-selector__btn {
        flex: 1;
    }

    .quantity-selector__input {
        flex: 1;
    }

    .product-actions .btn-cart {
        width: 100%;
        justify-content: center;
    }
}

/* Блочные ссылки сайдбара — без подчёркивания при наведении */
.sidebar-news__item:hover,
.sidebar-new-products__item:hover,
.sidebar-catalog__link:hover,
.sidebar-catalog__child-link:hover {
    text-decoration: none;
}

@media (max-width: 576px) {
    .product-card {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0;
        background: transparent !important;
    }
    .product-card:hover {
        transform: none;
        box-shadow: none !important;
    }

    .img-thumbnail {
        border: none !important;
        box-shadow: none !important;
        border-radius: 0;
        background: transparent !important;
    }
}


/* ============================================================
   КАТЕГОРИИ: ГОРИЗОНТАЛЬНАЯ СКРОЛЛ-ЛЕНТА НА МОБИЛЬНЫХ
   ============================================================ */
.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 8px;
    margin: 0 -12px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-scroll-item {
    flex: 0 0 78%;
    scroll-snap-align: start;
    text-decoration: none;
}

/* ============================================================
   КАТЕГОРИИ: ГОРИЗОНТАЛЬНАЯ СКРОЛЛ-ЛЕНТА НА ПЛМАНШЕТАХ
   ============================================================ */
@media (max-width: 767.98px) {
    .categories-scroll {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 12px 8px;
        margin: 0 -12px;
        scrollbar-width: none;
    }
    .categories-scroll::-webkit-scrollbar { display: none; }
    .category-scroll-item {
        flex: 0 0 78%;
        scroll-snap-align: start;
        text-decoration: none;
    }
}