/* Внутренние страницы: 4 колонки на десктопе */
@media screen and (min-width: 768px) {
    .grid_holder.list_product,
    .grid_holder.product_list {
        display: flex !important;
        flex-wrap: wrap;
        gap: 16px;
    }
    .list_product .item,
    .product_list .item,
    .grid4 .product-grid .item,
    .grid5 .product-grid .item {
        width: calc(25% - 12px) !important;
    }
}

.banner-btn {
    display: none;
}

/* Баннеры между блоками на главной */
.home-banner-wrap {
    margin-bottom: 40px;
    line-height: 0;
}
@media (min-width: 768px) {
    .home-banner-wrap {
        margin-top: 60px;
    }
}
.home-banner-wrap a {
    display: block;
}
.home-banner-wrap img {
    display: block;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .home-banner-wrap {
        margin-bottom: 0;
    }
}

/* Корзина — отступы 16px на мобильном */
@media screen and (max-width: 767px) {
    .cart_sec .items_container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ===== Desktop Footer - Left align links ===== */
.footer-links {
    text-align: left !important;
}

.footer-links li {
    text-align: left !important;
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
    }

    body {
        padding-bottom: 70px !important;
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    html {
        overflow-x: hidden !important;
        max-width: 100vw;
    }
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8E8E93;
    font-size: 10px;
    font-weight: 500;
    padding: 4px 8px;
    position: relative;
    min-width: 60px;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    text-decoration: none;
    color: #8E8E93;
}

.mobile-nav-item .nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.mobile-nav-item .nav-icon-active {
    display: none;
}

.mobile-nav-item .nav-icon-default {
    display: block;
}

.mobile-nav-item.active {
    color: #2150F5;
}

.mobile-nav-item.active .nav-icon-active {
    display: block;
}

.mobile-nav-item.active .nav-icon-default {
    display: none;
}

.mobile-nav-cart-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: #E53935;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== Mobile Footer ===== */
.mobile-footer {
    display: none;
    background: #333333;
    padding: 40px 16px 100px 16px;
}

@media (max-width: 767px) {
    .mobile-footer {
        display: block !important;
    }
}

.mobile-footer-content {
    max-width: 100%;
}

.mobile-footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.mobile-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mobile-footer-col a {
    color: #F2F2F7;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    text-align: left;
}

.mobile-footer-col a:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-footer-col .whatsapp-link {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.mobile-footer-col .whatsapp-link img {
    width: 16px;
    height: 16px;
}

.mobile-footer-social {
    margin: 20px 0;
}

.mobile-footer-social-title {
    color: #F2F2F7;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: left;
}

.mobile-footer-instagram {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.mobile-footer-instagram a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F2F2F7;
    font-size: 10px;
    text-decoration: none;
    text-align: left;
}

.mobile-footer-instagram a:hover {
    color: #fff;
}

.mobile-footer-instagram img {
    width: 16px;
    height: 16px;
}

.mobile-footer-instagram .instagram-city-only {
    margin-left: 24px;
}

.mobile-footer-other-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-footer-other-social a {
    display: flex;
    align-items: center;
}

.mobile-footer-other-social img {
    width: 16px;
    height: 16px;
}

.mobile-footer-other-social img[alt="YouTube"] {
    width: 22px;
    height: 17px;
}

.mobile-footer-copyright {
    color: #8E8E93;
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
}

.footer-align, .copyright-info {
    text-align: left;
}

/* Social icons under WhatsApp */
.mobile-footer-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.mobile-footer-social-icons a {
    display: flex;
    align-items: center;
}

.mobile-footer-social-icons img {
    width: 16px;
    height: 16px;
}

.mobile-footer-social-icons img[alt="YouTube"] {
    width: 22px;
    height: 17px;
}

/* ===== New Mobile Header ===== */
.mobile-header-new {
    display: none !important;
}

@media (max-width: 767px) {
    .mobile-header-new {
        display: flex !important;
        align-items: end;
        gap: 12px;
        background-color: #2150F5;
        height: 114px;
        padding: 0 16px;
        position: sticky;
        top: 0;
        z-index: 9998;
    }

    .mobile-header-new * {
        margin-bottom: 8px;
    }

    .mobile-header-search, .mobile-header-actions {
        margin-bottom: 10px;
    }

    /* Hide old mobile header and contacts */
    .top-menu.visible-xs,
    .top-menu.visible-sm,
    .mobile_contacts,
    .header_top_line_wrapper.header-top,
    .header_top_line_wrapper,
    .header .header_main,
    .navbar-main,
    .header_wrapper {
        display: none !important;
    }

    /* Hide slick slider arrows on mobile */
    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .mobile-header-logo {
        flex-shrink: 0;
    }

    .mobile-header-logo img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
    }

    .mobile-header-search {
        flex: 1;
        position: relative;
    }

    .mobile-header-search input {
        width: 100%;
        height: 44px;
        border: none;
        border-radius: 22px;
        padding: 0 20px;
        font-size: 15px;
        background-color: #fff;
        color: #1C1C1E;
    }

    .mobile-header-search input::placeholder {
        color: #8E8E93;
    }

    .mobile-header-search input:focus {
        outline: none;
    }

    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-shrink: 0;
    }

    .mobile-header-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-actions img {
        width: 28px;
        height: 28px;
    }

    .mobile-header-actions img[alt="Wishlist"] {
        width: 30.8px;
    }

    /* Mobile currency wrapper and popup */
    .mobile-currency-wrapper {
        display: block;
        height: 0;
        overflow: visible;
        position: relative;
    }

    .mobile-currency-wrapper .currency_current {
        position: static;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: visible;
    }

    .mobile-currency-wrapper .currency_current > a {
        display: none;
    }

    .mobile-currency-wrapper .currency_form {
        height: 0;
        overflow: visible;
    }

    .mobile-currency-wrapper .top_header_drop_down.custom-currency {
        display: none !important;
        position: fixed !important;
        top: 114px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9997 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        border-radius: 0 0 12px 12px !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0 !important;
    }

    .mobile-currency-wrapper .top_header_drop_down.custom-currency.mobile-currency-open {
        display: block !important;
    }
}

/* Hide mobile currency wrapper on desktop */
@media (min-width: 768px) {
    .mobile-currency-wrapper {
        display: none !important;
    }
    .menu_top_catagory {
        padding-left: 0 !important;
        margin-left: 0 !important;
        margin-right: 28px !important;
        gap: 28px !important;
    }
    .menu_top_catagory li {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .secondary-menu__left {
        width: 75%;
        display: flex;
        align-items: center;
        padding-left: 0;
    }
    .search-block {
        margin-left: 0 !important;
        margin-right: 36px !important;
        width: 100% !important;
        max-width: 927px;
    }
}

/* VAT Modal should be on top of currency popup */
#vatModal {
    z-index: 999999 !important;
}

#vatModal + .modal-backdrop,
.modal-backdrop {
    z-index: 999998 !important;
}

/* ===== Mobile Catalog Panel ===== */
.mobile-catalog-panel,
.mobile-subcategory-panel {
    display: none;
    position: fixed;
    top: 114px; /* Below mobile header */
    left: 0;
    right: 0;
    bottom: 0;
    background: #F2F2F7;
    z-index: 9997; /* Below header so header stays on top */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 calc(80px + env(safe-area-inset-bottom)) 0;
    flex-direction: column;
    gap: 16px;
}

.mobile-catalog-panel.open {
    display: flex;
}

body.mobile-catalog-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Tag chips */
.mobile-catalog-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding: 0 16px;
    width: 100%;
    margin: 16px 0;

}

.mobile-catalog-tag {
    display: inline-block;
    color: #2150F5;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    background: #fff;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0px 2px 6px 0px #051E741A;

    width: 100;
    height: 32;
    gap: 10px;
    angle: 0 deg;
    opacity: 1;
    border-radius: 8px;
    padding: 8px;

}

.mobile-catalog-tag:hover,
.mobile-catalog-tag:focus {
    background: #2150F5;
    color: #fff;
    text-decoration: none;
}

/* Category grid */
.mobile-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px;
}

.mobile-catalog-item {
    display: block;
    text-decoration: none;
    color: #1C1C1E;
    font-size: 12px;
    font-weight: 600;
    padding: 10px;
    border-radius: 12px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    aspect-ratio: 1;

    box-shadow: 0px 2px 6px 0px #051E741A;

}

.mobile-catalog-item:hover,
.mobile-catalog-item:focus {
    text-decoration: none;
    color: #1C1C1E;
}

.mobile-catalog-item span {
    display: block;
    line-height: 1.2;
    text-align: left;
}

/* Mobile Catalog Footer - reuses .mobile-footer styles */
.mobile-catalog-footer {
    margin-top: 24px;
    background: #333333;
    padding: 40px 16px 100px 16px;
}

/* ===== Desktop Slider Full Width ===== */
.desktop-slider-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* ===== Heading "ВСЕ" link (mobile only) ===== */
.heading-view-all {
    display: none;
}

/* ===== Mobile Main Banner (replaces slider) ===== */
.mobile-main-banner {
    display: none;
}

@media (max-width: 767px) {
    .mobile-main-banner {
        display: block;
        margin-top: 8px;
        margin-top: 6px;
    }

    .mobile-main-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .desktop-slider-wrapper {
        display: none !important;
    }
}

@media (min-width: 768px) {
    /* Mobile Small Banners — hidden on desktop */
    .mobile-small-banners {
        display: none;
    }

    /* ===== Featured Product Card ===== */
    .featured-product-card {
        display: flex;
        gap: 24px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 16px;
        border: 1.5px solid #E5E8F0;
        padding: 24px;
        margin-bottom: 24px;
        box-sizing: border-box;
    }

    .featured-product-card__image-wrap {
        position: relative;
        flex-shrink: 0;
        display: block;
        width: 220px;
    }

    .featured-product-card__image-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-product-card__badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #FF3B30;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        padding: 4px 8px;
        border-radius: 8px;
        z-index: 1;
    }

    .featured-product-card__img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        object-fit: cover;
    }

    .featured-product-card__info {
        display: flex;
        flex-direction: column;
        gap: 0;
        flex: 1;
        min-width: 0;
        text-align: left;
    }

    .featured-product-card__title {
        overflow: hidden;
        color: #1A1A1A;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 120%;
        margin-bottom: 4px;
    }

    .featured-product-card__author {
        color: #8E8E93;
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 8px;
    }

    .featured-product-card__desc {
        font-family: Montserrat;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        color: #1A1A1A;
        line-height: 26px;
        letter-spacing: 0;
        display: -webkit-box;
        -webkit-line-clamp: 10;
        line-clamp: 10;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex: 1;
        max-height: 260px;
        margin-bottom: 22px;
    }

    .featured-product-card__delivery {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #3C3C3C;
    }

    .featured-product-card__image-col .featured-product-card__delivery {
        align-self: center;
        justify-content: center;
        text-align: center;
    }

    .featured-product-card__price {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 36px;
    }

    .featured-product-card__price .price-new {
        font-size: 20px;
        font-weight: 700;
        color: #2150F5;
    }

    .featured-product-card__price .price-old {
        font-size: 14px !important;
        color: #626366 !important;
        text-decoration: line-through;
    }

    .featured-product-card__discount-badge {
        background-color: #F53A21;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 5px;
        border-radius: 4px;
        line-height: 1;
    }

    .badge-slot {
        display: block;
    }
}

@media (min-width: 768px) {
    .badge-slot--image {
        display: none;
    }
    .badge-slot--price {
        display: inline-flex;
        align-items: center;
        margin-left: 0;
    }
    .slider__item .price.product_detail_price,
    .list_product .item.product-layout .price.product_detail_price {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .slider__item .price.product_detail_price .badge-slot--price,
    .list_product .item.product-layout .price.product_detail_price .badge-slot--price {
        /* margin-left: auto; */
    }
    .badge-slot--price .badge25-home,
    .badge-slot--price .badge35-home,
    .badge-slot--price .badge45-home {
        transform: none !important;
        margin: 0 !important;
        position: static !important;
        align-items: center;
    }
    .badge-slot--price .badge25-home:not([style*="display:none"]):not([style*="display: none"]),
    .badge-slot--price .badge35-home:not([style*="display:none"]):not([style*="display: none"]),
    .badge-slot--price .badge45-home:not([style*="display:none"]):not([style*="display: none"]) {
        display: inline-flex !important;
    }
}

@media (min-width: 768px) {
    .slider__item .price .price-new,
    .list_product .item.product-layout .price .price-new,
    .slider__item .price .price-new1,
    .slider__item .price .price-new2,
    .slider__item .price .price-new3,
    .slider__item .price .price-new4,
    .slider__item .price .price-new5,
    .slider__item .price .price-new6,
    .slider__item .price .price-new7,
    .list_product .item.product-layout .price .price-new1,
    .list_product .item.product-layout .price .price-new2,
    .list_product .item.product-layout .price .price-new3,
    .list_product .item.product-layout .price .price-new4,
    .list_product .item.product-layout .price .price-new5,
    .list_product .item.product-layout .price .price-new6,
    .list_product .item.product-layout .price .price-new7 {
        color: #2150F5;
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .slider__item .price .price-old,
    .list_product .item.product-layout .price .price-old {
        color: #626366 !important;
        font-family: Montserrat;
        font-size: 14px !important;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-decoration-line: line-through;
        vertical-align: middle;
        margin-top: 0px !important;
        /* margin-left: 8px; */
    }

    .price .currency,
    .price .currency-symbol,
    .price .currency_sign {
        color: #2150F5;
        font-family: Roboto;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }
}

@media (max-width: 767px) {
    .badge-slot--price {
        display: none;
    }
    .badge-slot--image {
        display: block;
    }
}

@media (min-width: 768px) {
    .featured-product-card__actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: auto;
        margin-bottom: 0;
    }

    .featured-product-card__wishlist {
        margin-left: auto;
    }

    .featured-product-card--in-slider .featured-product-card__info {
        padding-bottom: 0;
    }

    .featured-product-card__btn {
        display: flex;
        width: 183px !important;
        height: 40px;
        padding: 9px 51px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        margin: 0 !important;
        align-self: flex-start !important;
        text-align: center;
    }

    .featured-product-card__btn .arrow-wrapper {
        display: none !important;
    }

    .featured-product-card__wishlist {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: none;
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
    }

    .featured-product-card__wishlist:hover {
        outline: none;
    }
}

/* ===== Featured card: desktop (in-slider) vs mobile (standalone) ===== */
/* Desktop: hide standalone, show in-slider */
@media (min-width: 768px) {
    .featured-product-card--standalone {
        display: none !important;
    }
    .slider__item--featured {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 548px !important;
        min-height: 461px;
        padding: 0 !important;
        box-sizing: border-box;
        flex-shrink: 0;
    }
    /* Featured slider row: featured card left, carousel right */
    .featured-slider-row {
        display: flex;
        gap: 15px;
        align-items: stretch;
        width: 100%;
    }
    .featured-slider-row .slider__news1 {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    .slider__news1 .slider__item--featured,
    .slider__news1__item.slider__item--featured {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .featured-product-card--in-slider {
        display: grid;
        grid-template-columns: 239px 1fr;
        grid-template-rows: 1fr auto auto;
        column-gap: 24px;
        margin-bottom: 0;
        height: 100%;
        border: 2px solid rgba(33, 80, 245, 0.4);
        border-radius: 8px;
        background: #FFF;
        box-shadow: 4px 4px 16px -4px rgba(0, 0, 0, 0.10);
        padding: 28px;
        box-sizing: border-box;
    }
    /* Image spans rows 1-2 so its bottom aligns with price bottom */
    .featured-product-card--in-slider .featured-product-card__image-wrap {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 239px;
        height: 371px;
        overflow: hidden;
        display: block;
        align-self: start;
    }
    /* Delivery in row 3, col 1 */
    .featured-product-card--in-slider .featured-product-card__delivery {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        gap: 16px !important;
        align-self: center;
    }
    /* Info (title + author + desc) in row 1, col 2 */
    .featured-product-card--in-slider .featured-product-card__info {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    /* Price in row 2, col 2 — bottom aligns with image bottom */
    .featured-product-card--in-slider .featured-product-card__price {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        margin-bottom: 0;
    }
    .featured-product-card--in-slider .featured-product-card__price .price-new {
        margin-right: 40px;
    }
    /* Actions in row 3, col 2 */
    .featured-product-card--in-slider .featured-product-card__actions {
        grid-column: 2;
        grid-row: 3;
        align-self: center;
    }
    .featured-product-card--in-slider .featured-product-card__img {
        width: 239px !important;
        height: 371px !important;
        object-fit: cover;
        border-radius: 0;
        display: block;
    }
}
/* Mobile: show standalone, hide in-slider */
@media (max-width: 767px) {
    .featured-product-card--standalone {
        display: flex;
        flex-direction: row;
        gap: 16px;
        padding: 16px;
        background: #fff;
        border: 1.5px solid #C7D2F8;
        border-radius: 16px;
        box-sizing: border-box;
        margin: 0 24px;
    }
    .featured-product-card--standalone .featured-product-card__image-col {
        flex-shrink: 0;
        width: 40%;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .featured-product-card--standalone .featured-product-card__image-wrap {
        display: block;
        position: relative;
        border-radius: 0;
        overflow: hidden;
    }
    .featured-product-card--standalone .featured-product-card__badge {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #F04E23;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 6px;
        z-index: 2;
    }
    .featured-product-card--standalone .featured-product-card__img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2/3;
        object-fit: cover;
        display: block;
    }
    .featured-product-card--standalone .featured-product-card__delivery {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 13px;
    }
    .featured-product-card--standalone .featured-product-card__price {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
    }
    .featured-product-card--standalone .featured-product-card__price .price-new {
        font-size: 20px;
        font-weight: 700;
        color: #2150F5;
        font-family: Montserrat;
    }
    .featured-product-card--standalone .featured-product-card__price .price-old {
        font-size: 14px;
        color: #626366;
        text-decoration: line-through;
        font-family: Montserrat;
    }
    .featured-product-card--standalone .featured-product-card__actions {
        margin-top: auto;
    }
    .featured-product-card--standalone .featured-product-card__btn {
        width: 100% !important;
        margin: 0 !important;
        height: 40px;
        font-family: Montserrat;
        font-size: 16px;
        font-weight: 700;
        font-style: normal;
        line-height: 1;
        letter-spacing: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .featured-product-card--standalone .featured-product-card__btn .arrow-wrapper {
        display: none !important;
    }
    .featured-product-card--standalone .featured-product-card__info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 6px;
        position: relative;
    }
    .featured-product-card--standalone .featured-product-card__wishlist {
        position: absolute;
        top: 0;
        right: 0;
        width: 36px;
        height: 36px;
        border: none;
        background: #F2F2F7;
        border-radius: 50%;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .featured-product-card--standalone .featured-product-card__title {
        font-size: 17px;
        font-weight: 700;
        color: #1A1A1A;
        font-family: Montserrat;
        line-height: 1.3;
        white-space: normal;
        padding-right: 36px;
        display: block;
        margin-bottom: 2px;
    }
    .featured-product-card--standalone .featured-product-card__author {
        font-size: 13px;
        color: #626366;
        font-family: Montserrat;
    }
    .featured-product-card--standalone .featured-product-card__desc {
        font-size: 13px;
        color: #1A1A1A;
        font-family: Montserrat;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 14;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .slider__item--featured,
    .slider__news1 .slider__item--featured,
    .slick-initialized .slider__item--featured {
        display: none !important;
    }
}

/* ===== Отступы блоков главной на десктопе ===== */
@media screen and (min-width: 768px) {
    .box.products.home-section {
        margin-bottom: 40px;
    }
}


/* ===== Desktop Banner Grid (slider left + two banners right) ===== */
@media screen and (min-width: 768px) {
    .home-banner-grid {
        display: grid;
        grid-template-columns: 1fr 333.5px;
        gap: 20px;
        width: 100%;
        margin: 0 auto 40px;
        align-items: start;
    }

    .home-banner-grid .home-section-slider {
        margin-bottom: 0 !important;
        min-width: 0;
        overflow: visible !important;
    }

    .home-banner-grid .home-section-slider .slick-list {
        border-radius: 16px;
        overflow: hidden;
        height: 384px !important;
    }

    .home-banner-grid .home-section-slider .banner_img_desk {
        width: 100% !important;
        height: 384px !important;
        object-fit: cover !important;
        display: block !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .home-banner-grid .home-section-slider .slick-dots {
        position: relative !important;
        bottom: auto !important;
        margin-top: 10px;
        text-align: center;
    }
    .home-banner-grid .home-section-slider .slick-dots li {
        width: auto !important;
        height: auto !important;
        margin: 0 3px !important;
    }
    .home-banner-grid .home-section-slider .slick-dots li button {
        width: 4px !important;
        height: 4px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(5, 30, 116, 0.30) !important;
        transition: width 0.2s ease;
        font-size: 0 !important;
    }
    .home-banner-grid .home-section-slider .slick-dots li button:before {
        display: none !important;
    }
    .home-banner-grid .home-section-slider .slick-dots li.slick-active button {
        width: 20px !important;
        height: 4px !important;
        border-radius: 4px !important;
        background: rgba(5, 30, 116, 0.60) !important;
    }

    .home-banner-side {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .home-banner-side-item {
        display: block;
        position: relative;
        aspect-ratio: 333.5 / 180;
        overflow: hidden;
        border-radius: 16px;
    }

    .home-banner-side-item .banner_img_desk {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }

    .home-banner-side-item .banner-btn {
        position: absolute;
        bottom: 12%;
        left: 5%;
        display: flex;
        width: 132.745px;
        height: 38px;
        padding: 9px 51px;
        justify-content: center;
        align-items: center;
        border-radius: 16px;
        background: #FFF;
        color: #2150F5;
        font-family: Montserrat;
        font-size: 16px;
        font-weight: 600;
        line-height: normal;
        white-space: nowrap;
        pointer-events: none;
    }
}

@media (min-width: 768px) {
    .home-banner-grid--hero {
        margin-top: 40px;
    }
}

/* Mobile: slider full width, side banners as horizontal pair */
@media (max-width: 767px) {
    .home-banner-grid {
        display: block;
        margin-bottom: 40px;
    }

    .home-banner-side {
        display: flex;
        gap: 8px;
        margin-bottom: 28px;
    }

    .home-banner-side-item {
        flex: 1;
        display: block;
    }

    .home-banner-side-item .banner_img_mob {
        width: 100%;
        height: auto;
        display: block;
    }

    .home-banner-side-item .banner_img_desk {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-small-banners {
        display: flex;
        gap: 0;
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .mobile-small-banner {
        flex: 1;
        display: block;
    }

    .mobile-small-banner img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .mobile-small-banner-left {
        margin-right: 3px;
    }
    .mobile-small-banner-right {
        margin-left: 3px;
    }
}


@media (min-width: 768px) {
    body {
        background: #F2F2F7;
    }
}

/*Main content*/
@media (min-width: 768px) {
    .container_home,
    .container,
    .breadcrumb,
    .header_right,
    .home-banner-grid,
    .mobile-category-grid-wrapper {
        width: 100% !important;
        max-width: 1400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container_home > .row,
    .container > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Wishlist heart: закрашивается когда товар добавлен на полку */
.wishlist-cart-btn.in-wishlist svg path,
.wishlist-heart-btn.in-wishlist svg path {
    fill: #E53935 !important;
}

/* Фикс: ссылки в шапке на синем фоне (#2150f5) — a:hover делал их синими (невидимыми) */
.links.contrast_font a:hover,
.links.contrast_font a:focus,
.secondary-menu .nav_link:hover,
.secondary-menu .nav_link:focus {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Страница автора — фикс названий только здесь, чтобы не ломать каталог и главную */
body.product-author .information_wrapper .name {
    height: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    line-height: 1.5 !important;
    max-height: 48px !important;
}

@media (max-width: 767px){
 .products {
    margin: 0px !important;
    padding-left: 16px !important;
 }

 .container_home {
    width: 100% !important;
 }

 .box-heading {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: auto !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    margin-bottom: 16px !important;
 }

 .box-heading:before,
 .box-heading:after {
    display: none;
 }

 .box-heading .pull-left {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    width: auto;
    float: none;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
 }

 .heading-view-all {
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #626366;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 12px;
    margin-right: 16px;
 }

 /* ===== Единые стили карточек товаров (slider__item) ===== */
 .slider__item {
    height: 416px !important;
    display: flex !important;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.4);
    overflow: hidden;
    padding: 0 !important;
    margin: 0 10px !important;
    box-sizing: border-box;
    border-radius: 8px;
 }

 .slider__item:first-child {
    margin-left: 0 !important;
 }

 .box.products .slider__news1 {
    padding-left: 12px !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
 }

 .box.products .slick-list {
    padding: 0 !important;
    padding-right: 50px !important;
    margin: 0 !important;
    overflow: hidden !important;
 }

 .box.products .slick-track {
    margin-left: 0 !important;
 }

 .box.products {
    overflow: visible !important;
 }

 .slider__item .image_home_carousel {
    width: 100%;
    height: 211px;
    min-height: 211px;
    max-height: 211px;
    overflow: hidden;
    position: relative;
 }

 /* Горизонтальные картинки для НЕ-книжных категорий на мобильном */
 @media (max-width: 767px) {
    .product-grid:not(#category_product_87):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645):not(#category_product_542):not(#category_product_92):not(#category_product_667):not(#category_product_89):not(#category_product_800):not(#category_product_550):not(#category_product_582):not(#category_product_1619) .slider__item .image_home_carousel {
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 4/3;
    }
    .product-grid:not(#category_product_87):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645):not(#category_product_542):not(#category_product_92):not(#category_product_667):not(#category_product_89):not(#category_product_800):not(#category_product_550):not(#category_product_582):not(#category_product_1619) .slider__item .image_home_carousel img {
        height: 100% !important;
        position: absolute;
        inset: 0;
    }
    .product-grid:not(#category_product_87):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645):not(#category_product_542):not(#category_product_92):not(#category_product_667):not(#category_product_89):not(#category_product_800):not(#category_product_550):not(#category_product_582):not(#category_product_1619) .slider__item {
        height: auto !important;
    }
 }

 .slider__item .image_home_carousel p { margin: 0; font-size: 0; line-height: 0; }

 .slider__item .image_home_carousel img {
    width: 100%;
    height: 211px !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    transform: scale(1.0);
    transform-origin: center;
 }

 /* Порядок элементов в карточке */
 .slider__item .wishlist_hover { order: 0; }
 .slider__item .image_home_carousel { order: 1; }
 .slider__item .delivery-time-display { order: 2; }
 .slider__item .price { order: 3; align-items: center; margin-top: 8px; }
 .slider__item .information_wrapper { order: 4; flex: 1; overflow: visible; text-align: left; display: flex; flex-direction: column; }
 .slider__item .cart { order: 5; }

 
 .slider__item .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    max-height: 48px;
    margin-bottom: 4px;
    color: #1C1C1E;
 }



 .slider__item .name,
 .slider__item .name a {
    color: #1C1C1E;
    font-weight: 500 !important;
 }

 /* Авторы: 1 строка с многоточием */
 .slider__item .authors {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 1.4em;
 }

 /* Фикс: stylesheet.css задаёт height:63px на .information_wrapper .name — это режет вторую строку */
 .information_wrapper .name {
    height: auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    line-height: 1.5 !important;
 }

 /* Порядок внутри information_wrapper */
 .slider__item .information_wrapper .name        { order: 1; }
 .slider__item .information_wrapper .authors     { order: 2; }
 .slider__item .information_wrapper .description { order: 3; }
 .slider__item .information_wrapper .icons_wrapper { order: 4; }

 .slider__item .cart .btn_blue_new {
    width: 100% !important;
    max-width: none !important;
    height: 40px;
    border-radius: 8px;
    padding: 9px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    justify-content: center;
    margin: 0;
 }

 /* Hide "View all" category buttons on mobile */
 .box.products p a.btn_blue_new,
 p > a.btn_blue_new[target="_blank"] {
    display: none !important;
 }
 p:has(> a.btn_blue_new) {
    display: none !important;
 }
 /* Убираем лишние пустые <img> теги в баннерах */
 .home-banner-wrap img:not([class]) {
    display: none !important;
 }

 .authors a {
    height: 100%;
    font-family: Montserrat;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    color: #8E8E93;
 }

 .name > a  {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 18px;
 }

 .slider__princesse .price .price-old, .slider__news1 .price .price-old, .slider__best1 .price .price-old, .slider__puzzle .price .price-old, .slider__children .price .price-old, .slider__psih .price .price-old, .slider__astro .price .price-old, .slider__languege .price .price-old, .slider__hebrew .price .price-old, .slider__cooking .price .price-old, .slider__gifts .price .price-old, .slider__stationery .price .price-old, .slider__non_fiction .price .price-old, .slider__ast .price .price-old, .slider__big_love .price .price-old {
    font-weight: 500;
    font-size: 14px !important;
    color: #626366 !important;
    margin-top: 0px !important;
 }

.price .price-new, .price .price-new1, .price .price-new2, .price .price-new3, .price .price-new0, .price .price-new4, .price .price-new5, .price .price-new6, .price .price-new7, .price .price-new8, .price .price-new9, .price .price-new10, .price .price-new11, .price .price-new12, .price .price-new13, .price .price-new14, .price .price-new15, .price .price-new16 {
    font-weight: 700;
    font-size: 20px;
 }

 .slider__princesse .price, .slider__news1 .price, .slider__best1 .price, .slider__puzzle .price, .slider__children .price, .slider__psih .price, .slider__astro .price, .slider__languege .price, .slider__hebrew .price, .slider__cooking .price, .slider__gifts .price, .slider__stationery .price, .slider__non_fiction .price, .slider__ast .price, .slider__big_love .price {
    align-items: flex-start;
 }

 .information_wrapper {
    margin-left: 15px;
    margin-right: 15px;
 }

 /* Mobile Subcategory Panel */
 .mobile-subcategory-panel {
    display: none;
    position: fixed;
    top: 114px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F2F2F7;
    z-index: 9997;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(80px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: 100vw;
 }

 .mobile-subcategory-panel.open {
    display: block !important;
 }

 .mobile-subcategory-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #F2F2F7;
    position: sticky;
    top: 0;
    z-index: 10;
 }

 .mobile-subcat-back {
    background: none;
    border: none;
    padding: 0;
    margin-right: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .mobile-subcat-title {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1C1C1E;
    margin: 0;
 }

 .mobile-subcat-view-all {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #626366;
    text-transform: uppercase;
    text-decoration: none;
 }

 .mobile-subcategory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 16px 16px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
 }

 .mobile-subcategory-tags .mobile-catalog-tag {
    background: #fff;
    color: #2150F5;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0px 2px 6px 0px #051E741A;
 }

 .mobile-subcategory-tags .mobile-catalog-tag:hover,
 .mobile-subcategory-tags .mobile-catalog-tag.active {
    background: #2150F5;
    color: #fff;
 }

 .mobile-subcategory-section-title {
    padding: 0 16px 12px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #8E8E93;
    text-align: left;
 }

 .mobile-subcat-view-all-btn {
    width: 100%;
    color: #2150F5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    cursor: pointer;
    border: none;
    border-bottom: 1px solid #E5E5EA;
    text-align: left;
    padding: 16px;
    /* margin-bottom: 8px; */
    background: transparent;
 }

 .mobile-subcategory-list {
    text-align: left;
    padding: 0 16px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
 }

 .mobile-subcat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #E5E5EA;
    text-decoration: none;
    color: #1C1C1E;
 }

 .mobile-subcat-item-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    flex: 1;
 }

 .mobile-subcat-item-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 .mobile-subcat-item-arrow svg {
    width: 8px;
    height: 14px;
 }

 /* Expandable subcategories */
 .mobile-subcat-item.expandable {
    display: block;
    padding: 0;
 }

 .mobile-subcat-item.expandable .mobile-subcat-item-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
 }

 .mobile-subcat-item.expandable .mobile-subcat-children {
    display: none;
    padding-left: 16px;
 }

 .mobile-subcat-item.expandable.expanded:not(.mobile-subcat-item--l3) {
    background-color: #F9F9F9;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
 }
 .mobile-subcat-item.expandable.expanded .mobile-subcat-children {
    display: block;
 }

 .mobile-subcat-item.expandable.expanded > .mobile-subcat-item-main .mobile-subcat-item-arrow svg {
    transform: rotate(90deg);
 }

 .mobile-subcat-item.expandable.expanded .mobile-subcat-item-name {
    color: #2150F5;
 }

 .mobile-subcat-child-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
    color: #1C1C1E;
    border-bottom: 1px solid #E5E5EA;
 }

 .mobile-subcat-child-item-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
 }

 .mobile-subcat-child-item-arrow svg {
    width: 8px;
    height: 14px;
 }

 .mobile-subcat-child-item-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    flex: 1;
 }

 /* Level 3 expandable items inside subcategory panel */
 .mobile-subcat-item--l3 {
    padding: 0;
    display: block;
    border-bottom: 1px solid #E5E5EA;
 }
 .mobile-subcat-item--l3 .mobile-subcat-item-main {
    padding: 12px 0;
    cursor: pointer;
 }
 .mobile-subcat-item--l3.expanded {
    background-color: #F9F9F9;
 }
 .mobile-subcat-item--l3.expanded .mobile-subcat-item-arrow svg {
    transform: rotate(90deg);
 }
 .mobile-subcat-children--l4 {
    display: none;
    padding-left: 12px;
    border-top: 1px solid #F2F2F7;
 }
 .mobile-subcat-children--l4 .mobile-subcat-child-item {
    border-bottom: none;
 }
 .mobile-subcat-item--l3.expanded .mobile-subcat-children--l4 {
    display: block;
 }
 .mobile-subcat-child-item--all {
    color: #2150F5;
 }

 .discount_super_price {
    background-color: #008744;
 }
}

/* Mobile: Badge super price margin fix */
@media (max-width: 767px) {
    .discount_super_price {
        margin: 11px 0 0 0 !important;
    }

    .discount, .discount_fix, .discount_cart, .discount_gifts, .discount_gifts_customer {
        margin: 0 !important;
    }

    .badge25-home, .badge35-home, .badge45-home {
        transform: translateY(-11%);
        max-width: 90%;
    }

    .discount_fix,
    .discount,
    .discount_cart,
    .discount_gifts,
    .discount_gifts_customer,
    .discount_super_price {
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Delivery time display - mobile only */
.delivery-time-display {
    display: none;
}

@media (max-width: 767px) {
    .delivery-time-display {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 6px;
        margin-left: 16px;
        min-height: 18px;
    }

    .product_detail_price {
        margin-bottom: 16px;
        text-align: left;
        justify-content: left;
    }

    .slider__princesse .price, .slider__news1 .price, .slider__best1 .price, .slider__puzzle .price, .slider__children .price, .slider__psih .price, .slider__astro .price, .slider__languege .price, .slider__hebrew .price, .slider__cooking .price, .slider__gifts .price, .slider__stationery .price, .slider__non_fiction .price, .slider__ast .price, .slider__big_love .price {
        justify-content: left;
        margin-left: 5px;
    }
}

/* Более специфичный селектор для переопределения .slick-slide img из newtheme.css */
.delivery-time-display .delivery-icon,
.slick-slide .delivery-icon,
img.delivery-icon {
    width: 12px !important;
    height: 12.63px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    min-height: 12.63px !important;
    max-height: 12.63px !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}

.delivery-text {
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #008744;
}

/* Mobile menu z-index fix from main */
@media (max-width: 767px) {
    .mobile_menu_wrapper {
        z-index: 999998 !important;
    }

    body.slider-bar-opened .mobile_menu_wrapper {
        z-index: 999998 !important;
    }
}

/* ===== Mobile Category Grid ===== */
.mobile-category-grid-wrapper {
    display: none;
    padding: 0 12px;
    background: #F2F2F7;
}

@media screen and (max-width: 767px) {
    .mobile-category-grid-wrapper {
        display: block;
    }
}

/* Tablet: 768px – 1024px */
@media screen and (min-width: 768px) {
    .mobile-category-grid-wrapper {
        display: block;
        padding: 0;
    }
    .mobile-category-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        column-gap: 20px;
        row-gap: 20px;
    }
    .mobile-category-item {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        background: #fff;
        border-radius: 16px;
        padding: 10px;
        gap: 6px;
        text-decoration: none;
        aspect-ratio: 1;
        box-sizing: border-box;
    }
    .mobile-category-item:first-child {
        grid-column: span 2;
        aspect-ratio: 185 / 87;
    }
    .mobile-category-image {
        flex: 1;
        width: 100%;
        min-height: 0;
        background: transparent;
        border-radius: 0;
        overflow: hidden;
        aspect-ratio: unset;
        pointer-events: none;
    }
    .mobile-category-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        pointer-events: none;
    }
    .mobile-category-name {
        font-size: 13px;
        font-weight: 600;
        line-height: normal;
        flex-shrink: 0;
        color: #1A1A1A;
        pointer-events: none;
    }
    .mobile-category-item--gift {
        grid-column: 6 / span 2;
        aspect-ratio: 185 / 87;
        height: auto;
    }
    .mobile-category-item--gift .mobile-category-image {
        height: 100%;
        aspect-ratio: unset;
    }
}

/* Desktop: 1025px+ */
@media screen and (min-width: 1025px) {
    .mobile-category-item {
        aspect-ratio: unset;
        height: 183px;
        padding: 12px;
        gap: 8px;
        flex-shrink: 0;
    }
    .mobile-category-item:first-child {
        aspect-ratio: unset;
        height: 182px;
        padding: 0;
        overflow: hidden;
        position: relative;
    }
    .mobile-category-item:first-child .mobile-category-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: unset;
        flex: unset;
        pointer-events: none;
    }
    .mobile-category-item:first-child .mobile-category-image img {
        object-fit: cover;
        pointer-events: none;
    }
    .mobile-category-item:first-child .mobile-category-name {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 1;
        color: #0B1B52;
        font-family: Montserrat;
        font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        pointer-events: none;
    }
    .mobile-category-name {
        font-family: Montserrat;
        font-size: 20px;
        font-weight: 600;
        font-style: normal;
        line-height: 100%;
        letter-spacing: 0;
    }
    .mobile-category-item--gift {
        aspect-ratio: unset;
        height: 182px;
        padding: 0;
        overflow: hidden;
    }
    .mobile-category-item--gift .mobile-category-image {
        width: 100%;
        height: 100%;
        min-height: unset;
        flex: unset;
    }
    .mobile-category-item--gift .mobile-category-image img {
        object-fit: cover;
    }
    .category-img--full-desk {
        width: 100% !important;
        height: 100% !important;
    }
}

.category-img--zoom120 {
    width: 120% !important;
    height: 120% !important;
}

/* Mobile-only base grid styles */
@media screen and (max-width: 767px) {
    .mobile-category-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 8px;
        row-gap: 18px;
    }

    .mobile-category-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        gap: 6px;
    }

    .mobile-category-image {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }

    .mobile-category-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-category-name {
        color: #1A1A1A;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    /* Gift certificate banner — spans 2 columns on mobile */
    .mobile-category-item--gift {
        grid-column: span 2;
    }

    .mobile-category-item--gift .mobile-category-image {
        aspect-ratio: unset;
        width: 100%;
        height: 85.5px;
        border-radius: 12px;
    }
}

/* Скрыть точки у слайдеров товаров — только на мобильном */
@media (max-width: 767px) {
    .slider__news1 .slick-dots,
    .slider__best1 .slick-dots,
    .slider__puzzle .slick-dots,
    .slider__children .slick-dots,
    .slider__psih .slick-dots,
    .slider__astro .slick-dots,
    .slider__languege .slick-dots,
    .slider__hebrew .slick-dots,
    .slider__cooking .slick-dots,
    .slider__gifts .slick-dots,
    .slider__stationery .slick-dots,
    .slider__ast .slick-dots,
    .slider__big_love .slick-dots,
    .slider__princesse .slick-dots,
    .slider__sale .slick-dots {
        display: none !important;
    }
}

/* Убрать отступы под стрелки на десктопе */
@media (min-width: 768px) {
    .slider__news1,
    .slider__best1,
    .slider__puzzle,
    .slider__children,
    .slider__psih,
    .slider__astro,
    .slider__languege,
    .slider__hebrew,
    .slider__cooking,
    .slider__gifts,
    .slider__stationery,
    .slider__ast,
    .slider__big_love,
    .slider__princesse,
    .slider__sale,
    .slider__news1--has-featured,
    .slider__news1.slick-slider,
    .slider__best1.slick-slider,
    .slider__puzzle.slick-slider,
    .slider__children.slick-slider,
    .slider__psih.slick-slider,
    .slider__astro.slick-slider,
    .slider__languege.slick-slider,
    .slider__hebrew.slick-slider,
    .slider__cooking.slick-slider,
    .slider__gifts.slick-slider,
    .slider__stationery.slick-slider,
    .slider__ast.slick-slider,
    .slider__big_love.slick-slider,
    .slider__princesse.slick-slider,
    .slider__sale.slick-slider,
    .slider__news1--has-featured.slick-slider {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Скрыть стр��лки слайдеров на десктопе */
@media (min-width: 768px) {
    .slider__news1 .slick-prev,
    .slider__news1 .slick-next,
    .slider__best1 .slick-prev,
    .slider__best1 .slick-next,
    .slider__puzzle .slick-prev,
    .slider__puzzle .slick-next,
    .slider__children .slick-prev,
    .slider__children .slick-next,
    .slider__psih .slick-prev,
    .slider__psih .slick-next,
    .slider__astro .slick-prev,
    .slider__astro .slick-next,
    .slider__languege .slick-prev,
    .slider__languege .slick-next,
    .slider__hebrew .slick-prev,
    .slider__hebrew .slick-next,
    .slider__cooking .slick-prev,
    .slider__cooking .slick-next,
    .slider__gifts .slick-prev,
    .slider__gifts .slick-next,
    .slider__stationery .slick-prev,
    .slider__stationery .slick-next,
    .slider__ast .slick-prev,
    .slider__ast .slick-next,
    .slider__big_love .slick-prev,
    .slider__big_love .slick-next,
    .slider__princesse .slick-prev,
    .slider__princesse .slick-next,
    .slider__sale .slick-prev,
    .slider__sale .slick-next,
    .slider__news1--has-featured .slick-prev,
    .slider__news1--has-featured .slick-next {
        display: none !important;
    }
}

/* Стили точек слайдеров товаров на десктопе */
@media (min-width: 768px) {
    .slider__news1 .slick-dots,
    .slider__best1 .slick-dots,
    .slider__puzzle .slick-dots,
    .slider__children .slick-dots,
    .slider__psih .slick-dots,
    .slider__astro .slick-dots,
    .slider__languege .slick-dots,
    .slider__hebrew .slick-dots,
    .slider__cooking .slick-dots,
    .slider__gifts .slick-dots,
    .slider__stationery .slick-dots,
    .slider__ast .slick-dots,
    .slider__big_love .slick-dots,
    .slider__princesse .slick-dots,
    .slider__sale .slick-dots {
        display: block !important;
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px;
        text-align: center;
    }
    .slider__news1 .slick-dots li,
    .slider__best1 .slick-dots li,
    .slider__puzzle .slick-dots li,
    .slider__children .slick-dots li,
    .slider__psih .slick-dots li,
    .slider__astro .slick-dots li,
    .slider__languege .slick-dots li,
    .slider__hebrew .slick-dots li,
    .slider__cooking .slick-dots li,
    .slider__gifts .slick-dots li,
    .slider__stationery .slick-dots li,
    .slider__ast .slick-dots li,
    .slider__big_love .slick-dots li,
    .slider__princesse .slick-dots li,
    .slider__sale .slick-dots li {
        width: auto !important;
        height: auto !important;
        margin: 0 3px !important;
    }
    .slider__news1 .slick-dots li button,
    .slider__best1 .slick-dots li button,
    .slider__puzzle .slick-dots li button,
    .slider__children .slick-dots li button,
    .slider__psih .slick-dots li button,
    .slider__astro .slick-dots li button,
    .slider__languege .slick-dots li button,
    .slider__hebrew .slick-dots li button,
    .slider__cooking .slick-dots li button,
    .slider__gifts .slick-dots li button,
    .slider__stationery .slick-dots li button,
    .slider__ast .slick-dots li button,
    .slider__big_love .slick-dots li button,
    .slider__princesse .slick-dots li button,
    .slider__sale .slick-dots li button {
        width: 8px !important;
        height: 8px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(5, 30, 116, 0.30) !important;
        transition: width 0.2s ease, border-radius 0.2s ease;
        font-size: 0 !important;
    }
    .slider__news1 .slick-dots li button:before,
    .slider__best1 .slick-dots li button:before,
    .slider__puzzle .slick-dots li button:before,
    .slider__children .slick-dots li button:before,
    .slider__psih .slick-dots li button:before,
    .slider__astro .slick-dots li button:before,
    .slider__languege .slick-dots li button:before,
    .slider__hebrew .slick-dots li button:before,
    .slider__cooking .slick-dots li button:before,
    .slider__gifts .slick-dots li button:before,
    .slider__stationery .slick-dots li button:before,
    .slider__ast .slick-dots li button:before,
    .slider__big_love .slick-dots li button:before,
    .slider__princesse .slick-dots li button:before,
    .slider__sale .slick-dots li button:before {
        display: none !important;
    }
    .slider__news1 .slick-dots li.slick-active button,
    .slider__best1 .slick-dots li.slick-active button,
    .slider__puzzle .slick-dots li.slick-active button,
    .slider__children .slick-dots li.slick-active button,
    .slider__psih .slick-dots li.slick-active button,
    .slider__astro .slick-dots li.slick-active button,
    .slider__languege .slick-dots li.slick-active button,
    .slider__hebrew .slick-dots li.slick-active button,
    .slider__cooking .slick-dots li.slick-active button,
    .slider__gifts .slick-dots li.slick-active button,
    .slider__stationery .slick-dots li.slick-active button,
    .slider__ast .slick-dots li.slick-active button,
    .slider__big_love .slick-dots li.slick-active button,
    .slider__princesse .slick-dots li.slick-active button,
    .slider__sale .slick-dots li.slick-active button {
        width: 32px !important;
        height: 8px !important;
        border-radius: 4px !important;
        background: rgba(5, 30, 116, 0.50) !important;
    }
}

/* Точки featured-слайдера (переопределяем display:none выше) */
.slider__news1--has-featured .slick-dots {
    display: block !important;
    position: relative !important;
    bottom: auto !important;
    margin-top: 20px;
    text-align: center;
}
.slider__news1--has-featured .slick-dots li {
    width: auto !important;
    height: auto !important;
    margin: 0 3px !important;
}
.slider__news1--has-featured .slick-dots li button {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(5, 30, 116, 0.30) !important;
    transition: width 0.2s ease, border-radius 0.2s ease;
    font-size: 0 !important;
}
.slider__news1--has-featured .slick-dots li button:before {
    display: none !important;
}
.slider__news1--has-featured .slick-dots li.slick-active button {
    width: 32px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: rgba(5, 30, 116, 0.50) !important;
}

/* Скрыть dots featured-слайдера на мобильном */
@media (max-width: 767px) {
    .slider__news1--has-featured .slick-dots {
        display: none !important;
    }
}

/* Точки (dots) главного слайдера баннеров */
@media screen and (max-width: 767px) {
    /* Убираем стандартный slick margin-bottom (заменяется на home-section) */
    .slider.single-item.slick-dotted {
        margin-bottom: 0 !important;
    }
    /* Точки — в потоке под картинкой, не поверх неё */
    .slider.single-item .slick-dots {
        position: relative !important;
        bottom: auto !important;
        margin-top: 10px;
    }
    .slider.single-item .slick-dots li {
        width: auto !important;
        height: auto !important;
        margin: 0 3px !important;
    }
    .slider.single-item .slick-dots li button {
        width: 4px !important;
        height: 4px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(5, 30, 116, 0.30) !important;
        transition: width 0.2s ease;
        font-size: 0 !important;
    }
    .slider.single-item .slick-dots li button:before {
        display: none !important;
    }
    .slider.single-item .slick-dots li.slick-active button {
        width: 20px !important;
        height: 4px !important;
        border-radius: 4px !important;
        background: rgba(5, 30, 116, 0.60) !important;
    }
}

/* Точки главного слайдера баннеров на десктопе */
@media screen and (min-width: 768px) {
    .slider.single-item.slick-dotted {
        margin-bottom: 0 !important;
    }
    .slider.single-item .slick-dots {
        position: relative !important;
        bottom: auto !important;
        margin-top: 10px;
    }
    .slider.single-item .slick-dots li {
        width: auto !important;
        height: auto !important;
        margin: 0 3px !important;
    }
    .slider.single-item .slick-dots li button {
        width: 6px !important;
        height: 6px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: rgba(5, 30, 116, 0.30) !important;
        transition: width 0.2s ease;
        font-size: 0 !important;
    }
    .slider.single-item .slick-dots li button:before {
        display: none !important;
    }
    .slider.single-item .slick-dots li.slick-active button {
        width: 24px !important;
        height: 6px !important;
        border-radius: 4px !important;
        background: rgba(5, 30, 116, 0.60) !important;
    }
}

/* Главный слайдер баннеров: картинка не растягивается, по центру */
@media screen and (min-width: 601px) {
    .slider.single-item .banner_img_desk {
        width: auto !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 auto !important;
    }
}

/* Единые отступы блоков товаров на мобильном */
@media (max-width: 767px) {
    .box-heading, .panel-heading {
        padding-top: 25px !important;
    }
    .box.products .tab-content {
        margin-top: 16px;
    }
    /* 40px снизу у каждого блока главной страницы */
    .home-section {
        margin-bottom: 40px !important;
        margin-top: 40px !important;
    }
    /* 28px для слайдера и маленьких баннеров, без отступа сверху у первого */
    .home-section-slider,
    .mobile-small-banners.home-section {
        margin-bottom: 28px !important;
    }
    .home-section-slider {
        margin-top: 0 !important;
    }

    /* ===== Swiper на мобильном ===== */
    /* FOUC-fix: показываем контент сразу (Slick не инициализируется) */
    .slider.single-item > div,
    .slider.single-item.swiper > .swiper-wrapper {
        display: block !important;
        opacity: 1 !important;
    }
    /* Баннерный слайдер — Swiper */
    .home-section-slider .slider.single-item.swiper {
        overflow: hidden;
        border-radius: 12px;
    }
    .slider.single-item.swiper .swiper-slide img {
        width: 100%;
        height: auto;
        display: block;
    }
    /* Товарные карусели — Swiper */
    .swiper.swiper-initialized .swiper-slide {
        box-sizing: border-box;
    }
    /* Swiper пагинация (dots) — стиль как у Slick */
    .swiper .swiper-pagination {
        position: relative !important;
        margin-top: 10px;
        bottom: auto !important;
    }
    .swiper .swiper-pagination-bullet {
        width: 4px !important;
        height: 4px !important;
        border-radius: 50% !important;
        background: rgba(5, 30, 116, 0.30) !important;
        opacity: 1 !important;
        margin: 0 3px !important;
        transition: width 0.2s ease;
    }
    .swiper .swiper-pagination-bullet-active {
        width: 20px !important;
        height: 4px !important;
        border-radius: 4px !important;
        background: rgba(5, 30, 116, 0.60) !important;
    }

    .mobile-category-grid-wrapper.home-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* ===== Карточки каталога на мобильном = стиль карточек главной ===== */
@media (max-width: 767px) {
    /* Скрыть пустой блок фильтра/сортировки на мобильном */
    .product-filter {
        display: none !important;
    }

    .list_product .item.product-layout {
        width: calc(50% - 10px) !important;
        height: 416px !important;
        display: inline-flex !important;
        flex-direction: column;
        vertical-align: top;
        background: #fff;
        overflow: hidden;
        padding: 0 !important;
        margin: 0 2px 20px !important;
        box-sizing: border-box;
        border-radius: 8px;
    }

    /* Скрыть старый десктопный бейдж доставки */
    .list_product .item.product-layout .delivery_cat { display: none !important; }

    /* Порядок элементов */
    .list_product .item.product-layout .wishlist_hover             { order: 0; }
    .list_product .item.product-layout .image.image_home_carousel  { order: 1; }
    .list_product .item.product-layout .delivery-time-display      { order: 2; }
    .list_product .item.product-layout .price.product_detail_price { order: 3; align-items: center; margin-top: 8px; padding: 0 15px !important; }
    .list_product .item.product-layout .information_wrapper        { order: 4; flex: 1; overflow: visible; text-align: left; display: flex; flex-direction: column; padding: 0 !important; margin-left: 15px !important; margin-right: 15px !important; }
    .list_product .item.product-layout .cart                       { order: 5; width: 100% !important; margin: 0 !important; }

    /* Изображение */
    .list_product .item.product-layout .image.image_home_carousel {
        width: 100%;
        height: 211px !important;
        min-height: 211px !important;
        max-height: 211px !important;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
    }
    .list_product .item.product-layout .image.image_home_carousel p { margin: 0; font-size: 0; line-height: 0; }
    .list_product .item.product-layout .image.image_home_carousel img {
        width: 100%;
        height: 211px !important;
        max-height: 211px !important;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: multiply;
    }

    /* Скрыть звёзды рейтинга */
    .list_product .item.product-layout .rating { display: none !important; }

    /* Название: 2 строки */
    .list_product .item.product-layout .name {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        max-height: 48px;
        margin-bottom: 4px;
        color: #1C1C1E !important;
    }
    .list_product .item.product-layout .name a {
        display: inline !important;
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: unset !important;
        height: auto !important;
        max-height: none !important;
        color: #1C1C1E !important;
        font-family: Montserrat !important;
        font-size: 18px !important;
        font-style: normal !important;
        font-weight: 500 !important;
        line-height: 120% !important;
    }

    /* Авторы */
    .list_product .item.product-layout .authors,
    .list_product .item.product-layout .authors ul,
    .list_product .item.product-layout .authors li {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        list-style: none;
        padding: 0;
        margin: 0;
        color: #8E8E93;
        font-family: Montserrat;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    /* Описание */
    .list_product .item.product-layout .description {
        color: #1A1A1A;
        font-family: Montserrat;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%;
        letter-spacing: 0;
    }

    /* Порядок внутри information_wrapper */
    .list_product .item.product-layout .information_wrapper .name        { order: 1; }
    .list_product .item.product-layout .information_wrapper .authors     { order: 2; margin-bottom: 12px; }
    .list_product .item.product-layout .information_wrapper .description { order: 3; }
    .list_product .item.product-layout .information_wrapper .icons_wrapper { order: 4; }

    /* Кнопка "Купить" */
    .list_product .item.product-layout .cart .btn_blue_new {
        width: 100% !important;
        max-width: none !important;
        height: 40px !important;
        border-radius: 8px !important;
        padding: 9px 0 !important;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700 !important;
        font-size: 16px !important;
        line-height: 100% !important;
        justify-content: center !important;
        margin: 0 !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
}

@media screen and (min-width: 768px) {
    .banner_img_mob {
        display: none !important;
    }

}

@media screen and (max-width: 767px) {
    .mobile-category-image .banner_img_desk {
        display: none !important;
    }
    .mobile-category-item--gastronom {
        display: none !important;
    }
}

/* ===== Desktop product card — same layout as mobile ===== */
@media screen and (min-width: 768px) {
    .list_product .item.product-layout {
        transition: transform 160ms ease, box-shadow 160ms ease;
    }
    .list_product .item.product-layout:hover {
        transform: translateY(-3px);
        box-shadow: 6px 10px 22px -8px rgba(0, 0, 0, 0.25);
    }
    .box.products .slick-list {
        overflow: visible !important;
        padding-top: 8px !important;
    }
    .box.products .product-grid {
        overflow: hidden;
    }
    #category_product_1639 {
        overflow: visible;
    }

    .slider__item {
        display: flex !important;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.4);
        overflow: hidden;
        padding: 0 !important;
        box-sizing: border-box;
        border-radius: 8px;
        height: 509px !important;
        min-height: 509px !important;
        box-shadow: none;
        transition: transform 160ms ease;
    }
    .slider__item:hover {
        transform: translateY(-3px);
    }

    .mobile-category-item {
        transition: transform 160ms ease, box-shadow 160ms ease;
    }
    .mobile-category-item:hover {
        transform: translateY(-3px);
        box-shadow: 6px 10px 22px -8px rgba(0, 0, 0, 0.25);
    }

    .slider__item .image_home_carousel img {
        mix-blend-mode: multiply;
    }
    .slider__item .image_home_carousel {
        width: 100%;
        height: 313px;
        min-height: 313px;
        max-height: 313px;
        overflow: visible;
        position: relative;
        border-radius: 8px 8px 0 0;
    }

    .slider__item .image_home_carousel p { margin: 0; font-size: 0; line-height: 0; }

    .slider__item .image_home_carousel img {
        width: 100%;
        height: 313px !important;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: multiply;
        border-radius: 8px 8px 0 0;
    }

    /* Element order */
    .slider__item .wishlist_hover            { order: 0; }
    .slider__item .image_home_carousel       { order: 1; }
    .slider__item .delivery-time-display     { order: 2; }
    .slider__item .price                     { order: 3; align-items: center; margin-top: 8px; }
    .slider__item .information_wrapper       { order: 4; flex: 1; overflow: visible; text-align: left; display: flex; flex-direction: column; }
    .slider__item .cart                      { order: 5; }

    /* Name */
    .slider__item .name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        max-height: 38px;
        margin-bottom: 4px;
    }
    .slider__item .name,
    .slider__item .name a {
        color: #1A1A1A;
        font-weight: 500 !important;
        font-family: Montserrat;
        font-size: 16px;
        line-height: 19.2px;
        white-space: normal;
    }

    /* Authors */
    .slider__item .authors { display: none; }

    /* Information wrapper order */
    .slider__item .information_wrapper .name         { order: 1; }
    .slider__item .information_wrapper .authors      { order: 2; }
    .slider__item .information_wrapper .description  { order: 3; }
    .slider__item .information_wrapper .icons_wrapper { order: 4; }

    /* Buy button */
    .slider__item .cart {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 18px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 30px;
    }
    .slider__item .cart .btn_blue_new .arrow-wrapper,
    .list_product .item.product-layout .cart .btn_blue_new .arrow-wrapper {
        display: none !important;
    }
    .slider__item .cart .btn_blue_new {
        width: 154px !important;
        max-width: 154px !important;
        height: 40px;
        border-radius: 8px;
        padding: 9px 51px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        justify-content: center;
        text-align: center;
        margin: 0;
        display: flex;
        box-sizing: border-box;
        border: 1px solid #2150F5;
        color: #2150F5;
        background: transparent;
    }

    /* Delivery */
    .slider__item .delivery-time-display {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-left: 0 !important;
        min-height: 18px;
        color: #008744;
        font-family: Montserrat;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    /* Price */
    .slider__item .product_detail_price,
    .slider__item .price.product_detail_price {
        text-align: left;
        justify-content: flex-start;
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-left: 0 !important;
        margin-bottom: 0;
        box-sizing: border-box;
    }

    /* Information wrapper padding */
    .slider__item .information_wrapper {
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 12px;
    }

    /* Hide date in rating */
    .slider__item .rating { display: none !important; }

    .wishlist-cart-btn {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        border: none;
        background: transparent;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: pointer;
    }
    .wishlist-cart-btn img {
        display: block;
    }
}

/* ===== Catalog cards (list_product) — match slider cards on desktop/tablet ===== */
@media screen and (min-width: 768px) {
    .list_product .item.product-layout {
        display: flex !important;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.4);
        overflow: hidden;
        padding: 0 !important;
        box-sizing: border-box;
        border-radius: 8px;
        box-shadow: none;
        height: 509px !important;
        min-height: 509px !important;
    }

    .list_product .item.product-layout .image.image_home_carousel {
        width: 100%;
        height: 313px !important;
        min-height: 313px !important;
        max-height: 313px !important;
        overflow: hidden;
        position: relative;
        flex-shrink: 0;
        border-radius: 8px 8px 0 0;
    }

    .list_product .item.product-layout .image.image_home_carousel p { margin: 0; font-size: 0; line-height: 0; }

    .list_product .item.product-layout .image.image_home_carousel img {
        display: block;
        width: 100% !important;
        height: 313px !important;
        max-height: none !important;
        object-fit: contain;
        object-position: center;
        mix-blend-mode: multiply;
        border-radius: 8px 8px 0 0;
    }

    /* Order */
    .list_product .item.product-layout .wishlist_hover             { order: 0; }
    .list_product .item.product-layout .image.image_home_carousel  { order: 1; }
    .list_product .item.product-layout .delivery-time-display      { order: 2; }
    .list_product .item.product-layout .price.product_detail_price { order: 3; align-items: center; margin-top: 8px; padding: 0 30px !important; }
    .list_product .item.product-layout .information_wrapper        { order: 4; flex: 1; overflow: visible; text-align: left; display: flex; flex-direction: column; padding-left: 30px !important; padding-right: 30px !important; margin-top: 12px; }
    .list_product .item.product-layout .cart                       { order: 5; width: 100% !important; margin: 0 !important; padding: 18px 30px 30px; box-sizing: border-box; }

    /* Name */
    .list_product .item.product-layout .name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        max-height: 38px;
        margin-bottom: 4px;
    }
    .list_product .item.product-layout .name,
    .list_product .item.product-layout .name a {
        color: #1A1A1A;
        font-weight: 500 !important;
        font-family: Montserrat;
        font-size: 16px;
        line-height: 19.2px;
        white-space: normal;
    }

    /* Authors */
    .list_product .item.product-layout .authors { display: none; }

    /* Delivery */
    .list_product .item.product-layout .delivery-time-display {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-left: 0 !important;
        min-height: 18px;
        color: #008744;
        font-family: Montserrat;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    /* Price */
    .list_product .item.product-layout .product_detail_price {
        text-align: left;
        justify-content: flex-start;
        margin-left: 0;
        margin-bottom: 0;
    }

    /* Buy button */
    .list_product .item.product-layout .cart {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .list_product .item.product-layout .cart .btn_blue_new {
        width: 154px !important;
        max-width: 154px !important;
        height: 40px;
        border-radius: 8px;
        padding: 9px 51px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 100%;
        justify-content: center;
        margin: 0;
        display: flex;
        box-sizing: border-box;
        border: 1px solid #2150F5;
        color: #2150F5;
        background: transparent;
    }

    /* Hide rating */
    .list_product .item.product-layout .rating { display: none !important; }
}

/* Wishlist button near Buy: desktop only */
.wishlist-cart-btn {
    display: none !important;
}
@media (min-width: 768px) {
    .wishlist-cart-btn {
        display: inline-flex !important;
    }
}

@media (max-width: 767px) {
    .mobile-category-grid-wrapper.home-section {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 1024px) {
    .login_page_rightside #footer {
        margin-left: -15px;
        margin-right: -15px;
    }
}

body .product-info .cart span.price-old,
.product_detail_price .price-old {
    color: #1a1919 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    text-decoration-color: #1a1919 !important;
    background: transparent !important;
}

/* Wishlist heart icon on product card */
.wishlist-heart-btn {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 10;
    cursor: pointer;
    display: block;
    line-height: 0;
}
@media (max-width: 767px) {
    .wishlist-heart-btn {
        background: #F2F2F7;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}
.wishlist-heart-btn img,
.image_home_carousel .wishlist-heart-btn img,
.slider__item .image_home_carousel .wishlist-heart-btn img {
    width: 30px !important;
    height: 30px !important;
    aspect-ratio: 1/1 !important;
    object-fit: unset !important;
}

@media (min-width: 768px) {
    .image_home_carousel .wishlist-heart-btn {
        display: none !important;
    }
    .slick-dotted.slick-slider {
        margin-bottom: 0px;
    }
}
/* ===== Colorbox: product image zoom on mobile ===== */
@media (max-width: 767px) {
    #colorbox:not(.notification):not(.coming-soon-popup) {
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        top: 0 !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
    }
    #colorbox:not(.notification):not(.coming-soon-popup) #cboxContent,
    #colorbox:not(.notification):not(.coming-soon-popup) #cboxLoadedContent {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    #colorbox:not(.notification):not(.coming-soon-popup) .cboxPhoto {
        width: 100% !important;
        height: auto !important;
        max-height: 90dvh !important;
        object-fit: contain !important;
        float: none !important;
    }
    #cboxClose {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 9999 !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 0, 0, 0.55) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
        color: transparent !important;
        cursor: pointer !important;
    }
    #cboxClose::before {
        content: "×" !important;
        font-size: 26px !important;
        line-height: 1 !important;
        color: #fff !important;
    }
}

/* ===== Coming Soon popup ===== */
#colorbox.coming-soon-popup {
    border-radius: 16px !important;
    overflow: hidden !important;
}
#colorbox.coming-soon-popup #cboxContent,
#colorbox.coming-soon-popup #cboxLoadedContent {
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}
.coming-soon-modal {
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.coming-soon-modal__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #0B1B52;
    margin: 0 0 16px;
    line-height: 1.4;
}
.coming-soon-modal__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #333;
    margin: 0 0 24px;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}
.coming-soon-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #2150F5;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.2s;
}
.coming-soon-modal__btn:hover {
    opacity: 0.85;
}

/* ===== Wishlist / Cart notification popup ===== */
#colorbox.notification {
    border-radius: 16px !important;
    overflow: visible !important;
    height: auto !important;
}
#colorbox.notification #cboxWrapper,
#colorbox.notification #cboxMiddleLeft,
#colorbox.notification #cboxMiddleRight {
    height: auto !important;
}
#colorbox.notification #cboxContent,
#colorbox.notification #cboxLoadedContent {
    height: auto !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}
#colorbox.notification #cboxContent {
    padding: 0 !important;
}
/* Общий контейнер: вертикальный flex, 100% высоты */
/* Десктоп — показываем cart_notification, скрываем mobile */
#colorbox.notification #cboxContent .cart_notification {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    padding: 24px 24px 16px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    align-content: unset !important;
}
#colorbox.notification #cboxContent .cart_notification_mobile {
    display: none !important;
}
/* Мобайл — показываем mobile, скрываем desktop */
@media (max-width: 767px) {
    #colorbox.notification #cboxContent .cart_notification {
        display: none !important;
    }
    #colorbox.notification #cboxContent .cart_notification_mobile {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        padding: 24px !important;
        box-sizing: border-box !important;
        flex-wrap: nowrap !important;
        align-content: unset !important;
    }
}
/* Блок товара: фото + текст */
#colorbox.notification #cboxContent .cart_notification .product,
#colorbox.notification #cboxContent .cart_notification_mobile .product {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 0 !important;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
/* Изображение товара */
#colorbox.notification #cboxContent .cart_notification .product img,
#colorbox.notification #cboxContent .cart_notification_mobile .product img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    float: none !important;
    margin: 0 !important;
}
/* Текст сообщения */
#colorbox.notification #cboxContent .cart_notification .product span,
#colorbox.notification #cboxContent .cart_notification_mobile .product .adtocart_text {
    font-family: Montserrat, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #1A1A1A !important;
    width: auto !important;
    padding: 0 !important;
    display: block !important;
}
/* Ссылки в тексте */
#colorbox.notification #cboxContent .product span a,
#colorbox.notification #cboxContent .product .adtocart_text a {
    color: #2150F5 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: inline !important;
}
/* Кнопка "Подтвердить" */
#colorbox.notification #cboxContent .bottom,
#colorbox.notification #cboxContent .bottom_cart_small {
    display: flex !important;
    justify-content: center !important;
    margin: 16px 0 0 !important;
    width: 100% !important;
}
#colorbox.notification #cboxContent .bottom,
#colorbox.notification #cboxContent .bottom_cart_small {
    flex-direction: column !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}
#colorbox.notification #cboxContent .bottom a,
#colorbox.notification #cboxContent .bottom_cart_small a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    /* padding: 10px 32px !important; */
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
/* Перейти в корзину — outline */
#colorbox.notification #cboxContent .bottom_cart_small a.button_cart_small,
#colorbox.notification #cboxContent .bottom_cart_small a.btn_blue_new {
    background: #fff !important;
    color: #2150F5 !important;
    border: 2px solid #2150F5 !important;
}
/* Продолжить покупки — filled */
#colorbox.notification #cboxContent .bottom_cart_small a.btn_not_blue_cart {
    background: #2150F5 !important;
    color: #fff !important;
    border: 2px solid #2150F5 !important;
    width: 100% !important;
    display: inline-flex !important;
    box-sizing: border-box !important;
}
/* Кнопка закрытия */
#cboxClose {
    font-size: 0 !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border-radius: 50% !important;
    top: 10px !important;
    right: 10px !important;
}
#cboxClose::after {
    content: '✕';
    font-size: 14px;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* "ВСЕ" link in box-heading — mobile only */
.box-heading__all-link {
    display: none;
}
@media (max-width: 767px) {
    .box-heading__all-link {
        display: inline-block;
        font-family: Montserrat, sans-serif;
        font-weight: 600;
        font-size: 0;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0;
        padding-right: 16px;
        color: #626366;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .box-heading__all-link svg {
        display: none;
    }
    .box-heading__all-link::after {
        content: 'ВСЕ';
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .box-heading .pull-left {
        color: #1A1A1A;
        font-family: Unbounded;
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
    .box-heading::after,
    .box-heading::before {
        display: none !important;
    }
    .box-heading {
        margin-bottom: 36px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    .box-heading__all-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-family: Montserrat, sans-serif;
        font-size: 16px;
        font-weight: 600;
        font-style: normal;
        line-height: normal;
        color: #626366;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .box-heading__all-link:hover {
        color: #2150F5;
    }
    .box.products p a.btn_blue_new {
        display: none !important;
    }
    .box.products > p {
        display: none !important;
    }
    .box.products.home-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Hide old wishlist hover sprite in slider — replaced by heart icon */
@media only screen and (max-width: 1199px) {
    .slider__item .wishlist_hover {
        display: none !important;
    }
}

/* ===== Desktop: Landscape image aspect-ratio per category ===== */
@media (min-width: 768px) {

    /* Mixed категории (бестселлеры, топ продаж): 1:1, contain */
    #category_product_1643 .slider__item .image_home_carousel,
    #category_product_1645 .slider__item .image_home_carousel {
        aspect-ratio: 1/1;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
        background: #f8f8f8;
    }

    #category_product_1643 .slider__item .image_home_carousel img,
    #category_product_1645 .slider__item .image_home_carousel img {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        inset: 0;
        object-fit: contain;
        object-position: center;
    }

    #category_product_1643 .slider__item,
    #category_product_1645 .slider__item {
        height: auto !important;
        min-height: unset !important;
    }

    /* Landscape категории (игрушки и др.): aspect-ratio 4/3 */
    .product-grid:not(#category_product_87):not(#category_product_89):not(#category_product_92):not(#category_product_542):not(#category_product_550):not(#category_product_582):not(#category_product_667):not(#category_product_800):not(#category_product_1619):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645) .slider__item .image_home_carousel,
    .list_product--landscape .item.product-layout .image.image_home_carousel {
        aspect-ratio: 4/3;
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
    }

    .product-grid:not(#category_product_87):not(#category_product_89):not(#category_product_92):not(#category_product_542):not(#category_product_550):not(#category_product_582):not(#category_product_667):not(#category_product_800):not(#category_product_1619):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645) .slider__item .image_home_carousel img,
    .list_product--landscape .item.product-layout .image.image_home_carousel img {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        inset: 0;
        object-fit: contain;
        object-position: center;
    }

    /* Landscape: карточка — высота auto */
    .product-grid:not(#category_product_87):not(#category_product_89):not(#category_product_92):not(#category_product_542):not(#category_product_550):not(#category_product_582):not(#category_product_667):not(#category_product_800):not(#category_product_1619):not(#category_product_1639):not(#category_product_1641):not(#category_product_1643):not(#category_product_1645) .slider__item,
    .list_product--landscape .item.product-layout {
        height: auto !important;
        min-height: unset !important;
    }
}

/* ========== About Page ========== */
.about-page {
    font-family: 'Montserrat', sans-serif;
    color: #0B1B52;
    padding: 48px 16px 64px;
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-left {
    flex: 1;
}

.about-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: normal;
    color: #0B1B52;
    padding-top: 0px;
    text-transform: none;
}

.about-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 19px;
    line-height: normal;
    color: #0B1B52;
    margin: 0 0 40px;
}

.about-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    color: #0B1B52;
    margin: 0 0 16px;
}

.about-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    color: #0B1B52;
    margin: 0 0 16px;
}
.about-text--mb28 {
    margin-bottom: 28px !important;
}
.about-list--mb28 {
    margin-bottom: 28px !important;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
.about-list li {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #0B1B52;
    line-height: 1.2;
        padding: 0px 0 8px 16px;
    position: relative;
}
.about-list li:last-child {
    border-bottom: none;
}
.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #0B1B52;
    border-radius: 50%;
}

.about-cta-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #0B1B52;
    margin-bottom: 24px;
}

.about-buttons {
    display: flex;
    flex-direction: column;
}
@media (max-width: 767px) {
    .about-cta-text {
        margin-bottom: 40px;
        text-align: center;
    }
    .about-buttons .about-btn {
        display: flex;
        width: 100%;
        max-width: 361px;
        height: 44px;
        padding: 9px 20px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        box-sizing: border-box;
    }
    .about-buttons {
        gap: 40px;
        align-items: center;
    }
}

.about-btn {
    display: flex;
    width: 203px;
    height: 40px;
    padding: 9px 20px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #2150F5;
    background: #2150F5;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    transition: opacity 0.2s;
    box-sizing: border-box;
}
.about-btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #FFF;
}
.about-btn--primary {
    background: #2150F5;
    border-color: #2150F5;
    color: #FFF;
}
.about-btn--secondary {
    background: #fff;
    color: #2150F5;
    border-radius: 8px;
    border: 1px solid #2150F5;
}

/* Правая колонка — скрыта на мобильном */
.about-right {
    display: none;
}
/* Мобильные картинки */
.about-img--mob {
    display: block;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    margin: 16px 0;
}
.about-img--mob:first-of-type {
    aspect-ratio: 89/118;
}
.about-img--mob:last-of-type {
    aspect-ratio: 244/147;
}
/* Десктопные картинки — скрыты на мобильном */
.about-img--desk {
    display: none;
}

@media (min-width: 768px) {
    .about-page {
        padding: 64px 40px 80px;
    }
    .about-wrap {
        flex-direction: row;
        align-items: flex-start;
        gap: 60px;
    }
    .about-left {
        flex: 1 1 0;
    }
    /* Правая колонка — показываем на десктопе */
    .about-right {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 0 0 488px;
        width: 488px;
    }
    /* Мобильные картинки — скрываем на десктопе */
    .about-img--mob {
        display: none;
    }
    /* Десктопные картинки */
    .about-img--desk {
        display: block;
        width: 488px;
        border-radius: 8px;
        object-fit: cover;
    }
    .about-img--desk:first-child {
        height: 647px;
        aspect-ratio: 89/118;
    }
    .about-img--desk:last-child {
        height: 294px;
        aspect-ratio: 244/147;
    }
    .about-buttons {
        flex-direction: row;
        gap: 28px;
    }
    .about-btn {
        min-width: 210px;
    }
    .about-cta-text {
        font-size: 26px;
    }
}

.header {
    background-color: #F2F2F7;
}

/* Блок характеристик: Артикул, Вес (2026-03-31) */
.description-details .details-sku,
.description-details .details-weight {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.5;
}

.button_cart_small {
    max-width: 100%;
}

/* === Cart Recommended Carousel (mobile) === */
@media (max-width: 767px) {
    .cart-recommended-section {
        margin: 15px 0;
        padding: 0 5px;
    }
    .cart-recommended-section .box-heading {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .cart-recommended-section .swiper-wrapper {
        align-items: stretch;
    }
    .cart-recommended-section .swiper-slide {
        height: auto;
    }
    .cart-recommended-section .slider__Stuffed__Toys__item {
        padding: 5px;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .cart-recommended-section .image_home_carousel img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .cart-recommended-section .information_wrapper {
        flex: 1;
    }
    .cart-recommended-section .cart {
        margin-top: auto;
    }
    .cart-recommended-section .btn_blue_new {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ==========================================================================
   Header search — unified button placement (all languages)
   Input is 38px tall with border-radius:30px; button = 32px circle inside.
   ========================================================================== */
#search input[name="search"],
#search input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    padding-right: 50px;
    padding-left: 16px;
}

#search .search-btn,
#search .button-search {
    width: 32px !important;
    height: 32px !important;
    top: 3px !important;
    bottom: auto !important;
    right: 4px !important;
    left: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    background-color: #2150f5 !important;
    border-radius: 50% !important;
    line-height: 1;
}

#search .search-btn i,
#search .button-search i {
    font-size: 14px;
    line-height: 1;
}

/* Reset legacy fa-search absolute positioning */
#search .fa-search:before {
    position: static;
}

/* Header logo — keep within column, centered vertically */
.header_main .logo {
    padding: 5px 10px 5px 10px;
}
.header_main .logo a {
    display: inline-block;
    line-height: 0;
}
.header_main .logo img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    width: auto;
}

/* Center the icon-row vertically with logo + search */
@media (min-width: 992px) {
    .header_main .top-menu .row {
        align-items: center;
    }
    .header_main .callmeback {
        margin: 0;
    }
}

/* Icon labels: strictly centered under each icon */
.callmeback li {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    vertical-align: top;
}
.callmeback li > a,
.callmeback li > div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.callmeback .menu_text,
.callmeback p.menu_text {
    display: block;
    text-align: center !important;
    width: 100%;
    margin: 4px 0 0 0 !important;
    line-height: 14px;
    font-size: 12px;
    white-space: normal;
}
.callmeback li > a.shortcut_heading1 {
    width: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* Cart icon in callmeback: override shortcut fixed height so label fits under icon */
.callmeback .shortcut.sandy {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.callmeback .shortcut.sandy .shortcut_heading1 {
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}
.callmeback .shortcut.sandy .shortcut_heading1 .count {
    position: absolute;
    top: -2px;
    left: 16px;
}
.callmeback p.orange_cart,
.callmeback .orange_cart {
    display: block !important;
    text-align: center !important;
    margin: 4px 0 0 0 !important;
    font-size: 12px;
    line-height: 14px;
    color: #F53A21 !important;
    font-weight: 500 !important;
    white-space: normal;
}

/* ====================================================
   Баннеры с HTML-оверлеем (многоязычный текст)
   ==================================================== */

/* Оверлей текста поверх баннера */
.home-banner-overlay-item {
    position: relative;
    overflow: hidden;
}

.home-banner-overlay-item .banner-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10% 6% 5%;
    background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* RTL: текст справа */
[dir="rtl"] .home-banner-overlay-item .banner-overlay-text {
    align-items: flex-end;
    text-align: right;
}

.home-banner-overlay-item .banner-overlay-title {
    display: block;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: clamp(12px, 1.8vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    margin-bottom: 3px;
}

.home-banner-overlay-item .banner-overlay-sub {
    display: block;
    color: rgba(255,255,255,0.88);
    font-family: Montserrat, sans-serif;
    font-size: clamp(10px, 1.2vw, 14px);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
    margin-bottom: 6px;
}

/* Кнопка «Подробнее» внутри оверлея: переопределяем абсолютное позиционирование */
.home-banner-overlay-item .banner-overlay-text .banner-btn {
    position: static !important;
    display: inline-flex !important;
    pointer-events: auto;
    width: auto !important;
    height: auto !important;
    padding: 5px 16px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #2150F5 !important;
    font-weight: 600 !important;
    white-space: nowrap;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .home-banner-overlay-item .banner-overlay-title {
        font-size: clamp(9px, 2.8vw, 13px);
    }
    .home-banner-overlay-item .banner-overlay-sub {
        font-size: clamp(8px, 2vw, 11px);
    }
    .home-banner-overlay-item .banner-overlay-text .banner-btn {
        font-size: 10px !important;
        padding: 4px 10px !important;
    }
}

/* Убираем спецстили first-child после удаления широкой карточки "Книги" */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .mobile-category-item:first-child {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

@media screen and (min-width: 1025px) {
    .mobile-category-item:first-child {
        aspect-ratio: unset;
        height: 183px;
        padding: 12px;
        overflow: visible;
        position: static;
    }
    .mobile-category-item:first-child .mobile-category-image {
        position: static;
        inset: unset;
        width: 100%;
        height: 100%;
        min-height: 0;
        flex: 1;
    }
    .mobile-category-item:first-child .mobile-category-image img {
        object-fit: contain;
    }
    .mobile-category-item:first-child .mobile-category-name {
        position: static;
        top: unset;
        left: unset;
        font-size: 13px;
        font-weight: 600;
        color: #1A1A1A;
    }
}
