/*
Theme Name:   Blonwe Child
 Theme URI:    http://klbtheme.com/blonwe/
 Description:  Blonwe Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     blonwe
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  blonwe-child
*/

.products .thumbnail-wrapper {
    position: relative;
    height: 230px;
    display: flex;
    align-items: center;
}
.product-alert-message.background-orange-light{display:none}
.site-header .header-inner > .col > * + *{margin-left:auto !important}
.pt-md-100{padding-top:0px !important;padding-bottom:0px !important} 
body.elementor-page-4135 .elementor-section.elementor-section-boxed>.elementor-container{/*max-height:600px;*/}
.products .product-title{display:block;text-align:center;height:100%;min-height:70px;}
.product-category > a img{width: 60px;height: 60px;line-height: 60px;text-align: center;margin: 0px 15px 0 0;}
.product-category > a {
    
    transition: all ease 0.2s;
    display: flex;
    align-items: center;}
.products li.product-category{border: 1px solid;border-color: var(--color-gray200);}
.product-category > a h2{font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    width: calc(100% - 75px);}
	.product-category > a:hover{text-decoration:none !important;}
.column.product-header{    display: inline-flex;
    justify-content: flex-start;}
.card-item img{width: 50px;
    border-radius: 5px;-webkit-filter: grayscale(100%);}
.wc-block-components-text-input.wc-block-components-address-form__city.is-active, .wc-block-components-text-input.wc-block-components-address-form__postcode, .wc-block-components-address-form__country.wc-block-components-country-input, section.woocommerce-order-details + section.woocommerce-customer-details {
    /*display: none !important;*/
}
.woocommerce-shipping-fields, #billing_postcode_field, .woocommerce-notices-wrapper{display:none !important;}
	img.menu-image.menu-image-title-after{max-width:48px;height:auto;}
/* Основные стили для сетки брендов */
/*.brand-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
	margin-top:80px;
}*/
/*
.brand-item {
    flex: 1 1 calc(33.333% - 20px); 
    box-sizing: border-box;
    text-align: center;
    padding: 53px 25px;
    margin: 0px;
    box-shadow: none;
    border: 1px solid #f5f5f5;
}


.brand-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }*/
	.brand-grid{
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 80px;
    flex-direction: column;
}
    .brand-item {
         display: flex;
    flex-wrap: wrap;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
    padding: 53px 25px;
    margin: 0px;
    box-shadow: none;
    border: 1px solid #f5f5f5;
    gap: 20px;
    align-content: center;
    justify-content: center;

    }
	.brand-item:hover{
    box-shadow: 0px 0px 27px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
}
    .brand-image {
        flex: 1 1 150px; /* Adjust size as needed */
        margin-right: 20px;
    }
    .brand-image img {
        height: 80px;
		display: block;
		margin: 0 auto;
    }
    .brand-content {
        flex: 2 1 60%;
    }
    .brand-description {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }
	.brand-item h3{
	color:#555;
	font-size:15px;
	margin-top:20px;
	}
    .view-products-button {
       cursor: pointer;
    color: #FFF !important;
    background-color: var(--theme-primary-color) !important;
	border-radius: var(--theme-radius-form);
    -webkit-transition: color 0.15s;
	    padding: 10px 15px;
    }
    .view-products-button:hover {
            background-color: rgba(var(--theme-primary-color-RGB), 0.9) !important;
    }
.acf-repeater-wrapper{position:relative;display:flex;gap:15px;}

#banner_home .elementor-container.elementor-column-gap-extended{padding-left: 0px;padding-right: 0px;}
img#acf_banner{border-radius:15px;width:33,33333%;height:auto}
.acf-banner-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #62a403;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}
/* Основной стиль слайдера */
.acf-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Стиль для каждого слайда */
.acf-slider-item {
    position: relative;
    width: 100%;
    transition: transform 0.5s ease;
}

/* Стиль для изображения с фиксированной высотой */
.acf-slider-item img.slider-image {
    width: 100%;
    height: 450px !important; /* Фиксированная высота */
    object-fit: cover; /* Подгон изображения под блок */
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Контейнер для точек навигации */
.slick-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Точки навигации */
.slick-dots li {
    margin: 0 5px;
}

.slick-dots li button {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    outline: none;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background: #fff;
}
.slick-dots li button:before{font-size:0px;}
button:not(.unset):not(.link){}
/* Стрелки навигации */
.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10; /* Убедимся, что стрелки всегда поверх контента */
}

.slick-prev {
    left: 10px;
}
/* Иконки стрелочек Font Awesome */
.slick-prev:before {
    content: '\f053'; /* Код для стрелки влево (fa-angle-left) */
    font-family: 'Font Awesome 5 Free'; /* Шрифт Font Awesome */
    font-weight: 900; /* Толщина шрифта для иконок Font Awesome */
}

.slick-next:before {
    content: '\f054'; /* Код для стрелки вправо (fa-angle-right) */
    font-family: 'Font Awesome 5 Free'; /* Шрифт Font Awesome */
    font-weight: 900; /* Толщина шрифта для иконок Font Awesome */
}

.slick-next {
    right: 10px;
}

/* Показываем стрелки при наведении */
.acf-slider-wrapper:hover .slick-prev,
.acf-slider-wrapper:hover .slick-next {
    opacity: 1;
}
/* Стили для навигационных точек */
.slick-dots li button {
    display: none; /* Убираем текстовые кнопки */
}

.slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    display: inline-block;
}

.slick-dots li button:before {
    content: ''; /* Убираем контент перед кнопкой */
}

.slick-dots li.slick-active button:before {
    content: ''; /* Убираем контент перед активной точкой */
}

/* Делаем точки круглыми */
.slick-dots li {
    background-color: #ccc;
    border-radius: 50%;
}

.slick-dots li.slick-active {
    background-color: #000; /* Цвет активной точки */
}
.slider-text {
    position: absolute;
    top: 50%; /* Вертикальное выравнивание по центру */
    right: 25%; /* Отступ от правого края */
    transform: translateY(-50%); /* Коррекция вертикального позиционирования для центрирования */
    color: #47530f; /* Белый текст для контраста */
    /*background: rgba(0, 0, 0, 0.6); /* Полупрозрачный черный фон */
    padding: 10px 15px; /* Внутренние отступы для текста */
    border-radius: 5px; /* Округление углов */
    z-index: 5; /* Обеспечивает, что текст будет поверх изображения */
    max-width: 50%; /* Максимальная ширина текста, чтобы он не занимал слишком много места */
    box-sizing: border-box;
	font-size:1.8rem;
}
#wpcf7-f4869-o1 .wpcf7-form, #wpcf7-f4869-o2 .wpcf7-form {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#wpcf7-f4869-o1 .wpcf7-form p, #wpcf7-f4869-o2 .wpcf7-form p {
    margin: 0;
    display: flex;
    align-items: center;
}

#wpcf7-f4869-o1 .wpcf7-form input[type="email"], #wpcf7-f4869-o2 .wpcf7-form input[type="email"] {
    margin-right: 10px; /* Отступ между полем email и кнопкой */
    padding: 10px; /* Подогнать под общий стиль */
    box-sizing: border-box;
	border-radius: 10px 0 0 10px;
	color: #9d9d9d;
}

#wpcf7-f4869-o1 .wpcf7-form input[type="submit"], #wpcf7-f4869-o2 .wpcf7-form input[type="submit"] {
    width: auto;
    padding: 0px 20px;
    box-sizing: border-box;
    cursor: pointer;
	border-radius: 0px 10px 10px 0;
	        line-height: 3rem;
        height: 3rem !important;
}	
/* Мобильная адаптация */
@media (max-width: 768px) {
    .acf-slider-item img.slider-image {
        height: 300px; /* Меньшая высота для мобильных устройств */
    }

    .acf-slider-item .slider-text {
        font-size: 16px;
        padding: 8px 16px;
        bottom: 10px;
        width: 90%;
    }

    .slick-prev, .slick-next {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }
	.acf-repeater-wrapper {
        display: flex;
        flex-direction: column; /* Меняем направление на колонку */
        align-items: center;    /* Выравниваем элементы по центру */
		margin-top:30px;
    }

    .acf-repeater-item {
        width: 100%; /* Ширина на всю доступную область */
        margin-bottom: 20px; /* Добавляем отступ между баннерами */
        display: block;
    }

    .acf-repeater-item img {
        width: 100%; /* Изображения занимают всю ширину */
        height: auto;
    }

    .acf-banner-button {
        width: auto; /* Кнопка сохраняет свою ширину, но центрируется */
        font-size: 14px; /* Уменьшаем размер текста для мобильных устройств */
        padding: 8px 16px; /* Уменьшаем отступы */
    }
	.brand-item {
        flex: 1 1 100%; /* На мобильных устройствах по одному элементу в строке */
    }
}

/* Дополнительный стиль для более узких экранов */
@media (max-width: 480px) {
    .before-shop-loop{margin-bottom: 2.9375rem;}
    .acf-slider-item img.slider-image {
        height: 250px; /* Ещё меньшая высота для узких экранов */
    }

    .acf-slider-item .slider-text {
        font-size: 14px;
        padding: 6px 12px;
        width: 95%;
		text-align:center;
    }

    .slick-prev, .slick-next {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 16px;
    }
	.acf-slider-item img.slider-image{height:200px !important;width:auto;box-shadow: 0 4px 10px rgb(0 0 0 / 0%);}
	.acf-slider-wrapper{margin-top:30px;}
	.elementor-4135 .elementor-element.elementor-element-a42adc4 > .elementor-widget-container{margin:15px 15px 0px 15px !important;border-radius:10px}
	.site-header.header-type2 .header-mobile-main{margin:10px 0 10px 0;padding:15px 0 15px 0;background-color:#fff !important;}
	ul.products.subcategories{flex-direction: column !important;}
	.products .thumbnail-wrapper {height:300px;}
}