:root {
	--wd-text-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: rgb(53,100,147);
	--wd-entities-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 17px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(53,100,147);
	--wd-alternative-color: rgb(102,135,182);
	--btn-default-font-family: "Lexend", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 400;
	--btn-default-transform: capitalize;
	--btn-default-font-size: 17px;
	--btn-default-bgcolor: rgb(53,100,147);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Lexend", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 400;
	--btn-accented-transform: capitalize;
	--btn-accented-font-size: 17px;
	--btn-accented-bgcolor: rgb(53,100,147);
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-product .price {
	font-weight: 400;
	font-size: 16px;
	color: rgb(53,100,147);
}
html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a {
	font-weight: 400;
	font-size: 16px;
	color: rgb(53,100,147);
}
html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a:hover {
	color: rgb(0,0,0);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(255,255,255);
}

/* ============================================================
   WoodMart + WooCommerce + B2BKing
   去重整理版：依据用户原始 CSS 合并重复规则
   不包含结账重定向、价格计算或 PHP 逻辑
   ============================================================ */

/* 字体：只加载一次，放在所有样式规则之前 */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap');

/* 1. 产品详情页页眉宽度 */
@media (min-width: 1025px) {
    body.single-product .whb-header .container {
        width: 100% !important;
        max-width: 1218px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}
@media (max-width: 1024px) {
    body.single-product .whb-header .container {
        max-width: 100% !important;
    }
}

/* 2. 下拉菜单 */
.wd-nav .wd-dropdown-menu li > a,
.wd-nav .sub-menu li > a {
    white-space: nowrap !important;
}
.wd-nav .wd-dropdown-menu,
.wd-nav .sub-menu {
    min-width: 240px;
}

/* 3. 桌面端页眉导航及右侧图标 */
@media (min-width: 1025px) {
    .whb-header .wd-header-nav {
        background-color: #E3E7EF !important;
        width: max-content !important;
        max-width: 100% !important;
        padding: 0 1px !important;
        position: relative !important;
        top: 17px !important;
        transform: none !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }
    .whb-header .wd-header-nav > .wd-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        margin: 0 !important;
    }
    .whb-header .wd-header-nav .menu-item > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap !important;
    }
    .whb-header .whb-col-right .wd-tools-element {
        position: relative !important;
        top: 20px !important;
        transform: none !important;
    }
}
@media (max-width: 1024px) {
    .whb-header .wd-header-nav,
    .whb-header .whb-col-right .wd-tools-element {
        top: auto !important;
    }
}

/* 4. B2BKing 阶梯价格表 */
body.single-product table.b2bking_tiered_price_table {
    position: relative !important;
    left: -14px !important;
    width: calc(100% + 14px) !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
    font-family: 'Lexend', sans-serif !important;
}
body.single-product table.b2bking_tiered_price_table th,
body.single-product table.b2bking_tiered_price_table td {
    box-sizing: border-box !important;
    font-family: 'Lexend', sans-serif !important;
    vertical-align: middle !important;
    padding: 14px 8px !important;
    line-height: 1.6 !important;
    transition: background-color .2s ease, color .2s ease;
}
body.single-product table.b2bking_tiered_price_table th:nth-child(1),
body.single-product table.b2bking_tiered_price_table td:nth-child(1) {
    width: 33.333% !important;
    text-align: left !important;
}
body.single-product table.b2bking_tiered_price_table th:nth-child(2),
body.single-product table.b2bking_tiered_price_table td:nth-child(2) {
    width: 33.333% !important;
    text-align: center !important;
}
body.single-product table.b2bking_tiered_price_table th:nth-child(3),
body.single-product table.b2bking_tiered_price_table td:nth-child(3) {
    width: 33.333% !important;
    text-align: right !important;
}
body.single-product table.b2bking_tiered_price_table thead th {
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
}
body.single-product table.b2bking_tiered_price_table tbody td {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
body.single-product table.b2bking_tiered_price_table tbody td strong,
body.single-product table.b2bking_tiered_price_table tbody td b {
    font-weight: 500 !important;
}
body.single-product table.b2bking_tiered_price_table tbody tr:hover td,
body.single-product table.b2bking_tiered_price_table tbody td.b2bking_has_color {
    background-color: #244C70 !important;
    color: #FFFFFF !important;
}
body.single-product table.b2bking_tiered_price_table tbody tr:hover td *,
body.single-product table.b2bking_tiered_price_table tbody td.b2bking_has_color * {
    color: #FFFFFF !important;
}

/* 5. 产品详情页其它非规格表格（保留原先的宽泛选择器） */
body.single-product .summary table:not(.variations) th,
body.single-product .summary table:not(.variations) td {
    font-family: 'Lexend', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding: 13px 10px !important;
    vertical-align: middle !important;
}
body.single-product .summary table:not(.variations) th {
    font-size: 16px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}
body.single-product .summary table:not(.variations) td {
    font-weight: 400 !important;
}
body.single-product .summary table:not(.variations) td b,
body.single-product .summary table:not(.variations) td strong {
    font-weight: 500 !important;
}

/* 6. 桌面端产品数量框 */
@media (min-width: 768px) {
    body.single-product .woocommerce-variation-add-to-cart .quantity {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        flex: 0 0 150px !important;
        display: inline-flex !important;
        box-sizing: border-box !important;
    }
    body.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
        width: 66px !important;
        min-width: 66px !important;
        max-width: 66px !important;
        flex: 1 1 auto !important;
        box-sizing: border-box !important;
        font-family: 'Lexend', sans-serif !important;
        font-size: 16px !important;
    }
    body.single-product .woocommerce-variation-add-to-cart .quantity .minus,
    body.single-product .woocommerce-variation-add-to-cart .quantity .plus {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        flex: 0 0 42px !important;
        box-sizing: border-box !important;
    }
}

/* 7. 手机端阶梯表与数量框 */
@media (max-width: 767px) {
    body.single-product table.b2bking_tiered_price_table {
        left: -8px !important;
        width: calc(100% + 8px) !important;
    }
    body.single-product table.b2bking_tiered_price_table th,
    body.single-product table.b2bking_tiered_price_table td {
        padding: 11px 4px !important;
        line-height: 1.5 !important;
    }
    body.single-product table.b2bking_tiered_price_table thead th {
        font-size: 14px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
    }
    body.single-product table.b2bking_tiered_price_table tbody td {
        font-size: 15px !important;
        line-height: 1.5 !important;
        padding: 12px 4px !important;
    }
    body.single-product .summary table:not(.variations) th,
    body.single-product .summary table:not(.variations) td {
        font-size: 14px !important;
        padding: 12px 6px !important;
        line-height: 1.5 !important;
    }
    body.single-product .summary table:not(.variations) th {
        font-size: 13px !important;
        white-space: normal !important;
    }
    body.single-product .woocommerce-variation-add-to-cart .quantity {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        flex: 0 0 120px !important;
        display: inline-flex !important;
        box-sizing: border-box !important;
    }
    body.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        flex: 1 1 auto !important;
        box-sizing: border-box !important;
        font-family: 'Lexend', sans-serif !important;
        font-size: 15px !important;
    }
    body.single-product .woocommerce-variation-add-to-cart .quantity .minus,
    body.single-product .woocommerce-variation-add-to-cart .quantity .plus {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        flex: 0 0 32px !important;
        box-sizing: border-box !important;
    }
}

/* 8. 隐藏产品规格下方的 Clear 重置按钮 */
body.single-product a.reset_variations {
    display: none !important;
}






@media (min-width: 1025px) {
	.woodmart-dropdown-menu li a {
    white-space: nowrap !important;
}

}

