@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.saierfun.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.0") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//www.saierfun.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 15px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(31,94,255);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(31,94,255);
	--btn-accented-bgcolor-hover: rgb(31,94,255);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://www.saierfun.com/wp-content/uploads/2021/08/promo-popup-1.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.header-banner {
	background-color: rgb(0,0,0);
	background-image: none;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(247,248,250);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(0,0,0);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

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


.hidden-fields-container{display:none;}
.related-and-upsells{display:none;}
.single-product .wd-builder-off{    --wd-single-spacing: 0 !important;}
.wd-dropdown-menu.wd-design-default{border-radius: 10px;}
.product-tabs-wrapper .tabs-layout-tabs>.wd-nav-tabs-wrapper{display:none;}
.elementor-15607 .elementor-element.elementor-element-44a42ece{--margin-top: 0;}
.single-product .product-image-summary-wrap{margin-bottom: 30px;}
.woocommerce-form-row label{text-transform: capitalize;}
.woocommerce-FormRow label{text-transform: capitalize;}

/* 将商品卡片容器设为 Flex 布局 */
.product-grid-item {
    display: flex !important;
    flex-direction: column !important;
}

/* 1. 变体属性框：排在前面 */
.product-grid-item .wvs-archive-swatches-wrapper,
.product-grid-item .wvs-archive-variations-wrapper {
    order: 10 !important;
    margin-bottom: 12px !important;
}

/* 2. 数量与加入购物车按钮：排在属性框后面 */
.product-grid-item .wd-add-btn,
.product-grid-item .woodmart-add-btn,
.product-grid-item .add_to_cart_inline {
    order: 20 !important;
}

/* 3. 其他底部信息（如发货提示）：排在最下方 */
.product-grid-item .wd-product-brands,
.product-grid-item .product-extra-content {
    order: 30 !important;
}


/* 限制 #home_box 内部属性选择框的高度并开启垂直滚动条 */
#home_box .wvs-archive-swatches-wrapper,
#home_box .wvs-archive-variations-wrapper,
#home_box .variations_form {
    max-height: 200px !important;
    overflow-y: auto !important;
    padding-right: 6px; /* 避免内容贴紧右侧滚动条 */
	min-height: 200px;
}

/* 自定义滚动条样式（让滚动条更隐蔽美观） */
#home_box .wvs-archive-swatches-wrapper::-webkit-scrollbar,
#home_box .wvs-archive-variations-wrapper::-webkit-scrollbar {
    width: 4px;
}

#home_box .wvs-archive-swatches-wrapper::-webkit-scrollbar-thumb,
#home_box .wvs-archive-variations-wrapper::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}


#home_box2 .wvs-archive-variations-wrapper {display:none;}










/* ==========================================
   1. 变体属性框在上方
   ========================================== */
.product-grid-item .product-element-bottom {
    display: flex !important;
    flex-direction: column !important;
}

.product-grid-item .wvs-archive-variations-wrapper,
.product-grid-item .wvs-archive-swatches-wrapper {
    order: 1 !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    padding-right: 4px !important;
    margin-bottom: 10px !important;
}

/* ==========================================
   2. 纯净三合一容器：强制同行 Flex
   ========================================== */
.clean-3inline-wrapper {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 5px !important;
    margin-top: 8px !important;
    clear: both !important;
    box-sizing: border-box !important;
}

.clean-3inline-wrapper * {
    box-sizing: border-box !important;
}

/* ==========================================
   3. 左侧：数量选择器 (28%)
   ========================================== */
.clean-qty-box {
    flex: 0 0 28% !important;
    width: 28% !important;
    max-width: 28% !important;
    height: 40px !important;
    display: flex !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    background: #f7f7f7 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.clean-qty-btn {
    width: 28px !important;
    height: 100% !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}



.clean-qty-input {
    flex: 1 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
}

.clean-qty-input::-webkit-outer-spin-button,
.clean-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* ==========================================
   4. 中间：BUY NOW 按钮 (34%)
   ========================================== */
.clean-btn.clean-buy-now {
    flex: 0 0 34% !important;
    width: 34% !important;
    max-width: 34% !important;
    height: 40px !important;
    line-height: 40px !important;
    background-color: #2b61ff !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.clean-btn.clean-buy-now:hover {
    background-color: #1a4ee0 !important;
    color: #ffffff !important;
}

/* ==========================================
   5. 右侧：ADD TO CART 按钮 (36%)
   ========================================== */
.clean-btn.clean-add-cart {
    flex: 0 0 36% !important;
    width: 36% !important;
    max-width: 36% !important;
    height: 40px !important;
    line-height: 40px !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.clean-btn.clean-add-cart:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}





/* 1. 默认在全站其他产品网格中隐藏此描述，防止影响其他模块 */
.custom-home-short-desc {
    display: none;
}

/* 2. 仅在 ID 为 home_box2 的模块中显示该描述 */
#home_box2 .custom-home-short-desc {
    display: block !important;
    font-size: 20px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    /* 超过两行自动显示省略号，保持网格整齐 */
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 替换“确认”按钮文字 */
.wd-age-verify-allowed {
    font-size: 0 !important; /* 隐藏原生文字 */
}
.wd-age-verify-allowed::before {
    content: "I am 21 or older"; /* 替换成你想要的文字 */
    font-size: 14px; /* 恢复字号 */
    display: inline-block;
}

/* 替换“拒绝”按钮文字 */
.wd-age-verify-forbidden {
    font-size: 0 !important;
}
.wd-age-verify-forbidden::before {
    content: "I am under 21";
    font-size: 14px;
    display: inline-block;
}




@media (min-width: 1025px) {
	:root {
    --wd-scroll-w: 0px !important;
}
#home_box .woo-variation-swatches .wvs-archive-variations-wrapper{height: 200px;overflow-y: scroll;}
}

