.language-control{display:flex;align-items:center;flex:0 0 auto}.language-select{border:1px solid #e2cdb8;border-radius:8px;min-height:44px;background:#fffaf2;font-size:14px;padding:8px;max-width:170px;color:#533520}.checkout-button{margin:10px 0}.checkout-button:disabled{opacity:.45;cursor:not-allowed}#checkout{width:680px;max-width:calc(100% - 24px);max-height:92dvh;padding:24px;overflow:auto;color:#34271f}#checkout .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;position:sticky;top:-24px;padding:10px 0;z-index:2}#checkout .dialog-head h2{font-size:23px;margin:0}#checkout button{min-height:44px;border-radius:8px;cursor:pointer;font:inherit;padding:10px 14px;border:1px solid #ded8cd;background:#fff;color:#513b29}#checkout button.primary{background:#c2410c;color:white;border-color:#c2410c}#checkout label{display:flex;flex-direction:column;gap:8px;font-size:14px}#checkout input,#checkout textarea,#checkout select{font:inherit;font-size:16px;min-height:44px;max-width:100%;width:100%;padding:10px 12px;border:1px solid #d9cfc4;border-radius:7px;background:white;color:#34271f}#checkout textarea{resize:vertical}#checkout input:focus-visible,#checkout textarea:focus-visible{outline:2px solid #c2410c;outline-offset:2px}.checkout-notice{background:#fff3cf;padding:14px;border-radius:8px;font-size:14px;line-height:1.7}.checkout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkout-grid .wide{grid-column:1/-1}#checkout fieldset{border:1px solid #e4d9cc;border-radius:9px;margin:24px 0;padding:16px}#checkout legend{padding:0 6px;font-size:16px}#checkout .payment-option{flex-direction:row;align-items:center;min-height:44px;line-height:1.5}#checkout .payment-option input{width:20px;min-height:20px;flex-shrink:0;accent-color:#c2410c}#checkout .disabled{color:#8b8278}.checkout-line{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #eee7df;font-size:15px}.checkout-line span{overflow-wrap:anywhere}.checkout-line strong{white-space:nowrap;font-weight:600}.checkout-line small{color:#746b61}.final-total{font-size:19px;color:#a5370b;border-bottom:0}.checkout-actions{display:flex;justify-content:space-between;gap:12px;padding-top:18px}.checkout-actions button{flex:1}#checkoutError{color:#ac2513;line-height:1.6;font-size:14px}#deliveryReview{white-space:pre-line;line-height:1.8;background:#faf6ef;padding:16px;border-radius:8px}#checkout [hidden]{display:none!important}.translations{border:1px solid #e5dbd1;padding:12px;border-radius:8px}.translations label{margin:12px 0}html[lang=en] #filters button,html[lang=ms] #filters button{white-space:normal;line-height:1.4}html[lang=ms] .brand-logo,html[lang=en] .brand-logo{flex-shrink:0}
@media(max-width:900px){header{flex-wrap:wrap}.search{order:4;width:100%;max-width:none}.language-control{margin-left:auto}.cart-button{margin-left:0}.checkout-actions{flex-wrap:wrap}}
@media(max-width:750px){header .brand-logo{width:150px;height:44px}header .brand-logo img{width:185px;height:185px;left:-17px;top:-121px}.language-select{font-size:14px;max-width:145px}.cart-button{display:none}.search{width:100%}#checkout{margin:auto auto 0;max-width:100%;width:100%;border-radius:16px 16px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom))}#checkout .dialog-head{top:-18px}.checkout-grid{grid-template-columns:1fr}.checkout-grid .wide{grid-column:auto}#checkout .dialog-head h2{font-size:20px}#filters button{font-size:12px!important;min-height:80px!important;overflow-wrap:anywhere}.mobile-bar>a{white-space:normal;max-width:110px;font-size:13px}.mobile-bag{font-size:14px;padding:10px}.mobile-bag span{white-space:normal}.section-heading h2{font-size:21px}.row .row-actions button{font-size:13px}html[lang=ms] .tools,html[lang=en] .tools{grid-template-columns:1fr}.checkout-line{font-size:14px}.checkout-actions button{font-size:14px!important}.language-control{margin-left:auto}header .back{margin-left:0}}
@media(max-width:350px){header .brand-logo{width:130px;height:38px}header .brand-logo img{width:160px;height:160px;left:-15px;top:-105px}.language-select{max-width:126px;font-size:13px}header{gap:5px}.checkout-actions{flex-direction:column}}

.stock-label{font-size:13px;color:#a4360c;font-weight:700}.inventory-label{font-size:13px;color:#946024;margin:7px 0 0}button:disabled{opacity:.5;cursor:not-allowed}.operations{margin-top:16px}.operations p{font-size:13px;line-height:1.7;margin:8px 0 0}

/* DailyMart: fuller, friendly type across the shop and management pages. */
:root{--daily-font:"Trebuchet MS","Aptos","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
html body{font-family:var(--daily-font);font-weight:550;line-height:1.6}
html body :is(h1,h2,h3,h4,button,input,textarea,select){font-family:var(--daily-font)}
html body :is(h1,h2){font-weight:800;letter-spacing:0;line-height:1.35}
html body :is(h3,.product h3,.cart-info h3,.row h3,.order-row h3){font-weight:700;line-height:1.5}
html body :is(button,.primary,.cart-button,.account-button,.language-select,#filters button,#checkout button,#account button){font-weight:700;letter-spacing:0;line-height:1.4}
html body :is(input,textarea,select,#checkout input,#checkout textarea,#checkout select,#account input,#account textarea,#account select){font-weight:600;line-height:1.5}
html body :is(label,#checkout label,#account label,.badge,.sort-label){font-weight:650}
html body :is(.price-row strong,.stats strong,.checkout-line strong,.total strong,.mobile-bag strong){font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:0}
html body :is(.product .category,.product .sub,.result-count,.inventory-label,.stock-label){font-weight:600;color:#655044;letter-spacing:0}
html body :is(.section-heading>p,.market-intro p,.intro>div>p,.formula,.muted){font-weight:550}
html body :is(input,textarea)::placeholder{font-weight:500;color:#847468;opacity:1}
html body :is(.checkout-notice,.account-notice,aside,footer small){line-height:1.75}
@media(max-width:750px){html body .product h3{font-size:17px}html body .price-row strong{font-size:22px}html body .product .sub{font-size:14px}html body .result-count{font-size:14px}html body #filters button{font-weight:700}}

.delivery-scope{padding:12px 16px;background:#fff3cf;border:1px solid #efd295;border-radius:8px;font-size:14px;font-weight:650;line-height:1.7;color:#74380e;margin:0 0 18px}

.postcode-area-helper{display:grid;gap:.45rem;padding:.7rem .85rem;border:1px solid #f5c878;border-radius:12px;background:#fff8e7;color:#62451a;font-size:.88rem;line-height:1.45}.postcode-area-helper[hidden],.postcode-area-select[hidden]{display:none}.postcode-area-select{width:100%;min-height:42px;padding:.55rem .7rem;border:1px solid #e4c278;border-radius:9px;background:#fff;color:#302719;font:inherit}

