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

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//usebeancn.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("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//usebeancn.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-header-banner-h: 40px;
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--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: "Lexend", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 10px;
	--wd-primary-color: rgb(34,71,204);
	--wd-alternative-color: rgb(171,186,129);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(34,71,204);
	--btn-accented-bgcolor-hover: rgb(31,64,185);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 89px;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 800px;
}
.header-banner {
	background-color: rgb(227,162,141);
	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,243,240);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(247,243,240);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
html .wd-buy-now-btn {
	background: rgb(160,194,105);
}
html .wd-buy-now-btn:hover {
	background: rgb(131,172,43);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(126,164,222);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(171,186,129);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(227,162,141);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 880px;
}

@media (max-width: 1024px) {
	:root {
		--wd-header-banner-h: 60px;
	--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1703px;
--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: 1703px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/*
 * 最终最紧凑版 WoodMart 购物车侧边栏优化代码
 * 解决了滚动、对齐、留白、和移动端极度紧凑化的问题。
 */

/* ========================================= */
/* 1. 滚动和对齐的基础修复 (通用) */
/* ========================================= */
.widget_shopping_cart_content .woocommerce-mini-cart {
    /* 解决内容截断，强制启用滚动条 */
    max-height: 70vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    /* 内容列表内部左右留白 */
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* 解决字体靠左对齐和行高 */
.widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item {
    text-align: left !important;
    line-height: 1.5 !important; /* 电脑端默认行高 */
}
.widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item a,
.widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item .quantity {
    text-align: left !important;
}

/* ========================================= */
/* 2. 侧边栏整体留白 (通用) */
/* ========================================= */
.cart-widget-side {
    /* 侧边栏整体容器左右留白 (5px) */
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* ========================================= */
/* 3. 手机端极度紧凑优化 (@media max-width: 768px) */
/* ========================================= */
@media (max-width: 768px) {
    /* 缩小产品图片尺寸：55px -> 50px */
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item img,
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item a.product-image {
        width: 50px !important; /* 强制图片宽度 */
        height: 50px !important; /* 强制图片高度 */
    }

    /* 调整产品标题和价格的字体大小和行高 */
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item a:not(.product-image) {
        font-size: 12px !important; /* 字体更小 */
        line-height: 1.2 !important; /* 保持紧凑行高 */
    }
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item .quantity {
        font-size: 11px !important; /* 价格/数量字体保持最小 */
    }
    
    /* 侧边栏标题字体 */
    .widget-title {
        font-size: 18px !important;
    }

    /* 减少产品行之间的间隔 */
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item {
        margin-bottom: 2px !important; /* 间距更小 */
        padding-bottom: 2px !important; /* 间距更小 */
        line-height: 1.2 !important; /* 强制手机端行高 */
    }
}
/* ========================================= */
/* 4. 数量x价格 区域优化 (模拟格子效果) */
/* ========================================= */
.widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item .quantity {
    /* 模拟格子效果的样式 */
    display: inline-block !important; /* 让背景只包裹文字 */
    padding: 3px 6px !important; /* 增加内边距 */
    background-color: #f7f7f7 !important; /* 浅灰色背景，您可以替换为主题颜色 */
    border-radius: 4px !important; /* 轻微圆角 */
    color: #333 !important; /* 字体颜色 */
    font-weight: 600 !important; /* 字体加粗 */
    margin-top: 5px !important; /* 与上方的产品名称隔开 */
}

/* 确保手机端也应用这个格子样式，并保持字体大小 */
@media (max-width: 768px) {
    .widget_shopping_cart_content .woocommerce-mini-cart .mini_cart_item .quantity {
        font-size: 11px !important; /* 保持紧凑版字体大小 */
        padding: 2px 5px !important; /* 手机端格子可以略小 */
    }
}