@charset "UTF-8"; /* ============================================================
   1. БАЗОВЫЕ СТИЛИ (Общие для всех разрешений)
   ============================================================ */
.header-main-img {
    /* width: 100%; */
    /* max-width: 263px; */
    /* Ограничиваем максимальную ширину */
    /* margin: 0 auto; */
}

.svg-logo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Скрываем мобильные элементы на десктопе */
.mobile-menu-toggle, .menu-content {
    display: none;
}

.mobile-menu-toggle, .menu-content {
    font-size: 18px;
}

/* Стили для анимации логотипа при появлении */
.logo-animated svg {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.logo-animated.is-visible svg {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект при наведении на логотип */
#logo:hover .svg-logo {
    color: #007bff;
    transform: scale(1.02);
}

.catalog-button {
    display: block;
    padding: 10px 0;
}

.images-categories .catalog-button {
    background: #2196f3;
    display:flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    border: 4px solid white;
}
.images-categories .catalog-button button.open-panel-btn {
    margin: 0;
    padding:8px 4px;
    border-radius: 10px!important;
    border:none!important;
    background-color: #009cde;
    background-image: radial-gradient(circle farthest-side at center bottom,#009cde,#003087 125%)!important;
    transition: background 0.3s;
}

.images-categories .catalog-button button.open-panel-btn:hover {
    background:#9C27B0!important;
    transition: background 0.3s;
}
@media (min-width: 992px) {
    .col-lg-9 {
        float: left;
        width: 100%
    }
}

@media screen and (min-width: 1200px) {
    .main-category-item {
        width: calc(100% / 5 + 50px);
        margin: 0;
    }

    .land-block-category .container {
        margin-bottom: 50px;
    }
}

@media (max-width: 1023px) {
    .subcategories-column span {
        min-height: 40px;
        line-height: normal;
        display: flex;
        border-bottom: 1px solid #0303;
        align-items: center;
    }
}

/* Обычные мониторы и ноутбуки: 4 колонки */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .shop-main-grid {
        display:flex;
        justify-content: center;
    }

    .main-category-item {
        width: calc(100% / 4 + 60px);
        margin: 5px;
    }
    .bottom-action {
        display:flex;
        gap: 5px;
        align-items: center;
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    /* Переключаем контейнер в режим столбика */ .all-shop-page-meta {
        display: flex !important;
        flex-direction: row;
        align-items: stretch !important;
    }

    /* Все колонки на всю ширину и с авто-высотой */
    .shop-page-meta-right, .shop-page-meta-center, .shop-page-meta-left {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        /* Убираем минимальные пороги */
        padding: 10px 0 !important;
        margin: 0 auto !important;
    }

    /* Порядок вывода на мобильных (опционально) */
    .shop-page-meta-right {
        order: 1;
    }

    /* Боковое меню (каталог) сверху */
    .shop-page-meta-center {
        order: 2;
    }

    /* Подкатегории и заголовок в середине */
    .shop-page-meta-left {
        order: 3;
    }

    /* Фильтры в самом низу */
    /* Ссылки в центре делаем удобными для нажатия пальцем */
    #item-subMenulevelCenter {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }

    .center-sub-item {
        display: inline-block;
        padding: 8px 12px;
        /* background: #f0f0f0; */
        border-radius: 4px;
        font-size: 1.4rem;
        line-height: 1.6rem!important;
        margin-bottom: 5px;
    }
}

@media (max-width: 991px) {
    .header-img-logo {
        max-width:60px
    }

    .container {
        width: 100%;
        margin: 0 auto;
    }

    .c-menu {
        display: none!important
    }

    .m-menu {
        display: block !important;
        /* margin-bottom: 20px; */
    }

    .mobile-navigation-1 {
        /* display: flex; */
        /* flex-direction: row; */
        /* float: none; */
        display: none;
    }

    .header-top-line {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .section {
        padding: 20px 0!important
    }

    .hero h1 {
        font-size: 2rem!important;
    }

    .top-line-bottom-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 10px !important;
    }

    .open-content, .btn-open {
        width: 50%;
        float: right;
    }

    .btn-open {
        float: left;
    }

    .open-panel-btn-mobail img {
        width: 38px;
        margin: 0 5px 0 0;
    }

    .span-mobail {
        font-size: 1.0rem;
    }

    .m-menu button:hover, .button .burger-icon, button:hover > span {
        background: none !important;
    }

    /* Мобильная обертка меню */
    .mobile-menu-wrapper {
        width: 100%;
        position: relative;
        z-index: 1000;
        margin-bottom: 10px;
        background: none;
    }

    /* Кнопка открытия меню */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        padding: 12px;
        background: transparent;
        color: #0e5af4 !important;
        font-weight: bold;
        cursor: pointer;
        box-sizing: border-box;
        border: none !important;
        border-radius: 0;
        overflow: visible;
    }

    .mobile-menu-toggle img {
        width: 100%;
        max-width: 28px;
        margin: 0 10px;
    }

    .open-panel-btn-mobail {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 12px;
        background: #ffffff !important;
        color: #0e5af4 !important;
        font-weight: bold;
        cursor: pointer;
        box-sizing: border-box;
        border: none !important;
    }

    .burger-icon {
        margin-right: 8px;
        font-size: 28px;
        background: none;
    }

    .catalog-button {
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
    }

    .color-top-text {
        font-size: 1.1rem;
    }

    .partners-krovlya .krovlya img {
        max-height: 100px
    }

    .shop-name {
        /* display:block; */
        min-width: 100%;
    }

    .shop-name h1 {
        /* font-size: 1.3rem; */
        /* margin-bottom: 5px; */
    }

    .open-panel-btn img {
        width: 30px;
    }

    /* Контейнер выпадающего меню */
    .menu-content {
        display: block !important;
        /* max-height: 0; */
        overflow: hidden;
        /* background: #fff; */
        transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    }

    .menu-content.is-open {
        max-height: 350px;
        transition: max-height 0.4s ease-in-out;
        border-bottom: 2px solid #2196F3;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }

    /* Плиточное меню (uMenuRoot) */
    ul.uMenuRoot {
        display: flex !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
    }

    ul.uMenuRoot li {
        width: 50% !important;
        min-width: 50% !important;
        max-width: 50% !important;
        box-sizing: border-box !important;
        border: 0.5px solid transparent !important;
    }

    ul.uMenuRoot li a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 55px;
        padding: 10px 5px !important;
        text-align: center;
        color: #333 !important;
        font-size: 1.1rem;
        font-weight: 500;
        background: #fff;
        text-decoration: none !important;
        border-radius: 12px;
        margin: 5px;
    }

    ul.uMenuRoot li a:active {
        color: #2196F3 !important;
    }

    .uMenuH {
        float: none !important;
    }

    .search-box-opened .main-search {
        top: 0!important
    }

    .navigation-link {
        display: flex;
        align-items: center;
        width: 50px;
        justify-content: center;
    }

    .main-category {
        display: block
    }

    .header-category {
        margin: 0;
        padding: 0;
        height: 60px;
        border-bottom: 1px solid #eeeeee;
    }

    .shop-name {
        /* margin-bottom: 5px; */
    }

    .all-shop-page-meta:has(.shop-page-meta-left.active) {
        /* Стили для .all-shop-page-meta когда .shop-page-meta-left имеет класс active */
        display: flex;
        flex-wrap: wrap;
    }

    .all-shop-page-meta {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .shop-page-meta-left {
        max-width: 45%;
        padding: 0;
        margin: 0 auto 20px;
        border: none;
    }

    .shop-page-meta-center {
        max-width: 95%;
        padding: 0;
        margin: 0 auto!important;
        border: none;
    }

    .shop-page-meta-right {
        max-width: 200px;
        padding: 0;
        margin: 0 auto 20px;
        border: none;
    }

    .shop-page-meta-center #item-subMenulevelCenter {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1px!important;
    }

    .text-search {
        display: none
    }

    a.js-main-search {
        width: auto!important
    }

    #main-product-page .shop-itempage-images>#ipreview {
        max-width: 100%!important;
    }

    #main-product-page>.right h2 {
        line-height: normal
    }

    #main-product-page>.right, .product-main-description {
        padding: 10px 15px;
    }

    #main-product-page {
        width: 100%
    }

    .shop-page-pagination {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin-top: 0;
        align-items: center;
    }
    .img-one-cat {
        max-height:60px;
        margin:10px auto;
    }
        .shop-page-meta {
        border:none!important
    }
        .bottom-action {
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    #main-product-page .right, #main-product-page .left {
        width:100%
    }
    #main-product-page .shop-itempage-images {
        width:100%
    }
}

/* Планшеты: 3 колонки */
@media screen and (min-width: 768px) and (max-width: 991px) {

    .shop-main-grid {
        display:flex;
        justify-content: center;
    }

    .main-category-item {
        width: calc(100% / 3 + 90px);
        margin: 5px;
    }
}

@media (max-width: 768px) {
    .header-main-logo {
        display: none;
    }

    .container {
        padding: 0;
    }

    .c-menu {
        display: none !important;
    }

    .shop-name {
        display: flex;
        flex-direction: column;
    }

    .shop-name h1 {
        font-size: 1.5rem;
        /* letter-spacing: 2px; */
    }

    .shop-name h2 {
        font-size: 1.3rem;
        letter-spacing: 2
    }

    .shop-name p {
        font-size: 1.3rem;
        letter-spacing: 2
    }

    .catalog-button {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
        width: 100%;
    }

    .open-panel-btn {
        width: 100%!important;
        max-width: 140px!important
    }

    .header-category {
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        /* margin: 0 0 20px 0; */
    }

    #slider-dots .slick-dots {
        display: none!important;
    }

    #slider .slider-slide-body-inner {
        display: flex;
        justify-content: flex-end;
        padding: 0;
        flex-direction: column;
    }

    #slider .slider-slide-body-inner .header h2 {
        font-size: 1rem
    }

    .main-search {
        margin: 0;
    }

    .navigation-link {
        display: flex;
        justify-content: center;
        padding: 0 !important;
    }

    .span-mobail {
        font-size: 18px;
    }

    .header-top-line {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 0 8px 0;
        /* padding-top: 0!important; */
    }

    .header-top-line > div {
        flex: none;
    }

    .header-top-line-center {
        display: flex;
        /* min-width: 0 !important; */
        /* max-width: 100px !important; */
        align-items: center;
    }

    .header-top-line-rigth {
        display: flex;
        justify-content: flex-end;
    }

    /* Растягиваем поиск при открытии */
    .search-box-opened .main-search {
        top: 0 !important;
        width: 100% !important;
    }

    .mobile-menu-toggle {
        justify-content: center;
    }

    .land-block {
        margin-bottom: 20px!important;
    }

    .offer-block .main-title {
        font-size: 1.4rem
    }

    .offer-block-cta {
        flex-direction: column-reverse;
    }

    .offer-block .features {
        width: 100%
    }

    .offer-block .features li {
        gap: 5px;
        font-size: 1rem;
        align-items: center;
    }

    .shop-cat-desc {
        padding: 10px;
    }

    .item-cat-desc {
        width: 100%;
        padding: 5px 0;
        align-items: center;
        font-size: 0.8rem;
    }

    .all-shop-page-meta {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    h2.shop-page-header {
        font-size: 0.5rem
    }

    .shop-page-meta-left , .shop-page-meta-center , .shop-page-meta-right {
        max-width: 100%;
        padding: 0;
        margin: 0 auto 20px;
    }

    .shop-page-meta-left.active {
        max-width: 100%
    }

    .images-categories img {
        max-width: 100%;
    }

    .shop-page-meta-left-img-cat {
        display: none
    }

    .shop-page-header-mobail {
        display: block;
        width: 100%;
    }
    .left .bottom-action {
        display:flex;
        flex-direction: column;
    }
    #main h2.shop-page-header {
        font-size: 1.4rem!important;
        line-height: normal!important;
        /* color: white; */
        /* display: none; */
    }
    .shop-page-header-mobail .shop-page-header {
        display:none
    }

    .partners {
        display: none;
    }

    .shop-page-meta-center #item-subMenulevelCenter {
        display: flex;
        flex-direction: row;
        gap: 1px!important;
        height: 100%;
        /* max-height: 100vh; */
        flex-wrap: wrap;
        /* overflow-y: scroll; */
        justify-content: flex-start;
    }

    .shop-page-meta-top {
        max-height: 400px;
        overflow-y: scroll;
        justify-content: flex-start;
    }

    .categories-container-conten-img {
        /* overflow-y: scroll!important;
        height: 100%;*/
    }

    .subcategories-column a {
        width: 100%
    }

    .partners-krovlya {
        display: flex;
        flex-direction: column;
    }

    .partners-krovlya .item img {
        max-width: 50px;
        /* Еще меньше на телефонах */
    }

    .shop-main-grid {
    }

    .main-category-item {
        width: calc(40% + 33.333334px);
        /* По 2 карточки в ряд */
    }

    #page .grid-list .list-item .shop-item {
        height: auto!important;
    }

    .shop-item-meta-2 {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .shop-item-block-4 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    #page .grid-list .list-item .shop-item-meta-actions>.item-buy-button, .shop-item-meta-actions>.item-buy-button, .product-additional__add {
    }

    .shop-item-block-2-m {
        display: flex;
        min-height: 0;
    }

    .values {
        display: flex;
        align-items: flex-start;
        width: 100%;
        flex-direction: column;
        margin: 0 10px;
    }

    .values .right , .values .left {
        float: none;
    }

    .values .left {
        margin-bottom: 20px
    }

    .product-main-description {
        padding: 5px;
    }

    .product-main-manage-shop {
        width: 100%
    }

    .item-description-img {
        flex-direction: column;
    }

    .printech {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .item-description p {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }

    .light_tree, .tight_tree, .nut, .antique_oak, .golden_oak, .smoky_oak, .wild_stone, .sandstone, .brick, .vintage_light, .vintage_dark, .chestnut {
        width: 100%!important;
        max-width: 160px;
        margin: 0 auto!important;
    }

    .goods-card .price-container {
        max-height: 50px!important;
    }

    .product-card {
        width: 90%;
        margin: 0 auto;
    }

    #item-subMenulevelCenter a {
        min-height: 60px;
        margin: 5px auto;
        max-width: 40%;
        /* font-size: 1.1rem; */
        padding: 8px!important;
        text-align: center;
        display: flex;
        /* line-height: 1.3rem!important; */
        align-items: center;
        justify-content: center;
    }
    .bottom-action {
        display:flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}

/* Мобильные (горизонтально) и крупные смартфоны: 2 колонки */
@media screen and (min-width: 480px) and (max-width: 767px) {
    .main-category-item {
        width: calc(100% / 2 - 10px);
        margin: 5px 0;
    }

    #page .list-item .shop-item-image {
        max-height: 173px;
    }

    .shop-page-meta-left-filters .history-button input {
        width: 80%;
    }
    .bottom-action {
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

/* Маленькие смартфоны: 2 колонки (но с уменьшенным текстом) */
@media screen and (max-width: 479px) {
        .shop-page-meta-center #item-subMenulevelCenter {
        /* display: flex; */
        /* flex-direction: row; */
        /* gap: 1px!important; */
        /* height: 100%; */
        /* max-height: 100vh; */
        /* flex-wrap: wrap; */
        /* overflow-y: scroll; */
        /* justify-content: flex-start; */
    }
        #item-subMenulevelCenter a {
        max-width: 80%;
    }
    .values {
        flex-direction: column;
    }

    .main-category-item {
        width: 100%;
        margin: 4px;
        font-size: 1.2rem;
    }

    .category-img-box {
        padding: 5px;
        /* Меньше отступов на мобильных */
    }

    .main-category-item a {
        /* display:flex; */
        /* flex-direction: column; */
        /* justify-content: flex-start; */
        /* align-items: center; */
    }

    #page .list-item .shop-item-image {
        max-height: 173px
    }

    .order-bottom-val, .order-bottom-span {
        font-size: 1.2rem!important
    }

    .footer-payment {
        gap: 5px;
    }

    .footer-payment-icon span {
        font-size: 0.8rem
    }

    .footer-payment-icon img {
        width: 50px
    }

    .item-new {
    }

    .item-info-block {
        display: flex;
        flex-direction: column;
        gap: 10px 0;
    }

    .img-new-item {
        max-width: 100%;
    }

    .item-new-text span {
        font: 600 1.13rem / 2rem Roboto, sans-serif;
        margin: 10px auto;
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .item-new-text {
        width: 100%;
        text-align: center;
    }

    .item-new-text h2 strong {
    }

    .shop-page-meta-left-filters .history-button input {
        max-width: 90%!important;
    }
    .land-block-news-data .item-name {
        font-size:1.2rem;
        margin:15px 0; 
    }
        .bottom-action {
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 375px) {
    #slider .slider-slide {
        flex-direction: column;
        height: 100%;
        max-height: 450px;
        background: white;
    }
