/* KHMini market: compact mobile storefront, with room for real product photography. */
:root{--green:#167548;--ink:#182c24;--muted:#7b857f;--paper:#fff;--line:#edf0ed;--lime:#d4ecb7}body{background:#fff}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button{border-radius:12px}.market-header{display:block;height:auto;padding:0 5%;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:5}.header-top{max-width:1240px;margin:auto;display:flex;gap:24px;justify-content:space-between;align-items:center;min-height:82px}.brand{font-size:23px;letter-spacing:-.7px}.brand b{color:#178653;font-weight:600}.brandmark{background:#178653;border-radius:11px;color:#d5efb5}.header-top nav{display:flex;gap:8px}.header-end{gap:12px;flex-shrink:0}#language{background:#f4f7f3;border:0;padding:8px 10px;color:#3c5445;border-radius:9px}#login{background:#178653;color:white;border-radius:20px;padding:8px 15px;font-size:12px!important;white-space:nowrap}.bag{border:1px solid #d4dfd8;border-radius:22px;background:white;color:var(--green);display:flex;align-items:center;gap:8px;padding:8px 14px}.bag span{margin:0;color:inherit}.bag svg{width:20px;height:20px}#logout{font-size:11px;padding:8px}.header-tools{display:grid;grid-template-columns:340px 1fr;gap:30px;align-items:center;max-width:1240px;margin:auto;padding:0 0 20px}.delivery-picker{min-width:0;max-width:none;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;position:relative}.location-symbol{font-size:30px;color:#178653;line-height:1}.region-label{color:#7a867e;font-size:10px;min-width:0;flex:1}.region-label select{min-width:0;margin:0;padding:0 20px 0 0;border:0;border-radius:0;font-weight:600;font-size:14px;width:100%;max-width:none;background-color:transparent;color:#263f30;height:27px}.delivery-picker #choose-location{display:flex;align-items:center;gap:6px;padding:8px 9px;background:#f4f8f3;border:0;font-size:10px;color:#397348;flex-shrink:0}.delivery-picker #choose-location svg{width:17px;height:17px}.delivery-picker #chosen-location{position:absolute;left:36px;bottom:-13px;font-size:8px;white-space:nowrap;max-width:250px;overflow:hidden;text-overflow:ellipsis;color:#7b857f}.search{border-radius:12px;background:#f5f7f5;border:1px solid #e9eee9;padding:0 15px;gap:12px;height:50px;box-shadow:none}.search input{width:100%;min-width:0;font-size:13px;padding:10px 0}.search svg{color:#6d7d72;flex-shrink:0;width:20px;height:20px}.search kbd{font-size:12px;border:1px solid #dfe5df;border-radius:4px;color:#94a096;padding:0 6px}main{max-width:1368px;padding:28px 5% 45px}.intro-heading{margin-bottom:18px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px}.section-heading h1{font:600 29px/1.4 "Segoe UI",sans-serif;letter-spacing:-.8px;margin:5px 0 0}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#7b8e7e;font-weight:600}.city-note{font-size:12px;color:#849387;display:flex;align-items:center;gap:7px}.city-note:before{content:'';width:6px;height:6px;border-radius:50%;background:#51ad63}.category-rail{display:flex;gap:18px;overflow-x:auto;scrollbar-width:none;margin:0 0 27px;padding:3px 0 6px}.category-rail::-webkit-scrollbar,.store-rail::-webkit-scrollbar{display:none}.category-rail button{flex:1;min-width:100px;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:10px;background:white;border:0;border-radius:0;padding:0;color:#59635c;font-size:12px}.category-image{width:84px;height:78px;background:#f6f6ed;border-radius:20px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:2px solid transparent;transition:transform .15s}.category-image img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}.category-rail button:nth-child(3n+1) .category-image{background:#edf7ed}.category-rail button:nth-child(3n+2) .category-image{background:#fff4e3}.category-rail button.active{color:#117a44;font-weight:600}.category-rail button.active .category-image{border-color:#249657;box-shadow:0 0 0 3px #e6f4e9}.category-rail button:hover .category-image{transform:translateY(-3px)}.all-category-icon{font-size:48px;color:#2c955a}.market-promos{display:grid;grid-template-columns:1.85fr 1fr;gap:20px;margin-bottom:35px}.feature-promo{min-height:242px;background:#e9f3e4;border:0;display:grid;grid-template-columns:1fr .8fr;text-align:left;overflow:hidden;padding:0;border-radius:18px;position:relative}.promo-copy{padding:25px 30px;z-index:1}.promo-kicker{font-size:9px;letter-spacing:1.3px;font-weight:700;color:#47805d}.promo-copy h2,.small-promo h2{font:700 31px/1.15 "Segoe UI",sans-serif;letter-spacing:-1px;margin:13px 0;color:#254e32}.promo-copy p{font-size:12px;color:#5b7b62;margin:0 0 16px}.promo-cta{display:inline-flex;align-items:center;gap:20px;font-size:12px;font-weight:600;color:#23593c}.promo-cta b{border-radius:50%;background:#fff9;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.promo-photo{position:relative;min-width:0;background:#d9e9cc;border-radius:90px 0 0 90px}.promo-photo img{width:100%;height:100%;position:absolute;object-fit:cover;mix-blend-mode:multiply;opacity:.95}.photo-bubble{position:absolute;bottom:20px;left:-10px;background:white;border-radius:20px;box-shadow:0 3px 15px #365b3212;font-size:11px;padding:6px 15px;color:#346a40}.small-promo{position:relative;overflow:hidden;background:#fff1d8;border:0;text-align:left;padding:26px 28px;border-radius:18px}.small-promo .promo-kicker{color:#967742}.small-promo h2{font-size:29px;color:#77572d;position:relative;z-index:1}.small-promo .promo-cta{color:#806137;position:relative;z-index:1;margin-top:13px}.deal-symbol{position:absolute;right:6px;top:16px;transform:rotate(12deg);font-size:135px;line-height:1;color:#e4aa5260;font-weight:800}.section-heading h2,.catalog-head h2{font:650 23px/1.4 "Segoe UI",sans-serif;letter-spacing:-.5px;margin:5px 0 0}.section-count{font-size:11px;color:#839286}.stores-section{margin-bottom:32px}.store-rail{display:flex;gap:15px;margin-top:17px;overflow-x:auto;scrollbar-width:none;padding-bottom:8px}.store-card{min-width:260px;flex:1;max-width:400px;display:grid;grid-template-columns:70px 1fr;gap:13px;align-items:center;text-align:left;padding:13px;border:1px solid #e5ece4;border-radius:14px;background:#fff}.store-card.selected{border-color:#40a36a;background:#f3faf2}.store-thumbnail{width:70px;height:70px;border-radius:11px;object-fit:cover}.store-copy{min-width:0}.store-copy strong{font-size:13px;font-weight:650;display:block}.store-copy small{display:block;font-size:10px;color:#809084;margin-top:5px}.store-copy .store-fee{color:#417c51}.store-mini-tag{background:#eef5eb;color:#709069;font-size:9px;border-radius:4px;display:inline-block;padding:1px 5px;margin-top:4px}.catalog-head{margin:0 0 17px;align-items:end;display:flex;justify-content:space-between}.text-button{border:0;padding:5px 0;background:none;color:#178653;font-weight:600;font-size:12px}.shop-options{gap:14px;margin:0 0 22px;padding-bottom:15px;border-bottom:1px solid #edf1ec}.shop-options select{border-radius:8px;padding:7px 10px;font-size:11px;background:#fafbf8;border-color:#edf0e9}.shop-options label{font-size:11px;color:#758573}.shop-options #results{font-size:10px}.offer-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap}.offer-toggle input{accent-color:#16864a}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product{border:0;border-radius:0;overflow:visible;background:white;position:relative}.product-art{height:205px;border-radius:15px;background:#f5f6ee!important;overflow:hidden}.product-art img{object-fit:cover;transition:transform .2s}.product:hover .product-art img{transform:scale(1.035)}.product-art .tag{left:10px;top:10px;background:#fff;padding:4px 8px;font-size:9px;font-weight:700;border-radius:6px;box-shadow:0 1px 7px #00000008}.product-body{padding:12px 2px 4px}.product .category{font-size:9px;color:#8c9589;font-weight:500}.product h3{min-height:0;font:600 15px/1.4 "Segoe UI",sans-serif;margin:5px 0 7px}.product p{display:none}.product-price{margin-top:9px;min-height:34px;gap:8px;flex-wrap:nowrap}.product-price strong{font-size:17px;font-weight:700;color:#273b2d}.product-price s{font-size:11px;font-weight:400;margin-left:7px;color:#a4aaa0;display:inline}.product-price button{border-radius:10px;border:0;background:#e7f4e5;color:#13753d;width:34px;height:34px;font-size:24px;font-weight:400}.store-caption{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px;color:#899385}.sample-notice{font-size:10px;margin:25px 0 0;padding:9px 12px;background:#f7f8f2;color:#8e957f;border:1px solid #edf0e5;border-radius:8px}.delivery-banner{background:#f1f8ed;border:1px solid #e5eddf;padding:22px 25px;gap:15px;margin-top:25px}.delivery-banner h3{font:600 18px/1.5 "Segoe UI",sans-serif;color:#467340}.delivery-banner p{font-size:11px}.delivery-banner button{margin-left:auto;white-space:nowrap}.banner-icon{color:#659b52;font-size:29px}footer{max-width:1240px;margin:auto;padding:25px 0;font-size:10px;border-color:#eef1ea}footer .brand{font-size:15px}footer div{gap:20px}.bottom-nav{display:none}.account-signin{display:block;text-align:center;border-radius:10px;padding:12px;margin:18px 0}#account-dialog>button{margin:8px 0}#toast{bottom:30px}.page-title h1{font-family:inherit;font-size:37px}.page-title .eyebrow{color:#7b8e7e}.admin-tabs{overflow-x:auto;white-space:nowrap}.dialog-head h2{font-family:inherit;font-size:24px}.empty{background:#f7faf4;border-color:#e0e8d7}.empty h3{font-family:inherit;font-size:21px}.primary{background:#178653;border-color:#178653}
html[lang=km] .section-heading h1{font-family:inherit;font-size:25px;font-weight:650;line-height:1.6}html[lang=km] .section-heading h2,html[lang=km] .catalog-head h2{font-family:inherit;font-size:21px;font-weight:650;line-height:1.6}html[lang=km] .promo-copy h2,html[lang=km] .small-promo h2{font-family:inherit;font-size:27px;line-height:1.6;font-weight:700}html[lang=km] .promo-kicker{letter-spacing:0;font-size:10px}html[lang=km] .eyebrow{font-size:10px;letter-spacing:0}html[lang=km] .product h3{font-family:inherit;font-size:14px;line-height:1.7;min-height:0}html[lang=km] .delivery-banner h3{font-family:inherit;font-size:17px}html[lang=km] .category-rail button{font-size:11px}html[lang=km] .header-end #login{font-size:12px!important}html[lang=km] .store-copy strong{font-size:12px}html[lang=km] .region-label select{font-family:inherit;font-size:13px}html[lang=km] .delivery-picker #choose-location{font-size:10px}
@media(max-width:1000px){.header-top nav{display:none}.header-top{min-height:76px}.header-tools{grid-template-columns:290px 1fr;gap:20px}.market-header{padding:0 4%}main{padding:25px 4% 35px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-rail button{min-width:95px}.market-promos{grid-template-columns:1.7fr 1fr}.promo-copy{padding:23px}.small-promo{padding:23px}.store-card{min-width:245px}.bottom-nav{display:none}footer{padding-left:4%;padding-right:4%}}
@media(max-width:700px){body{padding-bottom:calc(72px + env(safe-area-inset-bottom));background:white}.market-header{padding:0 18px;box-shadow:0 3px 20px #244b2410}.header-top{min-height:65px;gap:12px}.brand{font-size:20px!important;gap:9px}.brandmark{width:31px;height:33px;font-size:21px;border-radius:9px;letter-spacing:-5px}.header-end{gap:8px;flex-wrap:nowrap;justify-content:end;font-size:11px}#language{padding:5px 6px;font-size:10px;max-width:59px}#login{padding:6px 11px;border-radius:18px;font-size:10px!important;max-width:none!important}.header-end #username{max-width:70px;font-size:11px}.header-end #logout{display:none}header .bag{display:none}.header-tools{display:flex;flex-direction:column;gap:14px;padding-bottom:17px;align-items:stretch}.delivery-picker{flex:none;width:100%;min-width:0;max-width:none;gap:7px;align-items:center}.location-symbol{font-size:24px}.region-label{display:flex;align-items:center;gap:8px;font-size:10px;flex:1}.region-label select{flex:1;width:auto;max-width:175px;font-size:12px;height:25px}.delivery-picker #choose-location{padding:6px 9px;gap:5px;font-size:9px}.delivery-picker #choose-location svg{width:15px;height:15px}.delivery-picker #chosen-location{display:none}.search{height:45px;border-radius:10px;padding:0 12px;gap:9px}.search input{font-size:11px}.search kbd{display:none}.search svg{width:19px;height:19px}main{padding:23px 18px 28px}.intro-heading{margin-bottom:16px}.intro-heading .eyebrow{display:none}.section-heading h1{font-size:21px;letter-spacing:-.5px;margin:0}.city-note{font-size:9px}.category-rail{gap:15px;margin:0 -18px 23px;padding:3px 18px 8px;scroll-padding-left:18px}.category-rail button{min-width:72px;max-width:80px;gap:9px;font-size:10px}.category-image{width:67px;height:65px;border-radius:17px}.all-category-icon{font-size:39px}.market-promos{grid-template-columns:1fr;gap:12px;margin-bottom:26px}.feature-promo{min-height:185px;border-radius:14px;grid-template-columns:1fr .75fr}.promo-copy{padding:20px}.promo-kicker{font-size:8px;letter-spacing:.6px}.promo-copy h2{font-size:25px;margin:8px 0 7px;line-height:1.13}.promo-copy p{font-size:10px;line-height:1.5;margin-bottom:12px;max-width:190px}.promo-cta{font-size:10px;gap:12px}.promo-photo{border-radius:65px 0 0 65px}.photo-bubble{font-size:8px;bottom:14px;left:-12px;padding:4px 9px}.small-promo{min-height:0;padding:14px 17px;display:grid;grid-template-columns:1fr auto;align-items:center;border-radius:12px}.small-promo .promo-kicker{display:none}.small-promo h2{font-size:15px;line-height:1.4;margin:0;letter-spacing:-.4px}.small-promo h2 br{display:none}.small-promo .promo-cta{font-size:9px;margin:0;gap:8px;padding-right:0}.deal-symbol{font-size:60px;top:-9px;right:60px;opacity:.4}.section-heading h2,.catalog-head h2{font-size:19px;line-height:1.4}.section-heading .eyebrow,.catalog-head .eyebrow{display:none}.section-count{font-size:9px}.stores-section{margin-bottom:24px}.store-rail{margin:14px -18px 0;padding:0 18px 7px;gap:12px}.store-card{min-width:255px;max-width:270px;grid-template-columns:60px 1fr;padding:10px;gap:11px;border-radius:12px}.store-thumbnail{width:60px;height:60px;border-radius:10px}.store-copy strong{font-size:12px}.store-copy small{font-size:9px;margin-top:2px}.store-mini-tag{font-size:8px}.catalog-head{margin:0 0 15px;gap:10px;flex-wrap:nowrap}.catalog-head>div:first-child{min-width:0}.text-button{font-size:10px;white-space:nowrap}.shop-options{gap:8px;flex-wrap:wrap;padding-bottom:13px;margin-bottom:17px}.shop-options select{font-size:9px;max-width:175px;padding:6px 8px}.shop-options label{font-size:9px}.offer-toggle{gap:3px}.shop-options #results{margin-left:auto;font-size:9px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px;row-gap:22px}.product-art{height:165px;border-radius:12px}.product-art .tag{font-size:8px;left:8px;top:8px;padding:3px 6px}.product-body{padding:9px 0 0}.product .category{font-size:8px}.product h3{font-size:12px;line-height:1.5;margin:3px 0 7px}.product-price{margin-top:6px;min-height:30px}.product-price strong{font-size:15px}.product-price s{font-size:9px;display:block;margin-left:0}.product-price button{height:30px;width:30px;border-radius:9px;font-size:22px}.store-caption{font-size:8px;margin-top:6px}.sample-notice{font-size:9px;line-height:1.7;margin-top:24px;padding:9px}.delivery-banner{padding:16px;gap:10px;margin-top:18px}.delivery-banner h3{font-size:14px}.delivery-banner p{font-size:9px}.delivery-banner .text-button{display:none}.banner-icon{font-size:24px}footer{padding:20px 18px;gap:15px;margin:0;font-size:9px;align-items:start}footer .brand{font-size:14px!important}footer div{gap:10px;max-width:235px;justify-content:end}footer>span{display:none}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;margin:0;background:#fffffffa;backdrop-filter:blur(14px);border-top:1px solid #e6ece5;box-shadow:0 -4px 20px #173d1708;padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:0;justify-content:space-around;width:100%}.bottom-nav button{border:0;background:none;display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;gap:4px;padding:2px 0;font-size:9px;line-height:1.5;color:#90978f;position:relative;border-radius:0}.bottom-nav svg{width:23px;height:23px;stroke-width:1.6}.bottom-nav button.active{color:#178653;font-weight:600}.bottom-nav button.active:before{content:'';width:30px;height:3px;background:#249d5b;position:absolute;top:-11px;border-radius:3px}.bottom-nav #mobile-cart-count{position:absolute;top:-3px;left:calc(50% + 5px);background:#178653;border:2px solid white;color:white;border-radius:15px;min-width:17px;font-size:8px;padding:0 3px;line-height:13px}#toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:12px;padding:12px 18px;width:max-content;max-width:90vw}dialog{padding:22px;max-height:88vh;border-radius:18px}.dialog-head h2{font-size:21px}.page-title{margin:10px 0 25px}.page-title h1{font-size:30px}.manage-bar{gap:10px;align-items:center;flex-wrap:wrap}.manage-bar label{min-width:180px;flex:1}.manage-bar .primary{font-size:11px}.admin-tabs button{font-size:11px;flex-shrink:0}.order{padding:16px;border-radius:14px}.order h3{font-size:15px}.order-top{gap:10px}.timeline{row-gap:19px}.order-actions button{font-size:11px}.checkgrid{grid-template-columns:1fr 1fr}.form-row{grid-template-columns:1fr}.inventory-row{gap:10px}.inventory-row button{font-size:11px;flex-shrink:0}
html[lang=km] .section-heading h1{font-size:19px;line-height:1.7}html[lang=km] .category-rail button{font-size:9px;line-height:1.8}html[lang=km] .section-heading h2,html[lang=km] .catalog-head h2{font-size:17px;line-height:1.7}html[lang=km] .promo-copy h2{font-size:23px;line-height:1.65;margin:7px 0}html[lang=km] .promo-copy p{font-size:10px;line-height:1.8}html[lang=km] .promo-kicker{font-size:8px}html[lang=km] .small-promo h2{font-size:13px;line-height:1.7}html[lang=km] .product h3{font-size:12px;line-height:1.8}html[lang=km] .store-copy strong{font-size:11px;line-height:1.8}html[lang=km] .store-copy small{font-size:8px}html[lang=km] .region-label select{font-size:11px}html[lang=km] .delivery-picker #choose-location{font-size:9px}html[lang=km] .header-end #login{font-size:10px!important}html[lang=km] .bottom-nav button{font-size:9px;line-height:1.8}html[lang=km] .delivery-banner h3{font-size:13px}html[lang=km] .shop-options label{font-size:9px}html[lang=km] .header-end{gap:7px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.category-image,.product-art img{transition:none}}
@media(min-width:701px) and (max-width:1000px){.header-top{flex-wrap:wrap;gap:12px;padding:15px 0}.header-top nav{display:flex;order:3;width:100%}}
@media(max-width:700px){.category-rail button{font-size:11px}.search input{font-size:12px}.store-copy small{font-size:10px}.bottom-nav button{font-size:10px}.store-copy strong{font-size:13px}.promo-copy p{font-size:11px}.shop-options label{font-size:10px}html[lang=km] .category-rail button{font-size:11px}html[lang=km] .bottom-nav button{font-size:10px}html[lang=km] .store-copy strong{font-size:12px}html[lang=km] .store-copy small{font-size:9px}html[lang=km] .product h3{font-size:13px}html[lang=km] .region-label select{font-size:12px}html[lang=km] .promo-copy p{font-size:11px}html[lang=km] .shop-options label{font-size:10px}.category-rail button{max-width:88px;min-width:76px}.category-image{width:69px;height:67px}}
#coverage-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;margin:0 0 22px;border-radius:11px;font-size:12px;line-height:1.7}#coverage-banner.coverage-prompt{background:#eff7ec;color:#467246}#coverage-banner.coverage-unavailable{background:#fff2e3;color:#8b5c2a}#coverage-banner button{flex-shrink:0;border:0;background:transparent;padding:4px;font-size:11px;font-weight:600;color:inherit}.coverage-controls{display:flex;gap:10px;margin:15px 0}.coverage-controls button{font-size:12px}#account-coverage{margin-top:8px}.product-art>span[aria-hidden=true]:not([hidden]){font-size:60px}@media(max-width:700px){#coverage-banner{font-size:10px;gap:8px;padding:9px 11px;margin-bottom:18px;align-items:start}#coverage-banner button{font-size:10px;max-width:90px;white-space:normal}.manage-bar #coverage-settings{font-size:11px}}

/* Shopping first: categories, products, then optional store browsing. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stores-section{margin:35px 0 0;padding-top:24px;border-top:1px solid var(--line)}.category-rail{margin-bottom:24px}.catalog-head{margin-top:0}@media(max-width:700px){main{padding-top:16px}.category-rail{margin-bottom:17px}.stores-section{margin-top:28px;padding-top:20px}}
#settings-view{max-width:630px;margin:10px auto 40px}.settings-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.settings-title h1{font-family:inherit;font-size:30px;letter-spacing:-.5px;margin:0}.settings-card{border:1px solid #e5ece4;padding:25px;border-radius:16px;background:#fff}.settings-card h2{font-family:inherit;font-size:20px}.settings-card label{font-weight:600}.settings-account{font-size:12px;color:#688168;margin-bottom:18px}.settings-card #use-current-district{font-size:12px;margin-bottom:20px;background:#f3f8ef;border-color:#e1ebdd}.settings-card select{margin-top:10px}.settings-card .hint{line-height:1.8}#settings-saved{color:#178653;font-size:12px;margin-bottom:0}#account-settings{margin-top:12px}@media(max-width:700px){.settings-title h1{font-size:24px}.settings-card{padding:20px}.settings-title{margin-bottom:17px}.settings-card label{font-size:13px}.settings-card select{font-size:12px}}
.product-photo-editor{border:1px solid #e1e9df;border-radius:13px;padding:15px;margin:20px 0}.product-photo-editor legend{padding:0 7px;font-size:13px;font-weight:600}.photo-preview{height:190px;background:#f3f6f0;border-radius:10px;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:contain}.photo-preview span{font-size:13px;color:#899780}.photo-actions{display:flex;gap:10px;margin-top:12px}.photo-actions button{font-size:12px}.photo-actions #upload-product-photo{background:#eaf5e6;border-color:#d9e9d2;color:#196e38}.photo-actions #remove-product-photo{color:#98634e}.product-photo-editor .hint{font-size:11px;margin:9px 0}.photo-link-details{font-size:11px;color:#7b8774;margin-top:12px}.photo-link-details input{font-size:11px}.inventory-row .inventory-product{display:flex;align-items:center;gap:12px}.inventory-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;background:#f3f6ef;flex-shrink:0}@media(max-width:700px){.photo-preview{height:175px}.photo-actions button{font-size:11px}}

.address-book{margin-top:20px}.address-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.saved-address{padding:18px 0;border-top:1px solid #e5ebe7}.saved-address p{overflow-wrap:anywhere;color:#57675f}.saved-address small{background:#edf6ee;color:#18613d;border-radius:20px;padding:4px 9px}.address-confirm{display:flex;align-items:center;gap:10px;margin:18px 0}.address-confirm input{width:auto;min-width:20px;height:20px}#checkout-address-picker{margin:18px 0}

.address-heading h2{font-size:20px;margin:0}.address-heading button{flex-shrink:0}.address-book{margin-bottom:20px}

/* Phone ergonomics: readable fields, generous touch targets and keyboard-safe sheets. */
@media(max-width:700px){
 html{scroll-padding-bottom:100px}
 body{overflow-wrap:break-word}
 .market-header{padding-top:env(safe-area-inset-top)}
 .header-top{min-height:70px;gap:8px}
 .header-end #language{min-height:44px;min-width:48px;font-size:12px}
 .header-end #login,html[lang=km] .header-end #login{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:12px!important;padding:8px 12px}
 .header-end #username{max-width:65px;white-space:nowrap;text-overflow:ellipsis}
 .region-label{display:block;font-size:11px;line-height:1.5}
 .region-label select,html[lang=km] .region-label select{font-size:16px;min-height:44px;width:100%;max-width:none;padding-right:18px}
 .delivery-picker #choose-location{min-height:44px;font-size:11px;padding:8px 10px}
 html[lang=km] .delivery-picker #choose-location{font-size:11px}
 .header-tools{gap:10px;padding-bottom:14px}
 .search{min-height:48px}
 .search input{font-size:16px}
 .category-rail button,html[lang=km] .category-rail button{font-size:12px;line-height:1.6;min-width:82px;max-width:90px}
 .category-rail{scroll-snap-type:x proximity}
 .category-rail button{scroll-snap-align:start}
 .product-art{height:auto;aspect-ratio:1}
 .product h3,html[lang=km] .product h3{font-size:14px;line-height:1.65}
 .product-price button{width:44px;height:44px;min-width:44px;font-size:26px;border-radius:13px}
 .product-price strong{font-size:16px}
 .product-price s{font-size:11px}
 .product .category,.store-caption{font-size:10px}
 .shop-options select{font-size:16px;min-height:44px;max-width:100%;width:100%}
 .shop-options{display:grid;grid-template-columns:1fr auto;align-items:center}
 .shop-options select{grid-column:1/-1}
 .shop-options label,html[lang=km] .shop-options label{font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px}
 .shop-options #results{font-size:11px}
 .offer-toggle input{width:20px;height:20px}
 .text-button{min-height:44px;font-size:12px}
 .bottom-nav{padding-top:8px}
 .bottom-nav button,html[lang=km] .bottom-nav button{min-height:48px;font-size:11px;gap:3px}
 .bottom-nav svg{width:24px;height:24px}
 dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:700px;max-height:calc(100dvh - env(safe-area-inset-top) - 12px);padding:20px 20px calc(24px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overscroll-behavior:contain;scroll-padding-bottom:24px}
 dialog .dialog-head{position:sticky;top:-20px;background:white;z-index:2;padding:12px 0;margin-top:-12px}
 .dialog-head h2,html[lang=km] .dialog-head h2{font-size:20px;margin:0}
 .dialog-head button{min-width:44px;min-height:44px}
 form input:not([type=checkbox]),form textarea,form select,.settings-card select{font-size:16px;min-height:48px;border-radius:11px}
 form label,.settings-card label{font-size:14px}
 dialog button,.settings-card button,.settings-title button,.admin-tabs button,.manage-bar button,.order-actions button{min-height:44px;font-size:13px}
 dialog .primary{min-height:50px;font-size:15px}
 .hint{font-size:13px;line-height:1.75}
 .cart-row{align-items:center;font-size:14px;gap:10px}
 .cart-row>div{min-width:0}
 .cart-row>div:last-child{display:flex;align-items:center;flex-shrink:0;gap:4px}
 .cart-row input{width:52px;min-height:44px;font-size:16px}
 .cart-row button{min-width:44px}
 .address-confirm{font-size:14px;min-height:44px}
 .address-confirm input{flex-shrink:0;width:22px;height:22px}
 .settings-card{padding:18px}
 .address-heading{flex-wrap:wrap;margin-bottom:16px}
 .address-heading h2,html[lang=km] .address-heading h2{font-size:18px;line-height:1.6}
 .saved-address{font-size:14px}
 .saved-address button{min-width:72px}
 .admin-tabs{overflow-x:auto}
 #coverage-banner{font-size:12px;align-items:center}
 #coverage-banner button{min-height:44px;font-size:12px}
 #delivery-map{height:38dvh;min-height:200px}
 .inventory-product{min-width:0}
 .inventory-product>div{min-width:0;overflow-wrap:anywhere}
 .photo-actions{flex-wrap:wrap}
 #account-dialog .full{margin-top:10px}
 footer{font-size:11px}
}
@media(max-width:360px){
 .market-header{padding-left:12px;padding-right:12px}
 .brand{font-size:17px!important;gap:6px}
 .header-end{gap:5px!important}
 .header-end #username{max-width:44px}
 main{padding-left:12px;padding-right:12px}
 .product-grid{column-gap:12px}
 .product h3,html[lang=km] .product h3{font-size:13px}
}

@media(max-width:360px){.category-rail{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px;scroll-padding-left:12px}.store-rail{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}}

/* Customers choose an address; delivery districts remain internal. */
.delivery-picker #choose-location{width:100%;display:flex;justify-content:space-between;text-align:left;background:#f5f8f4;border-radius:12px;padding:10px 14px;font-size:14px;min-width:0}
#choose-location>span:first-child{min-width:0;flex:1}
#choose-location small{display:block;width:auto;color:#7b857f;font-size:11px}
#delivery-address-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#214f36;font-size:14px;font-weight:600}
.saved-location{display:flex;flex-direction:column;align-items:start;text-align:left;gap:4px;margin-bottom:8px;padding:12px;background:#f5f9f3}
.saved-location span{font-size:13px;color:#617569;overflow-wrap:anywhere}
#location-saved-addresses{max-height:210px;overflow:auto;margin-bottom:12px}
@media(max-width:700px){.delivery-picker #choose-location,html[lang=km] .delivery-picker #choose-location{font-size:14px;padding:9px 12px;min-height:60px}#delivery-address-label{font-size:15px}.delivery-picker .location-symbol{flex-shrink:0}}

.delivery-picker #choose-location{width:auto;flex:1;min-width:0}

#choose-address-list{max-height:45dvh;overflow:auto;margin:12px 0 18px}
#choose-add-address,#choose-map-address{margin-top:10px;min-height:48px}
#address-chooser-dialog .account-signin{display:block;text-align:center;padding:16px 0 0;font-size:13px;color:var(--green)}
@media(max-width:700px){#delivery-address-form .address-number-row{grid-template-columns:1fr 1fr;gap:12px}#address-chooser-dialog .saved-location{padding:14px}}

.promotion-editor{border:1px solid #deeadc;padding:18px;border-radius:14px;margin:20px 0}.promotion-editor legend{font-weight:600;font-size:15px;padding:0 8px}.promotion-editor .address-confirm{align-items:start}.guest-order-tools{padding:16px;border:1px solid #e3ebe0;border-radius:12px;margin:-10px 0 24px}.guest-order-tools input{display:block;width:100%;font-size:14px;padding:12px;margin-top:8px;border:1px solid #dce6d7;border-radius:8px}.signup-after-order{background:#edf7e9;border:1px solid #dfecd9;border-radius:14px;padding:20px;margin-bottom:24px}.signup-after-order p{font-size:13px;line-height:1.7}.signup-after-order .account-signin{display:inline-block;font-size:13px}.guest-order-tools button{min-height:44px}.product-price button:disabled{cursor:default;opacity:.35}
@media(max-width:700px){.promotion-editor{padding:14px}.guest-order-tools input{font-size:16px}.guest-order-tools .hint{overflow-wrap:anywhere}.promotion-editor .checkgrid{grid-template-columns:1fr}}

.guest-order-tools .tracking-open{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;color:var(--green);font-weight:600;font-size:13px}.guest-order-tools button{margin:6px 6px 0 0}.promotion-editor input[type=checkbox]{flex-shrink:0}

.delivery-assignment{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding-top:18px;font-size:13px}.delivery-assignment strong{overflow-wrap:anywhere}.team-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #e4eae1;gap:12px}.team-row small{display:block;color:#7b857f}.driver-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 0 28px;margin-top:-5px}.driver-actions a{display:inline-flex;align-items:center;min-height:44px;color:#187747;padding:8px 12px;border:1px solid #dae8d4;border-radius:10px;font-size:13px}.delivery-proof{background:#f5f8f3;border:1px solid #e2eadd;border-radius:12px;padding:15px;margin-top:20px;font-size:13px}.delivery-proof p{overflow-wrap:anywhere}.proof-image-container img,#delivery-proof-preview{display:block;width:100%;max-height:500px;object-fit:contain;border-radius:12px;margin-top:12px}#delivery-proof-preview{max-height:280px}#delivery-orders{max-width:850px;margin:auto}.past-deliveries{margin:18px 0}.past-deliveries>summary{padding:15px;margin-bottom:15px;font-weight:600}
@media(max-width:700px){.driver-actions{gap:8px}.driver-actions .primary{width:100%;min-height:50px}.delivery-assignment button,.delivery-proof button,.team-row button{min-height:44px;font-size:13px}#delivery-proof-preview{max-height:240px}.delivery-proof{padding:13px}.delivery-proof p{font-size:13px;line-height:1.8}#delivery-view .settings-title h1{font-size:24px}}

.driver-mode .header-tools{display:none}.bottom-nav.driver-bottom-nav{display:none}.driver-mode .shop-bottom-nav{display:none}
@media(max-width:700px){.driver-mode .bottom-nav.driver-bottom-nav{display:flex}.driver-mode .header-top{min-height:70px}.driver-mode main{padding-top:22px}}

/* Supplied KHMini identity; original artwork stays intact. */
:root{--green:#006b68;--ink:#123c40;--muted:#647b7b;--line:#e4eeee;--lime:#ffca45;--brand-gold:#ffbd20}
.brand-logo{display:block;width:144px;height:96px;object-fit:contain;flex-shrink:0}.header-top{min-height:100px}.brand-banner{margin:0 0 24px;border:1px solid #e4eeee;border-radius:16px;overflow:hidden;background:#faf9f4;text-align:center}.brand-banner img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain}.primary,#login,.header-end #login{background:var(--green);color:#fff}.location-symbol,.nav.active,.bottom-nav button.active{color:var(--green)}.bottom-nav button.active:before,.bottom-nav #mobile-cart-count{background:var(--green)}.product-price button{background:var(--brand-gold);color:#153c3d;border-color:transparent}.product-price button:hover{background:#ffcf54}.category-rail button.active .category-image{border-color:var(--green);box-shadow:0 0 0 3px #e0f0ee}.delivery-picker #choose-location,#language,.search{background:#f2f8f7;color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-color:#db9b00}footer .brand-logo{width:112px;height:78px}
@media(max-width:700px){.header-top{min-height:86px}.header-top .brand-logo{width:112px;height:80px}.header-top{gap:6px}.brand-banner{margin-bottom:20px;border-radius:12px}.brand-banner img{max-height:none;aspect-ratio:1672/941;object-fit:contain}.header-end{gap:6px}}
@media(max-width:360px){.header-top .brand-logo{width:92px;height:70px}.header-top{min-height:76px}}

/* Centre the identity independently of navigation and account controls. */
.header-top{display:grid;grid-template-columns:minmax(0,1fr) 156px minmax(0,1fr);gap:16px;min-height:112px}.header-top>.brand{grid-column:2;grid-row:1;justify-self:center}.header-top>nav{grid-column:1;grid-row:1;flex-wrap:wrap;gap:2px;width:auto}.header-top>.header-end{grid-column:3;grid-row:1;justify-self:end}.header-top .brand-logo{width:156px;height:108px}.header-top .nav{font-size:12px;padding:8px}.category-image{background:#f4f9f8!important;border-radius:18px}.category-image img{object-fit:contain;padding:5px}.category-rail button.active .category-image{background:#fff6dc!important;border-color:#db9b00}.category-rail button.active{color:var(--green)}
@media(min-width:701px) and (max-width:1000px){.header-top{padding:0;grid-template-columns:minmax(0,1fr) 144px minmax(0,1fr)}.header-top>nav{order:initial}.header-top .brand-logo{width:144px;height:104px}}
@media(max-width:700px){.header-top{grid-template-columns:minmax(0,1fr) 120px minmax(0,1fr);gap:4px;min-height:100px}.header-top>nav{display:none}.header-top .brand-logo{width:120px;height:94px}.header-top>.header-end{display:flex;flex-direction:column;gap:2px;align-items:flex-end;justify-content:center}.header-end #language{min-height:36px;padding:4px 6px}.header-end #login,html[lang=km] .header-end #login{min-height:36px;padding:4px 8px;font-size:11px!important}.header-end #username{max-width:78px}.category-image{width:70px;height:70px}.category-image img{padding:3px}.header-end #logout{min-height:36px;padding:4px}.header-top .bag{display:none}}
@media(max-width:360px){.header-top{grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)}.header-top .brand-logo{width:112px;height:90px}.header-end #login,html[lang=km] .header-end #login{font-size:10px!important}}

.header-menu{display:none}@media(max-width:700px){.header-menu{display:flex;grid-column:1;grid-row:1;justify-self:start;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--green)}}

/* Compact identity and a welcome splash outside the shopping content. */
.header-top,.header-top .brand{min-height:66px}.header-top .brand-logo{width:60px;height:60px}.delivery-art{width:40px;height:40px;object-fit:contain;flex-shrink:0}.delivery-caption{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mini-shop-name{font-size:11px;font-weight:700;color:var(--green);letter-spacing:0}.mini-shop-name:after{content:'·';margin-left:8px;color:#8da5a4}.bag-art{display:block;object-fit:contain;width:32px;height:32px}.bottom-nav .bag-art{width:28px;height:28px}.bag{padding:5px 12px}.delivery-picker{gap:5px}#intro-dialog{padding:0;width:min(960px,94vw);max-width:960px;max-height:90dvh;border-radius:18px;overflow:hidden;background:#fff}#intro-dialog::backdrop{background:#063d3be8}#intro-art{display:block;width:100%;height:auto;max-height:86dvh;object-fit:contain}#skip-intro{position:absolute;right:10px;top:10px;min-width:44px;min-height:44px;border-radius:50%;border:1px solid #dcebea;background:#fffffff0;color:#123c40;z-index:1;font-size:20px}#skip-intro:focus-visible{outline:3px solid #ffbd20;outline-offset:-4px}
@media(max-width:700px){.header-top{min-height:66px;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)}.header-top .brand-logo{width:60px;height:60px}.header-top>.header-end{flex-direction:row;flex-wrap:nowrap;gap:3px}.header-end #language{min-height:44px;min-width:42px;padding:4px}.header-end #login,html[lang=km] .header-end #login{min-height:44px;font-size:10px!important;padding:4px 6px}.header-end #username{display:none}.header-end #logout{font-size:10px;min-height:44px}.delivery-art{width:36px;height:36px}.delivery-caption{gap:5px}.mini-shop-name{font-size:10px}.mini-shop-name:after{margin-left:5px}#intro-dialog{width:96vw;border-radius:12px}.bottom-nav .bag-art{margin-top:-3px;margin-bottom:-2px}}

/* Store choice belongs beside the delivery address; search opens on demand. */
.header-tools{display:grid;grid-template-columns:minmax(0,340px) minmax(160px,260px);justify-content:start;gap:14px}.header-tools .delivery-picker{width:auto;min-width:0}.header-tools #choose-store{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:1px 10px;min-width:0;min-height:58px;text-align:left;background:#f2f8f7;border:0;padding:8px 12px;border-radius:12px}#choose-store small{font-size:10px;color:var(--muted)}#choose-store strong{grid-column:1;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#choose-store>span{grid-column:2;grid-row:1/3;align-self:center}.search-trigger{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;border:0;background:transparent;color:var(--green);flex-shrink:0}.has-query{color:#b27b00!important}.header-end .search-trigger.has-query{background:#fff5d6;border-radius:50%}#stores-dialog .stores-section{margin:16px 0 0;padding-top:16px}#stores-dialog .section-heading h2{display:none}#stores-dialog .store-rail{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;margin:12px 0 0;padding:0}#stores-dialog .store-card{width:100%;min-width:0;max-width:none}#stores-dialog #all-stores{margin-top:12px}#search-dialog{width:min(760px,94vw);max-width:760px;max-height:78dvh;margin:10dvh auto auto;padding:24px;border-radius:18px;background:#fff}#search-dialog::backdrop{background:#103d426e;backdrop-filter:blur(7px)}#spotlight-form{display:flex;gap:8px;align-items:center;margin-top:16px}#spotlight-form .search{flex:1;min-width:0;margin:0;height:54px}#spotlight-form input{margin:0;border:0;background:transparent;font-size:16px;outline-offset:0}#search-result-count{font-size:12px;color:var(--muted);margin:18px 0}#search-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#search-results .product-body{padding:10px}#search-results .product-art{height:auto;aspect-ratio:1}#search-results .product h3{font-size:13px}#search-dialog .dialog-head h2{font-size:20px}#search-dialog .dialog-head button,#stores-dialog .dialog-head button{min-width:44px;min-height:44px}#search-dialog .empty{padding:20px}#search-dialog .empty h3{font-family:inherit;font-size:18px}
@media(max-width:700px){.header-tools{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px;align-items:stretch}.header-tools .delivery-picker{gap:2px}.delivery-art{width:28px;height:28px}.delivery-picker #choose-location{padding:7px;flex:1;min-width:0}.delivery-caption{gap:2px}.mini-shop-name{font-size:9px}.mini-shop-name:after{margin-left:2px}#choose-store strong{font-size:11px}#choose-store small{font-size:10px}.header-tools #choose-store{padding:7px 9px;min-height:58px}.header-end .search-trigger{display:none}#search-dialog{margin:8dvh auto auto;inset:0;width:94vw;padding:18px;max-height:82dvh;border-radius:16px}#search-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#search-dialog #search{font-size:16px}#spotlight-form .search{padding:0 10px}#search-results .product h3,html[lang=km] #search-results .product h3{font-size:12px}#search-dialog .dialog-head h2{font-size:18px}#spotlight-form{gap:4px}#clear-search{padding:7px;font-size:11px}}

.category-admin-row{padding:18px 0;border-bottom:1px solid var(--line)}.category-admin-title{display:flex;gap:12px;align-items:center}.category-admin-title img{object-fit:contain;border-radius:9px;background:#f2f8f7;flex-shrink:0}.category-admin-title small{display:block;color:var(--muted);font-size:12px}.category-admin-title strong{overflow-wrap:anywhere}.category-no-icon{width:54px;text-align:center;font-size:28px;color:var(--green)}.category-admin-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.category-admin-actions button{font-size:12px;min-height:44px}.category-admin-actions button:last-child{color:#9b4236}#category-form #category-back,#category-remove-form #category-back{margin-top:10px}

.category-hide-empty{display:flex;align-items:center;gap:8px;margin:10px 0;font-size:12px;min-height:44px}.category-hide-empty input{width:20px;height:20px;flex-shrink:0}.category-admin-actions button:disabled{cursor:default;opacity:.35}

:root{--shop-logo-size:60px}.header-top .brand-logo{width:var(--shop-logo-size);height:var(--shop-logo-size)}.header-top,.header-top .brand{min-height:max(66px,calc(var(--shop-logo-size) + 6px))}#language-button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:5px;background:transparent;border:0;flex-shrink:0}#language-button img{width:32px;height:32px;object-fit:contain}#language-dialog{max-width:340px}#language-dialog>[data-language]{margin-top:12px;min-height:48px}.appearance-preview{display:flex;align-items:center;justify-content:center;min-height:120px;background:#f2f8f7;border-radius:12px;margin-bottom:18px}.appearance-preview img{object-fit:contain}#appearance-form input[type=range]{padding:0;min-height:44px}#promotion-signup-dialog .account-signin{display:block;text-align:center;padding:12px}
@media(max-width:700px){.header-top{grid-template-columns:minmax(0,1fr) var(--shop-logo-size) minmax(0,1fr)}.header-top .brand-logo{width:var(--shop-logo-size);height:var(--shop-logo-size)}}

/* Matching glossy teal/gold navigation artwork and selected-language flag. */
.nav-art{display:block;width:28px;height:28px;object-fit:contain;flex-shrink:0}.shop-bottom-nav .nav-art,.shop-bottom-nav .bag-art{width:30px;height:30px;margin:0}.shop-bottom-nav button.active .nav-art{filter:drop-shadow(0 2px 3px #006b6830)}#language-button{position:relative}#language-button .language-flag{position:absolute;right:1px;bottom:4px;width:18px;height:12px;border:1px solid #fff;border-radius:2px;box-shadow:0 1px 3px #123c4050;object-fit:cover}#language-dialog>[data-language]{display:flex;align-items:center;gap:14px;text-align:left;padding:12px 16px}#language-dialog [data-language] img{display:block;width:30px;height:20px;border-radius:3px;box-shadow:0 0 0 1px #123c4020;object-fit:cover}#language-dialog [data-language][aria-pressed=true]{border-color:var(--green);background:#f2f8f7}#language-dialog [data-language][aria-pressed=true]:after{content:'✓';margin-left:auto;color:var(--green)}

/* Compact, keyboard-accessible offer filter chip. */
.shop-options{gap:10px;margin:6px 0 16px;padding:0;border:0;min-height:40px}.shop-options .offer-toggle{display:inline-flex;position:relative;align-items:center;gap:6px;padding:6px 11px;min-height:34px;margin:0;border:1px solid #dce8e6;border-radius:18px;background:#fff;color:var(--ink);font-size:11px;line-height:1.5;cursor:pointer;white-space:nowrap}.shop-options .offer-toggle svg{width:15px;height:15px;stroke-width:2}.shop-options .offer-toggle input{position:absolute;width:1px!important;height:1px!important;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}.shop-options .offer-toggle:has(input:checked){background:#e5f3f0;border-color:var(--green);color:var(--green);font-weight:600}.shop-options .offer-toggle:focus-within{outline:3px solid #db9b00;outline-offset:2px}.shop-options #results{margin-left:auto;font-size:10px}.catalog-head{margin-bottom:4px}@media(max-width:700px){.shop-options .offer-toggle,html[lang=km] .shop-options .offer-toggle{font-size:11px;min-height:34px}.shop-options{margin:4px 0 12px;min-height:40px}.shop-options #results{font-size:10px}}
.shop-options .offer-toggle{flex:0 0 auto;width:auto;max-width:max-content}

.statistics-period{display:flex;align-items:center;gap:12px;margin:12px 0}.statistics-period select{padding:10px;border:1px solid var(--line);border-radius:10px;font-size:16px}.statistics-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.statistics-cards article{padding:18px;border:1px solid var(--line);border-radius:14px;background:#f6faf9}.statistics-cards small{display:block;color:var(--muted);font-size:12px}.statistics-cards strong{display:block;font-size:26px;margin-top:8px}.statistics-panel{border:1px solid var(--line);border-radius:16px;padding:22px;margin:22px 0}.statistics-panel h2{font-size:20px;margin:0 0 14px}.statistics-panel h2:not(:first-child){margin-top:24px}.statistics-table{overflow:auto;margin-top:14px}.statistics-table table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.statistics-table td,.statistics-table th{padding:10px;border-bottom:1px solid var(--line);white-space:nowrap}.statistics-table th{color:var(--muted)}#statistics-map{height:350px;border-radius:12px;background:#eef5f4;margin:16px 0;isolation:isolate}.statistics-chart{display:flex;align-items:flex-end;height:150px;gap:3px;border-bottom:1px solid var(--line);margin:12px 0}.statistics-day{display:flex;align-items:flex-end;gap:1px;flex:1;height:100%;min-width:0}.statistics-day i,.statistics-day b{display:block;flex:1;border-radius:3px 3px 0 0;background:#006b68;min-width:1px}.statistics-day b{background:#e8ad16}.statistics-chart-dates{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:15px}.statistics-legend{display:flex;gap:20px;font-size:12px;color:#006b68}.statistics-legend span+span{color:#a77800}.statistics-statuses{display:flex;flex-wrap:wrap;gap:10px}.statistics-statuses span{padding:8px 12px;background:#f2f8f7;border-radius:10px;font-size:12px}.statistics-statuses b{margin-left:8px}@media(max-width:700px){.statistics-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.statistics-cards article{padding:14px}.statistics-cards strong{font-size:22px}.statistics-panel{padding:15px}.statistics-panel h2,html[lang=km] .statistics-panel h2{font-size:18px}#statistics-map{height:300px}.statistics-day{gap:0}.statistics-chart{gap:2px}.statistics-table td,.statistics-table th{padding:8px}.statistics-cards small{font-size:11px}}

/* Shared touch language across shopping, delivery and management. */
:root{--touch:44px}.settings-title h1,.page-title h1,.statistics-panel h2,.empty h3{font-family:inherit}.page-title{margin:14px 0 22px}.page-title h1{font-family:inherit;font-size:30px;line-height:1.4;margin:0 0 8px}.page-title p{margin:0}.settings-title button,.manage-bar button,.admin-tabs button,.order-actions button,.photo-actions button,.category-admin-actions button,.saved-address button,.guest-order-tools button,.team-row button,.driver-actions a{min-height:44px}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button:active:not(:disabled),.driver-actions a:active{filter:brightness(.95)}button:disabled{cursor:wait}summary{cursor:pointer;touch-action:manipulation}input[type=checkbox]{accent-color:var(--green)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d9a417;outline-offset:3px}
#app-status{max-width:680px;margin:18px auto;padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:#f2f8f7;color:var(--ink)}#app-status p{margin:0 0 10px}.app-loading main{opacity:.45}.app-loading .bottom-nav{pointer-events:none;opacity:.5}#toast{top:auto;right:auto;margin:0;border:0;max-width:calc(100vw - 32px);width:max-content;height:auto;line-height:1.6}#toast::backdrop{background:transparent}
.shop-admin-tools{position:relative}.shop-admin-tools>summary{list-style:none;display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid var(--line);border-radius:12px;background:#f2f8f7;font-size:13px}.shop-admin-tools>summary:after{content:'⌄';margin-left:10px}.shop-admin-tools>div{display:grid;gap:8px;position:absolute;right:0;top:calc(100% + 8px);padding:12px;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 35px #123c4020;z-index:12}.admin-tabs{position:sticky;top:0;z-index:4;background:#fff;padding:10px 0}.inventory-toolbar{display:grid;grid-template-columns:auto minmax(130px,1fr) auto;gap:10px;align-items:center;margin:10px 0 0;position:sticky;top:65px;z-index:3;background:#fff;padding:10px 0}.inventory-toolbar input,.inventory-toolbar select{min-height:44px;min-width:0;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#f5f9f8;color:var(--ink)}.inventory-row{gap:12px;padding:16px 0}.inventory-product{min-width:0}.inventory-product>div{min-width:0}.inventory-product strong{display:block;overflow-wrap:anywhere}.inventory-product small{display:block;font-size:12px;color:var(--muted);line-height:1.8}.inventory-state{display:inline-block;padding:2px 8px;border-radius:12px;font-size:10px;background:#e5f3ed;color:#006b68}.inventory-state.is-hidden{background:#f0f0f0;color:#6a7370}.inventory-row>[data-edit-product]{flex-shrink:0;min-height:44px}
.category-admin-row{border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0;background:#fff;transition:box-shadow .15s,border-color .15s}.category-admin-title{display:grid;grid-template-columns:44px 48px minmax(0,1fr);gap:10px;align-items:center}.category-admin-title img{width:48px;height:48px}.reorder-handle{width:44px;height:48px;min-height:44px;padding:4px;border:0;background:#f0f6f5;color:#64827d;font-size:27px;line-height:1;border-radius:10px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab}.category-admin-row.is-dragging{border-color:#006b68;background:#edf8f5;box-shadow:0 8px 24px #006b6830;position:relative;z-index:2}.category-dragging,.category-dragging *{cursor:grabbing!important;user-select:none!important}.category-visibility-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin:8px 0}.category-visibility-controls .category-hide-empty{margin:0;gap:8px;min-height:44px;font-size:11px;cursor:pointer}.category-visibility-controls input{appearance:none;-webkit-appearance:none;width:36px;height:22px;border:1px solid #b8cbc6;border-radius:14px;background:#dce7e3;position:relative;cursor:pointer;transition:background .15s}.category-visibility-controls input:before{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:white;box-shadow:0 1px 3px #123c4030;transition:transform .15s}.category-visibility-controls input:checked{background:var(--green);border-color:var(--green)}.category-visibility-controls input:checked:before{transform:translateX(14px)}.category-visibility-controls input:focus-visible{outline:3px solid #d9a417;outline-offset:3px}.category-admin-actions{gap:7px;margin-top:4px;align-items:start}.category-admin-actions button{min-width:44px;color:var(--ink);font-size:12px}.category-admin-actions [data-category-remove]{color:#a33c32!important}.category-more{flex:1;min-width:100px}.category-more summary{padding:10px 12px;border:1px solid var(--line);border-radius:10px;min-height:44px;font-size:12px;text-align:center;list-style:none}.category-more summary:after{content:' ⋯'}.category-more>div{display:grid;gap:6px;margin-top:8px}.reorder-help{font-size:12px;line-height:1.7}.reorder-saving{opacity:.65}#category-order-status:empty{display:none}
.cart-row>div:last-child{display:flex;gap:4px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.cart-row .quantity-step{width:36px;min-height:44px;padding:4px;font-size:20px}.cart-row input[data-qty]{min-height:44px;width:44px;appearance:textfield;-moz-appearance:textfield;text-align:center;border:1px solid var(--line);border-radius:8px;font-size:16px}.cart-row input::-webkit-inner-spin-button{appearance:none}.cart-row button[data-remove]{min-width:40px;min-height:44px;padding:8px}.cart-row>div:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.cart-row{gap:10px}
.driver-overview{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;background:#edf7f3;padding:14px 16px;border-radius:12px;font-size:14px}.driver-overview small{font-size:11px;color:var(--muted)}.driver-mode .order{border-radius:16px;overflow:hidden}.driver-mode .order .timeline{display:none}.driver-mode .order-address{background:#f2f8f7;border-radius:12px;padding:14px;font-size:15px;line-height:1.8;margin:12px 0;overflow-wrap:anywhere}.driver-mode .order>details{margin:12px 0}.driver-mode .order>details>summary{min-height:44px;padding:10px 0}.driver-payment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:13px}.driver-payment strong{font-size:22px;color:var(--green)}.driver-mode .driver-actions{padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.driver-mode .driver-actions a{justify-content:center;background:#fff;min-height:46px;color:var(--green);border-color:#cfe1dc}.driver-actions .primary,.driver-actions>.hint{grid-column:1/-1;min-height:52px;margin:0}.driver-actions>.hint{min-height:0}.driver-actions .primary{font-size:15px;font-weight:600}#choose-delivery-photo{margin-top:8px}#complete-delivery-form [type=submit]{min-height:52px}
@media(max-width:700px){button,input,select,textarea{touch-action:manipulation}dialog .dialog-head>button{min-width:44px;min-height:44px}form input:not([type=checkbox]):not([type=range]),form textarea,form select{font-size:16px;min-height:44px}form input[type=checkbox]{min-width:20px;height:20px}#editor-body form>button.primary.full{position:sticky;bottom:0;z-index:2;box-shadow:0 -5px 12px #ffffffdd;min-height:48px}.settings-title h1,.page-title h1{font-size:25px}.settings-title{gap:10px}.settings-title>button{font-size:12px}.manage-bar{gap:8px}.manage-bar label{min-width:0;flex:1 1 100%}.manage-bar select{min-height:48px;width:100%;padding:10px;font-size:16px}.manage-bar>.shop-admin-tools{flex:1}.shop-admin-tools>summary{font-size:12px}.shop-admin-tools>div{right:0;width:min(300px,80vw)}.inventory-toolbar{grid-template-columns:1fr 1fr;gap:8px;top:65px}.inventory-toolbar input{grid-column:1/-1;grid-row:2;font-size:16px}.inventory-toolbar select{font-size:14px}.inventory-toolbar button{font-size:12px;padding:10px}.inventory-product strong{font-size:14px}.inventory-product small{font-size:11px}.inventory-row>[data-edit-product]{font-size:12px;padding:8px 12px}.category-admin-row{padding:12px}.category-admin-title{gap:8px}.category-admin-title strong{font-size:14px}.category-admin-title small{font-size:11px}.category-visibility-controls{gap:0 10px}.category-visibility-controls .category-hide-empty{font-size:10px}.category-admin-actions button,.category-more summary{font-size:11px;padding:9px 10px}.driver-mode .order h3{font-size:16px}.driver-mode .order .order-top{align-items:start}.driver-mode .order .order-top .status{font-size:11px}.driver-mode .order-address{font-size:14px}.driver-overview{padding:12px;font-size:13px}.driver-overview small{font-size:10px}.shop-options{min-height:44px}.shop-options .offer-toggle:before{content:'';position:absolute;inset:-5px 0}.search-dialog #clear-search,#clear-search{min-height:44px;min-width:44px}.address-heading button,.saved-address button{min-height:44px}#toast{bottom:calc(86px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.category-admin-row,.category-visibility-controls input,.category-visibility-controls input:before{transition:none}}

form>label:has(>input[type=checkbox]),.promotion-editor .address-confirm{min-height:44px;display:flex;align-items:center;gap:10px}.checkgrid label{min-height:44px;display:flex;align-items:center;gap:8px}.category-admin-actions button:disabled{cursor:default}
