.shop-main,.shop-status,.order-page footer{font-family:Arial,"Noto Sans TC","Microsoft JhengHei",sans-serif;letter-spacing:0}
.mobile-cart-link{display:none}
.site-header .nav-icon{display:block;width:18px;height:18px;max-width:none;flex:0 0 18px;object-fit:contain}
.brand-home .site-header nav a,.order-page .site-header nav a{gap:7px}
.order-page .site-header nav{display:flex;order:0;gap:24px;align-items:center;justify-self:center;grid-column:auto;width:auto;padding:0}
.order-page .site-header nav a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.4;padding:10px 0}
.order-page .site-header nav a[aria-current=page]{color:inherit;font-weight:400}
@media(max-width:980px){.order-page .site-header{grid-template-columns:minmax(0,1fr) auto;gap:0 16px}.order-page .site-header nav{grid-column:1/-1;grid-row:2;justify-self:start;gap:24px;min-height:44px}.order-page .language-switcher{grid-column:2;grid-row:1}}
@media(max-width:700px){.brand-home .site-header nav a{flex:1;min-width:0;flex-direction:column;gap:4px;line-height:1.3;padding:8px 0;white-space:normal;text-align:center}.brand-home .site-header nav a span{overflow-wrap:anywhere}.brand-home .site-header .nav-icon{width:16px;height:16px;flex-basis:16px}.order-page .site-header nav{display:flex;justify-self:stretch;gap:24px}.order-page .site-header nav a{font-size:13px;min-height:44px}}
.catalog-heading h1{font-size:24px;line-height:1.5;margin:0}
.product-content{padding:20px 22px 4px}
.product-card{border-radius:8px;overflow:hidden}
.product-content .product-category{margin-top:0}
@media(max-width:520px){.product-content{padding:20px 20px 4px}}
.shop-status{display:flex;align-items:center;gap:12px;padding:12px max(24px,calc((100% - 1280px)/2));background:#eef1ec;font-size:14px;border-bottom:1px solid #ccd2cb;flex-wrap:wrap}.shop-status a{margin-left:auto;color:#005331;text-decoration:underline;text-underline-offset:4px}.status-mark{width:8px;height:8px;background:#b87d00;border-radius:50%;flex:none}
.shop-main{max-width:1328px;margin:auto;padding:48px 24px 72px}.shop-heading{display:grid;grid-template-columns:1fr 280px;gap:48px;align-items:center;margin-bottom:48px}.shop-heading h1{font-size:36px;line-height:1.4;margin:10px 0 16px;max-width:650px}.shop-heading p{color:#5d655f;line-height:1.8;margin:0}.shop-heading .shop-eyebrow{color:#005331;font-weight:700;font-size:14px}.shop-photo{width:280px;height:170px;object-fit:cover}
.shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:40px;align-items:start}.catalog-heading,.checkout-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.catalog-heading h2,.checkout h2{font-size:24px;margin:0}.catalog-heading span{font-size:14px;color:#5d655f}.category-tabs{display:flex;gap:8px;margin:24px 0 16px;flex-wrap:wrap}.category-tabs button{border:1px solid #ccd2cb;background:white;padding:10px 18px;font:inherit;cursor:pointer;color:#172019;border-radius:4px;min-height:44px}.category-tabs button.selected{background:#005331;color:white;border-color:#005331}.catalog-note{font-size:13px;line-height:1.8;color:#5d655f;margin-bottom:24px}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}.product-card{background:white;min-width:0;border-bottom:1px solid #ccd2cb;padding-bottom:20px}.product-placeholder{aspect-ratio:4/3;background:#edf0ed;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#667367;font-size:14px;border:1px solid #d9dfd8}.photo-icon{font-size:34px;font-weight:400;line-height:1}.product-image{aspect-ratio:4/3;width:100%;object-fit:cover}.product-category{color:#005331;font-size:12px;margin:16px 0 8px}.product-card h3{font-size:20px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}.product-description{color:#5d655f;font-size:14px;line-height:1.8;margin:0 0 14px}.product-facts{margin:0 0 16px;display:grid;gap:8px;font-size:13px}.product-facts div{display:flex;justify-content:space-between;gap:12px}.product-facts dt{color:#5d655f}.product-facts dd{margin:0;font-weight:600}.product-actions{display:flex;gap:8px}.product-actions button{min-height:44px;padding:10px 12px;font:inherit;font-size:14px;border:1px solid #005331;color:#005331;background:white;border-radius:4px;cursor:pointer}.product-actions .add-item{background:#005331;color:white;flex:1}
.checkout{background:white;border:1px solid #ccd2cb;border-radius:4px;padding:24px;position:sticky;top:84px;min-width:0;scroll-margin-top:90px}.checkout-top>span{background:#eef1ec;min-width:30px;min-height:30px;text-align:center;line-height:30px;font-weight:700;border-radius:4px}.checkout-note,.privacy-note{font-size:13px;color:#5d655f;line-height:1.8}.empty-cart{padding:28px 0;text-align:center;border-block:1px solid #e0e5df;color:#5d655f;font-size:14px}.cart-item{padding:16px 0;border-bottom:1px solid #e0e5df}.cart-item h3{font-size:15px;line-height:1.6;margin:0 0 10px}.cart-controls{display:flex;align-items:center;gap:12px}.cart-controls button{width:34px;height:34px;background:white;border:1px solid #ccd2cb;border-radius:4px;font-size:20px;cursor:pointer;color:#172019}.cart-controls .remove-item{margin-left:auto;font-size:22px}.cart-controls output{min-width:24px;text-align:center}.totals{font-size:14px;margin:20px 0 24px;display:grid;gap:12px}.totals div{display:flex;justify-content:space-between;gap:12px}.totals dd{margin:0}.total-line{font-weight:700;border-top:1px solid #ccd2cb;padding-top:14px}
.checkout form{display:grid;gap:16px}.checkout form h3{margin:0;font-size:18px}.checkout form>label{display:grid;gap:8px;font-size:14px}.checkout input:not([type=radio]),.checkout textarea{border:1px solid #a5b0a5;border-radius:4px;padding:12px;width:100%;background:white;font:inherit;color:#172019;min-height:44px;box-sizing:border-box}.checkout textarea{resize:vertical}.checkout fieldset{margin:0;padding:12px;border:1px solid #ccd2cb;display:flex;gap:16px;flex-wrap:wrap}.checkout legend{font-size:14px;padding:0 4px}.radio-label{display:flex;align-items:center;gap:7px;font-size:14px;cursor:pointer;min-height:32px}.radio-label input{accent-color:#005331;width:18px;height:18px}.checkout #pickup-address{font-size:13px;line-height:1.8;margin:0;color:#5d655f}.checkout-submit{font:inherit;padding:14px;background:#e3e8e2;border:1px solid #c7d0c5;color:#536150;border-radius:4px;min-height:48px;cursor:not-allowed}.checkout-line{text-align:center;line-height:1.6;padding:10px;color:#005331;font-size:14px;text-decoration:underline;text-underline-offset:4px}.privacy-note{margin:0}.order-page footer{background:white;color:#5d655f;display:flex;gap:20px;justify-content:space-between;padding:24px;border-top:1px solid #ccd2cb}.order-page #catalog{scroll-margin-top:90px}
#product-dialog{border:1px solid #ccd2cb;border-radius:6px;max-width:520px;width:calc(100% - 32px);padding:32px;color:#172019;max-height:85dvh;overflow:auto}#product-dialog::backdrop{background:rgb(0 0 0 / .45)}.dialog-close{display:block;margin:0 0 16px auto;width:44px;height:44px;font-size:28px;background:white;border:1px solid #ccd2cb;border-radius:4px;cursor:pointer}#detail-content h2{font-size:24px;line-height:1.5}#detail-content p{line-height:1.8;color:#5d655f}
.service-launcher{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:24px;z-index:40;background:#005331;color:white;padding:14px 20px;border:1px solid white;box-shadow:0 3px 14px #0002;border-radius:6px;font:700 14px Arial,"Microsoft JhengHei",sans-serif;text-decoration:none;display:flex;align-items:center;gap:10px;min-height:48px}.service-launcher:hover{background:#003f27}.service-launcher .service-symbol{font-size:19px}.commerce-shortcuts{display:flex;justify-content:center;gap:24px;background:white;border-bottom:1px solid #ccd2cb;padding:12px 20px;font:700 14px Arial,"Microsoft JhengHei",sans-serif}.commerce-shortcuts a{color:#005331;text-decoration:underline;text-underline-offset:5px}.commerce-preview{background:#edf0ed;padding:10px 24px;font-size:13px;text-align:center;color:#455543}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b98200;outline-offset:3px}.order-page [hidden]{display:none!important}
@media(min-width:1500px){.shop-layout{gap:56px;grid-template-columns:minmax(0,1fr) 380px}}
@media(max-width:1050px){.shop-layout{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.checkout{padding:20px}.product-grid{gap:20px 14px}.shop-heading h1{font-size:30px}}
@media(max-width:800px){.mobile-cart-link{display:flex;align-items:center;justify-content:space-between;gap:20px;position:fixed;bottom:16px;left:20px;right:20px;z-index:35;background:#005331;color:white;padding:16px 20px;border-radius:4px;font:700 15px Arial,"Microsoft JhengHei",sans-serif;box-shadow:0 3px 12px #0002}.shop-layout{grid-template-columns:1fr}.checkout{position:static}.shop-heading{grid-template-columns:1fr 180px;gap:24px}.shop-photo{width:180px;height:150px}.shop-main{padding-top:32px}.checkout form{grid-template-columns:1fr 1fr}.checkout form>h3,.checkout form>fieldset,.checkout form>p,.checkout form>#address-field,.checkout form>button,.checkout form>a{grid-column:1/-1}.service-launcher{right:16px;padding:12px 16px}.shop-status{font-size:13px}.order-page footer{padding-bottom:100px}}
@media(max-width:520px){.shop-main{padding:28px 20px 40px}.shop-heading{display:block;margin-bottom:32px}.shop-heading h1{font-size:27px}.shop-photo{display:none}.shop-heading p{font-size:15px}.category-tabs{gap:6px}.category-tabs button{padding:9px 13px;font-size:14px}.product-grid{grid-template-columns:1fr}.product-placeholder{aspect-ratio:16/10}.checkout form{grid-template-columns:1fr}.checkout form>*{grid-column:1/-1}.shop-status{padding:12px 20px;gap:8px}.shop-status a{margin-left:20px}.checkout{padding:20px}.order-page footer{flex-wrap:wrap;padding-bottom:90px}.product-actions button{min-height:46px}.commerce-shortcuts{justify-content:flex-start;gap:22px;padding-inline:20px}.service-launcher{font-size:13px}}

/* One navigation row and a dismissible edge dock, using the existing brand tokens. */
.brand-home .site-header{grid-template-columns:184px minmax(0,1fr) auto;gap:24px;min-height:78px;padding:8px 32px;transition:padding .2s ease,min-height .2s ease}
.brand-home .brand{min-width:0;display:block}
.brand-home .brand-logo-frame{width:184px;height:60px}
.brand-home .brand-logo{width:222px;left:-30px;top:-50px}
.brand-home .site-header nav{display:flex;order:0;grid-column:auto;justify-self:center;align-items:center;gap:24px;width:auto;padding:0;overflow:visible;white-space:nowrap}
.brand-home nav a{display:inline-flex;align-items:center;justify-content:center;position:relative;min-height:44px;padding:10px 0;border:0;font-size:14px;transition:color .15s ease}
.brand-home nav a::after{content:"";position:absolute;inset:auto 0 6px;height:2px;background:var(--forest);transform:scaleX(0);transform-origin:left;transition:transform .15s ease}
.brand-home nav a:hover::after,.brand-home nav a:focus-visible::after{transform:scaleX(1)}
.brand-home nav .nav-order{color:inherit;font-weight:400}
.brand-home .language-switcher{gap:0;padding:0;border:0}
.brand-home .language-switcher button{min-width:44px;min-height:44px;padding:6px;font-size:13px;transition:background-color .15s ease}
.brand-home .site-header.compact{min-height:62px;padding-block:4px}
.brand-home .site-header.compact .brand-logo-frame{width:156px;height:50px}
.brand-home .site-header.compact .brand-logo{width:188px;left:-26px;top:-42px}
.brand-home .site-header.compact nav a{font-size:14px}
.service-dock{position:fixed;right:20px;bottom:calc(80px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;align-items:stretch;min-height:52px;max-width:calc(100vw - 20px);filter:drop-shadow(0 3px 8px #0002)}
.service-dock.is-collapsed{right:0}
.service-dock .service-launcher[hidden]{display:none}
.service-dock.is-ready .service-launcher:not([hidden]){animation:service-open .18s ease-out}
@keyframes service-open{from{opacity:0;transform:translateX(6px)}to{opacity:1;transform:translateX(0)}}
.service-toggle{display:grid;place-items:center;flex:none;width:44px;min-height:52px;padding:0;background:#fff;border:1px solid var(--line);border-right:0;border-radius:6px 0 0 6px;color:var(--forest);cursor:pointer;transition:background-color .15s ease}
.service-toggle[hidden]{display:none}
.service-toggle:hover{background:#eef1ec}
.service-toggle img{width:20px;height:20px;transition:transform .2s ease}
.is-collapsed .service-toggle img{transform:rotate(180deg)}
.service-dock .service-launcher{position:static;display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 18px;color:white;background:var(--forest);border:1px solid var(--forest);border-radius:0 6px 6px 0;box-shadow:none;font:600 14px Arial,"Microsoft JhengHei",sans-serif;white-space:nowrap;transition:background-color .15s ease}
.service-dock .service-launcher:hover{background:#003f27}
.service-dock .service-symbol{font-size:15px;font-weight:800;line-height:1}
.service-toggle:active{background:#dfe9e1}
.service-dock .service-launcher:active{background:#002e1c}
.service-dock :focus-visible{outline:3px solid #bd8900;outline-offset:3px}
@media(max-width:1100px){.brand-home .site-header{grid-template-columns:160px minmax(0,1fr) auto;gap:18px;padding-inline:24px}.brand-home .brand-logo-frame{width:160px}.brand-home .brand-logo{width:200px;left:-27px;top:-43px}.brand-home .site-header nav{gap:18px}.brand-home nav a,.brand-home .site-header.compact nav a{font-size:13px}}
@media(max-width:850px){.brand-home .site-header{grid-template-columns:144px minmax(0,1fr) auto;gap:12px;padding-inline:16px}.brand-home .brand-logo-frame{width:144px;height:54px}.brand-home .brand-logo{width:178px;left:-24px;top:-39px}.brand-home .site-header nav{gap:14px}.brand-home .language-switcher button{min-width:44px}}
@media(max-width:700px){.brand-home .site-header{grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding:6px 16px 0;min-height:0}.brand-home .brand-logo-frame{width:144px;height:50px}.brand-home .brand-logo{width:178px;left:-24px;top:-40px}.brand-home .site-header nav{display:flex;grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:space-between;gap:16px;width:100%;min-width:0;overflow-x:auto;scrollbar-width:none;padding:0 2px}.brand-home .site-header nav::-webkit-scrollbar{display:none}.brand-home nav a,.brand-home .site-header.compact nav a{flex:none;min-height:44px;font-size:13px}.brand-home .language-switcher{grid-column:2;grid-row:1}.brand-home .language-switcher button{min-width:44px;min-height:44px}.brand-home .site-header.compact{padding:2px 16px 0;min-height:0}.brand-home .site-header.compact .brand-logo-frame{width:128px;height:42px}.brand-home .site-header.compact .brand-logo{width:156px;left:-22px;top:-35px}.service-dock{right:12px}.service-dock .service-launcher{font-size:13px;padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.service-dock,.service-toggle,.service-toggle img,.service-dock .service-launcher,.brand-home nav a::after,.brand-home .site-header{transition:none;animation:none!important}}
@media(min-width:701px) and (max-width:850px){.brand-home .site-header{grid-template-columns:minmax(0,1fr) auto;gap:0 12px}.brand-home .site-header nav{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:center;gap:24px}.brand-home .language-switcher{grid-column:2;grid-row:1}}

/* 2026-11-14 product photos and details */
.product-image{display:block;background:#edf0ed}
.product-card .product-description.clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}

.product-info{margin:20px 0 0;display:grid;gap:14px;border-top:1px solid #ccd2cb;padding-top:18px}.product-info dt{font-size:13px;font-weight:600;color:#172019;margin-bottom:4px}.product-info dd{margin:0;font-weight:400;text-align:left;font-size:14px;line-height:1.8;color:#5d655f}

/* Expandable card description */
.product-card .product-description.expanded{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible}
.description-toggle{display:inline-flex;align-items:center;gap:4px;min-height:40px;margin:-12px 0 6px;padding:0;background:none;border:0;color:#005331;font:inherit;font-size:14px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.description-toggle::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:4px;transition:transform .2s}
.description-toggle[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
.description-toggle:focus-visible{outline:2px solid #005331;outline-offset:2px}
html.dialog-open{overflow:hidden}


/* Equal-height cards: specs, price, stock and buttons sit at the bottom so cards in a row line up */
.product-grid{align-items:stretch}
.product-card{display:flex;flex-direction:column}
.product-card .product-content{flex:1;display:flex;flex-direction:column}
.product-card .product-facts{margin-top:auto}
.product-card .description-toggle{align-self:flex-start}

/* Ordering closed: add-to-cart matches the disabled submit button */
.add-item:disabled{background:#e3e8e2;color:#536150;border:1px solid #c7d0c5;cursor:not-allowed}

/* Product detail modal (rebuilt 2026-11-14)
   Wide: photo left, details right; details scroll, close button and action bar stay put.
   Phone: full screen, photo on top, close button floats over the photo, action bar pinned to the bottom. */
#product-dialog{padding:0;border:0;border-radius:10px;width:min(960px,calc(100% - 48px));max-width:none;max-height:min(680px,calc(100dvh - 48px));overflow:hidden;box-shadow:0 24px 60px rgb(0 0 0 / .25)}
#product-dialog[open]{display:flex}
#product-dialog .dialog-close{position:absolute;top:14px;right:14px;z-index:3;margin:0;width:40px;height:40px;border-radius:50%;border:1px solid rgb(0 0 0 / .08);background:rgb(255 255 255 / .94);box-shadow:0 2px 8px rgb(0 0 0 / .15);font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;color:#172019}
#product-dialog .dialog-close:focus-visible{outline:2px solid #005331;outline-offset:2px}
#detail-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.detail-media{background:#edf0ed;min-height:0}
.detail-media .product-image,.detail-media .product-placeholder{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border:0;border-radius:0}
.detail-main{display:flex;flex-direction:column;min-height:0}
.detail-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:36px 36px 24px}
.detail-body .product-category{margin:0 0 6px}
#detail-content .detail-body h2{margin:0 56px 16px 0;font-size:26px;line-height:1.4}
.detail-body .product-facts{margin:0 0 18px}
#detail-content .detail-description{margin:0;font-size:15px;line-height:1.9;color:#3f4741}
.detail-body .product-info{margin-top:22px}
.detail-actions{display:flex;align-items:center;gap:16px;padding:16px 36px;border-top:1px solid #dde2dc;background:white}
.detail-price{font-size:22px;font-weight:700;color:#172019;white-space:nowrap}
.detail-actions .add-item{flex:1;min-height:48px;border-radius:4px;font:inherit;font-weight:600;border:0;cursor:pointer}
.detail-actions .add-item:disabled{border:1px solid #c7d0c5;cursor:not-allowed}
@media (max-width:860px){
  #product-dialog{width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px)}
  #detail-content{display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain}
  .detail-media{flex:none}
  .detail-media .product-image,.detail-media .product-placeholder{aspect-ratio:3/2;height:auto}
  .detail-main{flex:none;min-height:auto}
  .detail-body{overflow:visible;padding:24px 24px 20px}
  #detail-content .detail-body h2{margin-right:0}
  .detail-actions{position:sticky;bottom:0;padding:14px 24px}
}
@media (max-width:520px){
  #product-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;inset:0;border-radius:0}
  #product-dialog .dialog-close{top:calc(12px + env(safe-area-inset-top,0px));right:12px;width:44px;height:44px}
  .detail-main{flex:1 0 auto}
  .detail-body{padding:22px 20px 20px}
  #detail-content .detail-body h2{font-size:23px}
  .detail-actions{padding:12px 20px calc(12px + env(safe-area-inset-bottom,0px));box-shadow:0 -6px 16px rgb(0 0 0 / .06)}
}
/* Labels and values in spec rows share one baseline */
.product-facts div{align-items:baseline}
.product-facts dd{text-align:right}
