:root{color-scheme:light;--brand:#214b3e;--brand-dark:#15382f;--text:#23382f;--muted:#698075;--soft-text:#819187;--bg:#ffffff;--surface:#ffffff;--surface-2:#f8faf7;--surface-3:#f0f5ed;--hero:#eff3ec;--border:#e4e9e1;--accent:#c25d39;--button-text:#fff;--chip:#fff;--chip-active:#214b3e;--chip-text:#fff;--warning-bg:#fff8ec;--warning-border:#f4e9d1;--warning-text:#96764e;--shadow:0 14px 32px rgba(25,53,39,.09);--bar:#fff;--overlay:rgba(10,24,18,.64)}
html[data-theme=dark]{color-scheme:dark;--brand:#83c6a7;--brand-dark:#a3d5bb;--text:#e8f1e9;--muted:#acbfb2;--soft-text:#97a99d;--bg:#101915;--surface:#1a2620;--surface-2:#1e2c24;--surface-3:#28392e;--hero:#23382d;--border:#354a3d;--accent:#f3a67d;--button-text:#0e2117;--chip:#1b2a21;--chip-active:#83c6a7;--chip-text:#102219;--warning-bg:#3a3020;--warning-border:#584632;--warning-text:#ebc18f;--shadow:0 14px 32px rgba(0,0,0,.25);--bar:#152119;--overlay:rgba(0,0,0,.78)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:102px}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans SC','Noto Sans TC','Noto Sans JP','Noto Sans KR',Arial,sans-serif;font-size:15px;line-height:1.48}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.shell{width:min(1180px,calc(100% - 56px));margin:auto}.hidden{display:none!important}.announcement{display:flex;gap:9px;align-items:center;justify-content:center;background:#193d2f;color:#fff;padding:7px 12px;font-size:11px;text-align:center}.announce-dot{width:6px;height:6px;background:#a6d8ab;border-radius:50%;flex:none}.header{height:83px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-icon{width:44px;height:44px;border-radius:13px;background:#214b3e;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:800;flex:none}.brand-text{display:block;min-width:0}.brand strong{font-size:17px;display:block;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{font-size:10px;color:var(--soft-text);display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head-actions{display:flex;align-items:center;gap:10px}.language-wrap{position:relative;display:flex;align-items:center;gap:6px;background:var(--surface);border:1.5px solid var(--border);border-radius:13px;padding:0 10px;min-height:43px;color:var(--text)}.language-caption{font-size:12px;font-weight:700;color:var(--muted)}.language-graphic{font-size:17px}.language-wrap select{appearance:auto;max-width:128px;background:transparent;color:var(--text);border:0;outline:0;padding:9px 0;font-size:12px;font-weight:700;cursor:pointer}.language-wrap select option{background:var(--surface);color:var(--text)}.theme-toggle{display:grid;place-items:center;width:43px;height:43px;border:1.5px solid var(--border);background:var(--surface);color:var(--text);border-radius:13px;font-size:24px;line-height:1}.basket-button{border:0;background:#214b3e;color:#fff;font-size:13px;border-radius:13px;padding:12px 15px;font-weight:700;display:flex;align-items:center;gap:8px}.cart-badge{display:grid;place-items:center;background:white;color:#214b3e;border-radius:50%;width:22px;height:22px;font-size:12px}.hero{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:1fr auto;min-height:340px;background:var(--hero);border:1px solid var(--border);border-radius:25px;overflow:hidden;position:relative}.hero-main{padding:46px 25px 24px 54px;z-index:2}.hero-badge{display:inline-flex;padding:7px 12px;border-radius:20px;background:var(--surface);color:var(--brand);font-size:12px;font-weight:750}.hero h1{font-size:clamp(28px,3.6vw,47px);line-height:1.18;letter-spacing:-.035em;margin:18px 0 14px;color:var(--brand-dark)}.hero p{max-width:450px;color:var(--muted);font-size:14px;line-height:1.95;margin:0}.hero-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:#214b3e;color:#fff;border-radius:13px;padding:13px 22px;margin-top:24px;font-size:14px;font-weight:750;min-width:154px}.hero-art{position:relative;min-height:250px;display:flex;align-items:center;justify-content:center;gap:0;padding:22px 18px 12px}.hero-art img{position:relative;z-index:1;width:28%;max-width:135px;aspect-ratio:1;object-fit:contain;border:5px solid var(--surface);background:white;box-shadow:0 12px 20px #00000014;border-radius:16px;transform:rotate(-8deg);margin-left:-11px}.hero-art img:nth-of-type(2){transform:translateY(34px) rotate(7deg)}.hero-art img:nth-of-type(3){transform:translateY(-18px) rotate(-4deg)}.hero-art img:nth-of-type(4){transform:translateY(25px) rotate(5deg)}.hero-sun{position:absolute;width:280px;height:280px;background:#dbe7d6;border-radius:50%;right:7%;top:8%;opacity:.8}html[data-theme=dark] .hero-sun{background:#355746}.hero-steps{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:16px;border-top:1px solid var(--border);padding:12px 16px;color:var(--brand-dark);font-size:12px;font-weight:750;z-index:1}.hero-steps>span:nth-child(even){opacity:.42}.demo-banner{margin:17px 0 0;padding:12px 15px;border:1px solid var(--warning-border);border-radius:12px;background:var(--warning-bg);color:var(--warning-text);font-size:12px;display:flex;align-items:flex-start;gap:9px}.demo-banner p{margin:0}.catalog-section{padding-top:49px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:14px}.eyebrow{font-size:10px;letter-spacing:.13em;color:var(--accent);font-weight:800}.section-head h2,.shop-contact h2{font-size:29px;letter-spacing:-.035em;margin:8px 0 5px;line-height:1.2}.section-head p,.shop-contact p{font-size:13px;color:var(--muted);margin:0}.product-count{background:var(--surface-3);color:var(--brand-dark);padding:8px 10px;border-radius:20px;font-size:11px;white-space:nowrap;align-self:center;font-weight:650}.search-row{margin:20px 0 16px;display:flex;gap:9px;align-items:center}.search-box{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1.5px solid var(--border);border-radius:13px;min-height:54px;flex:1;padding:0 14px}.search-icon{font-size:27px;color:var(--brand)}.search-box input{border:0;background:transparent;min-width:0;flex:1;outline:0;color:var(--text);font-size:14px}.search-box input::placeholder{color:var(--soft-text)}.clear-button{padding:15px 17px;border:1.5px solid var(--border);background:var(--surface);color:var(--text);border-radius:13px;font-size:12px;min-height:52px}.categories{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 26px}.category-btn{background:var(--chip);color:var(--text);border:1.5px solid var(--border);border-radius:14px;padding:10px 14px;min-height:42px;font-size:12px;font-weight:650;white-space:nowrap}.category-btn.active{background:var(--chip-active);color:var(--chip-text);border-color:var(--chip-active)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:box-shadow .15s}.product-card:hover{box-shadow:var(--shadow)}.product-visual{height:186px;position:relative;background:#fff;display:grid;place-items:center}.product-visual img{width:100%;height:100%;object-fit:contain}.product-visual .emoji{font-size:82px}.demo-image-tag{position:absolute;right:8px;bottom:8px;border-radius:8px;background:#fffdf7ee;color:#8a6f48;border:1px solid #eadbbd;font-size:9px;padding:3px 6px;line-height:1.4}.product-body{padding:14px;display:flex;flex-direction:column;gap:6px;flex:1}.product-cat{color:var(--brand);font-size:10px;font-weight:700}.product-body h3{font-size:16px;margin:0;line-height:1.45;min-height:23px;font-weight:750}.product-body p{font-size:11px;line-height:1.6;margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}.product-unit{color:var(--soft-text);font-size:10px;min-height:16px}.product-price{margin-top:auto;font-size:20px;color:var(--accent);font-weight:800;line-height:1.35}.product-price small{font-size:10px;color:var(--soft-text);font-weight:450}.product-buttons{display:flex;gap:7px;margin-top:5px;align-items:center}.detail-button{border:1.5px solid var(--border);color:var(--text);background:var(--surface);border-radius:10px;padding:10px 11px;font-size:12px;min-height:41px;flex:0 0 auto}.add-button{background:#214b3e;border:1.5px solid #214b3e;color:white;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:800;min-height:41px;flex:1}.add-button:disabled{opacity:.5}.card-counter{display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0;flex:1;border:1.5px solid var(--brand);border-radius:10px;height:41px}.card-counter button{border:0;background:transparent;color:var(--brand);font-weight:850;font-size:19px;width:32px;min-width:29px;height:37px}.card-counter b{font-size:13px;color:var(--text)}.stock-label{position:absolute;left:8px;top:8px;background:#ad5541;color:#fff;padding:4px 7px;border-radius:9px;font-size:10px}.empty-message{grid-column:1/-1;text-align:center;padding:58px 18px;color:var(--muted);border:1px dashed var(--border);border-radius:18px}.empty-message h3{color:var(--text);margin:10px 0 5px}.empty-message p{margin:0}.shop-contact{scroll-margin-top:86px;background:var(--surface-2);border:1px solid var(--border);border-radius:20px;padding:28px;margin:70px 0 0}.contact-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.contact-mark{font-size:37px}.shop-contact-grid{display:grid;grid-template-columns:1.25fr 1fr 1.15fr;gap:12px}.shop-contact-info{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:17px;display:flex;gap:12px;min-width:0}.contact-icon{font-size:23px}.shop-contact-info>div{min-width:0}.shop-contact-info small{font-size:11px;color:var(--muted);display:block;margin-bottom:8px}.shop-contact-info strong{font-size:13px;line-height:1.6;word-break:break-word;display:block}.shop-contact-info a{font-size:12px;color:var(--accent);text-decoration:underline;text-underline-offset:3px;display:inline-block;margin-top:9px;font-weight:750}.wechat-panel{display:flex;align-items:center;gap:12px;background:var(--surface-3);border-radius:15px;padding:18px;margin-top:13px}.wechat-logo{font-size:29px}.wechat-copy{min-width:0;flex:1}.wechat-copy strong{font-size:13px}.wechat-copy p{font-size:11px;line-height:1.65;margin-top:4px}.wechat-open{border:1.5px solid var(--brand);background:transparent;color:var(--brand-dark);font-size:12px;font-weight:750;border-radius:12px;padding:10px;white-space:nowrap}.how-it-works{background:var(--surface-3);border-radius:18px;margin:30px 0 55px;padding:18px 25px;display:flex;gap:26px;align-items:center}.how-it-works h2{font-size:18px;margin:0}.steps{flex:1;display:flex;justify-content:space-around;color:var(--brand-dark);font-size:13px;font-weight:700;gap:10px}.footer{background:#193b2d;color:#dcebe0;padding:23px 0}.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;font-size:11px}.mobile-tabbar{display:none}.modal-backdrop{position:fixed;inset:0;background:var(--overlay);z-index:40;backdrop-filter:blur(3px)}.dialog{position:fixed;z-index:50;background:var(--surface);color:var(--text);box-shadow:var(--shadow);overflow:auto;max-height:94dvh}.detail-dialog{width:min(700px,calc(100% - 32px));border-radius:20px;top:50%;left:50%;transform:translate(-50%,-50%)}.dialog-close{position:absolute;top:14px;right:14px;border:0;background:var(--surface-3);color:var(--text);width:39px;height:39px;border-radius:50%;font-size:24px;z-index:3}.detail-top{display:grid;grid-template-columns:42% 1fr}.detail-photo{background:#fff;min-height:310px;display:grid;place-items:center}.detail-photo img{height:100%;width:100%;object-fit:contain}.detail-info{padding:50px 25px 24px}.detail-info h2{font-size:23px;margin:14px 0 10px}.detail-info p{font-size:13px;line-height:1.7;color:var(--muted)}.detail-info strong{display:block;font-size:26px;color:var(--accent);margin:13px 0}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid var(--border);padding:22px}.detail-field{background:var(--surface-2);padding:13px;border-radius:10px}.detail-field label{display:block;color:var(--muted);font-size:10px;font-weight:700;margin-bottom:6px}.detail-field div{font-size:12px;line-height:1.6}.cart-dialog{top:0;right:0;width:min(515px,100%);height:100dvh;max-height:none;display:flex;flex-direction:column}.cart-head{border-bottom:1px solid var(--border);padding:22px 24px 15px;display:flex;justify-content:space-between;gap:10px}.cart-head h2{font-size:22px;margin:5px 0}.cart-head h2 span{color:var(--soft-text);font-size:16px}.dialog-close.in-flow{position:static;flex:none}.cart-scroll{padding:12px 24px calc(25px + env(safe-area-inset-bottom));overflow:auto;flex:1}.cart-entry{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.mini-photo{width:78px;height:78px;flex:none;background:#fff;border-radius:10px;display:grid;place-items:center;overflow:hidden}.mini-photo img{width:100%;height:100%;object-fit:contain}.cart-entry-details{flex:1;min-width:0}.cart-entry-details strong{display:block;line-height:1.5;font-size:13px}.cart-entry-details small{display:block;color:var(--soft-text);font-size:11px;margin-top:4px}.mini-row{display:flex;justify-content:space-between;gap:6px;align-items:center;margin-top:9px}.counter{display:flex;align-items:center;gap:10px}.counter button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:9px;width:32px;height:32px;font-size:19px}.counter b{min-width:13px;text-align:center;font-size:12px}.mini-row>strong{color:var(--accent)}.cart-total{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.cart-total span{font-size:12px;color:var(--muted)}.cart-total b{font-size:24px;color:var(--accent)}.field{display:block;margin:12px 0}.field span{display:block;font-size:12px;font-weight:700;color:var(--muted);margin-bottom:6px}.field input,.field textarea{width:100%;background:var(--surface-2);color:var(--text);border:1.5px solid var(--border);border-radius:10px;padding:12px;font-size:13px}.field textarea{min-height:77px;resize:vertical}.cart-helper{background:var(--warning-bg);border:1px solid var(--warning-border);border-radius:11px;padding:12px;color:var(--warning-text);font-size:11px;line-height:1.6;margin:14px 0}.cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px}.cart-actions button{border:1.5px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:11px;padding:12px 8px;min-height:45px;font-size:12px;font-weight:700}.cart-actions button.primary{background:#214b3e;color:white;border-color:#214b3e}.cart-help{font-size:11px;line-height:1.65;color:var(--muted)}.cart-empty{text-align:center;padding:80px 15px}.cart-empty .empty-icon{font-size:56px}.cart-empty h3{font-size:19px;margin:12px 0 6px}.cart-empty p{color:var(--muted);font-size:13px;margin:0 0 25px}.toast{position:fixed;z-index:70;left:50%;bottom:28px;transform:translateX(-50%) translateY(12px);background:#193e2e;color:#fff;font-size:13px;font-weight:650;max-width:calc(100% - 32px);padding:13px 19px;border-radius:14px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}body.modal-open{overflow:hidden}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-contact-grid{grid-template-columns:1fr 1fr}.shop-contact-info:last-child{grid-column:1/-1}.hero-main{padding-left:34px}.hero h1{font-size:37px}}
@media(max-width:680px){html{scroll-padding-top:83px}.shell{width:calc(100% - 28px)}.announcement{font-size:10px;min-height:29px;padding:5px 10px}.header{position:sticky;top:0;z-index:25;width:100%;padding:0 13px;height:64px;background:var(--bar);box-shadow:0 1px 0 var(--border)}.brand-icon{width:35px;height:35px;border-radius:10px;font-size:22px}.brand{gap:6px;flex:1}.brand strong{font-size:13px;max-width:130px}.brand small{font-size:8px;max-width:145px}.head-actions{gap:6px}.language-wrap{min-height:37px;border-radius:10px;gap:2px;padding:0 6px}.language-graphic{font-size:14px}.language-caption{display:none}.language-wrap select{max-width:91px;font-size:11px;padding:7px 0}.theme-toggle{width:37px;height:37px;border-radius:10px;font-size:19px}.basket-button{display:none}.hero{margin-top:11px;grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:0;border-radius:20px}.hero-main{padding:25px 21px 8px}.hero-badge{font-size:10px;padding:5px 10px}.hero h1{font-size:30px;line-height:1.22;margin:14px 0 9px;letter-spacing:-.02em}.hero p{font-size:12px;line-height:1.8;max-width:none}.hero-cta{padding:11px 15px;min-width:135px;font-size:12px;margin-top:17px;border-radius:11px}.hero-art{grid-row:2;min-height:115px;padding:5px 20px 11px}.hero-sun{width:160px;height:150px;top:0;right:25%}.hero-art img{width:22%;max-width:92px;border-width:3px;margin-left:-5px;border-radius:10px}.hero-art img:nth-of-type(2){transform:translateY(10px) rotate(7deg)}.hero-art img:nth-of-type(3){transform:translateY(-6px) rotate(-4deg)}.hero-art img:nth-of-type(4){transform:translateY(6px) rotate(5deg)}.hero-steps{gap:7px;padding:10px 7px;font-size:10px;justify-content:space-evenly}.demo-banner{margin-top:10px;padding:10px;font-size:10px;line-height:1.5;border-radius:10px}.catalog-section{padding-top:27px}.section-head{display:block}.section-head h2{font-size:24px;margin:5px 0 7px}.section-head p{font-size:11px}.product-count{display:inline-block;font-size:10px;margin-top:9px;padding:5px 9px}.search-row{margin-top:16px;margin-bottom:12px}.search-box{min-height:48px;border-radius:11px;padding:0 12px}.search-box input{font-size:12px}.clear-button{padding:8px 11px;min-height:48px;border-radius:11px}.categories{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:12px -14px 18px;padding:0 14px 7px;scrollbar-width:none;scroll-snap-type:x proximity}.categories::-webkit-scrollbar{display:none}.category-btn{flex:none;font-size:11px;min-height:40px;padding:9px 11px;scroll-snap-align:start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{border-radius:13px}.product-visual{height:140px}.product-visual img{object-fit:contain}.product-visual .emoji{font-size:60px}.demo-image-tag{font-size:8px;bottom:6px;right:5px;padding:2px 4px}.product-body{padding:10px 9px 11px;gap:5px}.product-cat{font-size:9px}.product-body h3{font-size:12px;min-height:35px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-body p{font-size:10px;min-height:31px;line-height:1.5}.product-unit{font-size:9px;min-height:14px}.product-price{font-size:17px}.product-price small{font-size:9px}.product-buttons{gap:5px;margin-top:4px}.detail-button{padding:7px 5px;font-size:10px;min-height:40px}.add-button{padding:8px 6px;font-size:10px;min-height:40px}.card-counter{height:40px}.card-counter button{height:36px;min-width:27px;width:27px}.card-counter b{font-size:11px}.shop-contact{padding:17px 13px;margin-top:36px;border-radius:16px;scroll-margin-top:76px}.contact-heading{margin-bottom:14px}.shop-contact h2{font-size:24px}.shop-contact p{font-size:12px}.shop-contact-grid{grid-template-columns:1fr;gap:9px}.shop-contact-info:last-child{grid-column:auto}.shop-contact-info{padding:14px;border-radius:12px}.shop-contact-info strong{font-size:13px}.wechat-panel{align-items:flex-start;flex-wrap:wrap;padding:13px;gap:8px}.wechat-copy{flex-basis:calc(100% - 50px)}.wechat-open{margin-left:39px;min-height:40px}.how-it-works{margin:19px 0 31px;padding:14px;display:block}.how-it-works h2{font-size:14px;margin-bottom:10px}.steps{font-size:10px;justify-content:space-between}.footer{padding:18px 0 calc(95px + env(safe-area-inset-bottom));text-align:center}.footer-inner{font-size:10px;display:block;line-height:1.9}.footer-inner span{display:block}.mobile-tabbar{position:fixed;z-index:35;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding:4px 9px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--bar);border-top:1px solid var(--border);box-shadow:0 -6px 26px #0000000b}.nav-tab{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:6px 0 3px;font-size:10px;font-weight:650;position:relative}.nav-tab.selected{color:var(--brand)}.nav-tab svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.nav-cart-wrap{position:relative}.nav-badge{position:absolute;top:-7px;right:-12px;border-radius:14px;background:#c85d3d;color:#fff;padding:0 5px;min-width:16px;height:16px;line-height:16px;font-size:9px;text-align:center}.dialog{max-height:94dvh}.cart-dialog{border-radius:20px 20px 0 0;top:auto;bottom:0;max-height:90dvh;height:90dvh;width:100%;padding-bottom:env(safe-area-inset-bottom)}.cart-head{padding:17px}.cart-head h2{font-size:18px}.cart-scroll{padding:10px 16px 25px}.detail-dialog{top:auto;left:0;bottom:0;width:100%;max-height:90dvh;transform:none;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.detail-top{display:block}.detail-photo{height:170px;min-height:0}.detail-info{padding:16px}.detail-info h2{font-size:19px}.detail-info p{font-size:12px}.detail-fields{padding:12px;gap:7px}.detail-field{padding:10px}.detail-field div{font-size:11px}.toast{bottom:calc(76px + env(safe-area-inset-bottom));font-size:11px;padding:11px 13px}.cart-empty{padding:52px 15px}.cart-actions button{font-size:11px}}
@media(max-width:345px){.brand small{display:none}.brand strong{max-width:115px}.language-wrap select{max-width:76px}.product-visual{height:124px}.detail-button{padding:6px 3px}.add-button{padding:6px 3px}.category-btn{padding:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Mobile storefront: keep the first product row discoverable without scrolling through a large banner. */
@media(max-width:680px){.hero-main{padding:20px 18px 7px}.hero h1{font-size:28px;margin:11px 0 8px}.hero p{font-size:11.5px;line-height:1.7}.hero-cta{margin-top:13px}.hero-art{min-height:72px;height:72px;padding:0 15px}.hero-art img{max-width:71px;width:21%}.hero-sun{width:120px;height:100px;top:-4px;right:31%}.hero-steps{padding:8px 5px}.catalog-section{padding-top:23px}}

/* V6: category rail on small screens, desktop horizontal filters remain unchanged. */
.mobile-category-rail,.mobile-search-close{display:none}
@media(max-width:680px){
  .catalog-section{scroll-margin-top:80px}
  .catalog-layout{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:stretch;gap:10px;margin-top:12px;height:calc(100dvh - 154px - env(safe-area-inset-bottom));max-height:750px;min-height:360px;overflow:hidden}
  .catalog-main{min-width:0;min-height:0;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding:0 2px calc(96px + env(safe-area-inset-bottom)) 0}
  .mobile-category-rail{display:flex;position:relative;top:auto;height:100%;max-height:none;min-height:0;flex-direction:column;overflow:hidden;background:var(--surface-2);border:1px solid var(--border);border-radius:16px;z-index:8;padding:7px 5px;box-shadow:0 8px 24px rgba(11,48,29,.055);touch-action:pan-y;overscroll-behavior-y:contain}
  .rail-search-trigger{display:flex;flex:none;align-items:center;justify-content:center;flex-direction:column;gap:3px;width:100%;min-height:70px;border:0;border-bottom:1px solid var(--border);border-radius:10px;background:transparent;color:var(--brand);font-size:12px;font-weight:800}
  .rail-search-trigger.active{background:var(--chip-active);color:var(--chip-text)}
  .mobile-rail-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .mobile-categories{display:flex;flex-direction:column;gap:5px;padding:7px 0 10px}
  .rail-category-btn{border:1px solid transparent;background:transparent;color:var(--text);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;width:100%;min-height:77px;padding:7px 3px;border-radius:12px;overflow-wrap:anywhere}
  .rail-category-btn.active{background:var(--chip-active);color:var(--chip-text);box-shadow:0 3px 9px rgba(0,0,0,.08)}
  .rail-category-icon{font-size:31px;line-height:1.2;display:block}
  .rail-category-label{font-size:11.5px;font-weight:780;line-height:1.28;letter-spacing:-.03em;text-align:center;max-width:100%}
  .catalog-main>.categories{display:none}
  .catalog-main>.search-row{display:none}
  .catalog-layout.mobile-search-open .search-row{display:flex;position:sticky;top:0;z-index:10;align-items:center;margin:0 0 10px;padding:7px 5px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);gap:4px}
  .catalog-layout.mobile-search-open .search-box{min-width:0;min-height:43px;padding:0 4px 0 7px}
  .catalog-layout.mobile-search-open .search-box input{font-size:12px}
  .catalog-layout.mobile-search-open .clear-button{min-height:43px;padding:5px 6px;font-size:10px}
  .catalog-layout.mobile-search-open .mobile-search-close{display:block;flex:none;width:29px;height:42px;font-size:22px;line-height:1;border:0;border-radius:7px;background:var(--surface-3);color:var(--text)}
  .product-grid{grid-template-columns:minmax(0,1fr);gap:10px;scroll-margin-top:86px}
  .product-card{display:grid;grid-template-columns:96px minmax(0,1fr);min-height:156px;align-items:stretch}
  .product-visual{height:100%;min-height:153px;align-self:stretch}
  .product-visual img{height:100%;object-fit:contain}
  .product-body{padding:9px 9px 9px 3px;gap:4px;min-width:0}
  .product-body h3{font-size:13.5px;min-height:0;line-height:1.4}
  .product-body p{font-size:10.5px;min-height:0;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product-unit{min-height:0;font-size:10px}
  .product-price{font-size:17px}
  .product-buttons{margin-top:auto;gap:4px}
  .detail-button{min-height:43px;padding:6px 5px;font-size:10.5px}
  .add-button{min-height:43px;padding:6px 5px;font-size:10.5px}
  .card-counter{height:43px}.card-counter button{height:39px;min-width:29px;width:29px}
  .demo-image-tag{right:4px;bottom:5px;font-size:7.5px}
}
@media(max-width:680px){.hero{min-height:0;grid-template-columns:1fr}.hero-main{padding:22px 18px 16px}.hero h1{font-size:31px;margin:12px 0 8px}.hero p{font-size:12px;line-height:1.65}.hero-cta{width:100%;min-height:48px;margin-top:16px}.hero-art{min-height:142px;padding:8px 18px 4px}.hero-art img{max-width:82px;border-width:3px}.hero-sun{width:170px;height:170px}.hero-steps{padding:10px 7px;gap:7px;font-size:10px}.catalog-section{padding-top:28px}.section-head h2{font-size:25px}.add-button,.detail-button,.card-counter{min-height:44px}.card-counter{height:44px}.card-counter button{height:40px;min-width:36px}}
@media(max-width:360px){
  .catalog-layout{grid-template-columns:84px minmax(0,1fr);gap:7px}
  .mobile-category-rail{padding:5px 3px}
  .rail-category-icon{font-size:28px}
  .rail-category-label{font-size:10.5px}
  .product-card{grid-template-columns:80px minmax(0,1fr)}
  .product-body{padding:8px 5px 8px 1px}
  .product-body h3{font-size:12px}
  .product-body p{font-size:10px}
  .product-price{font-size:16px}
  .detail-button,.add-button{font-size:10px}
}
@media(min-width:681px){.catalog-layout{display:block}}

/* Preserve the V5 saved-list and one-tap clear behavior without covering the category rail. */
.selection-dock{display:none}.cart-persistence{margin:2px 0 10px;padding:9px 11px;border-radius:10px;background:var(--surface-3);color:var(--brand-dark);font-size:10px;line-height:1.55}
@media(max-width:680px){
  .selection-dock{position:fixed;z-index:34;left:50%;bottom:calc(72px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:stretch;gap:5px;width:min(278px,calc(100% - 118px));padding:5px;background:color-mix(in srgb,var(--bar) 95%,transparent);border:1px solid var(--border);border-radius:14px;box-shadow:0 8px 24px #102a1e2e;backdrop-filter:blur(12px)}
  .selection-summary{min-width:0;flex:1;display:flex;align-items:center;justify-content:space-between;gap:7px;border:0;border-radius:10px;padding:9px 10px;background:#214b3e;color:#fff;font-size:10.5px;font-weight:780}
  .selection-summary strong{font-size:12.5px;white-space:nowrap}.selection-clear{flex:none;border:1px solid var(--warning-border);border-radius:10px;padding:7px 8px;background:var(--warning-bg);color:var(--warning-text);font-size:9.5px;font-weight:780}
  .footer{padding-bottom:calc(150px + env(safe-area-inset-bottom))}.toast{bottom:calc(136px + env(safe-area-inset-bottom))}
}
/* V7.6.3: progressive product-image loading with an explicit, non-destructive retry state. */
.product-image-shell{position:relative;display:grid;width:100%;height:100%;place-items:center;overflow:hidden;background:var(--surface-soft,#f3f6f1)}
.product-image-shell>img{width:100%;height:100%;object-fit:contain;display:block}
.product-image-missing{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);padding:4px 8px;border-radius:999px;background:#fff4e5;color:#8a5520;border:1px solid #edcf9d;font-size:10px;font-weight:750;white-space:nowrap}
.product-image-fallback{position:absolute;inset:0;display:none;place-content:center;place-items:center;gap:5px;padding:8px;text-align:center;background:var(--surface-soft,#f3f6f1);color:var(--muted,#607366)}
.product-image-fallback>span{font-size:30px}.product-image-fallback small{font-size:12px}.product-image-fallback button{min-height:36px;padding:6px 12px}
.product-image-shell.image-failed>img{visibility:hidden}.product-image-shell.image-failed>.product-image-fallback{display:grid}
.load-more-products{grid-column:1/-1;display:flex;justify-content:center;padding:14px 0 4px}
.load-more-products button{min-height:46px;min-width:min(280px,100%);padding:10px 20px;border-radius:999px}

/* V7.6.4: complete product imagery, clear price-review state, and stable detail scrolling. */
.detail-dialog{overflow:hidden;display:flex;flex-direction:column}
#detailContent{max-height:94dvh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.detail-photo{height:clamp(340px,52dvh,520px);min-height:340px;padding:18px;background:#fff;overflow:hidden}
.detail-photo .product-image-shell{width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden;background:#fff}
.detail-photo .product-image-shell>img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;aspect-ratio:auto!important}
.detail-info .detail-transaction-note{margin:8px 0 14px;padding:9px 10px;border-radius:10px;background:var(--surface-3);color:var(--muted);font-size:11px;line-height:1.55}
.detail-info .detail-price-pending,.product-price-pending{color:var(--warning-text);font-size:15px;line-height:1.45}
.pending-button{border-color:var(--warning-border);background:var(--warning-bg);color:var(--warning-text)}
.disabled-link{pointer-events:none;opacity:.55}
.catalog-loading{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:250px;padding:10px 0;align-items:start}
.catalog-loading span{display:block;height:210px;border-radius:16px;background:linear-gradient(100deg,var(--surface-3) 25%,var(--surface-2) 42%,var(--surface-3) 58%);background-size:250% 100%;animation:catalog-loading 1.2s ease-in-out infinite}
.catalog-loading p{grid-column:1/-1;margin:0;text-align:center;color:var(--muted);font-size:12px}

/* V7.8.6: iOS Safari zooms focused form controls below 16px. Keep page scale stable. */
@media(max-width:680px){#searchInput,.search-box input,.catalog-layout.mobile-search-open .search-box input{font-size:16px!important}}
@keyframes catalog-loading{to{background-position-x:-250%}}
@media(max-width:680px){
  .detail-dialog{height:min(92dvh,840px);max-height:92dvh;padding-bottom:env(safe-area-inset-bottom)}
  #detailContent{max-height:calc(92dvh - env(safe-area-inset-bottom));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .detail-photo{height:clamp(286px,43dvh,370px);min-height:286px;padding:16px 44px 12px}
  .detail-info{padding:17px 16px 13px}
  .detail-dialog>.dialog-close{position:absolute;top:10px;right:10px;background:rgba(240,245,237,.96);box-shadow:0 2px 12px rgba(20,50,36,.16)}
  .detail-fields{grid-template-columns:1fr}
  .catalog-loading{grid-template-columns:1fr;gap:10px}
  .catalog-loading span{height:156px}
  .catalog-loading span:nth-child(n+3){display:none}
}
@media(max-width:345px){.detail-photo{height:280px;min-height:280px;padding-inline:38px}}
@media(prefers-reduced-motion:reduce){.catalog-loading span{animation:none}}

/* V7.8.2 image pass: every catalog surface favors full-subject visibility. */
.product-visual,.promotion-photo,.mini-photo,.detail-photo,.product-image-shell{background:#fff}
.product-visual img,.promotion-photo img,.mini-photo img,.detail-photo img,.product-image-shell>img{object-fit:contain!important;object-position:50% 50%!important;max-width:100%!important;max-height:100%!important}
.product-visual .product-image-shell{padding:8px}
.detail-photo .product-image-shell{padding:2px}
@media(max-width:680px){.product-visual .product-image-shell{padding:6px}.detail-photo .product-image-shell{padding:0}}
