/* Мобільні стилі */
@media (max-width: 767px) {
    body{
        overflow-x: hidden;
    }
    /* Блокування прокрутки при відкритому меню */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        /* Компенсація для полоси прокрутки буде додана через JavaScript */
    }

    .top-colom-my .top-colom-my-1, 
    .top-colom-my .top-colom-my-2, 
    .top-colom-my .top-colom-my-4 {
        display: none;
    }

    .featured-products-slider .product-thumb {
        margin: 0 5px;
    }
    
    .top-colom-my-2, 
    .top-colom-my-3, 
    .top-colom-my-4 {
        text-align: center;
    }
    .button-group .hidden-xs {
        display: inline !important;
    }

    .product-list .product-thumb .caption {
        min-height: 0;
        margin-left: 0;
        padding: 0 10px;
    }
    .container-mobile-right {
        gap: 10px;
    }


    .product-grid .product-thumb .caption {
        min-height: 0;
    }

    .product-list .product-thumb .button-group {
        border-left: none;
    }

    .product-thumb .button-group button, 
    .product-thumb .button-group button + button {
        width: 33.33%;
    }

    #cart .dropdown-menu {
        width:auto;
    }
    button.btn.btn-danger.btn-xs {
        width: 15px;
        height: auto;
        background-size: 90%;
    }
    #cart .dropdown-menu li > div {
        min-width: 100%;
    }
/* Верхний баннер */
    .my-top-banner {
        flex-direction: column;
    }

    .my-top-banner-left,
    .my-top-banner-rigth {
        width: 100%;
    }
    .my-top-banner-left{
        height: 626px;
    }

    .my-top-banner-rigth {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero-image {
        position: absolute;
        width: 280px;
        height: 378px;
        right: 0;
        bottom: 85px;
        background-image: url(../image/banner-2-Photoroom.png);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .my-top-banner-rigth-top,
    .my-top-banner-rigth-bottom {
        width: 100%;
    }

    .my-top-banner-rigth-bottom {
        margin: 0;
    }
    .tag-r {/* tag */

        /* Auto layout */display: flex;flex-direction: row;justify-content: center;align-items: center;padding: 8px 10px;gap: 8px;position: absolute;/* width: 132px; */height: 38px;right: 160px;top: 321px;background: #FFFFFF;border-radius: 16px;color: #000;}
        
        .tag-s {/* tag */
        
        /* Auto layout */
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 8px 10px;
        gap: 8px;
        position: absolute;
        /* width: 157px; */
        height: 38px;
        right: 150px;
        top: 385px;
        background: #FFFFFF;
        border-radius: 16px;
        color: #000;
        }
        
        .tag-p {/* tag */
        
        /* Auto layout */
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 8px 10px;
        gap: 0px;
        position: absolute;
        /* width: 124px; */
        height: 38px;
        right: 247px;
        top: 440px;
        background: #FFFFFF;
        border-radius: 16px;
        color: #000;
        }
        .her-price {
            box-sizing: border-box;
            display: flex
        ;
            flex-direction: row;
            align-items: center;
            padding: 8px 32px;
            gap: 12px;
            position: absolute;
            /* width: 216px; */
            height: 56px;
            left: 22px;
            top: 251px;
            border: 2px solid #FFDE09;
            border-radius: 24px;
            color: #FFDE09;
        }
        .hero-content h1 {
            position: absolute;
            width: auto;
            height: auto;
            left: 22px;
            top: 0px;
            font-family: 'Gilroy';
            font-style: normal;
            font-weight: 700;
            font-size: 2.3rem;
            line-height: 63px;
            color: #FFFFFF;
            line-height: 140%;
        }
        .hero-content p {
            position: absolute;
            width: 90%;
            height: 66px;
            left: 22px;
            top: 130px;
            font-family: 'Gilroy';
            font-style: normal;
            font-weight: 600;
            font-size: 1rem;
            line-height: 22px;
            color: #FFFFFF;
            line-height: 140%;
            font-weight: 400;
        }

        @media (max-width: 380px) {
            .tag-p {
                right: 215px;
            }
            
            .hero-image {
                width: 250px;
            }
            
            .tag-s {
                right: 130px;
            }
            
            .tag-r {
                right: 130px;
            }
            }
/* Кінець верхнього баннера */

    .faq-container { 
        flex-direction: column; 
    }
    
    .faq-column { 
        width: 100%; 
    }

    /* Стилі для мобільного меню */
    .my-col-sm-3-my-compare {
        width: auto;
        margin: 0;
    }
    
    .my-col-sm-3-my-wishlist {
        width: auto;
        margin: 0;
    }
    
    .my-compare-malanka {
        background-size: 70%;
    }
    
    .my-wishlist-malanka {
        background-size: 70%;
    }

    #menu .navbar-header {
        display: block;
    }

    .header-desktop {
        display: none;
      }
      .header-mobile {
        display: block;
      }

    #menu .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 0;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        overflow-y: auto!important;
        box-shadow: none;
        /* Запобігаємо закриття при кліку */
        pointer-events: auto;
        max-height: calc(100vh - 70px);
    }
    
    /* Запобігаємо закриття при кліку на вміст меню */
    #menu .navbar-collapse * {
        pointer-events: auto;
    }

    #menu .navbar-collapse div{
        padding: 5px;
        flex-direction: column;
        gap: 5px;
    }

    #menu .navbar-collapse.in {
        transform: translateX(0);
        -webkit-transform: translateX(0);
    }
    .fa-navicon:before, .fa-reorder:before, .fa-bars:before {
        content: "";
    }
    #menu .navbar-toggle {
        display: block;
        background: url(../image/List.svg) center center;
        width: 32px;
        height: 32px;
        padding: 0 !important;
    }
    #cart .cart-icon-button {
        width: 32px !important;
        height: 32px !important;
    }
    .my-profil-malanka {
        width: 32px;
        height: 32px;
    }

    /* Кнопка закриття меню */
    #menu .navbar-collapse .close-menu-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        background: #fff;
        color: #000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: bold;
        cursor: pointer;
        z-index: 1001;
        border: none;
        outline: none;
        transition: background-color 0.3s ease;
        box-shadow: none;
    }

    #menu .navbar-collapse .close-menu-btn:hover {
        background: #3a7a32;
        transform: scale(1.05);
    }

    #menu .navbar-collapse .close-menu-btn:active {
        transform: scale(0.95);
    }

    #menu .nav {
        float: none;
        margin: 0 20px;
    }

    #menu .nav > li {
        float: none;
        /* margin: 0; */
        border-bottom: none;
    }

    #menu .nav > li > a {
        padding: 10px 0;
        border-bottom: none;
        font-size: 18px;
        font-weight: 600;
        color: #000;
    }

    #menu .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 20px;
        display: block;
        /* margin: 0 20px; */
    }

    #menu .dropdown-menu > li > a {
        padding: 10px 0;
        color: #333;
        font-size: 16px;
    }
    li.menu-my-compare {
        display: flex;
        align-items: center;
        /* gap: 20px; */
        margin: 0 0 0 -10px;
    }
    
    li.menu-my-wishlist {
        display: flex;
        align-items: center;
        /* gap: 20px; */
        margin: 0 0 0 -10px;
    }
    
    .text-menu-my-compare {
        font-size: 1.3rem;
        font-weight: 600;
    }
    
    .text-menu-my-wishlist {
        font-size: 1.3rem;
        font-weight: 600;
    }

    /* Додаємо затемнення фону при відкритому меню */
    #menu .navbar-collapse.in::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        z-index: -1;
    }
    
    .home-abaut-us-malanka-body {
        flex-direction: column;
        align-items: center;
    }

    .home-abaut-us-malanka-left-top,
    .home-abaut-us-malanka-left-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .home-abaut-us-malanka-left-top-left,
    .home-abaut-us-malanka-left-bottom-right,
    .home-abaut-us-malanka-left-top-right,
    .home-abaut-us-malanka-left-bottom-left {
        width: 100%;
        max-width: 90%;
    }

    .home-abaut-us-malanka-right {
        width: 100%;
        max-width: 90%;
        position: static;
    }

    .home-abaut-us-malanka-right-1,
    .home-abaut-us-malanka-right-2,
    .home-abaut-us-malanka-right-3,
    .home-abaut-us-malanka-right-4 {
        position: static;
        width: 100%;
        max-width: 90%;
        margin-bottom: 15px;
    }
    .featured-title {
        display: inline-block;
        margin-right: 20px;
        font-size: 2.8rem;
        font-weight: 700;
    }
    .featured-products-slider .swiper-button-top {
        display: flex
    ;
        justify-content: space-between;
        position: absolute;
        top: -45px;
        right: 15px;
        width: 70px;
    }
    .featured-products-slider .swiper-button-next {
        left: 50px;
    }
    featured-products-slider .swiper-button-next, .featured-products-slider .swiper-button-prev, .featured-products-slider .swiper-button-next, .featured-products-slider .swiper-button-prev {
   
        width: 36px;
        height: 36px;
  
        border-radius: 10px;
    
    }
    .faq-container .faq-item span {
        display: flex
    ;
        margin: -8px auto;
        width: 36px;
        height: 36px;
        background: #458A3C;
        border-radius: 10px;
        color: #fff;
        font-size: 3rem;
        font-weight: 100;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    .faq-item span {
        margin: 0 0 0 50px;
        position: absolute;
        right: 10px;
        top: 35px;
    }
    .faq-item h4 {
        width: 90%;
    }
    
    .faq-item {
        position: relative;
    }

    /* Стилі для соціальних мереж на мобільних */
    .my-contacts-malanka-left-3 {
        gap: 20px;
        justify-content: center;
        padding: 16px;
    }
    
    .my-contacts-malanka-left-3 > div {
        height: 48px;
        width: 48px;
        background-size: 90%;
    }
      /* карточка товара */
      .malanka-col-sm-8{
        width: 100%;
        order: 1;
    }
    .malanka-col-sm-4{
        width: 100%;
        order: 2;
    }
    .malanka-product-desc{
        width: 100%;
        order: 3;
    }
    ul.nav.nav-tabs {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    
    .nav-tabs>li {
        width: auto;
        display: block;
        align-self: start;
    }
    .product-toping {
        flex-direction: column;
        align-items: start;
    }
    /* кінець карточка товара */
span.table-noclick.hidden-xs.hidden-sm.hidden-md {
    display: inline;
    font-size: 0.9rem;
}

span.table-click.hidden-xs.hidden-sm.hidden-md {
    display: none !important;
}

/* Стилі для мобільних елементів wishlist і compare */
.header-mobile .navbar-collapse.navbar-ex1-collapse.collapse.in .my-col-sm-3-my-wishlist,
.header-mobile .navbar-collapse.navbar-ex1-collapse.collapse.in .my-col-sm-3-my-compare {
    display: block;
}

.header-mobile .my-col-sm-3-my-wishlist span#wishlist-count-mobile,
.header-mobile .my-col-sm-3-my-compare span#compare-count-mobile {
    display: block !important;
    top: 0;
    /* background: none; */
    /* color: #000; */
    border: 1px solid #E33309;
    right: 0px;
}

/* Приховуємо десктопні елементи на мобільних */
.header-desktop .my-col-sm-3-my-wishlist,
.header-desktop .my-col-sm-3-my-compare {
    display: none;
}

    /* Стилі для приховування #top і показу #mobile-menu-top при відкритому меню */
    body.menu-open #top {
        display: none;
    }
    #top {
        margin: 0;
    }

    body.menu-open #mobile-menu-top {
        display: block;
        background: #D2F898;
    }

    /* Приховуємо #mobile-menu-top в звичайному стані */
    #mobile-menu-top {
        display: none;
    }
    /* Про нас */
    .home-abaut-us-malanka-left {
        width: 100%;
    }
    .home-abaut-us-malanka .home-abaut-us-malanka-left-top-right {
        max-width: 220px;
    }
    /* Кінець Про нас */
    #product-category .product-layout {
        padding: 0 5px;
        width: 50% !important;
    }
        /* Tik Tok */
        .faq-container.tiktok {
            width: 100%;
            margin: 50px auto;
            padding: 10px;
        }
        .faq-container-tiktok {
            width: 100%;
            margin-left: 0;
            position: relative;
            background: #D2F898;
            border-radius: 56px;
            padding: 0.2vw 0;
        }
        .faq-column-left, .faq-column-right  {
            display: flex;
            /* flex-direction: unset; */
            /* align-items: center; */
            padding: 0px;
            gap: 22px;
            /* justify-content: center; */
            /* flex-wrap: wrap; */
        }
        .faq-column-left-left {
            width: 50%;
        }
        
        .faq-column-left-right {
            width: 50%;
        }
        /* And Tik Tok */
        /* Зв'зок */
        .my-contacts-malanka-top {
            display: flex;
            gap: 23px;
            margin-top: 60px;
            flex-direction: column;
        }
        .my-contacts-malanka-left, .bordered_content.padded {
            width: 100%;
        }
        .my-contacts-malanka-top .btn-primary{
            width: 100%;
        }
        /* Кінець зв'язок */
        /* Footer */
        footer {
            padding: 0 10px 50px;
        }
        .my-footer-malanka {
            flex-wrap: wrap;
            /* justify-content: flex-start; */
            row-gap: 20px;
            flex-direction: column;
            align-content: center;
          }
        
          .my-footer-malanka-1, .my-footer-malanka-4 {
            width: 100%;
            text-align: center;
          }
        
          .my-footer-malanka-2, .my-footer-malanka-3 {
            width: 100%;
            /* margin-right: 20px; */
          }
        
          .my-footer-malanka-3 {
            margin-right: 0;
          }
          .my-footer-malanka-1 { order: 0; }
    .my-footer-malanka-4 {order: 1;/* margin-left: auto; */}
    .my-footer-malanka-2 { order: 2; }
    .my-footer-malanka-3 { order: 3; }
    footer .my-footer-malanka .my-footer-malanka-1 {
        width: 100%;
    }
    footer .my-footer-malanka .my-footer-malanka-4{
        display: none;
    }
    .my-footer-malanka-left-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 10px;
        width: 100%;
    }
    .my-footer-malanka-left-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px;
        gap: 10px;
        /* width: 233px; */
        /* height: 119px; */
        flex: none;
        order: 1;
        flex-grow: 0;
        /* margin-left: auto; */
        width: 100%;
    }
    .my-footer-malanka-left {
        width: 100%;
        flex-direction: column;
        padding: 0;
    }
    .my-footer-malanka-right {
        width: 100%;
    }
    .my-footer-malanka-right ul {
        display: flex;
        justify-content: space-between;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
        flex-direction: column;
      }
      .my-footer-malanka-right {
        float: right;
        margin: 5px 0;
    }
    ul.nav.navbar-nav a {
        position: relative;
        display: block;
    }
    
        /* End footer */
        /* Статті */

        .bm .post-thumb .image img {
            max-width: 80px !important;
            border-radius: 8px;
        }
        
        .bm .post-thumb .image {
            min-width: 80px !important;
            height: 80px;
            border-radius: 8px;
            width: 80px;
        }
        .post-thumb-body {
            display: none;
        }
        .bm-grid-item-body.animated {
            padding: 20px;
            min-height: 168px;

        }
        .row.data_malanka {
            position: absolute;
            bottom: 20px;
            left: 25px;
        }
        a.read-more.pull-right {
            display: flex !important;
            /* flex-direction: row; */
            justify-content: center;
            align-items: center;
            padding: 20px 24px;
            gap: 8px;
            /* width: 168px; */
            /* height: 38px; */
            height: 8px;
            border-radius: 16px;
            /* flex: none; */
            /* order: 1; */
            color: #fff !important;
            text-align: center;
            font-size: 16px !important;
            font-style: normal !important;
            /* line-height: 25px; */
            margin: 0 20px;
        }
        .malanka.bm-grid-item-body.animated .post-thumb-body {
            display: inline-block !important;
        }
        .malanka.bm-grid-item-body.animated {
            height: auto;
            min-height: 210px !important;
        }
        .malanka.bm-grid-item-body.animated .short-description p {
            width: 100%;}
            .malanka.bm-grid-item-body.animated .my-button {
                height: 48px;
                border-radius: 16px;
            }
        /* Кінець Статті */
        /* Сторінка корзини */
div#cart-items {
    display: flex;
    gap: 20px;
    margin: 0 0 50px;
    flex-direction: column;
}

.cart-items-left {
    /* display: flex; */
    width: 100%;
}

.cart-items-right {
    width: 100%;
    background: #F0F2EF;
    border-radius: 24px;
    padding: 20px;
    margin: 46px 0 0;
}
.cart-items-left-text{
    gap: 110px;
}
/* кінец */
/* сторінка інформації */
.heading.bm-post-info.clearfix {
    flex-direction: column;
}

.heading.bm-post-info.clearfix-right {
    flex-direction: column;
}

.heading.bm-post-info.clearfix-right-1 {
    flex-direction: column;
    gap: 20px;
}

.heading.bm-post-info.clearfix-right-2 {
    flex-direction: column;
    gap: 20px;
}
/* кінець сторінки інформації */

/* Категорія */
#product-category .product-layout p, .featured-products-slider p {
    display: none;
}
/* кінець категорії */
/* Всі товари */
div#product-category {
    padding: 0 !important;
}
.row.malanka-category-filter {
    flex-direction: column-reverse;
}
.list-group.malanka-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    /* padding: 10px; */
}
/* Кінець всіх товарів */
.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}
.my-contacts-malanka-top p.margin-b-md {
    text-align: center;
}

}


