/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/*.custom-width-full .e-con-inner {*/
/*    width: 100%;*/
/*}*/
/*.custom-width-full,*/
/*.custom-width-full .e-con-inner,*/
/*.custom-width-full .container {*/
/*    min-width: calc(100vw - var(--wd-scroll-w) - var(--wd-sticky-nav-w));*/
/*    width: calc(100vw - var(--wd-scroll-w) - var(--wd-sticky-nav-w));*/
/*    left: calc(50% - 50vw + var(--wd-scroll-w) / 2 + var(--wd-sticky-nav-w) / 2);*/
/*}*/

.form-style-underlined :is(input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
select,textarea) {
    border-top-style: solid;
    border-right-style: solid;
    border-left-style: solid;
}

footer .container, footer .container-fluid{
    padding-inline: 0;
}
@media(max-width: 1140px){
    footer .footer-menu {
        display: none;
    }
}


.contact-us-form label {
    margin-top: -10px !important;
    margin-bottom: -20px !important;
}
.contact-us-form label br {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-us-form :is(input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
select,textarea),
.wd-search-form :is(input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
select,textarea),
#woodmart-contact-modal :is(input[type='email'],
input[type='date'],
input[type='search'],
input[type='number'],
input[type='text'],
input[type='tel'],
input[type='url'],
input[type='password'],
select,textarea)
{
    border-top-style: solid !important;
    border-right-style: solid !important;
    border-left-style: solid !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
}
.contact-us-form :is(input[type='submit']) {
    margin-top: 20px;
}
@media(min-width: 769px) {
    .about-content-img {
        text-align: left;
    }
}
.customer-solutions {
    position: relative;
}
.customer-solutions .customer-solutions-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    padding: 8px 10px;
    text-align: center;
    z-index: 2025;
    margin-bottom: 0;
}
.customer-solutions .customer-solutions-img,
.customer-solutions .customer-solutions-img img{
    height: 100%;
    width: 100%;
}




/* 对所有目标页面生效的共用样式 */
.post-type-archive-product .container,          /* 商店页 */
.tax-product_cat .container,                    /* 产品分类页 */
.single-product .container,                     /* 产品详情页 */
.tax-pa_brand .container
{
    width: 1140px !important;
}
.whb-main-header .wd-entry-content.container {
    width: 100% !important;
}
@media(min-width: 1140px) {
    .whb-general-header > .container {
        width: 90% !important;
    }
}

/* 模态框基础样式 */
#woodmart-contact-modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 99999; /* 确保在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}
.modal-inner {
    background: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;
}
.modal-inner h3 {
    margin-top: 0;
    margin-bottom: 20px;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
/* 按钮样式（适配Woodmart主题风格） */
.single_add_to_cart_button_wrapper .woodmart-contact-btn {
    background: #327cf7; /* 按钮颜色 */
    /*rgb(172,199,191)*/
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    width: 200px;
}
.single_add_to_cart_button_wrapper .woodmart-contact-btn:hover {
    background: #004ed0;
    color: white;
}


.wd-product.wd-hover-icons .wd-buttons,
.wd-product.wd-hover-icons .wd-buttons{
    display: none;
}

.wd-product.wd-hover-icons:not(:is(.quick-shop-shown, .product-swatched, [class*="wd-loading"])):hover .wrapp-buttons {
    opacity: 0 !important;
    display: none !important;
}
.wd-product .product-image-link {
    overflow: hidden;
}
.wd-product .product-image-link img {
    transition: transform 0.5s;
}
.wd-product.wd-hover-icons:not(:is(.quick-shop-shown, .product-swatched, [class*="wd-loading"])):hover img {
    transform: scale(1.2);
}
#main-content.container,
.no-padding-inline {
    padding-inline: 0 !important
}
.wd-footer .container {
    width: 100% !important;
}

footer .contact-info p {
    margin-bottom: 0;
}
footer .footer-menu {
    max-width: 1140px;
}