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

.home-about__img img {
	border-radius: 25px;
	    max-width: 345px;
}

.advantage .wp-block-wd-container  {
	width: calc( 100% - 35px );
}

.advantage .wp-block-wd-icon {
	width: 35px;
}
.advantage .wp-block-wd-paragraph {
	max-width: 156px;
		width: 55%;
}

.advantage .wp-block-wd-title {
	max-width: 90px;
	width: 45%;
}

.home-category.wp-block-wd-cover {
	background-color: #616526;
    border-radius: 25px;
	overflow: hidden;
	padding: 40px;
}

.home-category.wp-block-wd-cover .wd-block-cover-img {
    background-size: 100%;
    background-position: center;
    background-size: cover;
    width: 50%;
    border-radius: 25px 0 0 25px;
    right: 0;
    left: unset;
}

.home-category.wp-block-wd-cover .wp-block-wd-container {
	max-width: 50%;
	color: #fff;
}

.home-category.wp-block-wd-cover .wp-block-wd-title {
	color: #fff;
}

.home-category.wp-block-wd-cover .wp-block-wd-button {
	color: #fff;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 10px;
}


.home-category.wp-block-wd-cover .wp-block-wd-button:hover {
	color: #616526;
    background: #fff;
    border: 1px solid #fff;
}






/* ----- HEADER ----- */

html body .page-title .entry-title.title, html body .page .page-title > .container > .title, html body .page .page-title .wd-title-wrapp > .title {
	font-size: 25px;
    font-weight: 500;
}

.page-title .wd-breadcrumbs, .page-title .wd-breadcrumbs a, .page-title .wd-breadcrumbs .wd-last, .page-title .wd-breadcrumbs .wd-delimiter {
	color: #b3b6b8;
	font-size: 15px;
	font-weight: 400;
}

.page-title .wd-breadcrumbs a:hover {
	color: #1d0e00;
	text-decoration: underline;
}

.page-title  .wd-breadcrumbs .wd-delimiter {
    margin-inline: 12px;
}

header .wd-header-main-nav.wd-header-nav {
    width: 100%;
}

header .wd-header-main-nav ul.menu {
	justify-content: space-between;
    width: 100%;
}

header .wd-header-main-nav ul.menu li a span, header .wd-header-main-nav ul.menu li ul.wd-sub-menu a {
	font-size: 14px;
    color: #1d0e00;
	text-transform: none;
}

header .wd-header-main-nav ul.menu li:hover>a span {
	transition: all 0.3s ease;
}

header .wd-header-main-nav ul.menu li:hover>a .nav-link-text, header .wd-header-main-nav ul.menu li:hover>a span, header .wd-header-main-nav ul.menu li.current-menu-item>a span, header .wd-header-main-nav ul.menu li ul.wd-sub-menu li:hover a, header .wd-header-main-nav ul.menu li ul.wd-sub-menu li.current-menu-item a {
	text-decoration: underline;
	color: #60661f;
}

header .wd-nav>li:is(.wd-has-children,.menu-item-has-children)>a:after {
    font-size: clamp(11px, 50%, 18px);
    font-weight: 600;
    color: #1d0e00;
}

header .wd-header-main-nav ul.menu li.menu-item-2366 ul.wd-sub-menu {
	column-count: 2;
}

header .wd-header-main-nav ul.menu li.menu-item-2366 .wd-dropdown-menu {
    --wd-dropdown-width: 380px;
}

header .trp-shortcode-switcher {
    padding: 0px 0;
}

header  .trp-language-item {
    padding: 7px 9px;
}

header .wd-header-mobile-nav .wd-tools-element .wd-tools-text {
    font-weight: 500;
}

header .wd-header-mobile-nav.wd-tools-element .wd-tools-inner {
    padding: 0 15px;
    border-radius: 10px;
}

.wd-tools-element.wd-header-mobile-nav .wd-tools-text {
    font-weight: 500;
    text-transform: none;
}

.mobile-nav.wd-side-hidden-nav .contact-text, .mobile-nav.wd-side-hidden-nav .contact-text a {
	text-align: right;
    font-size: 13px;
    line-height: 1.7;
	color: #1d0e00;
}

.mobile-nav.wd-side-hidden-nav .elementarno-social-links {
	justify-content: flex-end;
}

.mobile-nav.wd-side-hidden-nav .trp-shortcode-overlay {
    left: unset;
    right: 0;
	    padding: 0;
}

.mobile-nav.wd-side-hidden-nav .wd-nav>li>a {
font-weight: 600;
    text-transform: none;
    font-size: 16px;
	border: none;
}

.mobile-nav.wd-side-hidden-nav .wd-nav-opener {
    border: none;
}

.mobile-nav.wd-side-hidden-nav .wd-nav-opener:after {
    font-weight: 600;
}

.mobile-nav.wd-side-hidden-nav .wd-heading, .wd-side-hidden .wd-heading {
    border-bottom: none;
}





header .header-left {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 15px;
}

header .header-left__telegram-img, header .header-left__instagram-img {
	width: 26px;
}

header .header-left__telegram {
	
}

header .header-left__instagram a {
	display: flex;
	gap: 15px;
}

header .header-left__instagram a span {
    max-width: 115px;
    color: #b3b6b8;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
}

header .header-left__instagram a:hover, header .header-left__instagram a:hover span {
    color: #1d0e00;
	text-decoration: none;
}

header .header-right {
	display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

header .header-right__phone {
	display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

header  .header-right__phone-link {
	font-size: 18px;
	font-weight: 700;
}

header  .header-right__phone-link:hover {
	text-decoration: none;
}

header .header-right .header-right__phone-img {
	width: 26px;
}

header .header-right__schedule {
	font-size: 13px;
	font-weight: 700;
	color: #1d0e00;
	text-decoration: none;
	max-width: 110px;
	    line-height: 1.3;
	text-align: right;
}

header .wd-dropdown-menu {
    background-image: #fff;
    border: 1px solid #b3b6b8;
    border-radius: 10px;
    box-shadow: none;
}











/* ----- CONTENT ----- */

#main-content .wd-accordion.wd-style-default>.wd-accordion-item:first-of-type, #main-content  .wd-accordion.wd-style-default>.wd-nav-wrapper+.wd-accordion-item {
    border-top: 1px solid rgb(179, 182, 184);
}

#main-content  .wd-accordion.wd-style-default>.wd-accordion-item {
    border-bottom: 1px solid rgb(179, 182, 184);
}

#main-content .wd-accordion-title>.wd-accordion-title-text {
    color: #1d0e00;
	font-size: 20px;
	font-weight: 500;
}

#main-content .wd-accordion-title:is(.wd-active,:hover)>.wd-accordion-title-text {
    color: #1d0e00;
}

#main-content .wd-accordion-opener {
    color: #b3b6b8;
    font-size: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: transparent;
	transition: all 0.3s ease;
}

#main-content .wd-accordion-title.wd-active .wd-accordion-opener, #main-content .wd-accordion-title:hover .wd-accordion-opener {
    color: #fff;
    background-color: #606526;
}

#main-content .wd-accordion-title.wd-active .wd-accordion-title-text {
	text-decoration: underline;
}





/* ----- WOOCOMMERCE ----- */

.products .product-grid-item .wd-entities-title {
	text-transform: uppercase;
	text-align: left;
	min-height: 31px;
}

.products .wd-product.wd-hover-base .wrapp-product-price {
    align-items: flex-start;
    text-align: left;
}

.products   .wd-product.wd-hover-base .product-element-bottom {
    padding: 0 0 var(--wd-prod-gap) 0px;
}

.products .product-grid-item .amount {
    color: #1d0e00;
    font-weight: 600;
}

.products .product-grid-item.wd-hover-with-fade, .products .product-grid-item.wd-hover-with-fade .product-wrapper {
	transform: none !important;
}



.products .product-grid-item .product-labels {
    max-width: 60%;
}

.products .product-grid-item.outofstock {
	opacity: 0.6;
}
	
.products .product-grid-item.wd-hover-with-fade .content-product-imagin {
    opacity: 0;
    transform: none;
    display: none;
}
.products .product-grid-item .wd-bottom-actions {
	justify-content: space-between;
    align-items: center;
}

.products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:after, .products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:before {
	content: '';
}

.products .product-grid-item .wd-add-btn-replace .add-to-cart-loop:hover span {
    transform: none;
}

.products .product-grid-item .wd-bottom-actions .wrap-quickview-button {
	display: none;
}

.products .product-grid-item.wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .product-add-btn>a, .cart-widget-side .woocommerce-mini-cart__buttons .btn-cart {
    color: #606426;
    border: 1px solid #606426;
    box-shadow: none;
    background-color: transparent;
    font-weight: 500;
	border-radius: 8px;
}

.products .product-grid-item.wd-product.wd-hover-base .wd-bottom-actions:not(.wd-add-small-btn) .product-add-btn>a:hover, .cart-widget-side .woocommerce-mini-cart__buttons .btn-cart:hover {
	background-color: #606426;
    color: #fff;
}

.products .product-grid-item.wd-product.wd-hover-base :is(.wd-bottom-actions .wd-action-btn.wd-style-icon)>a, .wd-carousel .product-grid-item .wd-buttons .wd-action-btn.wd-wishlist-btn>a {
    width: 38px;
    height: 38px;
    border: 1px solid #1d0e00;
    border-radius: 50%;
}

.wd-carousel .product-grid-item .wd-buttons.wd-pos-r-t {
    inset-inline-end: 0;
}

.products .product-grid-item.wd-product.wd-hover-base :is(.wd-bottom-actions .wd-action-btn.wd-style-icon)>a.added, 
.products .product-grid-item.wd-product.wd-hover-base :is(.wd-bottom-actions .wd-action-btn.wd-style-icon)>a:hover, 
.wd-carousel .product-grid-item .wd-buttons .wd-action-btn.wd-wishlist-btn>a.added,
.wd-carousel .product-grid-item .wd-buttons .wd-action-btn.wd-wishlist-btn>a:hover{
	background-color: #606426;
	color: #fff;
	border: 1px solid #606426;
}

.products .product-grid-item.wd-product.wd-hover-base :is(.wd-bottom-actions .wd-action-btn.wd-style-icon)>a.added .wd-added-icon, .wd-carousel .product-grid-item .wd-buttons .wd-action-btn.wd-wishlist-btn>a.added .wd-added-icon {
	display: none;
}

.single-product-page .wd-gallery-thumb .wd-carousel-item {
	opacity: 1;
    border: 2px solid transparent;
    padding: 0;
}

.single-product-page .wd-gallery-thumb .wd-carousel-item.wd-thumb-active, 
.single-product-page .wd-gallery-thumb .wd-carousel-item:hover {
	opacity: 1;
    border: 2px solid #606426;
}

.single-product-page .wd-gallery-thumb .wd-carousel-item img {
	aspect-ratio: 1 / 1;
    object-fit: cover;
}

.single-product-page .wd-gallery-thumb :is(.wd-carousel-item:hover,.wd-thumb-active,.wd-carousel:not(.wd-initialized) .wd-carousel-item:first-child) {
    opacity: 1;
}

.single-product-page .wd-wtl-form h4 {
	text-transform: none;
}

.single-product-page .stock {
	display: none;
}

.single-product-page .summary .product_title {
    font-size: 20px;
    font-weight: 400;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.single-product-page .woocommerce-product-gallery .product-labels {
	max-width: 60%;
}

.single-product-page .summary .price .amount, .single-product-page .summary-inner>.price {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.single-product-page .wd-attr-term a {
	color: #1d0e00;
}

.single-product-page .wd-attr-term a:hover {
	text-decoration: underline;
}


.single-product-page .single_add_to_cart_button {
	max-width: 160px;
}

.single-product-page .wd-single-add-cart {
	max-width: 303px;
}


.single-product-page .wd-gallery-thumb .wd-carousel-wrap {
    gap: 8px;
}

.single-product-page .woocommerce-product-gallery .wd-gallery-thumb .wd-carousel {
    --wd-gap: 0;
}

.single-product-page .wd-el-breadcrumbs .wd-last {
	display: none;
}

.wd-carousel .product-grid-item .wd-buttons[class*="wd-pos-r"] {
    position: relative;
	display: flex;
    flex-direction: row;
	justify-content: space-between;
}

.wd-carousel .product-grid-item .wd-buttons[class*="wd-pos-r"] .wrap-quickview-button {
	display: none;
}

.wd-carousel .product-add-btn.wd-action-btn.wd-style-icon>a {
    flex-direction: row;
    width: auto;
    height: auto;
    font-weight: 400;
    font-size: 15px !important;
    line-height: 1;
	color: #606426;
    border: 1px solid #606426;
    box-shadow: none;
    background-color: transparent;
    font-weight: 500;
    border-radius: var(--btn-accented-brd-radius);
}

.wd-carousel .product-add-btn.wd-action-btn.wd-style-icon>a:hover {
	color: #fff;
    background-color: #606426;
}

.wd-carousel .product-add-btn.wd-action-btn.wd-style-icon>a span {
	padding: 5px 14px;
    min-height: 36px;
    font-size: 12px;
	display: flex;
    align-items: center;
    justify-content: center;
}

.wd-carousel .screen-reader-text {
	display: none;
}


.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    max-width: max-content;
    border-style: solid;
    border-radius: 8px;
    padding: 8px 13px;
    border-color: #b3b6b8;
}

.wd-bottom-actions.wd-add-small-btn .product-add-btn {
    width: auto !important;
}

.wd-bottom-actions.wd-add-small-btn .product-add-btn a span {
    display: inline !important;
    font-size: inherit !important;
}

.wd-bottom-actions.wd-add-small-btn .product-add-btn a::before {
    display: none !important;
}



.wd-carousel .product-add-btn.wd-action-btn.wd-style-icon>a:before, .wd-carousel .product-add-btn.wd-action-btn.wd-style-icon>a:after {
	display: none;
}



/* Секція доставки зверху */
        .elementarno-shipping-section {
            margin-bottom: 30px;
        }
        
        .elementarno-shipping-inner h3 {
            margin: 0 0 15px;
            font-size: 22px;
        }
        
        .elementarno-shipping-methods {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        /* Метод доставки — картка */
        .elementarno-shipping-method {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 15px;
            border: 1px solid #b3b6b8;
            border-radius: 5px;
            cursor: pointer;
            transition: border-color 0.2s, background 0.2s;
            margin: 0;
			    font-size: 14px;
        }
        
        .elementarno-shipping-method:hover {
            border-color: #606426;
        }
        
        .elementarno-shipping-method.active,
        .elementarno-shipping-method:has(input:checked) {
            border-color: #606426;
        }

			#wcus-billing-fields {
				margin-top: 30px;
			}

			.zen-ui-select__value {
				max-width: 100%;
				width: 100%;
				height: var(--wd-form-height);
				border: 1px solid #b3b6b8;
				border-radius: 5px;
			}
        
        .elementarno-shipping-method input[type="radio"] {
            margin: 0;
            flex-shrink: 0;
        }
        
        .elementarno-shipping-label {
            font-weight: 400;
        }
        
        /* Якщо немає методів */
        .elementarno-no-shipping {
            padding: 15px;
            background: #fff3cd;
            border-radius: 6px;
            color: #856404;
        }
        
        /* Якщо WC все ще рендерить доставку в таблиці — сховати */
        .woocommerce-checkout-review-order-table .shipping,
        .woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
            display: none !important;
        }

.checkout .woocommerce-billing-fields>h3, .checkout .woocommerce-additional-fields>h3, .checkout #order_review_heading, .checkout table th {
    text-transform: none;
	text-align: left;
}

.checkout.woocommerce-checkout {
	display: flex;
	flex-direction: row;
	gap: 40px;
}

.checkout.woocommerce-checkout .checkout-left {
	width: calc(55% - 20px);
	flex: unset;
}

.checkout.woocommerce-checkout .checkout-right {
		width: calc(45% - 20px);
	flex: unset;
}

.checkout .checkout-order-review>.woocommerce-checkout-review-order .wd-table-wrapper {
    margin-bottom: 20px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.checkout .checkout-order-review {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}



/* ----- FOOTER ----- */

footer .footer-title {
	font-weight: 600;
}

footer .footer-widget.widget_nav_menu ul li {
	margin-bottom: 5px;
}

footer .footer-widget.widget_nav_menu ul li a {
	font-size: 14px;
	font-weight: 400;
	color: #fff;
}

footer .footer-widget.widget_nav_menu ul li.current-menu-item a, footer .footer-widget.widget_nav_menu ul li:hover a, footer .footer-contacts a:hover {
	text-decoration: underline;
}


footer .footer-contacts, footer .footer-contacts a {
	font-weight: 600;
    font-size: 16px;
    color: #fff;
}

footer .footer-contacts {
	line-height: 2;
}

footer .widget {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}




html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a {
    text-transform: uppercase;
}

.text-justify, .text-justify p {
	text-align: justify;
}

.header-banner-container.wd-entry-content {
	text-align: center;
    font-size: 12px;
}

.heart-icon .nav-link-text::before {
    content: "\f106";
    font-family: "woodmart-font";
    margin-right: 8px;
}


.shop_attributes tr {
    font-size: 13px;
}

/* Особистий кабінет */
.menu-account a::before {
    content: "\f124";
    font-family: "woodmart-font";
    margin-right: 8px;
}

/* Кошик */
.menu-cart a::before {
    content: "\f126";
    font-family: "woodmart-font";
    margin-right: 8px;
}

/* Список бажань */
.menu-wishlist a::before {
    content: "\f106";
    font-family: "woodmart-font";
    margin-right: 8px;
}

.menu-account a, .menu-wishlist a, .menu-cart a {
    font-weight: 600;
	color: #000;
	font-size: 14px;
}

#menu-mobile-bottom-menu li:not(.menu-account, .menu-wishlist, .menu-cart) {
	margin-bottom: 6px;
}

#menu-mobile-bottom-menu li:is(.menu-account, .menu-wishlist, .menu-cart) {
	margin-top: 10px;
    margin-bottom: 0;
}

#menu-mobile-bottom-menu li:not(.menu-account, .menu-wishlist, .menu-cart) a {
	font-size: 12px;
}



.brands-widget .brand-item a {
    display: block;
    padding: 20px;
    border: 1px solid #e3e3e3;
    margin: 5px;
	background: #fff;
}

.brand__list-letter {
	font-weight: 700;
    margin: 25px 0 15px;
    border-bottom: 1px solid var(--brdcolor-gray-300);
}

.brand__list-items {
	display: flex;
    list-style: none;
    padding: 0;
    margin: auto;
	flex-wrap: wrap;
}

.brand__list-item {
	width: 25%;
}




.wd-product .wd-buttons[class*="wd-pos-r"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Elementarno Banners Carousel Styles */

.elementarno-banners-carousel {
    width: 100%;
    max-width: 1740px;
    margin: 0 auto;
    position: relative;
}

.elementarno-swiper {
    width: 100%;
    overflow: hidden;
}

.elementarno-swiper .swiper-wrapper {
    display: flex;
}

.elementarno-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementarno-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0px;
}

.elementarno-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
	border-radius: 25px;
}

.elementarno-banner-link:hover .elementarno-banner-img {
    transform: scale(1.05);
}

/* Кнопки навігації */
.elementarno-swiper-prev,
.elementarno-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    transition: all 0.3s ease;
}

.swiper-button-next, .swiper-button-prev {
    svg {
        height: 100%;
        object-fit: contain;
        transform-origin: center;
        width: 35%;
	}
}

.elementarno-swiper-prev, .swiper-horizontal {
		&.swiper-rtl .swiper-button-next, &.swiper-rtl~.swiper-button-next, &~.swiper-button-prev, .swiper-button-prev {
		left: 0px;
	}
}

.elementarno-swiper-next, .swiper-horizontal {
    &.swiper-rtl .swiper-button-prev, &.swiper-rtl~.swiper-button-prev, &~.swiper-button-next, .swiper-button-next {
        left: auto;
        right: 0;
    }
}


/* Екрани більшого розміру (настільні комп'ютери та інше) */
@media (min-width: 1367px) {
    
	.woocommerce-product-gallery img {
		max-height: 70vh;
		object-fit: cover;
		object-position: center;
	}
	
}

/* Ноутбуки */
@media (max-width: 1366px) {
    /* Ваші стилі для ноутбуків */
}

/* Планшети (горизонтальна орієнтація) */
@media (max-width: 1200px) {
    /* Ваші стилі для планшетів у горизонтальній орієнтації */
}

/* Планшети (вертикальна орієнтація) */
@media (max-width: 1024px) {
    
	
	.checkout.woocommerce-checkout {
	display: flex;
	flex-direction: column-reverse;
	gap: 40px;
}

.checkout.woocommerce-checkout .checkout-left, .checkout.woocommerce-checkout .checkout-right {
	width: 100%;
}
	
}

/* Мобільні пристрої (горизонтальна орієнтація) */
@media (max-width: 880px) {
    /* Ваші стилі для мобільних пристроїв у горизонтальній орієнтації */
}

/* Мобільні пристрої (вертикальна орієнтація) */
@media (max-width: 767px) {

	.home-category.wp-block-wd-cover {
    padding: 25px;
}
	
	.home-category.wp-block-wd-cover .wd-block-cover-img {
    width: 100%;
    max-height: 230px;
    left: 0;
}
	
	.home-category.wp-block-wd-cover .wp-block-wd-container {
    max-width: 100%;
    margin-top: 220px;
	}
	
	.advantages .advantage .wp-block-wd-infobox {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	
	.advantages  .advantage .wp-block-wd-container {
    flex-direction: column;
    width: 100%;
		align-items: center;
				text-align: center;
}
	
	.advantage .wp-block-wd-paragraph, .advantage .wp-block-wd-title {
    width: 100%;
}
	
	.products .product-grid-item.wd-product.wd-hover-base :is(.wd-bottom-actions .wd-action-btn.wd-style-icon)>a, .wd-carousel .product-grid-item .wd-buttons .wd-action-btn.wd-wishlist-btn>a {
    width: 30px;
    height: 30px;
	}
	
	.products .product-grid-item .wd-wishlist-btn.wd-action-btn>a:before {
    font-size: 15px;
	}
	
}












