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

:root {
    --wd-block-spacing: 30px;
}




/* ----- ELEMENTS ----- */

:is(.btn,.button,button,[type=submit],[type=button]) {
    padding: var(--btn-padding, 11px 30px);
	border-radius: 4px;
}

h2 {
    font-size: 60px;
	font-weight: 400;
	line-height: 1.1;
}

h3 {
    font-size: 52px;
	font-weight: 400;
		line-height: 1.1;
}

h4 {
    font-size: 34px;
	font-weight: 400;
		line-height: 1.1;
}

.wd-marquee .wd-marquee-content {
    gap: 30px;
}

.wd-marquee .wd-marquee-content .wd-marquee-item {
    gap: 30px;
}

header .wd-header-cart.wd-design-2 .wd-cart-number, header .wd-header-cart.wd-design-5 .wd-cart-number {
    color: #262626;
}

header :is(.wd-custom-icon,picture.wd-custom-icon img) {
    max-width: 22px;
}

.wd-page-title .title {
    font-weight: 400;
}

.latest-news-wrapper {
	gap: 30px;
	display: flex;
	flex-wrap: wrap;
}

.latest-news-wrapper .latest-news-item {
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: calc(50% - 15px);
    justify-content: flex-start;
    align-items: center;
}

.latest-news-wrapper .latest-news-item .latest-news-image, .latest-news-wrapper .latest-news-item .latest-news-content {
	width: 50%;
}

.latest-news-item .latest-news-image img {
	border-radius: 6px;
	max-height: 270px;
	height: 270px;
	object-fit: cover;
	border-radius: 6px;
    max-height: 270px;
    height: 270px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.latest-news-item .latest-news-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.latest-news-item .latest-news-button {
	position: relative;
    outline: none;
    border-radius: var(--btn-brd-radius, 0px);
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    line-height: 1.2;
    cursor: pointer;
    transition: all .25s ease;
    color: var(--btn-color, #3E3E3E);
    border: var(--btn-brd-width, 0px) var(--btn-brd-style, solid) var(--btn-brd-color, #E9E9E9);
    background-color: var(--btn-bgcolor, #F3F3F3);
    box-shadow: var(--btn-box-shadow, unset);
    text-transform: var(--btn-transform, uppercase);
    font-weight: var(--btn-font-weight, 600);
    font-family: var(--btn-font-family, inherit);
    font-style: var(--btn-font-style, unset);
    min-height: var(--btn-height, 42px);
    font-size: var(--btn-font-size, 13px);
	padding: var(--btn-padding, 11px 30px);
}

.latest-news-item .latest-news-category {
	display: block;
    width: max-content;
    background-color: #D2DCE8;
    padding: 0px 10px 0px 10px;
	margin-bottom: 6px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #FFFFFF66;
    border-radius: 6px 6px 6px 6px;
}



.wd-post-author.wd-meta-author, .blog-post-loop .wd-post-meta, .blog-post-loop .wd-post-excerpt.entry-content {
	display: none !important;
}
	
.blog-post-loop .wd-post-inner a, .post-single-page .wd-post-cat.wd-style-with-bg a {
	color: #000000;
}







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

.mobile-nav .wd-nav>li>a {
    text-transform: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
}

.wd-nav-mobile li:active>a, .wd-nav-mobile li.opener-page>a {
    background-color: transparent;
}

.wd-page-title .wd-checkout-steps {
	margin: 0 auto;
}

header .whb-with-shadow {
    box-shadow: 0 14px 24px rgb(0 0 0 / 07%);
}




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

.footer-menu ul {
	list-style: none;
	margin: 0;
    padding: 0;
}



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

body .wd-title-wrapp .wd-back-btn, .woocommerce-cart tr.cart-subtotal, .woocommerce-cart .woocommerce-shipping-totals.shipping, .woocommerce-MyAccount-title.entry-title, .wd-sidebar-hidden-sm.wd-builder-off .woocommerce-result-count {
    display: none;
}

.woocommerce-page .wd-checkout-steps, .woocommerce-page table th {
    text-transform: none;
    font-weight: 400;
}

body .popup-added_to_cart .view-cart, .cart-totals-inner .checkout-button, .cart-totals-inner .checkout-button:hover, body .popup-added_to_cart .view-cart:hover {
    color: #262626;
}

.woocommerce-MyAccount-navigation ul li a {
    font-size: 18px;
    font-weight: 400;
}

.wd-notice.wd-success, .wpcf7 form.sent .wpcf7-response-output, .mc4wp-success, .woocommerce-message {
    background-color: transparent;
    color: #292929;
    padding: 0;
}


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

.wd-product .labels-rounded-sm .product-label {
    border-radius: 6px;
}

.wd-product .product-label.onsale, .single-product .product-label.onsale {
    background-color: #D2DCE8;
    color: #262626;
	border: 2px solid #e3eaf1;
	font-size: 18px;
 	font-weight: 400;
}

.wd-product h3.wd-entities-title {
	font-size: 30px;
	font-weight: 400;
}

.wd-product :where(.product-wrapper,.product-element-bottom) {
    gap: 7px;
}

.wd-product :where(.product-wrapper,.product-element-bottom) {
    gap: 15px;
}

.wd-product .product-element-bottom .wd-product-brands-links a {
	color: #6D6D6D;
	font-size: 20px;
	font-weight: 400;
}

.wd-product .price, .price ins, .wd-product .price .amount {
    color: #262626;
	font-size: 30px;
	font-weight :400;
}

.wd-product .price del {
    color: #6D6D6D;
    font-size: 20px;
}

.wd-product .price del .amount {
	color: #6D6D6D;
	font-size: 20px;
	font-weight :400;
}

.wd-products .wd-product.wd-hover-tiled .product-wrapper {
    box-shadow: none;
	text-align: center;
}

.wd-products .wd-product.wd-hover-tiled :is(.product-image-link,.hover-img) img {
    border-radius: var(--wd-brd-radius);
}

.el-reserved-badge, .el-reserved-badge-single {
    position: absolute;
    left: 7px;
    top: 7px;
    background-color: var(--bgcolor-white);
    color: var(--color-gray-900);
    border-radius: 6px;
    padding: 5px 10px;
    min-width: 50px;
    text-align: center;
    text-transform: uppercase;
    word-break: break-all;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;	
}

.single-product-page .product-images {
	position: relative;
}

.single-product-page .el-reserved-badge-single {
	left: unset;
    right: 7px;
    z-index: 1;
}


/* ----- WOOCOMMERCE product page ----- */

.single-product h1.entry-title {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E9E9E9;
	font-size: 60px;
}

.single-product .woocommerce-tabs {
	    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E9E9E9;
}

.single-product .entry-content.wd-accordion-content {
	display: block;
	opacity: 1;
}

.single-product .wd-accordion.wd-opener-pos-right>.wd-accordion-item>.wd-accordion-title {
    pointer-events: none;
	cursor: auto;
	margin: 0px;
	padding: 0px;
}

.single-product .wd-accordion.wd-style-default>.wd-accordion-item:first-of-type, .single-product .wd-accordion.wd-style-default>.wd-nav-wrapper+.wd-accordion-item {
    border: none;
	border-top: none;
	border-bottom: none;
}

.single-product .summary-inner>.wd-action-btn:last-child {
    margin-bottom: 0;
}

.single-product .shop_attributes tr {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    justify-content: flex-start;
    padding-bottom: 0;
    margin-bottom: 25px;
    border-bottom: none;
    font-size: 18px;
    font-weight: 400;
}

.single-product .wd-accordion-title-text {
    gap: 0px;
    font-weight: 400;
    font-size: 20px;
	margin: 0px;
    padding: 0px;
}

.single-product #tab-item-title-additional_information, .single-product .wd-accordion-title .wd-accordion-opener, .single-product .cart .quantity {
	display: none;
}

.single-product .shop_attributes :is(.wd-attr-name,.wd-attr-term) {
    color: #4E4E4E;
}

.single-product .wd-accordion.wd-style-default>.wd-accordion-item {
    border-bottom: none;
}

.single-product .wd-breadcrumbs>:is(span,a):last-child, .single-product .wd-breadcrumbs a, .wd-breadcrumbs>:is(span,a):last-child, .wd-breadcrumbs>:is(span,a) {
    font-weight: 400;
    color: #262626;
}

.single-product .price , .single-product .price .amount {
    color: #262626;
    font-weight: 400;
    font-size: 24px;
}

.single-product .single_add_to_cart_button {
    color: #262626;
}

.single-product .wd-action-btn.wd-style-text>a {
    position: relative;
    font-weight: 400;
    line-height: 1;
	padding: 16px 25px;
    background-color: #d4dce7;
	border-radius: 4px;
}

.single-product .cart {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
}

.single-product .summary-inner>.wd-action-btn {
    margin-left: 10px;
	margin-bottom: 0;
}

.single-product .wd-wishlist-btn span {
	display: none;
}

.single-product h2.slider-title {
	font-size: 60px;
	font-weight: 400;
	text-align: center;
	margin: 0 auto;
	justify-content: center;
    margin-bottom: 30px;
    margin-top: 50px;
}



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

.wd-cats .category-grid-item .wrapp-category {
	background: #E4DFDC;
}

.wd-cats  .category-grid-item .hover-mask {
    padding: 20px 10px;
}

.wd-cats  .category-grid-item .hover-mask .wd-entities-title {
	font-size: 34px;
	font-weight: 400;
	line-height: 1;
	text-transform: none;
}


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

.wpc-filter-title, .widget_product_categories .widget-title {
    font-size: 30px;
    font-weight: 400;
}

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

.wpc-filters-main-wrap li.wpc-term-item a, .widget_product_categories .product-categories li a, .widget_product_categories .product-categories li.current-cat>a {
    font-weight: 400;
    font-size: 18px;
    font-weight: 400;
    color: var(--wd-widget-title-color);
}

.widget .wpc-term-count-0:not(.wpc-has-not-empty-children) a, .widget-area .widget .wpc-term-count-0:not(.wpc-has-not-empty-children) a, .widget-area .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, .widget-area .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label span.wpc-filter-label-wrapper, .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, .wpc-filters-labels li.wpc-term-count-0:not(.wpc-has-not-empty-children) label span.wpc-filter-label-wrapper, .wpc-term-count-0:not(.wpc-has-not-empty-children), .wpc-term-count-0:not(.wpc-has-not-empty-children) a, body .wpc-filters-main-wrap li.wpc-term-count-0:not(.wpc-has-not-empty-children) label, body .wpc-filters-main-wrap li.wpc-term-count-0:not(.wpc-has-not-empty-children) label a {
    opacity: 1;
}

.wpc-filter-product_cat input[type=radio], .wpc-filter-pa_kolir input[type=checkbox], .wd-content-area .wpc-custom-selected-terms, .wpc-filter-product_brand .wpc-term-image-wrapper {
	display: none;
}


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

.woocommerce-checkout h3 {
	font-size: 32px;
	text-transform: uppercase;
}

.woocommerce-checkout #place_order {
    font-size: 22px;
    text-transform: none;
	color: #262626;
}

.cart-content-wrapper>.cart_totals .cart-totals-inner {
    border: 2px solid var(--brdcolor-gray-200);
}

.woocommerce-checkout #billing_country_field, .woocommerce-checkout #ship-to-different-address, :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before, :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after, .woocommerce-order .woocommerce-customer-details .woocommerce-column.woocommerce-column--billing-address {
	display: none;
}

.woocommerce-checkout input[type='email'], .woocommerce-checkout input[type='date'], .woocommerce-checkout input[type='search'], .woocommerce-checkout input[type='number'], .woocommerce-checkout input[type='text'], .woocommerce-checkout input[type='tel'], .woocommerce-checkout input[type='url'], .woocommerce-checkout input[type='password'], .woocommerce-checkout textarea, .woocommerce-checkout select, body.woocommerce-checkout .select2-container--default .select2-selection--single, .woocommerce-checkout table th {
    font-size: 20px;
}

.woocommerce-checkout .amount {
    color: #262626;
    font-weight: 400;
}

.woocommerce-checkout tr.order-total .amount, 
.woocommerce-checkout tr.order-total th {
    font-weight: 600;
	font-size: 22px;
}

:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) {
    background-color: transparent;
    border: 2px solid var(--wd-form-brd-color);
    border-radius: 12px;
}

.payment_methods .payment_box {
    background-color: var(--wd-form-brd-color);
		box-shadow: none;
}

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

.wd-builder-off :is(.woocommerce-thankyou-order-received,.woocommerce-thankyou-order-failed) {
    padding: 0;
    color: #262626;
    border: none;
    font-size: 25px;
    line-height: 1.2;
}

.woocommerce-terms-and-conditions-wrapper {
    padding-top: 0;
    border-top: none;
}

.wd-builder-off :is(.woocommerce-thankyou-order-details li,.woocommerce-thankyou-order-failed-actions) {
    line-height: 1.1;
}

.woocommerce-order-received strong, .woocommerce-order-received b {
    font-weight: 400;
}



/* ----- CONTACT FORM plugin ----- */

body .hidden-fields-container {
	display: none !important;
}

.subscribe-form input[type='email'] {
    padding: 12px 30px;
    border: 2px solid #E9E9E9;
    border-radius: 4px;
    background-color: #fff;
    color: #262626;
    font-size: 18px;
	    height: auto;
}
.subscribe-form .wpcf7-list-item {
	margin-bottom: 25px;
	margin-top: 10px;
}
.subscribe-form .wpcf7-list-item label {
	font-size: 18px;
	color: #fff;
}

.subscribe-form div.wpcf7 input[type="submit"] {
    color: #262626;
	width: 100%;
}

.subscribe-form div.wpcf7 input[type="submit"]:hover {
    color: #262626;
}

.subscribe-form br {
	display: none;
	margin: 0;
}

.subscribe-form .wpcf7 form:not(.sent) .wpcf7-response-output, .subscribe-form  .wpcf7 form.sent .wpcf7-response-output {
    background-color: transparent;
    color: #fff;
    padding: 0;
    margin: 0;
	line-height: 1.2;
}



/* Ноутбуки */
@media (max-width: 1366px) {
	
.single-product h1.entry-title {
	font-size: 50px;
}
	
}

/* Планшети (горизонтальна орієнтація) */
@media (max-width: 1200px) {
	
	.single-product h1.entry-title {
	font-size: 45px;
}
	
   h2, .single-product h2.slider-title {
    font-size: 55px;
}

h3 {
    font-size: 45px;
}

h4 {
    font-size: 30px;
}
	
	.wd-product h3.wd-entities-title {
    font-size: 27px;
	}
	
}

/* Планшети (вертикальна орієнтація) */
@media (max-width: 1024px) {
	
.single-product h1.entry-title {
	font-size: 40px;
}
	
   h2, .single-product h2.slider-title {
    font-size: 50px;
}

h3 {
    font-size: 40px;
}

h4 {
    font-size: 27px;
}
	
}

/* Мобільні пристрої (горизонтальна орієнтація) */
@media (max-width: 880px) {
	
	.single-product h1.entry-title {
	font-size: 35px;
}
	
h2, .single-product h2.slider-title {
    font-size: 44px;
}

h3 {
    font-size: 34px;
}

h4 {
    font-size: 24px;
}
	
.wd-product h3.wd-entities-title {
    font-size: 24px;
}
	
.wd-product .price, .price ins, .wd-product .price .amount {
    font-size: 22px;
}
	
}

/* Мобільні пристрої (вертикальна орієнтація) */
@media (max-width: 767px) {
	
.single-product h1.entry-title {
	font-size: 30px;
}
	
h2, .single-product h2.slider-title {
    font-size: 32px;
}

h3, .woocommerce-checkout h3 {
    font-size: 25px;
}

h4 {
    font-size: 20px;
}
	
.wd-product h3.wd-entities-title {
    font-size: 22px;
}
	
.wd-product .price, .price ins, .wd-product .price .amount {
    font-size: 20px;
}
	
.single-product .wd-action-btn.wd-style-text>a {
    padding: 11px 25px;
}
	
.latest-news-item {
	flex-direction: column;
}
	
.latest-news-wrapper .latest-news-item {
	flex-direction: column;
	width: 100%;
}

.latest-news-wrapper .latest-news-item .latest-news-image, .latest-news-wrapper .latest-news-item .latest-news-content {
	width: 100%;
}
	
}