@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//avtolider22.ru/wp-content/themes/avtolider/fonts/woodmart-font-3-400.woff2?v=1.0.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//avtolider22.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 300;
	--wd-text-color: rgb(48,48,48);
	--wd-text-font-size: 16px;
	--wd-title-font: "Tenor Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-transform: none;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 400;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 17px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(238,0,1);
	--wd-alternative-color: rgb(1,32,124);
	--wd-link-color: rgb(238,0,1);
	--wd-link-color-hover: rgb(204,0,0);
	--btn-default-bgcolor: rgb(36,36,36);
	--btn-default-bgcolor-hover: rgb(51,51,51);
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(238,0,1);
	--btn-accented-bgcolor-hover: rgb(201,0,0);
	--btn-font-weight: 500;
	--btn-transform: none;
	--btn-font-size: 14px;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(245,247,248);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(36,36,36);
	background-image: none;
}
html .page-title > .container > .title, html .page-title > .container > .wd-title-wrapp > .title {
	font-size: 28px;
	text-transform: none;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-size: 13px;
	text-transform: none;
}
html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title {
	text-transform: none;
}
html table th {
	text-transform: none;
}
html .wd-checkout-steps li {
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(233,30,99);
}
.product-labels .product-label.new {
	background-color: rgb(0,119,255);
}
.product-labels .product-label.featured {
	background-color: rgb(62,201,122);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title > .container > .wd-title-wrapp > .title {
		font-size: 24px;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title > .container > .wd-title-wrapp > .title {
		font-size: 22px;
	}

}
:root{
--wd-container-w: 1660px;
--wd-form-brd-radius: 35px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1677px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1660px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* Отключаем кликабельность для ссылок на изображения и заголовки товаров в указанных категориях */
.term-tenty .product-image-link,
.term-dugi-i-karkasy .product-image-link,
.term-borta .product-image-link,
.term-dopolnitelnoe-oborudovanie .product-image-link,
.term-tenty .wd-entities-title a,
.term-dugi-i-karkasy .wd-entities-title a,
.term-borta .wd-entities-title a,
.term-dopolnitelnoe-oborudovanie .wd-entities-title a {
    pointer-events: none !important;
    cursor: default !important;
}

/* Убираем стандартные эффекты при наведении на изображение */
.term-tenty .product-image-link:hover,
.term-dugi-i-karkasy .product-image-link:hover,
.term-borta .product-image-link:hover,
.term-dopolnitelnoe-oborudovanie .product-image-link:hover {
    opacity: 1 !important;
}


/* Скрываем все текстовые метки цветов */
.product-labels .label-attribute-pa_color {
    display: none !important;
}

body .online-max {margin-bottom: 10px!important;}

body .cookies-buttons .cookies-accept-btn {border-radius:10px;background-color:rgb(247 0 0);}
body .cookies-buttons .cookies-accept-btn:hover {background-color:#b90001;}

footer p {margin-bottom:0}
body .summary .cart{display:none}
.dop {margin-bottom: -15px !important;
    border-bottom: 1px solid #dddddd;
    background-color: #ededed;
    padding: 10px;
    border-radius: 10px;}

body .wd-header-cats.wd-style-1 .menu-opener {border-radius: var(--wd-brd-radius);height: 60px;}
body .wd-header-cats.wd-style-1:hover .menu-opener {border-bottom-left-radius: 0;border-bottom-right-radius: 0;}
body .wd-dropdown-cats {min-width: 410px;}
body .wd-dropdown-cats,body .wd-dropdown-cats .wd-nav-vertical {border-top-right-radius:var(--wd-brd-radius);}
body :is(.wd-custom-icon,picture.wd-custom-icon img) { max-width: 30px;}

body .wd-back-btn.wd-style-icon {display: none}


/* Стиль для категорий с градиентной заливкой поверх изображения */
.category-grid-item .wrapp-category {
    position: relative;
    overflow: hidden;
}

/* Градиентная маска поверх картинки */
.category-grid-item .category-image-wrapp {
    position: relative;
}

.category-grid-item .category-image-wrapp::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 30%,    /* Прозрачно до 30% высоты */
        rgba(0, 0, 0, 0.3) 50%,  /* Начинаем затемнение */
        rgba(0, 0, 0, 0.8) 100%  /* Почти черный внизу */
    );
    pointer-events: none;
    z-index: 1;
}

/* Контейнер с заголовком должен быть поверх градиента */
.category-grid-item .hover-mask {
    position: relative;
    z-index: 2;
}

/* Заголовок категории - белым цветом */
.category-grid-item .wd-entities-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Тень для лучшей читаемости */
}

/* Для лучшей читаемости можно добавить затемнение на всю картинку (более мягкий вариант) */
.category-grid-item .category-image-wrapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
    z-index: 1;
}
/* Анимация градиента при наведении */
.category-grid-item .category-image-wrapp::after {
    transition: opacity 0.3s ease;
}

.category-grid-item:hover .category-image-wrapp::after {
    opacity: 0.9; /* Усиливаем затемнение при наведении */
}

.category-grid-item .wd-entities-title {
    transition: transform 0.3s ease;
}

.category-grid-item:hover .wd-entities-title {
    transform: translateY(-5px); /* Поднимаем заголовок при наведении */
}

body .wd-product p{font-size: 11px;margin: 0;}

body .wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .wd-add-btn>a{background: none;
    font-size: 15px;
    color: red;
    padding: 15px 40px;
    border: 2px solid red;}
body .wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .wd-add-btn>a:hover {border: 2px solid #cf0000}

/* Принудительно делаем текстовый редактор блочным */
.elementor-widget-text-editor {
    display: block !important;
}

/* Все параграфы внутри - блочные */
.elementor-widget-text-editor p {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1em; /* Возвращаем отступ между абзацами */
}




/* Базовый контейнер с белым фоном */
.widget_product_categories {
    background: #ffffff;
    padding: 5px 0 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Заголовок */
.widget_product_categories .widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #CC0000;
    padding: 5px 20px 12px 20px;
    margin-bottom: 5px;
    border-bottom: 2px solid #CC0000;
    letter-spacing: 0.5px;
}

/* Список категорий */
.widget_product_categories .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Элемент категории */
.widget_product_categories .product-categories > li {
    margin: 0;
    padding: 0;
}

/* Ссылка категории - с отступом слева для линии */
.widget_product_categories .product-categories > li > a {
    display: block;
    padding: 10px 20px 10px 23px; /* Отступ слева 23px для линии */
    color: #333333;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

/* Линия слева - сдвигаем влево на 3px */
.widget_product_categories .product-categories > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #CC0000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* При наведении - текст смещается, но линия не двигается */
.widget_product_categories .product-categories > li > a:hover {
    color: #CC0000;
    padding-left: 26px; /* Увеличиваем отступ слева при наведении */
}

.widget_product_categories .product-categories > li > a:hover::before {
    opacity: 1;
}

/* Активная категория - фиксированный отступ слева */
.widget_product_categories .product-categories > li.current-cat > a {
    color: #CC0000;
    font-weight: 500;
    padding-left: 23px; /* Такой же отступ, как у обычного состояния */
}

.widget_product_categories .product-categories > li.current-cat > a::before {
    opacity: 1;
}

/* Дочерние категории */
.widget_product_categories .children {
    list-style: none;
    padding: 0;
    margin: 0 0 0 20px;
    background: transparent;
}

.widget_product_categories .children li a {
    display: block;
    padding: 8px 20px 8px 22px; /* Отступ для дочерних элементов */
    color: #666666;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
    position: relative;
}

.widget_product_categories .children li a::before {
    content: '—';
    
    margin-right: 8px;
}

.widget_product_categories .children li a:hover {

    padding-left: 25px;
}

/* Активная дочерняя категория - фиксированный отступ */
.widget_product_categories .children li.current-cat > a {

    font-weight: 500;
    padding-left: 22px; /* Такой же отступ, как у обычного состояния */
}

/* Счетчик товаров */
.widget_product_categories .count {
    float: right;
    color: #999999;
    font-size: 12px;
    font-weight: 400;
}

.widget_product_categories .product-categories > li > a:hover .count {
    color: #CC0000;
}

/* Кнопка раскрытия (если есть) */
.wd-cats-toggle {
    float: right;
    color: #999999;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-right: 5px;
}

.wd-cats-toggle:hover {
    color: #CC0000;
    transform: rotate(90deg);
}


.shop-link-combo {
    position: relative;
    color: #CC0000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.shop-link-combo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #CC0000, #CC0000);
    transition: width 0.4s ease;
}

.shop-link-combo:hover {
    color: #CC0000;
}

.shop-link-combo:hover::after {
    width: 100%;
}

.wd-breadcrumbs {font-size: 11px;}
body .woocommerce-ordering,body .woocommerce-ordering.wd-ordering-mb-icon {display:none}


@media (max-width: 576px) {
	body .category-grid-item .wd-entities-title {color: #2b2b2b!important;text-shadow:none}

body .wd-product p{font-size: 10px;margin: 0;}

body .wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .wd-add-btn>a{padding: 10px 30px;}

body .wd-add-btn {display:none}
}

