@font-face{font-family:Noto;src:url('/assets/NotoSansThai.ttf') format('truetype');font-display:swap;font-weight:100 900}
:root{font-family:Noto,sans-serif;color-scheme:light;--red:#e11b22;--bg:#faf8f6;--surface:#fff;--text:#181415;--muted:#70696c;--line:#ddd7d4;--soft:#fae3e0;font-size:16px;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid var(--red);outline-offset:3px}button{touch-action:manipulation}h1,h2,p{margin:0}h1{font-size:26px;line-height:1.3}h2{font-size:18px;line-height:1.4}p{line-height:1.6}.muted{color:var(--muted)}
#app{max-width:520px;min-height:100dvh;margin:auto;padding:env(safe-area-inset-top) 20px calc(100px + env(safe-area-inset-bottom))}.brand{display:flex;align-items:center;gap:12px;padding:28px 0 24px;letter-spacing:1px;font-weight:750;font-size:16px}.brand-mark{display:inline-block;width:40px;height:32px;background:var(--red);mask:url('/assets/sixty_sip_logo_white.png') center/contain no-repeat;-webkit-mask:url('/assets/sixty_sip_logo_white.png') center/contain no-repeat}.hero{padding:20px 16px;border-radius:16px;background:var(--red);color:#fff}.hero p{margin-top:8px;font-size:14px}.routes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 24px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:14px;font-weight:650}.primary{background:var(--red);color:#fff;border-color:var(--red)}.ghost{background:transparent;border:0;color:var(--red)}.wide{width:100%}.icon{display:inline-block;vertical-align:middle;width:24px;height:24px;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat;flex-shrink:0}.section{margin-top:24px;margin-bottom:16px}.panel{padding:20px;background:var(--surface);border-radius:20px;margin:16px 0}.panel p+p{margin-top:8px}.panel .button{margin-top:12px}.error{border:1px solid var(--line)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{text-align:left;padding:12px;border:0;border-radius:16px;background:var(--surface)}.product img{width:100%;aspect-ratio:1;object-fit:contain}.product h2{font-size:14px;margin-top:8px}.product p{color:var(--red);font-weight:700;margin-top:8px}.skeleton{height:220px;border-radius:16px;background:var(--line);animation:loading 1.8s ease-in-out infinite}@keyframes loading{50%{opacity:.4}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}
.nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:flex;gap:4px;background:var(--surface);padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.nav button{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:4px;background:none;border:0;min-height:48px;font-size:12px;color:var(--muted)}.nav button[aria-current=page]{color:var(--red);font-weight:700}.nav .icon{width:23px;height:23px}.title{margin:16px 0 24px}.row{display:flex;align-items:center;gap:16px;padding:20px 0}.row+.row{border-top:1px solid var(--line)}.row .icon{color:var(--red)}.row .copy{flex:1}.row .copy p{font-size:14px;color:var(--muted);margin-top:4px}.row input[role=switch]{appearance:none;width:40px;height:24px;flex-shrink:0;border-radius:20px;background:#9c9696;position:relative;margin:0}.row input[role=switch]:after{content:'';position:absolute;width:22px;height:22px;top:1px;left:1px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0004}.row input[role=switch]:checked{background:var(--red)}.row input[role=switch]:checked:after{left:17px}.preferences h1{font-size:30px;margin-top:12px}.accent-rule{width:64px;height:4px;background:var(--red);border-radius:4px;margin:24px 0}.preferences .lead{margin-bottom:24px}.preferences .panel{padding:0 20px}.preferences .section{margin-bottom:12px}.language .welcome{text-align:center;margin:90px 0 32px}.language .choice{width:100%;min-height:80px;justify-content:flex-start;font-size:20px;margin-bottom:8px;padding:20px;border-radius:14px}.language .choice[aria-pressed=true]{border-color:var(--red);border-width:1.5px}.radio{width:24px;height:24px;border:2px solid var(--muted);border-radius:50%;margin-right:8px}.choice[aria-pressed=true] .radio{border-color:var(--red);box-shadow:inset 0 0 0 4px var(--surface);background:var(--red)}.language .start{margin-top:100px}.settings-button{display:flex;align-items:center;gap:16px;width:100%;padding:18px 12px;text-align:left;background:var(--surface);border:0;border-bottom:1px solid var(--line)}.settings-button .arrow{margin-left:auto;color:var(--muted)}.guest{text-align:center}.guest .avatar{display:grid;place-items:center;background:var(--soft);border-radius:50%;width:120px;height:120px;margin:20px auto}.avatar .icon{width:60px;height:60px;color:#675352}.guest p{margin-top:8px}.preference-note{margin:20px 0}.form-label{display:block;margin-top:20px}.form-label input{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:8px;color:var(--text);background:var(--surface)}.alert{margin:16px 0;color:var(--red)}.back{padding-left:0}.cart-line{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-line span{flex:1}.cart-line input{width:72px;min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:8px}
fieldset{border:0;padding:0;margin:0;min-width:0}fieldset .button{margin-top:16px}.qa-notice{font-size:11px;padding:8px 12px;background:#fff0ce;color:#634911;border-radius:8px;margin-top:8px}
.product-detail{text-align:center}.product-detail>img{width:100%;height:280px;object-fit:contain}.product-detail h1{margin:20px 0 8px}.product-detail .product-price{font-size:30px;color:var(--red);margin:16px 0}.quantity-stepper{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 0}.quantity-stepper .button{width:48px;height:48px;padding:0;border-radius:10px;font-size:20px}.quantity-stepper output{min-width:28px;text-align:center;font-weight:700}.quantity-stepper>span{margin-right:8px}.quantity-stepper .remove{font-size:12px;color:var(--red)}.cart-bar{position:sticky;bottom:82px;z-index:3;width:100%;margin-top:24px;box-shadow:0 4px 12px #0002}.cart-item{display:flex;align-items:center;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.cart-item>img{width:64px;height:64px;object-fit:contain}.cart-copy{flex:1;min-width:110px}.cart-copy h2{font-size:16px}.cart-copy p{font-size:12px;margin:4px 0}.cart-item .quantity-stepper{margin:0 0 0 auto;gap:6px}.cart-summary{margin:24px 0 16px}.cart-summary p{display:flex;justify-content:space-between;gap:16px;margin:12px 0}.cart-summary .total{font-size:22px;border-top:1px solid var(--line);padding-top:16px}.empty-cart{text-align:center;padding:24px 12px}.empty-cart>img{width:100%;max-width:280px;height:250px;object-fit:contain}.empty-cart h2{font-size:28px;margin:24px 0 12px}.empty-cart .button{margin-top:24px}.address-option{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;margin-top:12px;gap:4px}.address-option span{font-weight:400}
:root[data-theme=dark]{color-scheme:dark;--bg:#121012;--surface:#1b1518;--text:#faf8f8;--muted:#c2b8bb;--line:#413a3c;--soft:#382027}
.delivery-map-frame{height:232px;position:relative;isolation:isolate;border-radius:12px;overflow:hidden;background:var(--line)}#delivery-map{height:100%;width:100%}.delivery-crosshair{position:absolute;z-index:500;left:50%;top:50%;transform:translate(-50%,-100%);pointer-events:none;color:var(--red)}.delivery-crosshair .icon{width:40px;height:48px}.delivery-map-frame[data-map-state=error] .delivery-crosshair{opacity:.3}.pin-directions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.pin-directions .button{flex:1;font-size:12px;padding:8px}.leaflet-container{font-family:Noto,sans-serif!important}.leaflet-control-attribution{font-size:9px!important}
.delivery-search-row{display:flex;align-items:end;gap:8px;margin-top:12px}.delivery-search-row .form-label{flex:1;margin:0}.delivery-search-row #search-delivery-address{min-height:48px;white-space:nowrap}.delivery-search-results{display:grid;gap:6px;margin:6px 0}.delivery-search-result{display:grid;text-align:start;gap:3px}.delivery-search-result span{font-size:12px;color:var(--muted)}
.payment-qr{margin:20px auto;text-align:center}.payment-qr img{width:224px;height:224px;padding:12px;object-fit:contain;background:white;border:1px solid var(--red);border-radius:10px}
.launch-landing{position:fixed;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;width:100vw;height:100dvh;margin:0;padding:calc(24px + env(safe-area-inset-top)) 24px calc(20px + env(safe-area-inset-bottom));background:var(--red);color:#fff}.launch-landing img{width:168px;height:120px;object-fit:contain}.launch-landing strong{font-size:19px;font-weight:700;letter-spacing:.06em}
.service-unavailable{min-height:65vh;display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center;padding:24px}.service-unavailable h1{font-size:24px}.service-unavailable p{color:var(--muted);line-height:1.6}.service-unavailable .button{margin-top:12px}
.email-reminder-dialog{width:min(calc(100% - 32px),480px);max-height:85dvh;margin:auto;padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:20px}.email-reminder-dialog::backdrop{background:#0006}.email-reminder-dialog h2{font-size:22px}.email-reminder-dialog p{margin:14px 0 20px;color:var(--muted);line-height:1.6}.email-reminder-dialog .button+.button{margin-top:8px}
.home-live-order{border:1px solid var(--line);border-left:4px solid var(--red)}.home-live-order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-live-order-head>div{display:flex;flex-direction:column;gap:4px}.home-live-order-head small{color:var(--muted);font-size:12px;font-weight:700}.home-live-order-head strong{font-size:20px}.home-live-order>p{margin:10px 0 0}.home-live-dot{width:10px;height:10px;flex:none;border-radius:50%;background:var(--red)}
.home-reorder-card h2{font-size:18px;margin-bottom:12px}.home-reorder-line{display:flex;align-items:center;gap:12px;margin-bottom:12px}.home-reorder-line img{width:64px;height:64px;object-fit:contain;border-radius:12px;background:var(--soft)}.home-reorder-line p{margin:4px 0 0}
.manual-coordinate-fallback{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);margin:12px 0}.manual-coordinate-fallback h2{font-size:16px;margin:0 0 8px}.manual-coordinate-fallback p{font-size:13px;margin:0 0 12px}.manual-coordinate-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.manual-coordinate-grid input{width:100%}
.form-label select{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:8px;color:var(--text);background:var(--surface)}
.wallet-tabs{display:flex;gap:6px;margin:20px 0}.wallet-tabs .button{flex:1;padding:8px;font-size:13px}.wallet-tabs [aria-pressed=true]{border-color:var(--red);color:var(--red)}.wallet-history{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.wallet-history small{display:block;font-size:12px;margin-top:4px}
.coupon-code{font-size:28px;font-weight:700;letter-spacing:1px;overflow-wrap:anywhere;color:var(--red);margin:20px 0}
.coupon-qr{display:flex;justify-content:center;max-width:248px;padding:8px;margin:20px auto;background:#fff;color-scheme:light;border-radius:12px}.coupon-qr svg{display:block;width:232px;height:auto;max-width:100%}
.coupon-scan{text-align:center}.coupon-scan .coupon-code{font-size:20px;margin:12px 0}
@media(max-width:340px){#app{padding-left:16px;padding-right:16px}.routes{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.brand{font-size:14px;gap:8px}.nav button{font-size:11px}}
.chat-actions{display:flex;gap:12px;margin:12px 0}.chat-actions .button{flex:1}.chat-messages{display:flex;flex-direction:column;gap:12px;margin:24px 0}.chat-message{background:var(--surface,#f4f4f4);border:1px solid var(--line,#ddd);border-radius:16px;padding:12px 16px;max-width:88%;align-self:flex-start;overflow-wrap:anywhere}.chat-message p{white-space:pre-wrap;margin:0 0 6px}.chat-own{align-self:flex-end;border-color:var(--red,#c62828)}.chat-message small{opacity:.7}.form-label textarea{font:inherit;min-height:80px;width:100%;padding:12px;border:1px solid var(--line,#ddd);border-radius:12px;box-sizing:border-box;background:var(--surface,#fff);color:inherit}
.nearby-map{height:320px;margin-top:20px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.nearby-map .leaflet-container{height:100%}
.global-chat{margin-left:auto;min-width:48px;display:flex;align-items:center;gap:4px;padding:8px}.global-chat .icon{width:22px;height:22px}.global-chat span{font-size:12px}
.profile-avatar{overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar .icon{width:60px;height:60px}.profile-detail{display:flex;flex-direction:column;gap:6px;margin:18px 0}.profile-detail span{overflow-wrap:anywhere}.profile-detail strong{font-size:14px;color:var(--muted)}
.guest .profile-avatar{width:136px;height:136px}.profile-editor .profile-avatar{width:108px;height:108px}.profile-dialog{width:min(calc(100% - 24px),496px);max-height:85dvh;overflow:auto;margin:auto auto 0;padding:24px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:0}.profile-dialog::backdrop{background:#0006}
.public-information-dialog{width:min(100%,520px);max-height:85dvh;overflow:auto;margin:auto auto 0;padding:20px 24px 28px;border:0;border-radius:0;background:var(--bg);color:var(--text)}.public-information-dialog::backdrop{background:#0006}.public-information-dialog .title{font-size:24px;margin:12px 0 20px}.public-information-dialog .settings-button{gap:12px;flex-wrap:wrap;text-decoration:none;color:var(--text)}.public-information-dialog .panel{margin:16px 0}
.public-legal-inline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.public-legal-inline a{display:inline-flex;align-items:center;min-height:48px;color:var(--red)}
.menu-catalogue{margin:12px 0 24px}.menu-catalogue>.form-label{margin:12px 0}.menu-catalogue>.button{margin:6px 0}.menu-note{font-size:12px;margin:4px 0 12px}.menu-refresh-notice{padding:12px;border-radius:12px;background:var(--soft);margin:10px 0}.menu-refresh-notice p{margin:0}.menu-result-summary{font-size:12px;margin:12px 0}.menu-products-list{display:grid;gap:0}.menu-product-row{display:flex;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.menu-product-open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left}.menu-product-open>img{width:80px;height:80px;aspect-ratio:auto;object-fit:contain;border-radius:12px;background:var(--surface);flex:0 0 80px}.menu-product-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.menu-product-copy strong{font-size:15px}.menu-product-copy small{font-size:12px;color:var(--muted)}.menu-product-price{font-weight:700}.menu-availability{color:var(--muted)}.menu-available-quantity{color:var(--muted)}.menu-product-row.unavailable .menu-product-open>img{filter:grayscale(1);opacity:.48}.menu-add{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:50%;background:var(--red);color:#fff;font-size:26px;font-weight:500}.menu-add:disabled{background:var(--line);color:var(--muted);opacity:.8}.menu-no-results{text-align:center;padding:32px 12px;color:var(--muted)}.menu-selected-coupon{margin:8px 0 12px}
.menu-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.menu-title-row .title{margin:0}.menu-cart-button{min-height:44px;padding:8px 12px;white-space:nowrap}
.menu-page-title{text-align:center;font-size:24px;margin:12px 0 22px}.menu-search-shell{display:flex;align-items:center;gap:12px;height:56px;margin:0 0 20px;padding:0 16px;border-radius:999px;background:var(--line)}.menu-search-shell .icon{color:var(--text)}.menu-search-shell input{flex:1;min-width:0;height:100%;padding:0;border:0;outline:none;background:transparent;font-size:16px}.menu-brand-row{display:flex;align-items:center;justify-content:space-between;padding:0 4px 16px}.menu-brand-name{font-size:20px;font-weight:900;letter-spacing:1.2px}.menu-brand-actions{display:flex;align-items:center;gap:10px}.menu-icon-button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:6px;border:0;background:transparent;color:var(--red);font-size:16px;font-weight:650}.menu-options-panel{margin:0 0 28px;padding:12px 16px;border-radius:20px;background:var(--surface)}.menu-category-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding-bottom:10px;border-bottom:1px solid var(--line);font-size:16px}.menu-category-row select{max-width:55%;margin:0;padding:6px 22px 6px 8px;border:0;background:transparent;color:var(--red);font-size:16px;text-align:right}.menu-action{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:56px;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--red);font-size:16px;text-align:left}.menu-refresh-symbol{width:24px;text-align:center;font-size:24px;font-weight:500}.menu-note{margin:12px 0 4px;font-size:13px;line-height:1.5}.menu-section-title{margin:24px 0 12px;font-size:16px;color:var(--muted)}.menu-products-list{padding:8px 16px;border-radius:18px;background:var(--surface)}
.birth-date-dialog{width:min(100%,520px);max-height:90dvh;overflow:auto;margin:auto auto 0;padding:12px 24px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:24px 24px 0 0;background:var(--surface);color:var(--text)}.birth-date-dialog::backdrop{background:rgb(0 0 0 / 38%)}.sheet-handle{width:44px;height:5px;margin:0 auto 24px;border-radius:99px;background:#dad8da}.birth-date-dialog h2{text-align:center;margin-bottom:24px;font-size:22px}.birth-date-wheels{display:grid;grid-template-columns:1fr 1.45fr 1fr;gap:8px}.birth-date-column{text-align:center;font-size:13px;font-weight:700;min-width:0}.birth-wheel-frame{position:relative;height:176px;margin-top:12px}.birth-wheel-frame:after{content:"";position:absolute;pointer-events:none;left:0;right:0;top:68px;height:40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.birth-wheel{height:176px;padding:68px 0;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;font-size:16px;font-weight:500;border-radius:8px;touch-action:pan-y}.birth-wheel::-webkit-scrollbar{display:none}.birth-wheel [role=option]{height:40px;display:flex;align-items:center;justify-content:center;scroll-snap-align:center;opacity:.55;cursor:pointer;white-space:nowrap}.birth-wheel [aria-selected=true]{opacity:1;font-weight:700}.birth-wheel:focus-visible{outline:2px solid var(--red);outline-offset:2px}.birth-date-actions{display:flex;gap:12px;margin-top:20px}.birth-date-actions .button{flex:1;min-height:52px}.birth-date-dialog select:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.web-update-notice{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -20px;padding:10px 16px;background:var(--soft);border-bottom:1px solid var(--line);font-size:13px}.web-update-notice .button{min-height:40px;white-space:nowrap}
