:root{
  --green:#40593a;--green-dark:#31472e;--green-soft:#65795d;--cream:#f6f0e2;--paper:#fffaf0;
  --line:#d8ceb9;--rose:#bd686d;--rose-dark:#a65359;--blue:#73a7d8;--purple:#ad7ab3;
  --orange:#d88a2c;--text:#3f3a31;--muted:#776f62;--shadow:0 7px 0 rgba(38,54,34,.24);
  color-scheme:light;font-family:"PingFang TC","Noto Sans TC",system-ui,-apple-system,sans-serif;
  color:var(--text);background:var(--green);line-height:1.55
}
*{box-sizing:border-box}html{min-width:0;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:0;margin:0;background:var(--green);overflow-x:hidden}
button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e7bd71;outline-offset:3px}
[hidden]{display:none!important}.site-header{color:var(--cream);padding:18px 20px 8px}.header-inner{max-width:1180px;margin:auto;display:flex;align-items:center;gap:12px}.brand{padding:0;border:0;background:none;color:inherit;font-size:24px;font-weight:900;letter-spacing:.08em}.test-pill{border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:3px 10px;font-size:12px}.admin-link{margin-left:auto;color:inherit;text-decoration:none;font-size:13px}
.mobile-nav{position:sticky;top:0;z-index:20;max-width:760px;margin:0 auto 18px;display:grid;grid-template-columns:repeat(4,1fr);background:var(--cream);border:1px solid #d8cdb7;border-radius:12px;box-shadow:var(--shadow);overflow:visible}.mobile-nav button{position:relative;min-width:0;border:0;border-right:1px solid #c8bba4;padding:8px 4px 7px;background:transparent;color:var(--green);display:grid;justify-items:center;gap:1px}.mobile-nav button:last-child{border-right:0}.mobile-nav button.active{background:#e5ecd9}.mobile-nav button b{font-size:11px}.mobile-nav svg{width:22px;height:22px}.mobile-nav i{position:absolute;top:-7px;right:9px;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#bd4335;color:white;font:700 11px/19px system-ui;font-style:normal}
main{max-width:1220px;min-height:calc(100vh - 120px);margin:auto;padding:0 20px 80px}.test-notice{display:flex;gap:12px;align-items:center;margin:0 auto 18px;max-width:760px;padding:10px 14px;border:1px solid rgba(255,255,255,.32);border-radius:10px;color:#f8f2e5;font-size:12px}.test-notice strong{white-space:nowrap;color:#ffd89a}.page-message{color:white;text-align:center}.page{animation:page-in .18s ease}.page-heading{display:flex;align-items:center;gap:14px;margin:26px 0 18px;color:white}.page-heading p{margin:0;padding:6px 13px;border-radius:6px;background:var(--rose);font-weight:800;letter-spacing:.08em}.page-heading h1{font-size:24px;margin:0}.section-kicker{font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--rose-dark)}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);align-items:start;gap:18px}.guide-card,.group-card,.product-card,.group-hero,.group-notice,.empty-panel,.lookup-form,.order-card,.cart-group{background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.guide-card{min-width:0;padding:14px;text-align:center;border:0}.guide-visual{width:100%;height:auto;aspect-ratio:1/1;overflow:hidden;border-radius:7px;background:linear-gradient(155deg,#f6e8d7,#fffaf0);display:grid;place-items:center;border-top:13px solid var(--rose);border-bottom:13px solid var(--rose);color:var(--rose-dark)}.guide-card:nth-child(2) .guide-visual{border-color:var(--green-soft);color:var(--green)}.guide-card:nth-child(3) .guide-visual{border-color:#62759a;color:#485779}.guide-visual svg{width:74px;height:74px}.guide-card h2{margin:12px 0 2px;font-size:17px}.guide-card p{font-size:12px;color:var(--muted);margin:0}.guide-card button{margin-top:10px;border:0;background:none;color:var(--green);font-weight:800}
.group-section{margin-top:36px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:white;border-bottom:1px solid rgba(255,255,255,.45);padding-bottom:9px}.section-title h2{margin:0;padding:5px 14px;background:var(--blue);border-radius:6px;font-size:20px;box-shadow:5px 5px 0 rgba(33,45,30,.32)}.section-title span{font-size:13px}.group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.group-card{overflow:hidden}.group-card button{width:100%;height:100%;padding:0;border:0;background:none;text-align:left;color:inherit}.group-card-image{aspect-ratio:1/1;width:100%;object-fit:cover;background:#eee7d7}.group-card-placeholder{aspect-ratio:1/1;display:grid;place-items:center;background:linear-gradient(145deg,#f0e9da,#fffaf0);color:var(--green)}.group-card-placeholder svg{width:76px;height:76px}.group-card-body{padding:11px 13px 14px}.group-card-time{font-size:12px;color:var(--rose-dark)}.group-card h3{margin:6px 0 0;font-size:16px;line-height:1.35}.group-card small{color:var(--muted)}.empty-groups{padding:30px;text-align:center;border:1px dashed rgba(255,255,255,.45);border-radius:12px;color:white}
.back-button{margin:8px 0 16px;border:1px solid rgba(255,255,255,.55);background:transparent;color:white;border-radius:9px;padding:8px 12px;display:flex;gap:6px;align-items:center}.back-button svg{width:18px}.group-hero{overflow:hidden}.group-hero img{display:block;width:100%;max-height:520px;object-fit:contain;background:#ece4d5}.group-hero>div{padding:20px}.group-hero h1{font-size:28px;margin:4px 0}.group-hero p{margin:0;color:var(--muted)}.group-notice{margin:18px 0}.group-notice summary{padding:14px 17px;font-weight:800;color:var(--green);cursor:pointer;display:flex;align-items:center;gap:8px}.group-notice summary svg{width:21px}.group-notice p{white-space:pre-wrap;border-top:1px solid var(--line);padding:18px;margin:0;overflow-wrap:anywhere}.gift-banner{margin:18px 0;background:#dfe8d5;color:var(--green-dark);border-radius:10px;padding:13px 16px;font-weight:700}.product-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product-card{display:grid;grid-template-columns:minmax(160px,42%) 1fr;overflow:hidden}.product-image,.product-placeholder{width:100%;height:100%;min-height:260px;object-fit:contain;background:#eee8da}.product-placeholder{display:grid;place-items:center;color:#8c816f}.product-placeholder svg{width:60px}.product-info{min-width:0;padding:19px}.product-info h2{font-size:20px;margin:0}.original-name{margin:0;color:var(--muted);font-size:13px}.product-description{white-space:pre-wrap;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.product-price{display:block;margin:12px 0;color:var(--rose-dark);font-size:22px}.product-controls{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.product-controls label{display:grid;gap:4px;min-width:145px;flex:1;font-size:12px}.product-controls select{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:9px;background:white}.qty-control{display:flex;align-items:center;gap:8px}.qty-control button{width:34px;height:34px;border:0;border-radius:50%;background:#a7c07f;color:var(--green-dark);font-size:21px}.qty-control output{min-width:20px;text-align:center;font-weight:800}.add-button{margin-top:13px;width:100%;border:0;border-radius:8px;padding:10px;background:var(--green);color:white;font-weight:800}.product-limit{display:block;margin-top:6px;color:var(--rose-dark);font-size:11px}
.empty-panel{padding:50px 30px;text-align:center;max-width:700px;margin:auto}.empty-panel>svg{width:64px;color:var(--green)}.empty-panel button,.lookup-form button,.cart-summary button{border:0;border-radius:8px;background:var(--green);color:white;padding:11px 18px;font-weight:800}.lookup-form{display:flex;align-items:end;gap:12px;padding:18px;box-shadow:none}.lookup-form label{display:grid;gap:6px;flex:1;font-weight:700}.lookup-form input{width:100%;min-width:0;border:1px solid var(--line);border-radius:8px;padding:11px}.privacy-hint,#lookupMessage{color:white;font-size:13px}.order-filters{display:flex;gap:8px;overflow:auto;padding-bottom:10px}.order-filters button{white-space:nowrap;border:1px solid rgba(255,255,255,.55);border-radius:99px;padding:6px 12px;background:transparent;color:white}.order-filters button.active{background:var(--cream);color:var(--green)}.order-results{display:grid;gap:18px}.order-card{overflow:hidden}.order-card summary{list-style:none;cursor:pointer;padding:14px}.order-card summary::-webkit-details-marker{display:none}.order-card-heading{display:flex;align-items:center;gap:10px;background:#f5efdf;padding:8px 11px}.order-pin{color:var(--green);width:25px}.order-card-heading h2{flex:1;margin:0;font-size:18px}.status-chip{white-space:nowrap;border-radius:999px;padding:4px 10px;background:var(--rose);color:white;font-size:12px;font-weight:800}.status-chip.pending{background:var(--orange)}.status-chip.done{background:#62503f}.order-meta{padding:11px 5px 2px;font-size:13px}.order-meta strong{font-size:17px}.order-details{padding:0 18px 18px}.order-table{width:100%;border-collapse:collapse}.order-table th,.order-table td{padding:10px;border-bottom:1px dashed #beb39f;text-align:left;font-size:13px}.order-table th{color:var(--green)}.order-item{display:flex;align-items:center;gap:9px}.order-item img{width:44px;height:44px;object-fit:contain;background:#eee8da}.order-money{margin-left:auto;max-width:500px}.order-money div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:5px 0}.balance-bar{margin-top:12px;padding:12px;background:#f6eee0;color:var(--rose-dark);font-size:18px;font-weight:800;text-align:right}
.cart-group{margin-bottom:20px;overflow:hidden}.cart-group h2{margin:0;padding:13px 16px;background:#f5efdf;font-size:18px}.cart-items{padding:0 16px}.cart-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px dashed #cfc4b1}.cart-item img,.cart-image-placeholder{width:64px;height:64px;object-fit:contain;background:#eee8da;border-radius:6px}.cart-image-placeholder{display:grid;place-items:center}.cart-item h3{margin:0;font-size:15px}.cart-item p{margin:2px 0;color:var(--muted);font-size:12px}.cart-item-actions{display:flex;align-items:center;gap:7px}.cart-item-actions button{width:30px;height:30px;border:0;border-radius:50%;background:#adc786;color:var(--green);font-size:18px}.remove-cart{background:none!important;color:var(--rose-dark)!important}.cart-subtotal{padding:10px 16px;text-align:right;font-weight:800}.cart-summary{position:sticky;bottom:12px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:15px;margin-top:20px;padding:14px 18px;border-radius:10px;background:var(--rose);color:white;box-shadow:var(--shadow)}.cart-summary strong{font-size:23px}.cart-empty{background:var(--paper);padding:50px 20px;text-align:center;border-radius:12px}.toast{position:fixed;z-index:50;left:50%;bottom:28px;transform:translateX(-50%);max-width:min(90vw,440px);padding:11px 16px;border-radius:9px;background:#252e24;color:white;box-shadow:0 5px 18px rgba(0,0,0,.25);text-align:center;font-size:13px}
.guide-custom-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;background:var(--paper);border-radius:5px}.guide-body{width:100%;white-space:pre-wrap;text-align:left;margin-top:12px!important;overflow-wrap:anywhere}.guide-updated-at{display:block;margin-top:6px;color:var(--muted);font-size:10px}.group-notice>time{display:block;padding:0 18px 12px;color:var(--muted);font-size:11px}.order-details .privacy-hint{color:var(--muted)}
svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}@keyframes page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:601px){.mobile-nav{max-width:560px;border-radius:9px;box-shadow:0 3px 0 rgba(38,54,34,.2)}.mobile-nav button{min-height:43px;padding:6px 8px;display:flex;align-items:center;justify-content:center;gap:6px}.mobile-nav button:first-child{border-radius:8px 0 0 8px}.mobile-nav button:last-child{border-radius:0 8px 8px 0}.mobile-nav [data-icon]{display:grid;place-items:center;width:16px;height:16px;flex:0 0 16px}.mobile-nav svg{display:block;width:16px;height:16px}.mobile-nav button b{font-size:12px;line-height:1}.mobile-nav i{top:-6px;right:5px}.guide-visual svg{width:48px;height:48px}.group-card-placeholder svg{width:50px;height:50px}.empty-panel>svg{width:44px;height:44px}}
@media(max-width:900px){.product-list{grid-template-columns:1fr}.group-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.site-header{padding:11px 15px 7px}.brand{font-size:20px}.admin-link{font-size:11px}.test-pill{display:none}.mobile-nav{position:sticky;top:0;margin:0 13px 16px;border-radius:9px}.mobile-nav button{padding:5px 2px}.mobile-nav svg{width:19px;height:19px}.mobile-nav i{right:4px}main{padding:0 13px 70px}.test-notice{border-radius:8px;align-items:flex-start}.test-notice span{line-height:1.35}.page-heading{margin:18px 0 12px}.page-heading p{font-size:12px}.page-heading h1{font-size:20px}.guide-grid{gap:9px}.guide-card{padding:7px}.guide-visual{height:auto;aspect-ratio:1/1;border-top-width:8px;border-bottom-width:8px}.guide-visual svg{width:44px;height:44px}.guide-card h2{font-size:12px}.guide-card p{display:none}.guide-card button{font-size:11px;padding:3px}.group-section{margin-top:25px}.section-title h2{font-size:16px}.group-grid{gap:10px}.group-card-body{padding:8px}.group-card-time{font-size:10px}.group-card h3{font-size:13px}.group-card small{font-size:10px}.group-hero>div{padding:14px}.group-hero h1{font-size:21px}.group-hero p{font-size:12px}.group-notice{margin:12px 0}.group-notice p{font-size:13px}.product-list{gap:12px}.product-card{grid-template-columns:100px 1fr}.product-image,.product-placeholder{min-height:170px}.product-info{padding:12px}.product-info h2{font-size:16px}.product-description{display:none}.product-price{font-size:17px;margin:6px 0}.product-controls{gap:6px}.product-controls label{min-width:100%;font-size:11px}.qty-control{margin-top:3px}.add-button{margin-top:8px;padding:8px}.lookup-form{align-items:stretch;flex-direction:column}.lookup-form button{width:100%}.order-card summary{padding:8px}.order-card-heading{padding:8px}.order-card-heading h2{font-size:14px}.status-chip{font-size:10px;padding:3px 7px}.order-meta{font-size:11px}.order-details{padding:0 9px 12px}.order-table th,.order-table td{padding:8px 4px;font-size:11px}.order-table th:nth-child(2),.order-table td:nth-child(2){display:none}.order-item{gap:5px}.order-item img{width:34px;height:34px}.cart-item{grid-template-columns:48px minmax(0,1fr);gap:8px}.cart-item img,.cart-image-placeholder{width:48px;height:48px}.cart-item-actions{grid-column:2;justify-content:flex-end}.cart-summary{grid-template-columns:1fr auto;gap:5px;padding:11px}.cart-summary button{grid-column:1/-1;width:100%}}
@media(max-width:370px){.guide-grid{grid-template-columns:1fr}.guide-card{display:grid;grid-template-columns:80px 1fr;align-items:center;text-align:left}.guide-visual{width:80px;height:72px;aspect-ratio:auto}.guide-card h2{margin:0 0 0 8px}.guide-card button{grid-column:2;margin:0 0 0 8px;text-align:left}.group-grid{grid-template-columns:1fr}.product-card{grid-template-columns:88px 1fr}.mobile-nav button b{font-size:10px}}
@media(max-width:600px){.guide-card .guide-body:not([hidden]){display:block;grid-column:1/-1;margin:8px!important;font-size:11px}}

/* Product browsing follows the back-office preview layout. */
.gift-banner{display:flex;align-items:center;gap:13px}.gift-banner>svg{width:34px;height:34px;flex:0 0 34px}.gift-banner-image{width:64px;height:64px;border-radius:8px;object-fit:contain;background:var(--paper)}.gift-banner>div{display:grid;gap:2px}.gift-banner strong{font-size:16px}.gift-banner span,.gift-banner small{font-size:12px}
.storefront-shop-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:visible}.storefront-shop-layout .product-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px}.storefront-shop-layout .product-card{display:flex;min-width:0;flex-direction:column;border-radius:10px;box-shadow:none;background:white}.product-visual{aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;background:#eee8da}.storefront-shop-layout .product-image,.storefront-shop-layout .product-placeholder{width:100%;height:100%;min-height:0;object-fit:contain}.storefront-shop-layout .product-info{display:flex;flex:1;flex-direction:column;padding:13px}.storefront-shop-layout .product-info h2{font-size:16px;line-height:1.35}.storefront-shop-layout .product-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;margin:7px 0;overflow:hidden;font-size:11px}.product-price-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:auto}.product-price-row .product-price{margin:8px 0;font-size:18px}.product-sold{white-space:nowrap;color:var(--muted);font-size:10px}.storefront-shop-layout .product-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.storefront-shop-layout .product-controls label{min-width:0}
.group-cart-preview{position:sticky;top:72px;min-width:0;min-height:320px;padding:18px;border-left:1px solid var(--line)}.group-cart-preview h2{margin:0 0 12px;font-size:17px}.group-cart-empty{color:var(--muted);font-size:12px}.group-cart-line{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:11px}.group-cart-line>div:first-child{min-width:0}.group-cart-line strong,.group-cart-line small{display:block;overflow-wrap:anywhere}.group-cart-line small{color:var(--muted)}.mini-stepper{display:flex;flex:0 0 auto;align-items:center;gap:5px}.mini-stepper button{display:grid;width:25px;height:25px;padding:0;place-items:center;border:0;border-radius:50%;background:#adc786;color:var(--green)}.mini-stepper svg{width:13px}.group-cart-total{display:flex;justify-content:space-between;gap:10px;margin:16px 0;font-size:13px;font-weight:800}.group-cart-preview>[data-route]{width:100%;padding:9px;border:0;border-radius:8px;background:var(--green);color:white;font-weight:800}
.gift-progress{display:flex;align-items:flex-start;gap:10px;margin:12px 16px;padding:12px;border-radius:9px;background:#e4ecd9;color:var(--green-dark)}.gift-progress>svg{width:25px;height:25px;flex:0 0 25px}.gift-progress>div{display:grid;gap:2px}.gift-progress strong,.gift-progress span{display:block}.gift-progress strong{font-size:13px}.gift-progress span{font-size:11px}.group-cart-preview .gift-progress{margin:14px 0}
@media(max-width:1050px){.storefront-shop-layout{grid-template-columns:minmax(0,1fr) 250px}.storefront-shop-layout .product-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.storefront-shop-layout{grid-template-columns:1fr}.group-cart-preview{position:static;min-height:0;border-top:1px solid var(--line);border-left:0}}
@media(max-width:600px){.gift-banner{padding:10px 12px}.gift-banner-image{width:50px;height:50px}.storefront-shop-layout .product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.storefront-shop-layout .product-info{padding:9px}.storefront-shop-layout .product-info h2{font-size:14px}.storefront-shop-layout .product-description{display:none}.product-price-row{display:block}.product-price-row .product-price{font-size:16px;margin:5px 0}.product-sold{display:block}.storefront-shop-layout .product-controls{grid-template-columns:1fr}.storefront-shop-layout .product-controls label{min-width:0;font-size:10px}.storefront-shop-layout .qty-control{justify-content:flex-end;margin-top:6px}.storefront-shop-layout .qty-control button{width:30px;height:30px}.storefront-shop-layout .add-button{margin-top:7px;padding:8px;font-size:12px}.group-cart-preview{padding:14px}.gift-progress{margin:10px;padding:10px}}
@media(max-width:370px){.storefront-shop-layout .product-list{grid-template-columns:1fr}}

/* Keep this block structurally and visually aligned with the back-office 商品預覽. */
.customer-gift-banner{display:flex;align-items:center;gap:14px;margin:18px 0 0;padding:14px;border-radius:12px;background:#faecd8;color:#81580d}.customer-gift-banner>svg,.customer-gift-banner>.gift-banner-image{width:58px;height:58px;flex:0 0 58px;padding:10px;border-radius:11px;background:#ffe9b7;object-fit:contain}.customer-gift-banner>div{display:block}.customer-gift-banner>div>strong{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.customer-gift-banner p{margin:0;white-space:pre-line;color:var(--muted);font-size:11px}.info-chip{display:inline-flex;align-items:center;min-height:32px;padding:7px 11px;border:1px solid #e7c76f;border-radius:8px;background:#fffaf0;color:#79500a;font-size:11px}.shipping-chip{border-color:#cbd5e4;background:#fff;color:#58657b}
.storefront-shop-layout.customer-shop-layout{grid-template-columns:minmax(0,1fr) 260px}.storefront-shop-layout .shop-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px}.storefront-shop-layout .preview-card{display:flex;min-width:0;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.storefront-shop-layout .preview-image{aspect-ratio:1/1;background:#f0f3f8;display:grid;place-items:center;color:#9ca5b5;font-size:24px;overflow:hidden}.storefront-shop-layout .preview-product-image,.storefront-shop-layout .preview-product-placeholder{width:100%;height:100%;min-height:0;object-fit:contain;background:#fff}.storefront-shop-layout .preview-product-placeholder{display:grid;place-items:center}.storefront-shop-layout .preview-product-placeholder svg{width:38px}.storefront-shop-layout .preview-card-body{display:flex;flex:1;flex-direction:column;justify-content:flex-end;padding:13px}.storefront-shop-layout .preview-card h3{font-size:13px;margin:0 0 6px}.storefront-shop-layout .translated-name{display:block;color:var(--muted);font-size:10px;margin:2px 0 5px}.storefront-shop-layout .preview-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 10px}.storefront-shop-layout .preview-price{display:block;color:var(--green);font-size:16px;margin:0}.storefront-shop-layout .preview-sold-count{flex:none;border-radius:999px;background:#e7f0e1;color:#5f8f50;padding:4px 8px;font-size:10px;font-weight:700}.storefront-shop-layout .foreign-price{display:block;color:var(--muted);font-size:10px;margin:-5px 0 9px}.storefront-shop-layout .preview-options{display:grid;grid-template-columns:minmax(0,1fr) 64px;gap:6px}.storefront-shop-layout .preview-options select,.storefront-shop-layout .preview-options input{min-width:0;width:100%;border:1px solid var(--line);border-radius:7px;padding:7px;background:#fff;font-size:10px}.storefront-shop-layout .add-cart-btn{width:100%;border:1px solid var(--green);background:#e9eee5;color:var(--green);border-radius:7px;padding:7px;margin-top:7px;font-size:11px;font-weight:700}.storefront-shop-layout .limit-hint{display:block;color:var(--orange);font-size:9px;margin-top:5px}.group-cart-preview.preview-cart{position:sticky;top:72px;border-left:1px solid var(--line);padding:22px;min-height:300px}.group-cart-preview.preview-cart h3{margin:0 0 14px}.group-cart-preview .cart-line{padding:9px 0;border-bottom:1px solid var(--line);font-size:10px}.group-cart-preview .cart-line strong,.group-cart-preview .cart-line small{display:block}.group-cart-preview .cart-line small{color:var(--muted);margin-top:3px}.group-cart-preview .cart-total{display:flex;justify-content:space-between;margin:18px 0;font-weight:700}.group-cart-preview.preview-cart>.primary{width:100%;border-radius:10px;padding:11px 17px;border:1px solid var(--green);background:var(--green);color:#fff;font-weight:700}
@media(max-width:1100px){.storefront-shop-layout.customer-shop-layout{grid-template-columns:1fr}.group-cart-preview.preview-cart{position:static;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:1023px){.storefront-shop-layout .shop-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.customer-gift-banner{align-items:flex-start;margin-top:12px;padding:11px}.customer-gift-banner>div>strong{align-items:stretch;flex-direction:column}.info-chip{min-height:0;padding:6px 8px}.storefront-shop-layout .shop-preview-grid{grid-template-columns:1fr;padding:12px}.group-cart-preview.preview-cart{padding:16px}.storefront-shop-layout .preview-options{grid-template-columns:minmax(0,1fr) 70px}}

/* Guide is a top-level section; every card opens its own detail page. */
.mobile-nav{grid-template-columns:repeat(5,1fr)}.guide-card{width:100%;color:inherit;transition:transform .18s ease}.guide-card:hover{transform:translateY(-2px)}.guide-detail{display:grid;grid-template-columns:minmax(280px,42%) minmax(0,1fr);overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.guide-detail-visual{display:grid;place-items:center;align-self:start;aspect-ratio:1/1;background:#f5eddd;color:var(--green)}.guide-detail-visual svg{width:100px;height:100px}.guide-detail-image{display:block;width:100%;height:100%;object-fit:contain}.guide-detail-copy{min-width:0;padding:30px}.guide-detail-copy h1{margin:4px 0;font-size:28px}.guide-detail-copy>p{margin:0;color:var(--muted)}.guide-detail-copy time{display:block;margin:8px 0 22px;color:var(--muted);font-size:11px}.guide-detail-copy>div{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85}
@media(min-width:601px){.mobile-nav{max-width:680px}}
@media(max-width:600px){.mobile-nav button b{font-size:10px}.guide-detail{grid-template-columns:1fr}.guide-detail-copy{padding:20px}.guide-detail-copy h1{font-size:23px}.guide-detail-copy>div{font-size:13px}.guide-detail-visual svg{width:70px;height:70px}}

/* Main navigation and standalone product/cart actions. */
.front-nav-row{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) 68px 68px;align-items:stretch;gap:10px;width:min(900px,calc(100% - 40px));margin:0 auto 18px}.front-nav-row .mobile-nav{position:static;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;max-width:none;margin:0}.nav-action{position:relative;min-width:0;border:1px solid rgba(255,255,255,.55);border-radius:14px;background:transparent;color:var(--cream);display:grid;place-items:center;align-content:center;gap:1px;padding:5px}.nav-action svg{width:25px;height:25px}.nav-action b{font-size:10px;white-space:nowrap}.nav-action.active{background:#e5ecd9;color:var(--green)}.nav-action.cart-button{border-radius:50%;background:var(--cream);border-color:var(--line);color:var(--green);box-shadow:var(--shadow)}.nav-action.cart-button.active{background:#e5ecd9}.nav-action i{position:absolute;top:-7px;right:-2px;min-width:19px;height:19px;padding:0 5px;border-radius:20px;background:#bd4335;color:#fff;font:700 11px/19px system-ui;font-style:normal}
.front-nav-row .mobile-nav{overflow:hidden;border-radius:12px}.front-nav-row .mobile-nav button:first-child{border-radius:11px 0 0 11px}.front-nav-row .mobile-nav button:last-child{border-radius:0 11px 11px 0}
.product-search-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:2px solid rgba(255,255,255,.8);border-radius:999px;color:white}.product-search-form>svg{width:25px}.product-search-form input{min-width:0;border:0;outline:0;background:transparent;color:white;font-size:16px}.product-search-form input::placeholder{color:rgba(255,255,255,.72)}.product-search-form button{border:0;border-radius:999px;padding:8px 18px;background:var(--cream);color:var(--green);font-weight:800}.product-search-meta{margin:12px 3px;color:var(--cream);font-size:13px}.product-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.product-search-card{display:grid;grid-template-columns:86px minmax(0,1fr) auto;align-items:center;gap:13px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:inherit;text-align:left;box-shadow:var(--shadow)}.product-search-image,.product-search-placeholder{width:86px;height:86px;object-fit:contain;border-radius:8px;background:#eee8da}.product-search-placeholder{display:grid;place-items:center}.product-search-placeholder svg{width:30px}.product-search-copy{min-width:0}.product-search-copy small{color:var(--green);font-size:10px}.product-search-copy h2{margin:3px 0;font-size:15px;line-height:1.35}.product-search-copy p,.product-search-copy span{display:block;margin:0;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-search-price{text-align:right}.product-search-price strong,.product-search-price small{display:block;white-space:nowrap}.product-search-price strong{color:var(--rose-dark);font-size:15px}.product-search-price small{color:var(--muted);font-size:9px}
@media(max-width:760px){.front-nav-row{grid-template-columns:minmax(0,1fr) 56px 56px;gap:7px;width:calc(100% - 26px)}.front-nav-row .mobile-nav{border-radius:9px}.nav-action{border-radius:11px}.nav-action svg{width:21px;height:21px}.nav-action b{font-size:9px}.product-search-results{grid-template-columns:1fr}}
@media(max-width:370px){.front-nav-row{grid-template-columns:minmax(0,1fr) 48px 48px;gap:5px;width:calc(100% - 16px)}.front-nav-row .mobile-nav button{padding-inline:1px}.front-nav-row .mobile-nav button b{font-size:8px}.product-search-card{grid-template-columns:64px minmax(0,1fr)}.product-search-image,.product-search-placeholder{width:64px;height:64px}.product-search-price{grid-column:2;text-align:left}}

/* Product images remain zoomable; phones show two readable cards per row. */
[data-zoom-image]{cursor:zoom-in}.image-viewer{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:56px 16px 20px;background:rgba(19,28,17,.9)}.image-viewer img{display:block;max-width:min(1100px,96vw);max-height:calc(100vh - 80px);object-fit:contain;border-radius:10px;background:#fff;box-shadow:0 20px 70px rgba(0,0,0,.5)}.image-viewer button{position:absolute;top:max(14px,env(safe-area-inset-top));right:16px;display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:var(--paper);color:var(--green-dark);font-size:30px;line-height:1}.viewing-image{overflow:hidden}
@media(max-width:600px){.storefront-shop-layout .shop-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:9px}.storefront-shop-layout .preview-card{border-radius:8px}.storefront-shop-layout .preview-card-body{padding:9px}.storefront-shop-layout .preview-card h3{font-size:12px;line-height:1.35;margin-bottom:4px;overflow-wrap:anywhere}.storefront-shop-layout .translated-name{display:none}.storefront-shop-layout .preview-price-row{display:block;margin:5px 0 7px}.storefront-shop-layout .preview-price{font-size:14px}.storefront-shop-layout .preview-sold-count{display:inline-block;margin-top:3px;padding:2px 5px;font-size:9px}.storefront-shop-layout .foreign-price{margin:0 0 6px;font-size:9px}.storefront-shop-layout .preview-options{grid-template-columns:1fr;gap:5px}.storefront-shop-layout .preview-options select,.storefront-shop-layout .preview-options input{height:31px;padding:5px;font-size:10px}.storefront-shop-layout .limit-hint{font-size:9px;line-height:1.35}.storefront-shop-layout .add-cart-btn{padding:7px 3px;margin-top:6px;font-size:10px}.image-viewer{padding-inline:8px}.image-viewer img{max-width:100%;max-height:calc(100dvh - 78px)}}
@media(max-width:280px){.storefront-shop-layout .shop-preview-grid{gap:5px;padding:5px}.storefront-shop-layout .preview-card-body{padding:5px}.storefront-shop-layout .preview-card h3{font-size:10px}.storefront-shop-layout .preview-price{font-size:11px}.storefront-shop-layout .preview-options select,.storefront-shop-layout .preview-options input{font-size:9px}.storefront-shop-layout .add-cart-btn{font-size:9px}}
@media(max-width:340px){.site-header{padding-inline:8px}.front-nav-row{grid-template-columns:1fr 1fr;width:calc(100% - 16px)}.front-nav-row .mobile-nav{grid-column:1/-1}.front-nav-row .nav-action{min-height:46px;border-radius:11px}.front-nav-row .cart-button{border-radius:11px}.front-nav-row .mobile-nav button b{font-size:8px;line-height:1.1;overflow-wrap:anywhere}.test-notice{min-width:0;margin-inline:0;padding:9px}.test-notice span{min-width:0;overflow-wrap:anywhere}.page-heading{min-width:0;flex-wrap:wrap}.page-heading p{max-width:100%;overflow-wrap:anywhere}.section-title{min-width:0;gap:6px}.section-title h2{min-width:0;overflow-wrap:anywhere}}

/* Pixel fountain: CSS shapes remain sharp and do not need another R2 image. */
.wish-fountain-card{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:28px;margin:0 0 32px;padding:26px 32px;border:2px solid rgba(245,239,223,.72);border-radius:18px;background:linear-gradient(135deg,#f5efdf 0 58%,#dce7d2 58%);color:var(--green);box-shadow:var(--shadow);overflow:hidden}.wish-copy>p{margin:0;color:var(--rose-dark);font-size:11px;font-weight:900;letter-spacing:.14em}.wish-copy h2{margin:5px 0 7px;font-size:28px}.wish-copy>span{display:block;color:var(--muted);line-height:1.7}.wish-copy button{margin-top:17px;padding:10px 18px;border:0;border-radius:9px;background:var(--rose);color:white;font-weight:800}.wish-copy strong{display:block;min-height:20px;margin-top:9px;color:var(--green);font-size:12px}.pixel-fountain{position:relative;width:260px;height:190px;border:0;background:transparent;color:#426741;filter:drop-shadow(7px 8px 0 rgba(44,64,38,.16));image-rendering:pixelated}.fountain-basin,.fountain-tier,.fountain-spout,.fountain-water{position:absolute;display:block}.fountain-basin{left:16px;bottom:12px;width:228px;height:38px;border:10px solid currentColor;border-top-width:8px;background:#9bc9d1;box-shadow:inset 0 -9px #639aa5}.tier-mid{left:57px;bottom:62px;width:146px;height:16px;background:currentColor;box-shadow:14px 13px 0 -4px currentColor,-14px 13px 0 -4px currentColor}.tier-top{left:91px;bottom:109px;width:78px;height:13px;background:currentColor;box-shadow:9px 12px 0 -3px currentColor,-9px 12px 0 -3px currentColor}.fountain-spout{left:124px;bottom:121px;width:12px;height:43px;background:currentColor}.fountain-water{bottom:76px;width:12px;height:56px;border:7px solid #75b9cb;border-top:0;background:transparent;animation:fountain-water .9s steps(2,end) infinite}.water-left{left:75px;border-right:0;transform:skewX(-14deg)}.water-right{right:75px;border-left:0;transform:skewX(14deg)}.wish-animation-layer{position:absolute;inset:0;pointer-events:none}.wish-coin{position:absolute;z-index:3;left:74%;top:-15px;width:24px;height:24px;border:5px solid #a9741d;border-radius:50%;background:#f4c84c;opacity:0}.wish-splash{position:absolute;left:50%;bottom:50px;width:8px;height:8px;background:#75b9cb;opacity:0;box-shadow:-28px -14px #75b9cb,26px -20px #75b9cb,-15px -32px #75b9cb,17px -37px #75b9cb}.wishing .wish-coin{animation:wish-coin 1.05s steps(10,end) forwards}.wishing .wish-splash{animation:wish-splash .65s 1s steps(4,end) forwards}.wish-modal{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:18px;background:rgba(22,34,20,.78)}.wish-modal[hidden]{display:none}.wish-modal-open{overflow:hidden}.wish-form{position:relative;width:min(500px,100%);padding:28px;border-radius:18px;background:var(--paper);box-shadow:0 24px 80px rgba(0,0,0,.45);color:var(--green-dark)}.wish-form>p:first-child{margin:0;color:var(--rose-dark);font-size:10px;font-weight:900;letter-spacing:.13em}.wish-form h2{margin:5px 0}.wish-form>span{display:block;margin-bottom:19px;color:var(--muted)}.wish-form label{display:grid;gap:7px;margin-top:13px;font-size:12px;font-weight:800}.wish-form input,.wish-form textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:white;color:inherit;font:inherit}.wish-form textarea{min-height:105px;resize:vertical}.wish-form>div{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.wish-form>div button{padding:9px 15px;border-radius:8px;font-weight:800}.wish-submit{border:0;background:var(--rose);color:#fff}.wish-cancel{border:1px solid var(--line);background:#fff;color:inherit}.wish-close{position:absolute;top:13px;right:13px;width:34px;height:34px;border:0;border-radius:50%;background:#ece5d7;color:inherit;font-size:24px}.wish-honeypot{position:absolute!important;left:-9999px!important}.wish-form-error{min-height:18px;margin:9px 0 0;color:#a53b42;font-size:11px}
@keyframes fountain-water{50%{height:51px}}
@keyframes wish-coin{0%{transform:translate(0,0) rotate(0);opacity:1}70%{transform:translate(-54px,123px) rotate(540deg);opacity:1}100%{transform:translate(-58px,139px) rotate(720deg);opacity:0}}
@keyframes wish-splash{0%{transform:scale(.2);opacity:0}30%{opacity:1}100%{transform:translateY(-21px) scale(1.2);opacity:0}}
@media(max-width:650px){.wish-fountain-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px}.wish-copy{min-width:0;text-align:center;overflow-wrap:anywhere}.wish-copy h2{font-size:22px}.wish-copy>span{font-size:14px}.wish-form{padding:23px 18px}}
@media(max-width:390px){.wish-copy button{width:100%}}
@media(prefers-reduced-motion:reduce){.fountain-water{animation:none}.wishing .wish-coin,.wishing .wish-splash{animation-duration:.01ms}}
.front-nav-row{width:min(980px,calc(100% - 40px))}.front-nav-row .mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.wish-fountain-page{min-height:min(600px,calc(100dvh - 235px));grid-template-columns:minmax(0,1fr) minmax(280px,42%);padding:clamp(28px,6vw,72px)}.wish-fountain-page .pixel-fountain{justify-self:center;transform:scale(1.18)}
@media(max-width:650px){.front-nav-row{width:calc(100% - 26px)}.wish-fountain-page{min-height:0;grid-template-columns:minmax(0,1fr);padding:20px;gap:16px}.wish-fountain-page .pixel-fountain{width:260px;height:190px;margin:0;transform:none}}
@media(max-width:360px){.wish-fountain-page .pixel-fountain{transform:scale(.85)}}
.wish-fountain-page .wish-copy .wish-count{margin:20px 0 0;color:#a0422e;font-size:17px;font-weight:800;letter-spacing:0}
body.public-shop .mobile-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
body.public-shop [hidden]{display:none!important}
body.public-shop #testCheckout:disabled{opacity:.75;cursor:not-allowed}
