/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Форма в 1 клик */
.zakaz-form .elementor-button{
	color:#fff;
	padding:12px 20px;
	border-radius: 35px;
}
.home .whb-header {
    margin-bottom: 20px;
}

.product-grid-item .product-image-link img,
.product-grid-item .hover-img img,
body:not(.home) .tax-product_cat .cat-design-alt img,
body:not(.home) .category-grid-item img {
    width: 100%;
    border-radius: var(--wd-brd-radius);
    height: 200px;
    object-fit: contain;
}

.whb-top-bar .wd-tools-element .wd-tools-icon:before {
	font-size:22px;
}

.searchform input[type=text] {
	height:35px;
}

.wd-header-nav.wd-header-main-nav.text-center.wd-design-1 a:hover{
	color:var(--e-global-color-accent) !important;
}
/* Бейджики */
.woocommerce-product-gallery .labels-rounded .product-label,
.labels-rounded .out-of-stock
 {
    min-width: max-content !important;
}

.labels-rounded .product-label {
    min-height: 20px;
}

/*Картинки в фильтре*/
/* .wd-swatch :is(img,picture) {
 
    object-fit: contain;
    width: 40px;
} */

/* Шапка */
.whb-row.whb-top-bar .wd-tools-element>a:hover,
.wd-nav[class*="wd-style-"]>li:is(.current-menu-item,.wd-active,.active)>a,
.wd-nav[class*="wd-style-"]>li:hover>a
{
	color:var(--wd-link-color-hover);
}
.whb-top-bar a,
.whb-row.whb-top-bar .wd-tools-element .wd-tools-text{
	font-size:13px;
}
.wd-header-nav.wd-header-main-nav .category-image img {
    max-height: 200px;
}
.wd-sub-menu li>a{
	color:#000;
}
.info-text .info-box-content {
    padding: 20px 30px;
    box-shadow: 0 10px 17px #0000000d;
    border-radius: 8px;
}
.info-text .info-box-carousel-wrapper :is(.owl-stage-outer,.owl-carousel:not(.owl-loaded)) {
    padding-bottom: 25px;
}
.info-text .info-box-wrapper .wd-info-box .info-svg-wrapper {
    display: block;
    height: 50px !important;
}
.info-text .owl-item:nth-child(2) .info-box-wrapper .wd-info-box .info-svg-wrapper {
    height: 70px !important;
}
.info-text .owl-item:nth-child(2) .box-icon-align-top .box-icon-wrapper {
    margin-bottom: -5px;
}
.info-text .info-box-content {
    padding: 5px 30px 25px 30px;
}
.labels-rounded .product-label {
    min-height: 25px;
    border-radius: 15px;
    font-size: 10px;
}
.blog-post-loop .entry-thumbnail img {
    height: 250px;
    object-fit: contain;
}
.footer-contact,
.footer-sidebar a{
	transition: all .5s ease;
}
.footer-contact,
.footer-contact a,
.footer-contact span{
	color: #000;
}
.footer-contact a:hover,
.footer-sidebar a:hover,
:is(.widget_categories,.widget_pages,.widget_archive,.widget_nav_menu) ul li.current_page_item>a,
.menu-footer .wd-nav-vertical>li>a:hover,
.menu-footer .menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item a{
	color: var(--wd-primary-color);
}
.footer-contact span{
	margin-right:5px;
}
.footer-contact .elementor-shortcode{
	display:flex;
	align-items: center;
}
.menu-footer h5.widget-title.color-scheme-{
	font-size:18px;
	font-weight: 600;
	text-transform: none;
	line-height:22px;
}
.menu-footer .widget_nav_mega_menu>.widget-title{
	background: rgba(0,0,0,0);
	padding:0px 0px 8px 0px;
}
.menu-footer .wd-nav-vertical.wd-design-default>li:not(:last-child),
.menu-footer .wd-nav-vertical.wd-design-default{
	border:none;
}
.menu-footer .wd-nav-vertical>li>a{
	padding-left:0px;
	padding-bottom:6px;
	font-weight:400;
	color: #000;
}
.menu-footer .wd-nav-vertical.wd-design-default>li:is( .wd-opened,:hover)>a{
	background:rgba(0,0,0,0);
}
.woocommerce-product-gallery .labels-rounded .product-label {
    min-height: 25px;
}
/* Скрыть в архиве блога */
.entry-meta.wd-entry-meta {
    display: none;
}

.product-labels .product-label.onsale {
    font-size: 16px;
}

/*Слайдер*/
.promocod {
font-weight:bold;
font-size:1.8rem;
}
.elementor.elementor-15570 {
    max-width: 180px;
}
.elementor-widget-image a img[src$=".svg"] {
    width: 100% !important;
}
@media screen and (max-width:1024px) {
.product-grid-item .product-image-link img,
.product-grid-item .hover-img img {
     height: 150px;
	 object-fit: contain;
    }

.product-images img {
     max-height: 300px !important;
	 object-fit: contain;
    }
	/*Слайдер*/
.promocod {
font-size:16px;
}
}

@media screen and (min-width:768px) and (max-width:1024px){
	/* Категории на главной */
.home-cat .col-12 {
    flex: 0 0 50%;
}
}

@media screen and (max-width:576px) {

.product-grid-item .product-image-link img,
.product-grid-item .hover-img img {
    height: 120px;
	object-fit: contain;
    }
.product-label {
    min-width: 90px;
}
}