.product_list.list .ajax_block_product .pro_first_box{max-width: 280px;}.product_list.list .ajax_block_product .pro_second_box{margin-left: 300px;}.is_rtl .product_list.list .ajax_block_product .pro_second_box{margin-left:0;margin-right: 300px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.cart_default, .product_list.grid .ajax_block_product .pro_outer_box.cart_default{max-width: 70px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.cart_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.cart_default_2x{max-width: 140px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.home_default, .product_list.grid .ajax_block_product .pro_outer_box.home_default{max-width: 280px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.home_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.home_default_2x{max-width: 560px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.large_default, .product_list.grid .ajax_block_product .pro_outer_box.large_default{max-width: 700px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.large_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.large_default_2x{max-width: 1200px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.medium_default, .product_list.grid .ajax_block_product .pro_outer_box.medium_default{max-width: 370px;}.images-container, .images-container .pro_gallery_thumbs_horizontal{margin-left: auto;margin-right:auto;}.images-container.pro_number_1, .images-container.pro_number_1 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_2, .images-container.pro_number_2 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_3, .images-container.pro_number_3 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_4, .images-container.pro_number_4 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_5, .images-container.pro_number_5 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_6, .images-container.pro_number_6 .pro_gallery_thumbs_horizontal{max-width: 370px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.medium_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.medium_default_2x{max-width: 740px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.small_default, .product_list.grid .ajax_block_product .pro_outer_box.small_default{max-width: 105px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.small_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.small_default_2x{max-width: 210px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.superlarge_default, .product_list.grid .ajax_block_product .pro_outer_box.superlarge_default{max-width: 1200px;}.products_sldier_swiper .ajax_block_product .pro_outer_box.superlarge_default_2x, .product_list.grid .ajax_block_product .pro_outer_box.superlarge_default_2x{max-width: 1200px;}.st_image_scrolling_item{margin-bottom:14px;}.st_image_scrolling_wrap .st_image_scrolling_item {padding-left:7px;padding-right:7px;}.st_image_scrolling_wrap .row{margin-left:-7px;margin-right:-7px;}.featured_categories_item .pro_outer_box.category_default{max-width: 140px;}.featured_categories_item .pro_outer_box.category_default_2x{max-width: 280px;}.featured_categories_item .pro_outer_box.home_default{max-width: 280px;}.featured_categories_item .pro_outer_box.home_default_2x{max-width: 560px;}.featured_categories_item .pro_outer_box.medium_default{max-width: 370px;}.featured_categories_item .pro_outer_box.medium_default_2x{max-width: 740px;}body{font-family:Verdana, Tahoma, sans-serif, Arial;}.price,#our_price_display,.old_price,.sale_percentage{}.btn.ajax_add_to_cart_button, .btn.add-to-cart, .btn.view_button{}.style_wide .ma_level_1{}.title_block .title_block_inner, .page_heading, .product_info_tabs .nav-tabs .nav-link, .pc_slider_block_container .nav-tabs .nav-link, .heading_font{text-transform: uppercase;}.st-menu-title{text-transform: uppercase;}.title_block .title_block_inner, .page_heading {}.st_mega_menu .ma_level_0, .mobile_bar_tri_text, #st_mega_menu_column_mobile .mo_advanced_ma_level_0{text-transform: uppercase;}#st_mobile_menu .mo_ma_level_0{text-transform: uppercase;}.style_wide .ma_level_1{text-transform: uppercase;}.style_wide .ma_level_1{}.style_wide .mu_level_2 a.ma_item, .stmenu_multi_level a.ma_item,.mo_sub_a{}.mv_item{}.product_name_wrap .product_name{}.ajax_block_product .price{font-size: 14px;}.ajax_block_product .regular-price{font-size: 12px;}.title_style_0,.title_style_0 .title_block_inner{border-bottom-width:2px;}.title_style_0 .title_block_inner{margin-bottom:-2px;}.btn-white:hover,.btn-white:focus{}.btn,.hover_fly_btn{text-transform: capitalize;}#st_header .header_item{text-transform: uppercase;}#st_header #top_bar, #st_header #top_bar #top_bar_container{border-bottom:none;}#top_extra_container{background-color:#FAFAFA;}#top_extra .st_mega_menu_container.stuck{background: #FAFAFA;background:rgba(250,250,250,0.95);}#st_mega_menu_wrap .stmenu_sub{border-top-width:2px;}#st_mega_menu_wrap .ma_level_0{margin-bottom:-2px;border-bottom-width:2px;}.boxed_megamenu #st_mega_menu_wrap{border-bottom-width:2px;}#header_primary #st_mega_menu_wrap{border-bottom-width:2px;}#st_mega_menu_wrap .stmenu_sub{border-top-color:#444444;}.st_mega_menu_container, .boxed_megamenu #st_mega_menu_wrap,#header_primary #st_mega_menu_wrap{border-bottom-color:#444444;}#st_mega_menu_wrap .ml_level_0.current .ma_level_0,#st_mega_menu_wrap .ma_level_0:hover{border-bottom-color:#E54D26;}#st_ma_0{ text-align: left; }#left_column.sidebar_opened,#right_column.sidebar_opened{background-color:#fff;}#st_header.stuck, #top_extra .st_mega_menu_container.stuck, .steasym_main.stuck{-webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.1); -moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.1); box-shadow: 0px 1px 4px rgba(0,0,0,0.1); }#footer-secondary{background-color:#F2F2F2;}#footer-tertiary{background-image: url(../../patterns/18.png);}#footer-bottom{background-image: url(../../patterns/22.png);}#footer-bottom {border-top-width:1px;border-top-style: solid;}#footer-bottom, #footer-bottom #footer-bottom-container{border-top-color:#DADADA;}.header-container.has_sticky{padding-bottom:110px;}.fto-glyph.icon_btn:before{ content: "\e868"; }.fto-star.icon_btn:before{ content: "\e8e0"; }.fto-ajust.icon_btn:before{ content: "\e81e"; }.quick-view .fto-search-1.icon_btn:before{ content: "\e80b"; }.fto-eye-2.icon_btn:before{ content: "\e818"; }.fto-user.icon_btn:before{ content: "\e850"; }.fto-history.icon_btn:before{ content: "\e87a"; }body#index .header-container{ margin-bottom: 12px; }.products_sldier_swiper .pro_outer_box:hover .pro_second_box,.product_list.grid .pro_outer_box:hover .pro_second_box{ background-color: #f2f2f2; }.ajax_block_product .pro_outer_box{ border-width: 1px; }.ajax_block_product .pro_outer_box{ border-color: #e0e0e0; }.ajax_block_product .pro_outer_box:hover{ border-color: #d5d5d5; }.products_sldier_swiper{margin: -16px; padding: 16px; }.product_view_more_box{margin-top:16px;}.products_slider .swiper-button-lr.swiper-navigation_visible>.swiper-button-next, .swiper-button-lr:hover>.swiper-button-next{right:16px;}.is_rtl .products_slider .swiper-button-lr.swiper-navigation_visible>.swiper-button-next, .is_rtl .swiper-button-lr:hover>.swiper-button-next{left:16px;}.products_slider .swiper-button-lr.swiper-navigation_visible>.swiper-button-prev, .swiper-button-lr:hover>.swiper-button-prev{left:16px;}.is_rtl .products_slider .swiper-button-lr.swiper-navigation_visible>.swiper-button-prev, .is_rtl .swiper-button-lr:hover>.swiper-button-prev{right:16px;}.products_sldier_swiper .ajax_block_product.swiper-slide-visible .pro_outer_box, .product_list.grid .ajax_block_product .pro_outer_box, .product_list.list .ajax_block_product{-webkit-box-shadow: 0px 4px 12px rgba(0,0,0,0.05); -moz-box-shadow: 0px 4px 12px rgba(0,0,0,0.05); box-shadow: 0px 4px 12px rgba(0,0,0,0.05); }.boxed_page_wrapper{-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.1); -moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.1); box-shadow: 0px 0px 3px rgba(0,0,0,0.1); }#mobile_bar_top{ height: 60px;}#st_header .shop_logo{width: 240px;}#st_header.stuck .shop_logo{width: 200px;}#mobile_bar .mobile_logo{width: 200px;}.pro_gallery_thumbs_vertical .swiper-slide{height: 82px;}.ajax_block_product .s_title_block a,.pro_column_right .s_title_block a{}#js-product-list .products.product_list.grid .product_list_item{padding-left:6px;padding-right:6px;}#js-product-list .products.product_list.grid{margin-left:-6px;margin-right:-6px;}body#authentication .columns-container{padding-top: 38px;}body#authentication .columns-container{padding-bottom: 38px;}.checkout-step .sttab_2_1 .nav-tabs .nav-link.active, .checkout-step .sttab_2_1 .nav-tabs .nav-link:hover, .checkout-step .sttab_2_1 .nav-tabs .nav-link:focus{border-bottom-color: #ffffff;}@media (max-width: 1219px) {
                    .images-container.pro_number_lg_1, .images-container.pro_number_lg_1 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_lg_2, .images-container.pro_number_lg_2 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_lg_3, .images-container.pro_number_lg_3 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_lg_4, .images-container.pro_number_lg_4 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_lg_5, .images-container.pro_number_lg_5 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_lg_6, .images-container.pro_number_lg_6 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                }@media (max-width: 991px) {
                    .images-container.pro_number_md_1, .images-container.pro_number_md_1 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_md_2, .images-container.pro_number_md_2 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                    .images-container.pro_number_md_3, .images-container.pro_number_md_3 .pro_gallery_thumbs_horizontal{max-width: 1138px;}
                    .images-container.pro_number_md_4, .images-container.pro_number_md_4 .pro_gallery_thumbs_horizontal{max-width: 1138px;}
                    .images-container.pro_number_md_5, .images-container.pro_number_md_5 .pro_gallery_thumbs_horizontal{max-width: 1138px;}
                    .images-container.pro_number_md_6, .images-container.pro_number_md_6 .pro_gallery_thumbs_horizontal{max-width: 1138px;}
                }@media (max-width: 767px) {
                    .images-container.pro_number_sm_1, .images-container.pro_number_sm_1 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_sm_2, .images-container.pro_number_sm_2 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                    .images-container.pro_number_sm_3, .images-container.pro_number_sm_3 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                    .images-container.pro_number_sm_4, .images-container.pro_number_sm_4 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                    .images-container.pro_number_sm_5, .images-container.pro_number_sm_5 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                    .images-container.pro_number_sm_6, .images-container.pro_number_sm_6 .pro_gallery_thumbs_horizontal{max-width: 754px;}
                }@media (max-width: 479px) {
                    .images-container.pro_number_xs_1, .images-container.pro_number_xs_1 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_xs_2, .images-container.pro_number_xs_2 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_xs_3, .images-container.pro_number_xs_3 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_xs_4, .images-container.pro_number_xs_4 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_xs_5, .images-container.pro_number_xs_5 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                    .images-container.pro_number_xs_6, .images-container.pro_number_xs_6 .pro_gallery_thumbs_horizontal{max-width: 370px;}
                }/* ==========================================================================
   1. БАЗОВИЙ ШРИФТ ДЛЯ ВСЬОГО БЛОКУ ТА ЛІНІЯ-ДАХ (МЕНЮ КАТЕГОРІЙ)
   ========================================================================== */
.block-categories {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
    border-top: 2px solid #333333 !important;
    padding-top: 4px !important; 
    margin-top: 5px !important;
}

.block-categories * {
    font-family: 'Arial', 'Helvetica', sans-serif !important;
}

/* ПОВНІСТЮ ХОВАЄМО ЗАГОЛОВОК "ГОЛОВНА" */
.block-categories .title_block, 
.block-categories h1, 
.block-categories .h6 {
    display: none !important; 
}

/* КОМПАКТНА ВІДСТАНЬ МІЖ КАТЕГОРІЯМИ */
.block-categories li {
    padding: 2px 0 !important;
    margin: 0 !important;        
    border-bottom: 1px solid #f4f4f4 !important;
    list-style: none !important;
    line-height: 1.2 !important; 
}

.block-categories li:last-child {
    border-bottom: none !important;
}

/* СТИЛЬ НАЗВ КАТЕГОРІЙ */
.block-categories li a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    border-left: 2px solid transparent !important;
    padding-left: 0 !important;
    letter-spacing: 0.3px !important; 
    transition: all 0.15s ease !important;
}

.block-categories li a:hover {
    color: #ef4136 !important;
    border-left: 2px solid #ef4136 !important; 
    padding-left: 6px !important; 
}

/* ФІКС ХРЕСТИКІВ/МІНУСІВ В МЕНЮ */
.block-categories .navbar-toggler,
.block-categories .opener,
.block-categories .arrows,
.block-categories .collapse-icons,
.block-categories .collapse-icons i,
.block-categories [class*="fto-"]::before,
.block-categories [class*="fto-"] {
    font-size: 12px !important;
    color: #888888 !important; 
    transition: all 0.15s ease !important;
}

.block-categories li:hover > .navbar-toggler,
.block-categories li:hover > .opener,
.block-categories li:hover > .arrows,
.block-categories li:hover > .collapse-icons i,
.block-categories li:hover > a + .navbar-toggler i {
    color: #ef4136 !important;
}

/* ЗАХИСТ ПІДКАТЕГОРІЙ ВІД ПЕРЕДЧАСНОГО ФАРБУВАННЯ */
.block-categories li li a {
    color: #333333 !important;
    border-left: none !important;
    padding-left: 0 !important;
}
.block-categories li li .navbar-toggler,
.block-categories li li .opener,
.block-categories li li i {
    color: #888888 !important;
}

.block-categories li li a:hover {
    color: #ef4136 !important;
    border-left: 2px solid #ef4136 !important;
    padding-left: 6px !important;
}
.block-categories li li:hover > .navbar-toggler,
.block-categories li li:hover > .opener,
.block-categories li li:hover > i {
    color: #ef4136 !important;
}


/* ==========================================================================
   2. СТИЛІ КАРТОК ТОВАРУ ДЛЯ ДЕСКТОПА (Екрани комп'ютерів від 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Повертаємо десктопний логотип строго ліворуч, щоб шапка не зліталася в центр */
    #header_logo, .header_logo_box, .logo, #logo_wrapper {
        text-align: left !important;
        display: block !important;
        margin: 0 !important;
        float: left !important;
    }

    .pro_second_box {
        position: relative !important;
        padding-bottom: 0 !important;
        display: block !important;
        height: auto !important;
    }

    .pro_second_box .pro_kuan_box {
        position: static !important;
        display: flex !important;
        width: 100% !important;
    }

    /* Залізобетонна висота назви під 3 рядки на комп'ютерах */
    .pro_second_box .mini_name, .mini_name {
        display: block !important;
        height: 65px !important;
        min-height: 65px !important;
        max-height: 65px !important;
        overflow: hidden !important;
        margin-bottom: 10px !important;
    }

    .pro_second_box h3.s_title_block {
        display: block !important;
        height: auto !important;
    }

    /* ХАРАКТЕРИСТИКИ ТОВАРУ НА ПК */
    .product-features dl {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .product-features dt, .product-features dd {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        text-transform: none !important;
    }
    .product-features dt {
        flex: 0 0 38% !important;
        font-weight: normal !important;
        color: #777 !important;
        position: relative !important;
        display: flex !important;
        align-items: flex-end !important;
        padding: 2px 10px 2px 0 !important;
    }
    .product-features dt::after {
        content: "" !important;
        flex-grow: 1 !important;
        margin-left: 6px !important;
        border-bottom: 1px dotted #ccc !important;
        position: relative !important;
        top: -3px !important;
    }
    .product-features dd {
        flex: 0 0 62% !important;
        font-weight: normal !important;
        color: #222 !important;
        padding: 2px 0 2px 5px !important;
        display: flex !important;
        align-items: flex-end !important;
    }
}


/* ==========================================================================
   3. СТИЛІ ДЛЯ МОБІЛЬНОГО (Смартфони та планшети до 767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* (Прибрано: правила для .mini_name / .pro_kuan_box — їх повністю перебивав
       блок «ФІКС МОБІЛЬНОЇ СІТКИ» нижче, тому вони ні на що не впливали) */

    /* БЛОКУВАННЯ ПОРОЖНЬОГО ВІКНА САЙДБАРУ ДЛЯ МОВ */
    .st-menu-open #st-container,
    .st-menu-open .st-pusher,
    div[class*="sidebar-open"] {
        transform: none !important;
        left: 0 !important;
    }
    /* (Прибрано: #st-sidebar-left, #st-sidebar-right, .st-sidebar — таких елементів
       немає ні в темі, ні в модулях) */

    /* ХАРАКТЕРИСТИКИ ТОВАРУ НА МОБІЛЬНОМУ (Ваш точний фікс, щоб не розповзалися) */
    .product-features dl, 
    #product-features-tab dl,
    .product_features_table dl {
        display: block !important;
        width: 100% !important;
        padding: 3px 0 !important;
        margin: 0 0 4px 0 !important;
        border-bottom: 1px solid #f9f9f9 !important;
    }
    .product-features dt, #product-features-tab dt {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 0 2px 0 !important;
        color: #888 !important;
        font-size: 12px !important;
    }
    .product-features dt::after, #product-features-tab dt::after {
        display: none !important;
        content: none !important;
    }
    .product-features dd, #product-features-tab dd {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #111 !important;
        font-weight: 500 !important;
        font-size: 13px !important;
    }
}


/* ==========================================================================
   4. ГЛОБАЛЬНІ СИСТЕМНІ ФІКСИ (Для всіх пристроїв)
   ========================================================================== */
/* Приховування мітки податку біля ціни в темі Panda */
.current-price .tax_label,
.price-container .tax_label,
.tax_label {
    display: none !important;
}




/* Офіційний фікс розробників теми Panda для видалення нижньої кнопки лівої колонки */
#switch_left_column_wrap {
    display: none !important;
}




/* ==========================================================================
   ФІКС МОБІЛЬНОЇ СІТКИ: ДЕСКТОПНЕ ВИРІВНЮВАННЯ НАЗВ ТОВАРІВ
   ========================================================================== */
@media (max-width: 767px) {
    /* Задаємо назві товару чітку висоту під 3 рядки тексту, як на комп'ютері */
    .pro_second_box .mini_name,
    .mini_name,
    .product-title,
    .s_title_block {
        display: block !important;
        height: 65px !important;    /* Така ж залізобетонна висота, як на ПК */
        min-height: 65px !important;
        max-height: 65px !important;
        overflow: hidden !important; /* Захист сітки: довгий текст акуратно сховається */
        margin-bottom: 10px !important;
    }

    /* Повертаємо ціні та кнопкам стандартний десктопний вигляд блоками */
    .pro_second_box .pro_kuan_box,
    .pro_kuan_box,
    .product-price-and-shipping-wrap {
        display: block !important;  /* Скидаємо флекси в один рядок */
        width: 100% !important;
        position: static !important;
    }
}




/* ==========================================================================
   КОМПАКТНЕ СПЛИВАЮЧЕ ВІКНО МЕСЕНДЖЕРІВ ДЛЯ МОДУЛЯ СТ-ВІДЕО
   ========================================================================== */
/* 1. Стискаємо білі поля самого вікна теми під розмір наших кнопок */
#st_product_video_lightbox,
.stproductvideo_lightbox_content,
div:has(> .panda-custom-popup-box) {
    width: 250px !important;      /* Жорстка компактна ширина боксу */
    max-width: 90% !important;    /* Адаптивність для екранів телефонів */
    height: auto !important;      /* Автовисота без дірок знизу */
    min-height: auto !important;
    padding: 15px !important;     /* Тонкі охайні поля навколо кнопок */
    background: #ffffff !important;
    border-radius: 4px !important;
    margin: auto !important;
}

/* 2. Прибираємо зайві рамки та тіні плагіна Fancybox, якщо вони вилазять */
.fancybox-inner:has(.panda-custom-popup-box),
.fancybox-wrap:has(.panda-custom-popup-box) {
    width: 250px !important;
    height: auto !important;
}



/* Приховуємо блок добровільної реєстрації та поле пароля при оформленні замовлення */
#checkout-guest-form .form-group:has(input[name="password"]),
#checkout-guest-form p:has(+ .form-group input[name="password"]),
#checkout-guest-form .password-row,
#checkout-guest-form .register-form-info {
    display: none !important;
}




/* Приховуємо текст про добровільну реєстрацію у формі гостьового замовлення */
#customer-form .form_content_inner > p {
    display: none !important;
}



/* Приховуємо всю колонку сітки разом із полем Псевдонім */
.js-address-form [class*="col-"]:has(input[name="alias"]),
#delivery-address [class*="col-"]:has(input[name="alias"]),
#invoice-address [class*="col-"]:has(input[name="alias"]) {
    display: none !important;
}




/* Приховуємо вибір країни (якщо в магазині лише Україна) та галочку адреси для рахунків */
.js-address-form .form-group:has(select[name="id_country"]),
#delivery-address .form-group:has(select[name="id_country"]),
#use_same_address,
.form-group:has(#use_same_address) {
    display: none !important;
}




/* ==========================================================================
   ОДНОСТОРІНКОВИЙ ЧЕКАУТ ДЛЯ СТАНДАРТНОЇ ФОРМИ PRESTA 8 (ТЕМА PANDA)
   ========================================================================== */

/* 1. Сітка 2х2 на ПК — див. блок «ЖОРСТКЕ ВИРІВНЮВАННЯ СІТКИ ЧЕКАУТУ 2х2 ЧЕРЕЗ CSS GRID» нижче.
   (Прибрано: старий flex-варіант з width: 48.5% — його повністю перебивав grid) */

/* 2. Робимо всі кроки візуально відкритими та прибираємо зайві відступи
   (сюди ж об'єднано дубль-правило з margin-bottom / padding-bottom 12px) */
body#checkout section.checkout-step {
    padding: 15px 15px 12px 15px !important;
    margin-bottom: 12px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

/* ПУНКТ 3: Кроки, які ядро тимчасово заблокувало, поки покупець змінює попередній крок */
body#checkout section.checkout-step.-unreachable {
    opacity: .5;
    pointer-events: none;
}

/* ПУНКТ 3: «Редагувати» показуємо лише на пройдених кроках, які зараз не редагуються */
body#checkout section.checkout-step .step-edit {
    display: none !important;
}
body#checkout section.checkout-step.-complete:not(.-current) .step-edit {
    display: inline-block !important;
    margin-left: auto;          /* притискаємо праворуч у рядку заголовка */
    font-size: 13px;
}

/* (Прибрано: дубль правила «Приховуємо вибір країни…» — воно вже є вище) */



/* ==========================================================================
   ОЧИЩЕННЯ БЛОКУ АДРЕС ТА ПРИХОВУВАННЯ ЗАЙВИХ КНОПОК «ПРОДОВЖИТИ»
   ========================================================================== */

/* 1. Приховуємо посилання «+ Додати нову адресу» та «Адреса для рахунків відрізняється»
   (ПУНКТ 2: прибрано «.content > p», абзац з посиланням на рахунок ховається цілком) */
#checkout-addresses-step .add-address,
#checkout-addresses-step .billing-address-link,
#checkout-addresses-step a[href*="newAddress"],
#checkout-addresses-step p:has(> a[data-link-action="different-invoice-address"]) {
    display: none !important;
}

/* 2. Розтягуємо картку збереженої адреси (Моя адреса) на всю ширину колонки, щоб не збивалася в купу
   (margin-bottom: 10px прибрано — нижче його все одно перебивав margin-bottom: 0) */
#checkout-addresses-step .address-item,
#delivery-addresses .address-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* (Прибрано: br { content } та br::after — браузери їх не підтримують, ефекту не було) */

/* 3. ПУНКТ 3: Ховаємо «Продовжити» лише на пройдених кроках, які зараз НЕ редагуються.
   Коли покупець клікає в крок, ядро робить його -current — і кнопка з'являється */
body#checkout section.checkout-step.-complete:not(.-current) button.continue {
    display: none !important;
}





/* ПУНКТ 2: Приховуємо інформаційні абзаци у формі адрес,
   АЛЕ НЕ системні попередження (.alert / .js-address-error) — ними керує ядро PrestaShop */
#checkout-addresses-step .js-address-form form > p:not(.alert) {
    display: none !important;
}





/* ==========================================================================
   ЗМЕНШЕННЯ ВІДСТУПІВ У БЛОЦІ АДРЕСИ ТА СПОСОБАХ ДОСТАВКИ
   ========================================================================== */

/* 1. Прибираємо порожній простір знизу картки "Моя адреса"
   (відступи кроків 12px перенесено в основне правило body#checkout section.checkout-step) */
#checkout-addresses-step .address-item {
    margin-bottom: 0 !important;
}

#checkout-addresses-step .address-footer {
    padding-top: 6px !important;
    padding-bottom: 0 !important;
}

/* Приховуємо повністю порожні блоки після списку адрес, які тримають висоту */
#checkout-addresses-step .content > div:empty,
#checkout-addresses-step form > div:empty,
#checkout-addresses-step .clearfix {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}

/* 2. Стискаємо вертикальний відступ між способами доставки (Точка видачі / Нова Пошта) */
#checkout-delivery-step .delivery-option {
    margin-bottom: 4px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

#checkout-delivery-step .delivery-options {
    margin-bottom: 8px !important;
}





/* ==========================================================================
   ВИРІВНЮВАННЯ БЛОКІВ ЧЕКАУТУ ПО ВИСОТІ ТА ПРИБИРАННЯ ЗАЙВИХ ВІДСТУПІВ
   ========================================================================== */

/* 1. Вирівнювання по висоті — тепер у grid-блоці нижче (align-items: stretch).
   (Прибрано: окремий дубль цього правила) */

/* 2. Прибираємо зайвий відступ зверху під заголовком "Адреси" (де було приховане посилання) */
#checkout-addresses-step .step-title {
    margin-bottom: 10px !important;
}

#checkout-addresses-step .content,
#checkout-addresses-step .js-address-form,
#delivery-addresses {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 3. Підтягуємо червоне попередження "Оберіть спосіб оплати" ближче до кнопки без зайвої дірки знизу */
#checkout-payment-step .alert {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}



/* ==========================================================================
   ЖОРСТКЕ ВИРІВНЮВАННЯ СІТКИ ЧЕКАУТУ 2х2 ЧЕРЕЗ CSS GRID
   ========================================================================== */
@media (min-width: 992px) {
    body#checkout .checkout_left_column {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        align-items: stretch !important;
    }

    body#checkout .checkout_left_column > section.checkout-step {
        width: 100% !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Вирівнюємо верхній рівень контенту в обох верхніх блоках */
    #checkout-addresses-step .step-title {
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    /* Розтягуємо картку адреси до нижньої межі сусіднього блоку */
    #checkout-addresses-step .content,
    #checkout-addresses-step .js-address-form,
    #delivery-addresses,
    #checkout-addresses-step .address-item {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
}



/* Опускаємо рожеву плашку попередження на один рівень із вікном "Ваш коментар" */
@media (min-width: 992px) {
    #checkout-payment-step .alert {
        margin-top: 34px !important;
    }
}




/* Виділення кнопки швидкого замовлення (через слот Size chart) синім кольором */
a[href*="st_size_chart"],
.st_size_chart_link,
#st_size_chart_btn {
    display: inline-block !important;
    background-color: #0066cc !important;
    color: #ffffff !important;
    padding: 5px 12px !important;
    border-radius: 3px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-left: 8px !important;
}
a[href*="st_size_chart"]:hover,
.st_size_chart_link:hover,
#st_size_chart_btn:hover {
    background-color: #0052a3 !important;
    color: #ffffff !important;
}



/* Повністю приховуємо стандартне вікно таблиці розмірів модуля stproductvideo */
#st_size_chart,
.fancybox-wrap:has(#st_size_chart),
.fancybox-overlay:has(#st_size_chart) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}



/* Компактна кнопка "В 1 клік" в один рядок на вузьких екранах */
@media (max-width: 480px) {
    .open-fast-order-modal {
        white-space: nowrap !important;
        padding: 4px 9px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}


/* Вирівнюємо кнопку "В 1 КЛІК" строго по центру рядка з ціною на всіх екранах */
.open-fast-order-modal {
    vertical-align: middle !important;
    position: relative !important;
    top: 3px !important;
}





/* Вирівнюємо блок блогу на головній строго по ширині основного контейнера ("коробки") */
.container-fluid:has(.st_posts) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}




/* Компактна плитка брендів (4 в ряд) */
ul.base_list_line.large_list:has(> li.brand) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

ul.base_list_line.large_list > li.brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    border: 1px solid #eeeeee !important;
    border-radius: 4px !important;
    padding: 15px 10px !important;
    margin: 0 !important;
    background: #ffffff !important;
    text-align: center !important;
    transition: border-color 0.2s ease !important;
}

ul.base_list_line.large_list > li.brand:hover {
    border-color: #ef4136 !important;
}

li.brand .brand-img {
    margin: 0 0 10px 0 !important;
    text-align: center !important;
}

li.brand .brand-infos p {
    display: none !important;
}

li.brand .brand-infos .s_title_block {
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

@media (max-width: 991px) {
    ul.base_list_line.large_list:has(> li.brand) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 575px) {
    ul.base_list_line.large_list:has(> li.brand) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}



/* ХОВАЄМО ДЕРЕВО КАТЕГОРІЙ НА СТОРІНКАХ КАТЕГОРІЙ ТІЛЬКИ ДЛЯ ПК */
@media (min-width: 992px) {
    body#category .block-categories,
    body#category .block:has(.category-top-menu) {
        display: none !important;
    }
}




/* ЧІТКИЙ НОМЕР ТА ВИРІВНЮВАННЯ В НИЖНІЙ МОБІЛЬНІЙ ПАНЕЛІ */
@media (max-width: 991px) {
    /* 1. Робимо номер телефону жирним і темно-синім */
    a[href^="tel:"] {
        font-weight: 700 !important;
        color: #0a1f44 !important;
    }

    /* 2. Вирівнюємо іконку та текст у блоці телефону знизу */
    [id*="mobile_bar"] a[href^="tel:"],
    [class*="mobile_bar"] a[href^="tel:"] {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        font-size: 13px !important;
    }

    [id*="mobile_bar"] a[href^="tel:"] i,
    [id*="mobile_bar"] a[href^="tel:"] em,
    [class*="mobile_bar"] a[href^="tel:"] i,
    [class*="mobile_bar"] a[href^="tel:"] em {
        margin-bottom: 3px !important;
        line-height: 1 !important;
        color: #0066cc !important;
    }

    /* 3. Прибираємо подвійну лінію-розділювач у нижній панелі */
    [id*="mobile_bar_bottom"] > div,
    [id*="mobile_bar_bottom"] li,
    [class*="mobile_bar_bottom"] > div,
    [class*="mobile_bar_bottom"] li {
        border-right: none !important;
    }
}


/* Корекція лого на ПК (вижче-нижче */
@media (min-width: 992px) {
    #header_left .logo_box a.shop_logo {
        position: relative !important;
        top: -2px !important;
    }
}


/* Кнопка Viber на банері підбору віддтінок */
.viber-btn {
  transition: background 0.25s ease !important;
}
.viber-btn:hover {
  background: #3b4047 !important;
  color: #ffffff !important;
}



/* === Підкреслення заголовків у лівій колонці (ТОП-ЦІНА та ін.) === */
#left-column .title_block,
.column_block .title_block {
  border-bottom: 2px solid #ececec; /* Дуже світло-сіра лінія на всю ширину колонки */
  padding-bottom: 8px;
  margin-bottom: 15px;
  position: relative;
  font-weight: 700;
  color: #383b40;
}

#left-column .title_block::after,
.column_block .title_block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 75px;
  height: 2px;
  background-color: #838B95; /* Сірий акцент у тон кнопки та рамок сайту */
}
/* === Кінець блоку заголовків лівої колонки === */





/* [desc-lists] start: markers for ul/ol lists in descriptions (theme.css resets ul) */
.style_content ul{list-style:disc outside;padding-left:1.4em;margin:0 0 1em}
.style_content ul li{margin-bottom:.2em}
.style_content ol{list-style:decimal outside;padding-left:1.6em;margin:0 0 1em}
/* [desc-lists] end */

/* [desc-headings] start */
.blog_content.style_content h2,.product_description_container.style_content h2{font-size:16px;line-height:1.35;margin:1.1em 0 .5em}
.blog_content.style_content h3,.product_description_container.style_content h3{font-size:15px;line-height:1.35;margin:1em 0 .45em}
.blog_content.style_content h4,.product_description_container.style_content h4{font-size:14px;line-height:1.35;margin:.9em 0 .4em}
body#cms:not(.cms-id-10):not(.cms-id-12) .cms_content.style_content h1{font-size:18px;line-height:1.3;margin:0 0 .6em}
body#cms:not(.cms-id-10):not(.cms-id-12) .cms_content.style_content h2{font-size:16px;line-height:1.35;margin:1.1em 0 .5em}
body#cms:not(.cms-id-10):not(.cms-id-12) .cms_content.style_content h3{font-size:15px;line-height:1.35;margin:1em 0 .45em}
body#cms:not(.cms-id-10):not(.cms-id-12) .cms_content.style_content h4{font-size:14px;line-height:1.35;margin:.9em 0 .4em}
/* [desc-headings] end */

/* ===== Права колонка товару: «Купують разом» (≥3) або «Переваги» (0–2) ===== */
/* За замовчуванням (0–2 товари) блок «Купують разом» прихований, «Переваги» видно */
.product_right_column .strelatedproducts_container {
    display: none !important;
}
/* ≥3 товари: показуємо «Купують разом» (працює для 1, 2 або 3+ товарів на слайд) */
.product_right_column .strelatedproducts_container:has(.pro_column_box:nth-child(3)),
.product_right_column .strelatedproducts_container:has(.swiper-slide:nth-child(3)),
.product_right_column .strelatedproducts_container:has(.swiper-slide:nth-child(2)):has(.pro_column_box:nth-child(2)) {
    display: block !important;
}
/* ...і ховаємо «Переваги» */
.product_right_column:has(.strelatedproducts_container .pro_column_box:nth-child(3)) #easycontent_20,
.product_right_column:has(.strelatedproducts_container .swiper-slide:nth-child(3)) #easycontent_20,
.product_right_column:has(.strelatedproducts_container .swiper-slide:nth-child(2)):has(.strelatedproducts_container .pro_column_box:nth-child(2)) #easycontent_20 {
    display: none !important;
}

/* ==========================================================================
   КОМПАКТНИЙ STICKY HEADER (тільки ПК ≥ 992px)
   Працює разом із: Sticky = "Sticky header with animation" (опція 4)
   Ряд: Логотип → Каталог товарів → Телефон → Пошук → Кошик
   ========================================================================== */
@media (min-width: 992px) {

    /* 1. Сама смужка */
    #st_header.stuck {
        display: flex !important;
        align-items: center;
        gap: 22px;
        height: 60px;
        padding: 0 max(15px, calc((100% - 1170px) / 2));
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
        z-index: 300;
    }

    /* 2. "Розгортаємо" обгортки, щоб усі потрібні блоки стали в один flex-ряд */
    #st_header.stuck #header_primary,
    #st_header.stuck #header_primary .wide_container_box,
    #st_header.stuck #header_primary_container,
    #st_header.stuck #header_primary_row,
    #st_header.stuck #header_left,
    #st_header.stuck #header_left > .header_box,
    #st_header.stuck #header_center,
    #st_header.stuck #header_center > .header_box,
    #st_header.stuck #header_right,
    #st_header.stuck #header_right_top,
    #st_header.stuck #top_extra,
    #st_header.stuck #top_extra > .wide_container,
    #st_header.stuck #top_extra .sticky-wrapper,
    #st_header.stuck #top_extra .st_mega_menu_container,
    #st_header.stuck #top_extra .st_mega_menu_container > .container,
    #st_header.stuck #top_extra_container,
    #st_header.stuck #st_mega_menu_wrap,
    #st_header.stuck #st_mega_menu_wrap > ul {
        display: contents !important;
    }

    /* 3. Ховаємо все зайве в липкому стані */
    #st_header.stuck #header_right_bottom,
    #st_header.stuck .nav_full_container,
    #st_header.stuck #easymenu_container,
    #st_header.stuck .language_selector,
    #st_header.stuck .login,
    #st_header.stuck .header-work-time,
    #st_header.stuck #st_mega_menu_wrap li.ml_level_0:not(#st_menu_6) {
        display: none !important;
    }

    /* 4. Порядок елементів */
    #st_header.stuck .logo_box            { order: 1; flex: 0 0 auto; }
    #st_header.stuck #st_menu_6           { order: 2; flex: 0 0 auto; }
    #st_header.stuck .easycontent_header  { order: 3; flex: 0 0 auto; }
    #st_header.stuck .search_widget_block { order: 4; flex: 1 1 auto; min-width: 0; max-width: 520px; margin: 0 auto 0 0; }
    #st_header.stuck .blockcart           { order: 5; flex: 0 0 auto; margin-left: auto; }

    /* 5. Логотип */
    #st_header.stuck .shop_logo,
    #st_header.stuck .shop_logo img { width: 140px !important; height: auto; }
    #st_header.stuck .slogan_box_beside,
    #st_header.stuck .slogan_box_under { display: none !important; }

    /* 6. Кнопка "Каталог товарів" */
    #st_header.stuck #st_menu_6 > .ma_level_0 {
        height: 40px;
        line-height: 40px;
        padding: 0 16px;
        margin: 0;
        border: none;
        border-radius: 4px;
        background: #0a1f44;
        color: #ffffff !important;
    }
    #st_header.stuck #st_menu_6 > .ma_level_0 * { color: #ffffff !important; }
    /* Місток для курсора: li тягнеться на всю висоту смужки (0–60px),
       тому зона :hover впритул доходить до випадаючого меню (top: 100%) */
    #st_header.stuck #st_menu_6 { align-self: stretch; display: flex !important; align-items: center; }
    /* Випадаюче меню каталогу — на всю ширину під смужкою */
    #st_header.stuck #st_menu_6 > .stmenu_sub {
        top: 100% !important;
        left: max(15px, calc((100% - 1170px) / 2)) !important;
        right: max(15px, calc((100% - 1170px) / 2)) !important;
        width: auto !important;
    }

    /* 7. Телефон: обидва номери в одну колонку, але дрібніше (там inline-стилі) */
    #st_header.stuck .custom-header-contact-block { gap: 0 !important; }
    #st_header.stuck .header-phones { line-height: 1.15 !important; }
    #st_header.stuck .header-phones a { font-size: 14px !important; }

    /* 8. Пошук трохи нижчий */
    /* Рамка (0.8px) — на .search_widget_form_inner; input має вміщатися всередину неї, інакше перекриває нижню межу */
    #st_header.stuck .search_widget_block .search_widget_form_inner { height: 38px; }
    #st_header.stuck .search_widget_block .search_widget_form_inner input.form-control { height: 100% !important; }
}

/* На вузьких ПК (992–1199) — лише перший номер телефону, щоб усе влізло */
@media (min-width: 992px) and (max-width: 1199px) {
    #st_header.stuck .header-phones > div + div { display: none !important; }
    #st_header.stuck { gap: 14px; }
}

/* Responsive video in content (mobile) */
.style_content iframe { max-width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; margin: 1em auto; }

/* [mobile-card-heights] start */
.product_list.grid > .product_list_item { display: flex; }
.product_list.grid > .product_list_item > article { display: flex; flex-direction: column; width: 100%; }
.product_list.grid .pro_outer_box { display: flex; flex-direction: column; flex: 1 1 auto; }
.product_list.grid .pro_second_box { display: flex !important; flex-direction: column; flex: 1 1 auto; }
.product_list.grid .pro_second_box .act_box_cart { margin-top: auto; }
/* [mobile-card-heights] end */

/* [menu-catalog-click] start */
@media (min-width: 992px) {
  #st_header.stuck #st_menu_6:not(.st_click_open) > .stmenu_sub { display: none !important; }
  #st_header.stuck #st_menu_6.st_click_open > .stmenu_sub { display: block !important; overflow: visible !important; }
  #st_header.stuck #st_menu_6 > .ma_level_0 { cursor: pointer; user-select: none; }
}
/* [menu-catalog-click] end */

/* [tablet-menu-fit] start */
@media (min-width: 992px) and (max-width: 1199px) {
  #st_mega_menu_wrap .ma_level_0 { padding-left: 5px; padding-right: 5px; font-size: 1.25em; }
}
/* [tablet-menu-fit] end */

/* [mobile-quote-banner] start */
@media (max-width: 767px) {
  #st_banner_8 { display: none !important; }
  #st_banner_block_6 { position: relative; overflow: hidden; height: auto !important; min-height: 0 !important; border-radius: 3px; }
  #st_banner_block_6 picture { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
  #st_banner_block_6 picture img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; }
  #st_banner_block_6 .st_image_layered_description { position: relative; display: block; padding: 0; background: linear-gradient(90deg, rgba(243,244,246,.97) 0%, rgba(243,244,246,.92) 55%, rgba(243,244,246,.72) 100%); }
  #st_banner_block_6 .st_image_layered_description_inner { width: 100%; max-width: none; padding: 0 !important; }
  #st_banner_block_6 .st-mob-quote { padding: 10px 14px 12px; text-align: left; }
  #st_banner_block_6 .st-mob-quote__title { margin: 0 0 3px; font-size: 14px; line-height: 1.25; font-weight: 700; color: #2f3237; text-transform: none; letter-spacing: 0; }
  #st_banner_block_6 .st-mob-quote__text { margin: 0 0 8px; font-size: 13px; line-height: 1.35; color: #43474d; }
  #st_banner_block_6 .st-mob-quote__btn { display: inline-block; background: #525860; color: #fff !important; padding: 7px 16px; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: .4px; text-decoration: none; text-transform: uppercase; border-radius: 2px; }
}
@media (min-width: 768px) {
  #st_banner_10 { display: none !important; }
}
/* [mobile-quote-banner] end */

/* [block-title-underline] start */
.products_container .title_style_0,
.products_container .title_style_0 .title_block_inner { border-bottom-width: 2px !important; }
/* [block-title-underline] end */

/* [home-mobile-spacing] start */
@media (max-width: 767px) {
  #content.page-home > .block { margin-bottom: 20px; }
  #content.page-home .products_container .product_list.grid { margin-bottom: -30px; }
  #content.page-home #st_banner_block_6 { margin-bottom: 0; }
  /* blue "КАТАЛОГ ТОВАРІВ | НАШІ КОНТАКТИ" bar (#easycontent_container_16, 38px bottom margin) -> 18px above the first title */
  body#index .full_width_top_container > .easycontent_container { margin-bottom: 18px; }
}
/* [home-mobile-spacing] end */

/* [home-blog-scrolltop] start */
.block_blog { display: flex; flex-direction: column; width: 100%; }
.block_blog .pro_outer_box { flex: 1 1 auto; border: 1px solid #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.block_blog .pro_outer_box:hover { border-color: #d5d5d5; }
/* blog list / category pages only (no breadcrumb there, the first row touched the menu); home block is not inside #content > .st_posts */
body[id^="module-stblog"] #content > .st_posts { margin-top: 20px; }
.product_list.grid .block_blog .pro_outer_box:hover .pro_second_box,
.products_sldier_swiper .block_blog .pro_outer_box:hover .pro_second_box { background-color: #f2f2f2 !important; }
@media (min-width: 992px) {
  body #rightbar { background: transparent !important; bottom: 0; right: 0; }
  #rightbar .to_top_btn { background: transparent !important; border: none !important; box-shadow: none !important; }
  #rightbar .to_top_btn .icon_text { display: none; }
}
@media (max-width: 991px) {
  #rightbar > .rightbar_wrap:not(:last-child) > .icon_wrap { border-right: 1px solid #d0d0d0 !important; }
}
/* [home-blog-scrolltop] end */

/* [product-page-polish] start */
.pro_cart_right .inline_popup_wrap > a.inline_popup_tri:not(.open-fast-order-modal) { display: inline-block; color: #0066cc !important; background: #eef5fd; border: 1px solid #0066cc; border-radius: 3px; padding: 4px 10px; line-height: 1.3; text-decoration: none; }
.pro_cart_right .inline_popup_wrap > a.inline_popup_tri:not(.open-fast-order-modal):hover { background: #dcebfb; }
@media (min-width: 768px) {
  #main .bottom_more_info_block { padding-top: 8px; }
}
@media (min-width: 992px) {
  #main .product_page_container > .product_left_column,
  #main .product_page_container > .product_middle_column,
  #main .product_page_container > .product_right_column,
  #main .product_left_content { margin-bottom: 0 !important; }
}
@media (max-width: 767px) {
  #main .images-container-5 > .pro_gallery_top_container:last-child,
  #main .product_left_content { margin-bottom: 0 !important; }
  #main .product_page_container > .product_left_column { margin-bottom: 6px !important; }
  #main .product_page_container > .product_right_column { margin-bottom: 0 !important; }
  #main .product_right_column > .block:last-child { margin-bottom: 0 !important; }
  #main .bottom_more_info_block { padding-top: 10px; }
}
/* [product-page-polish] end */

/* [left-categories-frame] start */
#left_column .block-categories { height: auto !important; max-height: none !important; overflow: visible !important; background: #fff; border: 1px solid #e0e0e0 !important; margin-top: 0 !important; padding-top: 0 !important; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
#left_column .block-categories .block_content { height: auto !important; padding: 10px 12px; }
@media (min-width: 992px) {
  body#category.category-id-2 #left_column .block-categories { display: block !important; }
}
#left_column .stspecialslider_container { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,.05); padding: 12px; }
#left_column .stspecialslider_container .title_block { border-bottom: 2px solid #f4f5f6 !important; padding-bottom: 0 !important; margin-bottom: 12px !important; }
#left_column .stspecialslider_container .title_block::after { display: none !important; }
#left_column .stspecialslider_container .title_block .title_block_inner { border-bottom: 2px solid #b2b2b2 !important; margin-bottom: -2px !important; }
#left_column .stspecialslider_container .block_content { padding: 0 !important; }
#left_column .stspecialslider_container .pro_column_box:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
/* "Новини та акції" title over the MegaBox banner (theme override themes/panda/modules/stbanner/.../st_banner.tpl) - same lines as ТОП-ЦІНА */
#left_column .st_banner_title { border-bottom: 2px solid #f4f5f6 !important; padding-bottom: 0 !important; margin-bottom: 12px !important; }
#left_column .st_banner_title::after { display: none !important; }
#left_column .st_banner_title .title_block_inner { border-bottom: 2px solid #b2b2b2 !important; margin-bottom: -2px !important; }
/* DESKTOP ONLY: equal 25px gaps between the left column blocks; the last block's 25px is also the gap between the
   bottom of the columns and the full-width "Рекомендовані статті" block (it has no top margin / padding).
   MegaBox banner (#st_banner_1) gets the same frame as the category tree and ТОП-ЦІНА.
   "Чому обирають нас" (easycontent, .advantages-sidebar-block): no 16px wrapper padding / 25px inner margin,
   tighter list. */
@media (min-width: 768px) {
  #left_column .main_column_box > .block { margin-bottom: 25px !important; }
  #left_column #st_banner_1 { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,.05); padding: 12px; }
  #left_column .easycontent > .block_content { padding-top: 0 !important; padding-bottom: 0 !important; }
  #left_column .advantages-sidebar-block { margin-bottom: 0 !important; }
  #left_column .advantages-sidebar-block li { margin-bottom: 5px !important; line-height: 1.35; }
  #left_column .advantages-sidebar-block li:last-child { margin-bottom: 0 !important; }
}
/* phones / tablets: the category tree touched the header */
@media (max-width: 991px) {
  #left_column .block-categories { margin-top: 20px !important; }
}
/* [left-categories-frame] end */

/* [home-desktop-spacing] start */
/* DESKTOP ONLY. Row gap inside product grids = 25px on the card itself (.ajax_block_product) instead of the
   item's 30px padding; the grid's -25px bottom margin cancels it under the last row, so the section gap is exactly
   the block margin (30px). Articles block: no top offsets, 30px down to the footer. */
@media (min-width: 768px) {
  #content.page-home > .block { margin-bottom: 30px; }
  #content.page-home .products_container .product_list.grid > .product_list_item { padding-bottom: 0; }
  #content.page-home .products_container .product_list.grid .ajax_block_product { margin-bottom: 25px; }
  #content.page-home .products_container .product_list.grid { margin-bottom: -25px; }
  .full_width_bottom_container > .category_blogs_container:first-child { margin-top: 0; padding-top: 0; }
  .full_width_bottom_container > .category_blogs_container { margin-bottom: 30px; }
  .category_blogs_container .product_list.grid > .product_list_item { padding-bottom: 0; }
}
/* [home-desktop-spacing] end */

/* [home-tablet-grid] start */
@media (min-width: 768px) and (max-width: 991px) {
  #content.page-home .products_container .product_list.grid > .product_list_item { flex: 0 0 25% !important; max-width: 25% !important; }
}
/* [home-tablet-grid] end */
