.shop-main{max-width:1120px;margin:auto;padding:42px 22px 90px}.shop-eyebrow{letter-spacing:.2em;color:#6b806c;font-size:12px}.shop-main h1{font-family:var(--font-display,serif);font-size:clamp(30px,5vw,48px);margin:12px 0}.shop-lead{max-width:760px;line-height:1.9;color:#687169}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:35px 0}.shop-card{border:1px solid #deddd3;border-radius:16px;overflow:hidden;background:var(--surface,#fffdf8);display:flex;flex-direction:column}.shop-card img{width:100%;aspect-ratio:4/5;object-fit:cover}.shop-card-body{padding:22px;display:grid;gap:12px}.shop-card h2{font-size:20px;margin:0}.shop-card p{margin:0;line-height:1.7;font-size:14px}.shop-original{font-size:13px;color:#797e77}.shop-price{font-size:22px;color:#446450;font-weight:600}.shop-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.shop-actions input{width:52px;text-align:center}.shop-main button,.shop-main input,.shop-main select,.shop-main textarea,.shop-drawer button,.shop-drawer input{font:inherit;border:1px solid #c7cec3;border-radius:7px;padding:10px;background:var(--surface,#fffdf8);color:inherit}.shop-main button,.shop-drawer button{cursor:pointer}.shop-main button.primary,.shop-drawer .primary{background:#405f49;color:#fff;border:0;padding:12px 18px}.shop-main button:disabled{opacity:.5;cursor:not-allowed}.shop-note{padding:18px 22px;background:#edf0e8;border-radius:12px;color:#3f5543;line-height:1.8;margin:20px 0}.shop-float{position:fixed;right:20px;bottom:24px;z-index:100;background:#405f49;color:white;border:none;border-radius:30px;padding:14px 22px;font:inherit;box-shadow:0 6px 24px #0002;cursor:pointer}.shop-drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(430px,100vw);max-width:100vw;border:none;padding:25px;background:var(--surface,#fffdf8);color:var(--ink,#28372d)}.shop-drawer::backdrop{background:#17261e66}.shop-drawer h2{margin-top:25px}.shop-line{display:grid;gap:10px;padding:18px 0;border-bottom:1px solid #d9ded5}.shop-line small{color:#667367}.shop-table-wrap{overflow:auto;margin:20px 0}.shop-main table{border-collapse:collapse;width:100%;font-size:14px}.shop-main th,.shop-main td{padding:12px;border-bottom:1px solid #d9ded5;text-align:left;vertical-align:top;white-space:nowrap}.shop-main th{background:#edf0e8;color:#314936}.shop-main form{display:grid;gap:15px;max-width:760px}.shop-main label{display:grid;gap:7px}.shop-main label.check{display:flex;align-items:start}.shop-main .columns{display:grid;grid-template-columns:1fr 1fr;gap:25px}.shop-main details{margin:20px 0;padding:20px;border:1px solid #d9ded5;border-radius:12px}.shop-main summary{cursor:pointer;font-weight:bold}.shop-error{color:#a23e32;white-space:pre-line}.shop-product-hero{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.shop-product-hero img{width:100%;border-radius:16px}.shop-article{max-width:780px;line-height:1.95}.shop-article h2{margin-top:40px}.shop-main a{color:#446450}html[data-theme=dark] .shop-note,html[data-theme=dark] th{background:#243629;color:#d8e5d2}@media(max-width:850px){.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-product-hero{gap:25px}}@media(max-width:560px){.shop-grid,.shop-main .columns,.shop-product-hero{grid-template-columns:1fr}.shop-main{padding:24px 16px 90px}.shop-float{right:12px;bottom:16px}}

[data-buy-product] button,[data-buy-product] input{font:inherit;padding:10px;border:1px solid #c7cec3;border-radius:7px;}[data-buy-product] button.primary{background:#405f49;color:white;cursor:pointer;}

.shop-price-pair{display:grid;gap:4px;margin:12px 0}.shop-guest-price{font-size:15px;opacity:.8}.shop-price-pair .shop-price{line-height:1.5}.shop-join{font-size:14px;margin:8px 0 16px}.shop-group-price{font-weight:800}.shop-section-nav{display:flex;flex-wrap:wrap;gap:10px 20px;padding:20px 0;border-bottom:1px solid #b8c9bc}.shop-article section{scroll-margin-top:110px;margin:38px 0}.shop-article th,.shop-article td{vertical-align:top}.shop-article details{border-bottom:1px solid #b8c9bc;padding:16px 0}.shop-article summary{cursor:pointer;font-weight:700}.shop-article h3{margin-top:24px}

/* Product reading layout */
.shop-article #faq details{border:0;border-radius:0;box-shadow:none;background:transparent;padding:12px 0;margin:12px 0}
.product-guide-figure{margin:28px 0}.product-guide-figure img{display:block;width:100%;height:auto;max-height:800px;object-fit:contain;background:#fff;border-radius:8px}.product-guide-figure figcaption{font-size:13px;color:#687169;margin-top:9px;line-height:1.6}.product-guide-figure a{display:block}.product-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.product-guide-grid figure{min-width:0;margin:12px 0}.product-video{aspect-ratio:16/9;width:100%;margin:24px 0}.product-video iframe{display:block;width:100%;height:100%;border:0;border-radius:10px}.shipping-services{padding-left:1.5em;line-height:1.9}.shipping-services li{padding-left:.3em;margin:8px 0}@media(max-width:560px){.product-guide-grid{grid-template-columns:1fr}}

/* Keep completed checkout forms hidden despite their grid layout. */
.shop-main [hidden]{display:none!important}

/* 加入購物車：不彈出面板，只讓右下角購物車數字跳一下＋短暫小提示（2026-11-06） */
.shop-float.bump{animation:shop-bump .45s ease}.shop-float.bump #shop-cart-count{animation:shop-pop .45s ease}@keyframes shop-bump{0%{transform:scale(1)}35%{transform:scale(1.12)}100%{transform:scale(1)}}@keyframes shop-pop{0%{transform:scale(1)}40%{transform:scale(1.6)}100%{transform:scale(1)}}#shop-cart-count{display:inline-block;min-width:1.4em;padding:0 6px;margin-left:4px;border-radius:99px;background:#fff;color:#405f49;font-weight:700;text-align:center}
.shop-added{position:fixed;left:50%;bottom:28px;z-index:101;margin:0;padding:8px 14px;border-radius:99px;background:#26372d;color:#fff;font-size:14px;box-shadow:0 4px 16px #0003;opacity:0;transform:translate(-50%,6px);transition:opacity .2s,transform .2s;pointer-events:none;white-space:nowrap}.shop-added.show{opacity:1;transform:translate(-50%,0)}html.dark .shop-added{background:#e9efe6;color:#1d2a22}@media(max-width:760px){.shop-added{bottom:80px}}@media(prefers-reduced-motion:reduce){.shop-float.bump,.shop-float.bump #shop-cart-count{animation:none}.shop-added{transition:none}}
/* 2026-11-07 郵遞區號提示 */
.shop-zip-hint{margin:-6px 0 4px;font-size:14px;line-height:1.6;color:#3f5543}.shop-zip-hint:empty{display:none}html[data-theme=dark] .shop-zip-hint{color:#d8e5d2}
/* 2026-11-07 會員專屬商品 */
.shop-member-only{display:block;width:fit-content;margin:0 0 8px;padding:3px 12px;border-radius:999px;background:#405f491a;color:#2f4a37;font-size:14px;font-weight:700}html[data-theme=dark] .shop-member-only{background:#ffffff1a;color:#d8e5d2}
.shop-product-hero.no-image{grid-template-columns:1fr}

/* 2026-11-07 信用卡付款結果 */
.shop-pay-box{border:1px solid var(--line,#d8cfc0);border-radius:12px;padding:14px 16px;margin:0 0 16px;background:var(--card,#fffaf2)}.shop-pay-box h2{margin:0 0 6px;font-size:1.15rem}.shop-pay-box select{margin:0 6px}.shop-pay-box a.primary{display:inline-block;background:#405f49;color:#fff;border-radius:8px;padding:12px 18px;text-decoration:none}
/* 2026-11-09 結帳地址：縣市→鄉鎮市區→路街＋巷弄號樓室（手機好按） */
.addr-post{border:1px solid var(--line,#d8d5ca);border-radius:12px;padding:10px 14px 12px;margin:4px 0 12px;min-width:0}
.addr-post legend{padding:0 6px;font-weight:600}
.addr-post select,.addr-post input,#addr-store input{font-size:16px;min-height:44px}
.addr-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.addr-nums{display:flex;flex-wrap:wrap;align-items:center;gap:8px 6px;margin-top:6px}
.addr-n{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.addr-n input{width:4.2em;text-align:center;padding:6px 4px}
.addr-note{margin:6px 0 0;font-size:13px;color:var(--muted,#627064)}
@media(max-width:480px){.addr-row{grid-template-columns:1fr}.addr-n input{width:3.6em}}
/* 2026-11-09 商品主圖：有寫 width/height 屬性的圖片（眼水三頁）也要等比例縮放，不能被拉成原始高度 */
.shop-product-hero img{height:auto;max-width:100%;aspect-ratio:auto}
.product-guide-figure img,.shop-article img{height:auto;max-width:100%}
/* 2026-11-09 小紅光燈顏色：購物車裡可改 */
.shop-line-color{display:flex;align-items:center;gap:6px;margin:4px 0}.shop-line-color select{padding:4px 8px}
/* 2026-11-09 結帳地址：公司／單位／處室 */
.addr-unit{margin-top:8px}.addr-unit input{font-size:16px;min-height:44px}
/* 2026-11-10 商品說明導覽：改成跟舒體儀一樣的圓角按鈕（Luvi 指定） */
.shop-section-nav{gap:10px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 32px}
.shop-section-nav a{padding:7px 13px;border:1px solid var(--line);border-radius:24px;text-decoration:none;font-size:14px;background:var(--surface)}
@media(max-width:700px){.shop-section-nav{gap:8px}.shop-section-nav a{font-size:13px;padding:7px 10px}}

.wood-material{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;align-items:center;margin:2rem 0}.wood-material img{width:100%;border-radius:24px}.wood-material h3{font-size:1.5rem}.shop-stock{font-size:.85rem;color:var(--muted,#66746a)}@media(max-width:600px){.wood-material{grid-template-columns:1fr;gap:.5rem}}

.shop-product-hero figure{margin:0;min-width:0}.shop-product-hero figure img{width:100%;border-radius:24px}.shop-product-hero figcaption{font-size:.8rem;line-height:1.7;color:var(--muted,#66746a);padding:12px 6px}.shop-bundle-prices{font-size:.9rem;color:var(--tone-clay,#965c48)}
/* 2026-11-11 工作室自取說明 */
.addr-pickup{border:1px solid var(--line,#d8d5ca);border-radius:12px;padding:10px 14px;margin:4px 0 12px;background:#f6f3ec}.addr-pickup p{margin:4px 0}
/* 2026-11-11 購物車單價、小計、商品合計 */
.shop-line-price{margin:4px 0 0;font-size:14px;color:var(--ink-2,#536258)}
.shop-cart-total{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line,#d8d5ca);font-size:16px}.shop-cart-total small{display:block;font-size:12px;color:var(--muted,#627064)}
/* 2026-11-11 購物車即時運費、免運提示、總計 */
.shop-cart-method{display:flex;align-items:center;gap:8px;margin:8px 0}.shop-cart-method select{padding:6px 8px;font-size:15px}
.shop-cart-ship p{margin:4px 0}.shop-cart-ship small{display:block;font-size:12px;color:var(--muted,#627064)}
.shop-free-hint{color:#a35a14;font-size:14px}.shop-cart-grand{font-size:17px}.shop-ship-err{color:#b23b3b;font-size:14px}
/* 2026-11-11 修正：手機開購物車時左邊被截掉、整頁可左右捲。
   原因：抽屜寬度 min(430px,100vw) 再加上左右 padding 25px（content-box），手機上總寬 425px > 螢幕。改成 border-box、寬度以螢幕為上限，內容一律可換行。 */
.shop-drawer{box-sizing:border-box;width:min(430px,100vw);max-width:100vw;margin:0 0 0 auto;inset-inline:auto 0;overflow-x:hidden;overflow-y:auto;padding:20px max(16px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) 16px}
.shop-drawer *{box-sizing:border-box;max-width:100%}
.shop-drawer select{max-width:100%;min-width:0}
.shop-drawer .shop-actions{flex-wrap:wrap}
.shop-line,.shop-cart-ship,.shop-cart-total,.shop-free-hint{overflow-wrap:anywhere}
.shop-cart-method{flex-wrap:wrap}.shop-cart-method select{flex:1 1 160px}
/* 2026-11-16 滿額香氣禮卡片：日夜間都看得清楚，手機上圖片放左邊、空白收緊 */
.shop-gift{box-sizing:border-box;max-width:100%;margin:32px 0;padding:24px;background:#e8eee2;color:#29483b;border-radius:22px;display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center}
.shop-gift img{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:16px;object-fit:cover}
.shop-gift .shop-gift-eyebrow{letter-spacing:.1em;font-size:13px;margin:0 0 4px;color:#5b6f60}
.shop-gift h2{margin:0 0 8px;color:inherit}.shop-gift p{margin:0 0 8px}.shop-gift a{color:#2f5643;font-weight:600}
html.dark .shop-gift{background:#2f3a2f;color:#ece6dc}html.dark .shop-gift .shop-gift-eyebrow{color:#b9c9b6}html.dark .shop-gift h2{color:#f2ece4}html.dark .shop-gift a{color:#cfe3c4}
@media(max-width:560px){.shop-gift{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:16px;margin:24px 0}.shop-gift h2{font-size:20px}.shop-gift-eyebrow{font-size:11px!important}.shop-gift p{font-size:14.5px}}
html.dark .shop-error{color:#ff9d8f}
/* 2026-11-18 滿額香氣禮移到輔具頁最上方：一打開就看到，上方不留多餘空白 */
.shop-main>.shop-gift:first-child{margin:0 0 28px}
@media(max-width:560px){.shop-main>.shop-gift:first-child{margin:0 0 20px}}
