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

.wd-shop-tools .woocommerce-ordering.wd-style-underline select {
    max-width: 300px;
}

.decorated-heading {
    width: max-content;
    align-self: center;
    position: relative;
}

.decorated-heading .elementor-widget-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 60px; /* Add padding to make room for the pseudo-elements */
}

.decorated-heading .elementor-widget-container:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 47px;
    height: 28px;
    background-image: url(/wp-content/uploads/2025/06/left-leaf.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%); /* Center vertically */
}

.decorated-heading .elementor-widget-container:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 47px;
    height: 28px;
    background-image: url(/wp-content/uploads/2025/06/right-leaf.svg);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%); /* Center vertically */
}

.wd-nav-wrapper.wd-nav-tabs-wrapper.tabs-navigation-wrapper {
    position: relative;
}

.wd-nav-wrapper.wd-nav-tabs-wrapper.tabs-navigation-wrapper:after {
    content: '';
    width: 100%;
    height: 2px;
    border-bottom: 2px solid #EAEAEA;
    position: absolute;
    left: 0;
    bottom: 8px;
    z-index: 0;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text {
    padding-bottom: 0.7rem;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    z-index: 1;
}

.wd-product.wd-quantity-overlap div.quantity {
    height: 80%;
    bottom: 3.5px;
    left: 3.5px;
    filter: brightness(0.8);
}

/* Title bar */
.wd-page-title:after {
	content: '';
	height: 100%;
	width: 100%;
	background-color: #0000005e;
	position: absolute;
	top: 0;
}

.wd-page-title .container {
	position: relative;
	z-index: 2;
}

/* Footer */
.wd-copyrights {
    border-top-color: transparent !important;
}

.wd-copyrights .wd-col-start {
    color: #3F3F3F;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5625rem;
}

.footer-social-icons a.wd-social-icon {
    color: #3F3F3F;
}

/* Single Product */
.single-product .wd-accordion.wd-style-default>.wd-accordion-item:first-of-type {
    border-top: 1px solid var(--brdcolor-gray-300);
}

.product-custom-field {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--brdcolor-gray-300);
}

@media (width < 767px) {
    .product-custom-field {
        justify-content: start;
        gap: 1rem;
    }
}

.product-custom-field:first-child {
    border-top: 1px solid var(--brdcolor-gray-300);
}

span.product-custom-field-label {
    font-weight: 600;
    color: #242424;
}

/* Checkout */
.woocommerce-checkout #billing_country_field {
    display: none;
}
