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

:root {
	--wd-text-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(89,89,89);
	--wd-text-font-size: 16px;
	--wd-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: rgb(8,56,47);
	--wd-entities-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: rgb(8,56,47);
	--wd-entities-title-color-hover: rgb(11, 81, 67);
	--wd-alternative-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-widget-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: capitalize;
	--wd-widget-title-color: rgb(8,56,47);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(19,134,112);
	--wd-alternative-color: rgb(8,56,47);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(19,134,112);
	--btn-accented-bgcolor-hover: rgb(17,120,101);
	--btn-transform: capitalize;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(11,81,67);
	--wd-link-color-hover: rgb(8,56,47);
}
.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: rgb(11,81,67);
	background-image: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;	font-size: 58px;
	text-transform: capitalize;
	color: rgb(8,56,47);
}
html .wd-nav-mobile > li > a {
	text-transform: capitalize;
}
html .wd-buy-now-btn {
	background: rgb(36,36,36);
}
html .wd-buy-now-btn:hover {
	background: rgb(51,51,51);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-size: 42px;
	--wd-arrow-icon-size: 14px;
	--wd-arrow-offset-h: 15px;
	--wd-arrow-offset-v: 20px;
	--wd-arrow-color: rgb(11,81,67);
	--wd-arrow-color-hover: rgb(255,255,255);
	--wd-arrow-color-dis: rgb(11,81,67);
	--wd-arrow-bg: rgb(244,244,244);
	--wd-arrow-bg-hover: rgb(11,81,67);
	--wd-arrow-bg-dis: rgb(244,244,244);
	--wd-arrow-radius: 21px;
}
.wd-nav-scroll {
	--wd-nscroll-drag-bg: rgb(11,81,67);
	--wd-nscroll-drag-bg-hover: rgb(11,81,67);
}
.product-labels .product-label.onsale {
	background-color: rgb(231,27,47);
}
.product-labels .product-label.new {
	background-color: rgb(231,27,47);
}
.product-labels .product-label.featured {
	background-color: rgb(231,27,47);
}
.product-labels .product-label.out-of-stock {
	background-color: rgb(231,27,47);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 20px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 36px;
	}

}
:root{
--wd-container-w: 1564px;
--wd-form-brd-radius: 35px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: rgb(225,237,235);
}

/* =========================================================
   A2B 商品卡主圖 + 國旗 完整修正版 (國旗填滿無白邊)
   ========================================================= */

/* ------------------ 商品卡圖片區 ------------------ */

/* 商品卡圖片區：統一比例 */
.product-grid-item .product-element-top,
.woocommerce ul.products li.product .product-element-top,
.product-grid-item .wrap-product-loop,
.woocommerce ul.products li.product .product-wrapper {
    position: relative !important;
}

/* 主圖外層固定比例 */
.product-grid-item .product-image-link,
.product-grid-item .product-element-top > a,
.woocommerce ul.products li.product .product-image-link,
.woocommerce ul.products li.product .product-element-top > a {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    background: #f5f5f5 !important;
}

/* picture / img 都吃到 */
.product-grid-item .product-image-link picture,
.product-grid-item .product-element-top > a picture,
.woocommerce ul.products li.product .product-image-link picture,
.woocommerce ul.products li.product .product-element-top > a picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.product-grid-item .product-image-link img,
.product-grid-item .product-element-top > a img:not(.a2b-flag-badge img),
.woocommerce ul.products li.product .product-image-link img,
.woocommerce ul.products li.product .product-element-top > a img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 16px !important;
}

/* 手機再微調 */
@media (max-width: 768px) {
    .product-grid-item .product-image-link,
    .product-grid-item .product-element-top > a,
    .woocommerce ul.products li.product .product-image-link,
    .woocommerce ul.products li.product .product-element-top > a {
        aspect-ratio: 3 / 4 !important;
        border-radius: 12px !important;
    }

    .product-grid-item .product-image-link img,
    .product-grid-item .product-element-top > a img,
    .woocommerce ul.products li.product .product-image-link img,
    .woocommerce ul.products li.product .product-element-top > a img {
        border-radius: 12px !important;
    }
}
/* =========================================================
   手機版優化：限制展開高度 & 終極消滅藍色按鈕
========================================================= */

/* --- 1. 終極消滅藍色按鈕 (所有可能發藍的屬性全覆蓋) --- */
html body .wpc-filters-section .wpc-filter-item.wpc-term-selected,
html body .wpc-filters-section .wpc-filter-item.wpc-term-selected > a,
html body .wpc-filters-section .wpc-filter-item.wpc-term-selected > label {
    background: #d81b60 !important;
    background-color: #d81b60 !important;
    border-color: #d81b60 !important;
    color: #ffffff !important;
    background-image: none !important; /* 殺死主題自帶的漸層背景 */
    box-shadow: none !important; /* 殺死主題自帶的發光陰影 */
}

/* --- 2. 手機版：強制限制選單展開的最大高度 --- */
@media (max-width: 767px) {
    body .wpc-filter-content {
        max-height: 120px !important; /* 限制最高只能長到這裡，大約顯示 3 行按鈕 */
        overflow-y: auto !important;  /* 超過高度就變成內部上下滑動 */
        overflow-x: hidden !important;
        padding-right: 5px !important; /* 留一點空間給滾動條 */
    }

    /* 順便把手機版裡面的滾動條改成可愛的粉紅色細線 */
    body .wpc-filter-content::-webkit-scrollbar {
        width: 4px !important;
    }
    body .wpc-filter-content::-webkit-scrollbar-track {
        background: #f1f1f1 !important; 
        border-radius: 4px !important;
    }
    body .wpc-filter-content::-webkit-scrollbar-thumb {
        background: #d81b60 !important; 
        border-radius: 4px !important;
    }
}
/* ------------------ 國旗樣式區 ------------------ */

/* 國旗容器 */
.a2b-flag-badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 99 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    pointer-events: none !important;
}

/* 單個國旗 (無白邊填滿設定) */
.a2b-flag-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;  /* 寬度設定 */
    height: 28px !important; /* 高度設定 (3:2 常規國旗比例) */
    border-radius: 4px !important; /* 稍微帶點圓角才不會太死板 */
    background: transparent !important; /* 移除白底 */
    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important; /* 保留懸浮陰影 */
    border: 1px solid rgba(0,0,0,0.1) !important; /* 極細邊框防撞色 */
    overflow: hidden !important; /* 讓內部圖片乖乖切出圓角 */
    box-sizing: border-box !important;
}

/* 國旗圖片本體 (直接設定 100% 填滿) */
.a2b-flag-badge img {
    display: block !important;
    width: 100% !important;  
    height: 100% !important; 
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important; /* 交給外框裁切即可 */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 防止主圖規則誤傷國旗 */
.a2b-flag-badges img,
.a2b-flag-badge img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 舊的文字 fallback 不顯示 */
.a2b-flag-text {
    display: none !important;

