/*
Theme Name: WANTGOOD Select Store
Theme URI: https://wantgoodselection.com/
Author: WANTGOOD+
Description: WANTGOOD+ 選品商店專用 WooCommerce 佈景主題，含可管理首頁 Banner、動態商品分類與行動版版型。
Version: 1.3.0
Text Domain: wantgood
Requires at least: 6.4
Requires PHP: 8.0
*/

:root{--ink:#171714;--muted:#706e68;--paper:#fff;--cream:#f6f2eb;--line:#e4dfd7;--clay:#9b765d;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.wg-wrap{width:min(var(--max),calc(100% - 48px));margin:auto}.wg-topbar{background:#f5f1ea;font-size:12px;padding:7px 0}.wg-topbar .wg-wrap{display:flex;justify-content:space-between}.wg-header{height:78px;border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:20}.wg-header .wg-wrap{height:100%;display:grid;grid-template-columns:190px 1fr auto;align-items:center;gap:28px}.wg-logo{font-size:24px;font-weight:800;letter-spacing:3px}.wg-nav{display:flex;justify-content:center;gap:27px;font-size:13px}.wg-nav a:hover{color:var(--clay)}.wg-tools{display:flex;align-items:center;gap:16px;font-size:13px}.wg-cart{position:relative}.wg-cart-count{display:inline-grid;place-items:center;background:#171714;color:#fff;border-radius:50%;font-size:10px;width:19px;height:19px;margin-left:3px}.wg-menu-toggle{display:none;border:0;background:none;font-size:26px;padding:8px}.wg-slider{position:relative;overflow:hidden;background:#eee}.wg-slide{display:none;min-height:530px;background-size:cover;background-position:center}.wg-slide.is-active{display:flex}.wg-slide-inner{width:min(var(--max),calc(100% - 48px));margin:auto;display:flex;align-items:center;min-height:530px}.wg-slide-copy{width:min(490px,45%);padding:38px;background:rgba(255,255,255,.78);backdrop-filter:blur(4px)}.wg-eyebrow{font-size:11px;letter-spacing:2px;font-weight:700}.wg-slide h1{font-size:48px;line-height:1.08;margin:12px 0 15px;letter-spacing:-1px}.wg-slide p{margin:0 0 24px}.wg-button,.button,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;border:1px solid #171714;background:#171714;color:#fff;padding:12px 25px;font-weight:700;border-radius:0;cursor:pointer}.wg-button--light{background:transparent;color:#171714}.wg-dots{position:absolute;left:0;right:0;bottom:17px;display:flex;justify-content:center;gap:9px}.wg-dot{width:9px;height:9px;border-radius:50%;border:1px solid #171714;background:transparent;padding:0}.wg-dot.is-active{background:#171714}.wg-services{border-bottom:1px solid var(--line);background:#fff}.wg-service-grid{display:grid;grid-template-columns:repeat(4,1fr)}.wg-service{display:flex;gap:14px;align-items:center;padding:25px 30px;border-right:1px solid var(--line)}.wg-service:last-child{border-right:0}.wg-service-icon{font-size:26px}.wg-service strong{display:block;font-size:14px}.wg-service small{color:var(--muted)}.wg-section{padding:62px 0}.wg-section--cream{background:var(--cream)}.wg-heading{text-align:center;margin-bottom:30px}.wg-heading h2{font-size:30px;margin:0 0 5px}.wg-heading p{margin:0;color:var(--muted)}.wg-section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.wg-section-head h2{font-size:30px;margin:0}.wg-categories{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.wg-category{aspect-ratio:4/5;position:relative;overflow:hidden;background:#d8d0c5}.wg-category img{width:100%;height:100%;object-fit:cover;transition:.35s}.wg-category:hover img{transform:scale(1.04)}.wg-category::after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72))}.wg-category-copy{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;color:#fff}.wg-category-copy strong{display:block;font-size:20px}.wg-category-copy span{font-size:12px}.wg-products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.wg-product-card{position:relative}.wg-product-image{aspect-ratio:1/1;background:#f3f1ed;overflow:hidden;margin-bottom:12px}.wg-product-image img{width:100%;height:100%;object-fit:cover;transition:.35s}.wg-product-card:hover .wg-product-image img{transform:scale(1.03)}.wg-product-card h3{font-size:15px;font-weight:500;margin:0 0 4px}.wg-price{font-size:14px;font-weight:700}.wg-product-add{position:absolute;right:10px;top:calc(100% - 54px);width:34px;height:34px;border-radius:50%;padding:0;background:#fff;color:#171714;border:1px solid #ccc}.wg-story{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;background:#ded3c5}.wg-story-image{min-height:460px;background:url('assets/images/fragrance-incense.png') center/cover}.wg-story-copy{padding:65px}.wg-story-copy h2{font-size:40px;line-height:1.15;margin:10px 0 18px}.wg-journal{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.wg-journal article{border:1px solid var(--line);background:#fff}.wg-journal img{width:100%;aspect-ratio:1.55;object-fit:cover}.wg-journal-copy{padding:15px}.wg-journal h3{font-size:16px;line-height:1.45;margin:5px 0 10px}.wg-footer{background:#191916;color:#fff;padding:55px 0 20px}.wg-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:45px}.wg-footer h3{font-size:14px;letter-spacing:1px}.wg-footer a,.wg-footer p{display:block;color:#c8c5bd;font-size:13px;margin:7px 0}.wg-copyright{border-top:1px solid #3b3b37;margin-top:40px;padding-top:18px;color:#92918c;font-size:12px}.wg-content{padding:50px 0;min-height:55vh}.woocommerce .products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:22px}.woocommerce .products::before,.woocommerce .products::after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important}.woocommerce ul.products li.product a img,.wc-block-grid__product-image img{width:100%!important;aspect-ratio:1/1!important;height:auto!important;object-fit:cover!important;background:#f3f1ed}.woocommerce div.product{max-width:var(--max);margin:50px auto}.woocommerce-cart-form,.cart_totals,.woocommerce-checkout,.woocommerce-account .woocommerce{max-width:var(--max);margin:40px auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:900px){.wg-wrap{width:min(100% - 32px,var(--max))}.wg-topbar{display:none}.wg-header{height:66px}.wg-header .wg-wrap{display:flex;justify-content:space-between}.wg-logo{font-size:20px}.wg-menu-toggle{display:block}.wg-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;padding:20px 24px;border-bottom:1px solid var(--line);flex-direction:column;gap:14px}.wg-nav.is-open{display:flex}.wg-tools .wg-search,.wg-tools .wg-account{display:none}.wg-slide,.wg-slide-inner{min-height:530px}.wg-slide-copy{width:80%;padding:28px}.wg-slide h1{font-size:38px}.wg-service-grid{grid-template-columns:repeat(2,1fr)}.wg-service:nth-child(2){border-right:0}.wg-service:nth-child(-n+2){border-bottom:1px solid var(--line)}.wg-categories{grid-template-columns:repeat(3,1fr)}.wg-products,.woocommerce .products{grid-template-columns:repeat(3,1fr)}.wg-journal{grid-template-columns:repeat(2,1fr)}.wg-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wg-wrap{width:calc(100% - 28px)}.wg-header .wg-wrap{width:calc(100% - 20px)}.wg-tools{gap:7px}.wg-slide,.wg-slide-inner{min-height:500px}.wg-slide-inner{align-items:flex-end;width:100%}.wg-slide-copy{width:100%;padding:26px 24px 42px;background:linear-gradient(transparent,rgba(255,255,255,.95) 22%,#fff)}.wg-slide h1{font-size:33px}.wg-slide p{font-size:14px}.wg-service{padding:17px 12px;gap:8px}.wg-service-icon{font-size:21px}.wg-service strong{font-size:12px}.wg-service small{font-size:10px}.wg-section{padding:43px 0}.wg-heading h2,.wg-section-head h2{font-size:25px}.wg-section-head{align-items:center}.wg-categories{grid-template-columns:repeat(2,1fr);gap:10px}.wg-category-copy{left:13px;right:13px;bottom:12px}.wg-category-copy strong{font-size:16px}.wg-products,.woocommerce .products{grid-template-columns:repeat(2,1fr);gap:18px 10px}.wg-product-card h3{font-size:13px}.wg-story{grid-template-columns:1fr}.wg-story-image{min-height:330px}.wg-story-copy{padding:38px 24px}.wg-story-copy h2{font-size:31px}.wg-journal{grid-template-columns:1fr}.wg-footer-grid{grid-template-columns:1fr 1fr;gap:25px}.wg-footer-grid>div:first-child{grid-column:1/-1}.woocommerce div.product{margin:25px 14px}.woocommerce-cart-form,.cart_totals,.woocommerce-checkout,.woocommerce-account .woocommerce{margin:25px 14px}}

/* Editorial category and weekly product layout */
.wg-shop-by-category,.wg-weekly{background:#fbf9f4}.wg-editorial-heading{display:grid;grid-template-columns:1fr 330px;gap:50px;align-items:end;margin-bottom:34px}.wg-editorial-heading h2{font-size:34px;line-height:1.25;font-weight:500;margin:12px 0 0}.wg-editorial-heading>p{color:var(--muted);font-size:13px;margin:0}.wg-category-list{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid #d8d0c5;border-top:1px solid #d8d0c5}.wg-category-row{min-height:138px;border-right:1px solid #d8d0c5;border-bottom:1px solid #d8d0c5;padding:23px 18px;display:grid;grid-template-columns:28px 1fr;gap:4px;transition:.2s}.wg-category-row:hover{background:#f1ece3}.wg-category-no{font-size:10px;color:#a58b74}.wg-category-row strong{display:block;font-size:16px}.wg-category-row small{display:block;color:var(--muted);font-size:11px;margin-top:7px;min-height:34px}.wg-category-row b{display:block;font-size:20px;font-weight:400;margin-top:4px}.wg-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.wg-filter-chips a{border:1px solid #d8d0c5;border-radius:30px;padding:8px 17px;font-size:12px;background:#fff}.wg-filter-chips a.is-active{background:#20231e;border-color:#20231e;color:#fff}.wg-subcategory-bar{display:flex;align-items:center;gap:25px;flex-wrap:wrap;background:#eee9df;border-left:2px solid #c85f3f;padding:20px 22px;margin-bottom:28px;font-size:12px}.wg-subcategory-bar strong{margin-right:6px}.wg-subcategory-bar a.is-active{color:#c85f3f}.wg-product-heart{position:absolute;z-index:3;right:10px;top:10px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #ddd;font-size:20px}.wg-product-meta{font-size:11px;color:#8d887f;margin-top:12px}.wg-product-summary{font-size:12px;color:var(--muted);margin:7px 0 14px;min-height:38px}.wg-product-bottom{display:flex;justify-content:space-between;align-items:center}.wg-product-bottom .wg-product-add{position:static}.wg-empty-products{border:1px solid var(--line);padding:45px;text-align:center;color:var(--muted);background:#fff}
@media(max-width:900px){.wg-editorial-heading{grid-template-columns:1fr}.wg-category-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.wg-editorial-heading{gap:15px;margin-bottom:25px}.wg-editorial-heading h2{font-size:27px}.wg-editorial-heading>p{font-size:12px}.wg-category-row{min-height:120px;padding:17px 12px;grid-template-columns:22px 1fr}.wg-category-row strong{font-size:14px}.wg-filter-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px}.wg-filter-chips a{white-space:nowrap}.wg-subcategory-bar{gap:15px;flex-wrap:nowrap;overflow-x:auto}.wg-subcategory-bar>*{white-space:nowrap}.wg-product-summary{font-size:11px;min-height:34px}}
