/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

.main_color strong, .main_color .sidebar, .main_color .sidebar a, .filters-mobile-area a, .main_color .sort-param a, .wp-block-woocommerce-cart a, #top .main_color .price, #top #wrap_all .main_color ins, .main_color tr:nth-child(even), #top .main_color input[type='number'] {
    color: #444444 !important;
}

.main_color .sidebar a:hover, .main_color .sort-param a:hover, .wp-block-woocommerce-cart a:hover, .filters-mobile-area a:hover {
    color: #aaaaaa !important;
}

.main_color .sidebar .count, .filters-mobile-area .count {
    color: #aaaaaa !important;
    font-size: 75% !important;
    position: relative !important;
    top: -.5em !important;
}

div .product-sorting .avia-product-sorting-link:not(.avia-sorting-asc-desc) {
    opacity: unset !important;
}

body, p, h1, h2, h3, th, td {
    font-family: "Rubik", sans-serif !important;
    font-optical-sizing: auto !important;
    font-style: normal !important;
}

h1 {
    font-size: 40px !important;
    font-weight: 600 !important;
    margin-bottom: 50px !important;
}

h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
}

h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
}

body {
    font-size: 16px !important;
}

p {
    font-size: 16px !important;
}

th {
    letter-spacing: unset !important;
    text-transform: none !important;
    font-size: 16px !important;
}

.title_container .main-title {
    font-size: 16px !important;
    margin: 0 !important;
}

.av-main-nav > li > a {
    font-weight: 400 !important;
    font-size: 18px !important;
}

.av-main-nav ul {
    width: 248px !important;
    margin-top: -30px !important;
}

#top .av-main-nav ul a {
    font-size: 14px !important;
}

#top #menu-item-search {
    display: none !important;
}

.cart_dropdown {
    border: none !important;
}

.av-cart-container svg {
    width: 25px !important;
    height: 28px !important;
}

.av-cart-container svg path {
    fill: transparent !important;
    stroke: #444444 !important;
    stroke-width: 1.5 !important;
}

.av-cart-counter.av-active-counter {
    background: #f43c33 !important;
}

.iconbox_top .iconbox_content {
    border-radius: 15px !important;
}

.iconbox_top .iconbox_icon {
    background-color: #f7f7f7 !important;
    border: 3px dotted #444444;
}

.five-stars {
	height: 20px !important;
}

#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a {
    text-transform: none !important;
    color: #444444 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
}

.html_av-overlay-side #top #wrap_all .av-burger-overlay li a {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

#map .container, #product-slider .container {
    max-width: 100% !important;
    padding: 0 !important;
}

.container_wrap {
    border: none !important;
}

.title_container .breadcrumb {
    font-size: 12px !important;
}

.bbp-breadcrumb-current a:hover, 
.breadcrumb-trail span a:hover {
    color: #f43c33 !important;
}

/* Скрываем ТОЛЬКО стандартное уведомление о добавлении в корзину */
form.cart .added_to_cart,
.woocommerce-message .added_to_cart,
.woocommerce-message .wc-forward,
.single-product .added_to_cart:not(.custom-cart-notification .added_to_cart) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Header */
.av-logo-container .inner-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* Логотип */
.av-logo-container .logo {
    flex-shrink: 0 !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
}

.logo img, .logo svg {
    max-width: 200px !important;
}

/* Основное меню навигации */
.av-logo-container .main_menu {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 20px !important;
    min-width: 0 !important;
    height: 88px !important;
}

/* Контейнер для виджета и корзины */
.av-logo-container .header-custom-widgets.cart-area {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    gap: 15px !important;
    height: 88px !important;
}

.header-custom-widgets .widget {
    padding: 0 !important;
}

/* Блок поиска и телефона - inline-block */
.header-custom-widgets.cart-area .aws-container,
.header-custom-widgets.cart-area .header-phone {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin-right: 20px !important;
    height: 88px !important;
}

/* Блок поиска */
.header-custom-widgets.cart-area .aws-container {
    width: 200px !important;
    margin-bottom: 0 !important;
}

/* Блок телефона */
.header-custom-widgets.cart-area .header-phone {
    white-space: nowrap !important;
    margin-bottom: 0 !important;
}

/* Стили для телефона */
.header-phone__item a {
    text-decoration: none !important;
    color: #444444 !important; /* Черный цвет шрифта */
    font-weight: 400 !important;
    line-height: 1.3 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.header-phone__item small {
    display: block !important;
    font-weight: normal !important;
    opacity: 0.8 !important;
    font-size: 12px !important;
    margin-top: 2px !important;
    color: #444444 !important; /* Черный цвет для маленького текста */
}

/* Корзина */
#menu-item-shop {
    margin: 0 !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    height: 88px !important;
}

/* Элементы меню */

.menu.av-main-nav > li > a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

/* Advanced Woo Search */

.aws-container .aws-search-field {
    border-radius: 20px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
}

.aws-search-result {
    overflow: hidden;
    min-width: 265px !important;
    border-radius: 20px !important;
}

.aws-search-result .aws_result_sale {
    display: none !important;
}

.aws-search-result .aws_result_sku {
    font-size: 11px !important;
    color: #888 !important;
}

.aws_result_price ins {
    text-decoration: none !important;
}

.aws-container .aws-search-form {
    margin-bottom: 0px !important;
    height: 38px !important;
}

/* Slider */

#full_slider_1.avia-shadow {
    box-shadow: none !important;
}

.av-control-minimal .avia-slideshow-arrows a.avia-svg-icon {
    border: none !important;
}

/* Product Slider */

.avia-product-slider-container .avia-slideshow-arrows a {
    border-radius: 30px;
}

.avia-content-slider .slide-entry-wrap {
    padding: 0 50px !important;
}

#top .avia-content-slider .avia-slideshow-arrows a {
    margin: -30px 30px 0 !important;
}

.avia-slideshow-arrows a.avia-svg-icon {
    background: rgba(0, 0, 0, .2) !important;
}

.inner_product_header_cell {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.inner_product_header {
    border: none !important;
}

.avia-product-slider-container h2 {
    color: #444444 !important;
    font-size: 14px !important;
    text-align: center !important;
}

.price ins .woocommerce-Price-amount {
    color: #f43c33 !important; /* Красный цвет */
    font-weight: bold !important;
}

.avia-product-slider-container .onsale {
    display: none !important;
}

/* Contact-Form */

#contact-form-horizontal.avia-section, #contact-form-bottom.avia-section, #cms.avia-section, #cert.avia-section{
	border: 1px solid #f7f7f7 !important;
	border-radius: 20px !important;
}

.text_input, .text_area, .avia_ajax_form .select{
    border: 3px dotted #444444 !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    font-size: 16px !important;
    color: #444444 !important;
}

#top textarea {
    max-height: 180px !important;
}

.input_checkbox_label {
    font-size: 11px !important;
    font-weight: 400 !important;
}

.av-google-badge-message {
    display: none !important;
}


/* Custom social icons list */

.custom-social-icons-list-item {
    display: inline;
    margin-right: 3px;
}

.custom-social-icons-list-item img{
    height: 40px;
}

.social-about .custom-social-icons-list-item img{
    height: 25px !important;
}

.social-about ul, .social-about li {
    margin-left: 0 !important;
}

#top .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: none !important;
}


/* Footer */

#footer {
    padding: 45px 0 30px 0 !important;
}

#footer .widget {
    margin: 0 !important;
}

#footer .footer-logo {
    max-width: 130px !important;
}

#footer .widget_nav_menu li {
    font-size: 16px !important;
}

#footer .widget_nav_menu a {
    padding: 0 !important;
}


/* Copyright */

.copyright {
    font-size: 13px !important;
}


/* Portfolio */

.av-large-gap .av-masonry-pagination {
    border-radius: 20px !important;
}

.portfolio-item .avia-image-container-inner {
    border: 1px solid #f7f7f7;
}

.av-masonry-entry .av-masonry-entry-title {
    line-height: 1.3em;
    margin: 0;
    font-size: 15px !important;
}
    
.av-large-gap.av-fixed-size .av-masonry-entry .av-inner-masonry  {
    border: 1px solid #f7f7f7 !important;
    border-radius: 10px !important;
    box-shadow: 1px 1px 9px rgba(0, 0, 0, .12) !important;
}

.avia-button.avia-size-small {
    background-color: #444444 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 2px solid #444444 !important;
    border-radius: 6px !important;
    transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.avia-button .avia_button_icon path {
    transition: fill 0.3s ease !important;
}

.avia-button.avia-size-small:hover {
    background-color: #f7f7f7 !important;
    color: #444444 !important;
    border: 2px solid #444444 !important;   
}

.avia-button.avia-size-small:hover .avia_button_icon path {
    fill: #444444 !important;
}

.avia-buttonrow-wrap {
    margin-top: 50px;
}

/* WooCommerce styles */

/* 5 Columns Products grid */
div .columns-5 .products .product {
    width: 19.2% !important;
    margin-bottom: 50px !important;
}

.page-thumb {
    display: none !important;
}

#top #wrap_all ins:before {
    content: "\0020" !important;
}

.products .product h2, .products .product h3, .products .product h4, .products .product h5, .products .product h6, h2.woocommerce-loop-product__title {
    color: #444444 !important;
    font-size: 14px !important;
    text-transform: unset !important;
    letter-spacing: unset !important;
}

.woocommerce-loop-category__title {
    font-size: 16px !important;
    text-align: center;
}

.woocommerce-Price-amount {
    color: #444444 !important;
}

.container_wrap_meta {
    background: #3960ff !important;
    padding: 2px 0;
}

.header_color div {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.onsale {
    background: #f43c33 !important;
    color: white !important;
    padding: 0px 12px !important;
    border-radius: 0 !important;
    font-size: 12px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.products .product .onsale {
    position: absolute !important;
    top: -100px !important;
    right: unset !important;
    left: 0px !important;
    z-index: 50 !important;
}

.single-product-main-image .onsale {
    top: 100px !important;
    right: unset !important;
    left: 0px !important;
}

/* Add to Cart Buttons */
.avia_cart_buttons {
    opacity: 0 !important;
    background: #3960ff !important;
    border: 1px solid #3960ff !important;
    border-radius: 25px !important;
    width: 150px !important;
    padding: 0 10px !important;
    margin: 0 auto;
    transition: all 0.3s ease !important;
    position: absolute !important;
    bottom: -50px !important; /* Начальная позиция - снизу за пределами */
    left: 50% !important;
    transform: translateX(-50%) !important; /* Только по X */
    z-index: 100 !important;
    pointer-events: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.inner_product:hover .avia_cart_buttons {
    opacity: 1 !important;
    pointer-events: auto !important;
    bottom: 60% !important; /* Конечная позиция - по центру */
    transform: translate(-50%, 50%) !important; /* И по X и по Y */
}

.inner_product_header .avia-arrow {
    display: none !important;
}

.inner_product, .products .product-category {
    border: none !important;
}

.avia_cart_buttons a {
    background: unset !important;
    border: none !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    display: block !important;
    text-align: center !important;
    padding: 10px 0 !important;
}

.avia_cart_buttons:hover {
    background: #fff !important;
}

.avia_cart_buttons:hover a {
    color: #3960ff !important;
}

.avia_cart_buttons svg path {
    fill: white !important;
    stroke: white !important;
    transition: all 0.3s ease !important;
}

.avia_cart_buttons:hover svg path {
    fill: #3960ff !important;
    stroke: #3960ff !important;
}

.inner_product {
    position: relative !important;
    overflow: hidden !important;
}

/* Скрываем кнопку "Показать подробности" в карточках товаров */
.avia_cart_buttons .show_details_button {
    display: none !important;
}

/* Скрываем разделитель */
.avia_cart_buttons .button-mini-delimiter {
    display: none !important;
}

.single_add_to_cart_button, #top .price_slider_amount .button, .main_color .wc-block-components-button, .r1-wh-buy {
    background: #3960ff !important;
    border: 1px solid #3960ff !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.single_add_to_cart_button:hover, #top .price_slider_amount .button:hover, .main_color .wc-block-components-button:hover, .r1-wh-buy:hover  {
    background: #fff !important;
    border-color: #3960ff !important;
    color: #3960ff !important;
}

#top .price_slider_amount .button {
    float: right !important;
}

.r1wh-row {
    display: grid !important;
    grid-template-columns: 35% 15% 15% 35% !important;
    align-items: center !important;
    gap: 10px !important;
}

.r1wh-box, .r1wh-table, .r1wh-row, .r1wh-row > div {
    font-size: 14px !important;
}

.r1wh-qty {
    display: inline-block !important;
    width: 50px !important;
    margin: 0 10px 0 !important;
    vertical-align: middle !important;
    align-self: auto !important;
}

.r1-wh-buy {
    padding: 12px 18px !important;
    font-size: 14px !important;
}

/* AJAX Add to Cart Message - по центру экрана */
.added_to_cart_notification {
    background: #f8f9fa !important;
    color: #212529 !important;
    border: 1px solid #dee2e6 !important;
    padding: 20px 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    font-size: 16px !important;
    font-weight: normal !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    min-width: 300px !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

.added_to_cart_notification .added-product-text {
    color: #212529 !important;
    font-size: 16px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.added_to_cart_notification strong {
    color: #495057 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.added_to_cart_notification .avia-arrow {
    display: none !important;
}

/* Иконка успеха */
.added_to_cart_notification .added-product-text:before {
    content: "✓";
    background: #28a745;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
/* Add to Cart Message */

.added-product-text {
    color: #444444 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.woocommerce-message {
    background: #f8f9fa !important; /* Светло-серый фон */
    border: none !important; /* Убираем рамку */
    border-left: 4px solid #3960ff !important; /* Синяя полоска слева */
    color: #333 !important;
    padding: 15px 250px 15px 20px !important;
    border-radius: 0 !important;
    margin-bottom: 20px !important;
}

.woocommerce-message .button.wc-forward {
    max-width: 200px !important;
    background: #3960ff !important;
    border: 1px solid #3960ff !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.woocommerce-message .button.wc-forward:hover {
    background: #fff !important;
    border-color: #3960ff !important;
    color: #3960ff !important;
}

/* Убираем фон у контента вкладок */
.woocommerce-Tabs-panel {
    background: none !important;
    background-color: transparent !important;
}

#top .avia_cart_buttons .button {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 2px !important;
}

#top .dropdown_widget .buttons .button, div .dropdown_widget .cart_list li a, dl.variation dt, .cart_dropdown .dropdown_widget .widget_shopping_cart_content .variation p {
    color: #444444 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.woocommerce-mini-cart__total {
    font-size: 14px !important;     
}

/* Скроем фильтры на десктопе */
.filters-toggle-section {
    display: none !important;
}

/* Checkout Page */
#top .main_color input[type='text'] {
    color: #444444 !important;
    font-weight: 400 !important;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
    font-weight: 400 !important;
}

.template-shop .product_meta {
    color: #444444 !important;
    font-size: 14px !important;
}

#top .woocommerce-tabs .tabs li a {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.product_meta {
    display: block;
}

.product_meta > span {
    display: block;
    margin-bottom: 8px;
}

.product_meta > span:last-child {
    margin-bottom: 0;
}


@media (max-width: 767px){
    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 22px !important;
    }
    .responsive .av-burger-menu-main {
        display: none !important;
    }
    .responsive .logo img, .responsive .logo svg {
        height: 40px !important;
        margin-top: 0 !important;
    }
    #top .menu-item-search-dropdown > a.avia-svg-icon {
        padding-top: 4px !important;
    }
    .input_checkbox_label {
        font-size: 10px !important;
    }
    
    #map .container, #product-slider .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 2 Columns Product grid */
    div .products .product, div .columns-5 .products .product {
        width: 49% !important;
        padding: 5px !important;
        margin-bottom: 10px !important;
    }
    
    #header_main {
        height: 220px !important;
    }

    .responsive #top .logo {
        position: relative !important;
    }

    /* логотип по центру */
    .av-logo-container .logo {
        display: block !important;
        float: none !important;
        text-align: center !important;
        margin: 0 auto 12px !important;
    }
    .av-logo-container .logo a, .av-logo-container .logo img{
        display: inline-block !important;
        margin: 0 auto !important;
    }
    
    /* сдвигаем блок меню под логотип */
    .responsive #top #wrap_all .main_menu {
        margin-top: 42px !important;
    }

    /* бургер закрепляем в левом верхнем углу */      
    #mega-menu-wrap-avia {
        position: absolute !important;
        top: -40px !important;
        left: -20px !important;
    }

    /* контейнер больше не флекс */
    .av-logo-container .inner-container {
        display: block !important;
    }

    /* три ключевых блока: меню, виджеты, корзина */
    .av-logo-container .main_menu,
    .header-custom-widgets.cart-area,
    #menu-item-shop {
        float: none !important;
        clear: both !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        height: auto !important;
    }

    /* внутри виджетов: поиск и телефон — в одну колонку и по центру */
    .header-custom-widgets.cart-area > *{
        float: none !important;
        display: inline-block !important;
        vertical-align: middle !important;
        margin: 0 !important;
    }
  
    .av-logo-container .header-custom-widgets.cart-area {
        height: auto !important;
    }

    .header-custom-widgets .widget {
        width: 100% !important;
        padding: 0 !important;
    }

    .header-custom-widgets.cart-area .aws-container,
    .header-custom-widgets.cart-area .header-phone {
        height: 56px !important;
    }

    .responsive #top #header_main #menu-item-shop .cart_dropdown_link {
        line-height: 56px !important;
    }

    /* поиск не на всю ширину */
    .header-custom-widgets.cart-area .aws-container {
        max-width: 320px !important;
        width: 100% !important;
    }
    .header-custom-widgets.cart-area .aws-search-field {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* корзина: вернуть видимость и сделать кликабельной по центру */
    #menu-item-shop,
    #menu-item-shop a {
        visibility: visible !important;
        opacity: 1 !important;
    }
    #menu-item-shop .cart_dropdown_link,
    #menu-item-shop .av-cart-container {
        display: inline-block !important;
        float: none !important;
        vertical-align: middle !important;
    }
    .woocommerce-message {
        padding: 10px 120px 10px 10px !important;
    }
    .woocommerce-message .button.wc-forward {
        padding: 8px 10px !important;
        font-size: 14px !important;
    }
    
    .content {
        padding-top: 20px !important;
    }
    
    div .products .product {
        margin-bottom: 0 !important;
    }
    
    /* Product Slider */

    .avia-content-slider .slide-entry-wrap {
        padding: 0 20px !important;
    }

    #top .avia-content-slider .avia-slideshow-arrows a {
        margin: -30px 10px 0 !important;
    }
    
    /* Покажем фильтры на мобильном */
    .filters-toggle-section {
        display: block !important;
    }
    
    #top .price_slider_amount .button, div .widget_price_filter .price_slider_wrapper .price_label
    {
        float: left !important;
    }
    
    div .product-sorting {
        padding-bottom: 4px !important;
    }

    .woocommerce-page .button {
        min-width: 80px !important;
    }

    .r1wh-row {
        grid-template-columns: 35% 15% 15% 35% !important;
    }

    .r1wh-box, .r1wh-table, .r1wh-row, .r1wh-row > div {
        font-size: 12px !important;
    }

    .r1wh-qty {
        width: 33px !important;
        margin: 0 !important;
    }

    .r1-wh-buy {
        padding: 10px !important;
        font-size: 12px !important;
    }
    
    .r1wh-instock-text {
        display: none;
    }
    
    .r1wh-stock-cell {
        text-align: center;
    }
    
    .product_on_sale .inner_product_header
    {
        padding-right: 0 !important;
    }
    div .product-sorting li, div .product-sorting ul {
        width: 100% !important;
        text-align: center !important;
    }
    .sort-param>li>a, .sort-param>li>span {
        border-radius: 6px !important;
    }
    .product-hover-img {
        display: none !important;
    }
    
    .product-image-hover-container {
        display: block;
    }
    .avia_cart_buttons {
        display: none !important;
    }
}

/* Стили для секции фильтров */
.filters-toggle-section {
    width: 100%;
    margin: 20px 0;
    padding: 0;
}

/* Кнопка показать/скрыть фильтры */
.show-filters-btn {
    background: #f8f8f8 !important;
    color: #444444 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    border: 1px solid #f2f2f2 !important;
    outline: none !important;
}

/* Убираем синий outline при фокусе */
.show-filters-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Убираем стандартные стили активного состояния */
.show-filters-btn:active {
    background: #f8f8f8 !important;
    transform: translateY(0);
}

.show-filters-btn:hover {
    background: #f8f8f8 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #444444 !important;
}

.show-filters-btn.active {
    background: #f8f8f8 !important;
    color: #444444 !important;
    border-color: #cccccc !important;
}

.show-filters-btn.active:hover {
    background: #f0f0f0 !important;
    color: #444444 !important;
}

.filter-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.show-filters-btn:hover .filter-icon {
    transform: scale(1.1);
}

/* Область фильтров */
.filters-mobile-area.category-filters {
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

.filters-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    align-items: start;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Состояния скрыто/показано */
.filters-hidden {
    display: none !important;
}

.filters-visible {
    display: block !important;
}

/* Анимация появления */
.filters-mobile-area.category-filters {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out;
}

.filters-mobile-area.category-filters.filters-visible {
    opacity: 1;
    height: auto;
    overflow: visible;
}

/* Стили для элементов внутри фильтров */
.filters-container .widget {
    margin-bottom: 0;
    padding: 0;
}

.filters-container select,
.filters-container input[type="text"],
.filters-container input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filters-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 13px;
}

.main_color .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #d3d3d3;
}

.main_color .widget_price_filter .ui-slider-horizontal .ui-slider-range, #top .widget_price_filter .price_slider_wrapper .price_slider .ui-slider-handle {
    background-color: #3960ff !important;
}

.main_color .widget_price_filter .price_slider_wrapper .ui-widget-content {
    margin-bottom: 20px !important;
}

div .widget_price_filter .price_slider_wrapper .price_label {
    margin-top: 10px !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .filters-toggle-section {
        margin: 15px 0;
    }
    
    .show-filters-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }
    
    .filters-container .widget {
        padding: 10px 0;
    }
}

/* Дополнительные стили для лучшего внешнего вида */
.filters-toggle-section + .products {
    margin-top: 20px;
}

/* Стили для смены изображения при наведении */
.product-image-hover-container {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-main-img,
.product-hover-img {
    width: 100%;
    height: auto;
    transition: all 1.0s ease;
    display: block;
}

.product-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.1);
}

.product-image-hover-container:hover .product-main-img {
    opacity: 0;
}

.product-image-hover-container:hover .product-hover-img {
    opacity: 1;
    transform: scale(1);
}

/* Плавное увеличение всего контейнера при наведении */
.product-image-hover-container {
    transition: transform 0.3s ease;
}

.product-image-hover-container:hover {
    transform: scale(1.02);
}