:root { color-scheme: dark; --bg: #08020f; --panel: #12091c; --panel2: #1a0b27; --line: #3b1b55; --text: #ffffff; --muted: #c8bfd1; --accent: #7e22ce; --accent2: #c084fc; --green: #19b968; --gold: #a855f7; --danger: #ef4444; font-family: Inter, "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0px; background: radial-gradient(ellipse at 82% -15%,#160527 0,transparent 39rem),var(--bg); color: var(--text); min-height: 100vh; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0px max(20px, 50% - 540px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(8, 2, 15, 0.85); position: sticky; top: 0px; z-index: 3; backdrop-filter: blur(14px); }
.site-menu { position: fixed; inset: 0; z-index: 8; }
.site-menu-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3, 1, 7, 0); opacity: 0; transition: opacity .22s ease; }
.site-menu.is-open .site-menu-backdrop { opacity: 1; background: rgba(3, 1, 7, .72); }
.site-menu-panel { position: absolute; top: 0; right: 0; width: min(88vw, 360px); height: 100%; overflow-y: auto; padding: 22px; border-left: 1px solid var(--line); background: linear-gradient(155deg, #160527, #08020f 72%); box-shadow: -18px 0 45px rgba(0, 0, 0, .35); transform: translateX(105%); transition: transform .24s ease; }
.site-menu.is-open .site-menu-panel { transform: translateX(0); }
.site-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.site-menu-heading h2 { margin: 0; font-size: 22px; }
.site-menu-links { display: grid; gap: 10px; padding-top: 18px; }
.site-menu-links button { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(18, 9, 28, .8); color: var(--text); text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.site-menu-links button:hover, .site-menu-links button:focus-visible { border-color: var(--accent); background: var(--panel2); }
.section, .hero { scroll-margin-top: 90px; }
.customer-page-hidden { display: none !important; }
.destination-bar { position: sticky; top: 72px; z-index: 2; width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px max(20px, 50% - 540px); border: 0; border-bottom: 1px solid var(--line); background: rgba(18, 9, 28, 0.97); color: var(--text); text-align: left; cursor: pointer; }
.destination-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 12px; color: var(--accent2); font-size: 23px; }
.destination-labels { min-width: 0; display: grid; gap: 2px; flex: 1; }
.destination-labels small { color: var(--muted); font-size: 11px; }
.destination-labels strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.destination-change { color: var(--accent2); font-size: 12px; font-weight: 800; }
.destination-dialog-card { display: grid; gap: 12px; }
.destination-dialog-card h2, .destination-dialog-card p { margin-top: 0; margin-bottom: 0; }
.destination-dialog-card .manual-location { margin: 0; }
.destination-actions { margin-top: 0; }
.saved-address-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.saved-address-heading h3 { margin: 0; font-size: 15px; }
.saved-address-heading .button { min-height: 36px; padding: 6px 10px; }
.saved-address-list { display: grid; gap: 9px; max-height: 32vh; overflow: auto; }
.saved-address-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.saved-address-select { display: grid; gap: 3px; min-width: 0; padding: 4px; border: 0; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.saved-address-select span { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.saved-address-select small { color: var(--accent2); font-size: 10px; }
.saved-address-actions { display: flex; gap: 5px; }
.saved-address-actions .button { min-height: 34px; padding: 5px 8px; font-size: 11px; }
.address-editor { display: grid; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 2, 15, 0.65); }
.address-map-heading { display: grid; gap: 3px; }
.address-map-heading small { color: var(--muted); font-size: 12px; }
.address-map { width: 100%; height: 250px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); z-index: 0; }
#address-map-status { font-size: 12px; }
.address-map .leaflet-control-attribution { font-size: 9px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 12px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.map-legend-gps { background: #38bdf8; border: 2px solid #fff; box-shadow: 0 0 8px #38bdf8; }
.map-legend-destination { background: #3388ff; border: 2px solid #fff; box-shadow: 0 0 8px #3388ff; }
.waigo-current-gps-dot { filter: drop-shadow(0 0 5px #38bdf8); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 850; letter-spacing: 0.04em; }
.brand small { display: block; color: var(--muted); font-size: 9px; letter-spacing: 0.22em; }
.brand-mark { width: 37px; height: 37px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgb(168, 85, 247), rgb(88, 28, 135)); color: rgb(255, 255, 255); font-size: 21px; }
.button { border: 1px solid var(--line); border-radius: 13px; min-height: 44px; padding: 10px 16px; background: var(--panel2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.button:hover { transform: translateY(-1px); border-color: var(--accent); }
.button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.button-line { border-color: rgb(126, 34, 206); background: rgb(27, 13, 41); color: rgb(255, 255, 255); }
.button-primary { background: linear-gradient(135deg, rgb(147, 51, 234), rgb(126, 34, 206)); border: 0px; color: rgb(255, 255, 255); }
.button-order { background: linear-gradient(135deg, rgb(147, 51, 234), rgb(126, 34, 206)); border: 0px; color: rgb(255, 255, 255); }
.button-quiet { background: transparent; color: var(--muted); }
.button-wide { width: 100%; margin-top: 10px; }
#open-checkout { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 4; width: min(calc(100vw - 24px), 520px); margin: 0; transform: translateX(-50%); box-shadow: 0 8px 28px rgba(0,0,0,.55); }
body.cart-has-items #menu-section { padding-bottom: 88px; }
main { max-width: 1080px; margin: auto; padding: 0px 20px 70px; }
.hero { padding: 68px 0px 44px; }
.eyebrow { margin: 0px 0px 8px; color: var(--accent2); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { white-space: pre-line; font-size: clamp(34px, 6vw, 58px); line-height: 1.15; margin: 0px 0px 14px; letter-spacing: -0.04em; }
.hero > p:not(.eyebrow) { white-space: pre-line; color: var(--muted); line-height: 1.8; margin: 0px; }
.service-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 10px 13px; border: 1px solid rgba(126, 34, 206, 0.333); border-radius: 999px; background: rgba(126, 34, 206, 0.094); color: rgb(233, 213, 255); font-size: 13px; }
.dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.section { margin: 24px 0px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(18, 9, 28, 0.95), rgba(16, 6, 25, 0.95)); box-shadow: rgba(0, 0, 0, 0.133) 0px 18px 50px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-heading h2 { font-size: 24px; margin: 0px; }
.muted { color: var(--muted); font-size: 14px; line-height: 1.6; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 14px; }
.shop-tools { display: grid; gap: 11px; margin: 14px 0; }
.shop-search-label { display: grid; gap: 7px; }
.shop-search-label input { min-height: 46px; }
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-filter-button { min-height: 38px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.shop-filter-button.is-selected { border-color: var(--accent); background: rgba(126, 34, 206, .25); color: var(--text); box-shadow: 0 0 12px rgba(126, 34, 206, .16); }
.shop-card { position: relative; isolation: isolate; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(125deg, rgba(17, 5, 27, .97), rgba(17, 5, 27, .86)), var(--panel); background-size: cover; background-position: center; text-align: left; color: var(--text); font: inherit; cursor: pointer; }
.shop-card.has-cover { background-image: linear-gradient(115deg, rgba(8, 2, 15, .96) 0%, rgba(8, 2, 15, .84) 58%, rgba(8, 2, 15, .58) 100%), var(--shop-cover-image); }
.menu-shop-banner { min-height: 132px; margin: -7px -7px 15px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(125deg, rgba(17, 5, 27, .97), rgba(17, 5, 27, .86)), var(--panel); background-position: center; background-size: cover; }
.menu-shop-banner.has-cover { background-image: linear-gradient(115deg, rgba(8, 2, 15, .96) 0%, rgba(8, 2, 15, .84) 58%, rgba(8, 2, 15, .58) 100%), var(--shop-cover-image); }
.menu-shop-banner .eyebrow { margin: 0 0 6px; }
.menu-shop-banner h2 { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.menu-shop-banner .button { flex: 0 0 auto; }
.shop-card:hover { border-color: var(--accent); filter: brightness(1.12); }
.shop-card h3 { margin: 0px 0px 7px; font-size: 18px; }
.shop-card p { margin: 0px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.shop-card .shop-distance { margin-top: 8px; color: var(--muted); font-weight: 700; }
.badge { display: inline-block; margin-top: 13px; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 800; background: rgba(126, 34, 206, 0.125); color: rgb(216, 180, 254); }
.badge:not(.closed) { border: 1px solid #86efac; padding: 6px 12px; background: linear-gradient(135deg, #16a34a, #15803d); color: #f0fdf4; font-size: 12px; box-shadow: 0 0 0 2px rgba(34, 197, 94, .17), 0 0 18px rgba(34, 197, 94, .34); }
.badge.closed { border: 1px solid rgba(239, 68, 68, 0.62); background: rgba(239, 68, 68, 0.24); color: #fecaca; box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
.menu-list, .cart-list, .orders-list { display: grid; gap: 10px; }
 .customer-menu-category { display: grid; gap: 10px; margin: 20px 0 28px; }
.customer-menu-category > h2 { margin: 0 4px 4px; color: var(--accent2); font-size: 1.1rem; }
.menu-row, .cart-row, .order-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.menu-row h3, .order-row h3 { margin: 0px 0px 4px; font-size: 15px; }
.menu-row p, .order-row p { margin: 0px; color: var(--muted); font-size: 13px; }
.menu-row { min-width: 0; }
.menu-item-image { width: 76px; height: 76px; flex: 0 0 76px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.product-image { display: block; width: min(100%, 520px); max-height: 340px; margin: 12px auto; object-fit: cover; border: 1px solid var(--line); border-radius: 16px; }
.menu-item-summary { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.menu-item-summary h3 { font-size: 17px; line-height: 1.4; }
.menu-item-summary p { margin: 5px 0 8px; line-height: 1.55; }
.menu-item-open { flex: 0 0 auto; padding: 8px 0 8px 8px; border: 0; background: transparent; color: var(--accent2); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.menu-item-open:disabled { color: var(--muted); cursor: default; }
.menu-row.is-unavailable .menu-item-summary { cursor: default; opacity: .72; }
.product-description { color: var(--muted); line-height: 1.7; }
.product-price { margin: 14px 0; font-size: 21px; font-weight: 800; }
.product-options { display: grid; gap: 12px; margin: 16px 0; }
.product-option-group { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.product-option-group legend { padding: 0 6px; color: var(--accent2); font-weight: 800; }
.product-option-choice { display: flex; grid-template-columns: none; align-items: center; gap: 11px; margin: 8px 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.product-option-choice input { flex: 0 0 19px; width: 19px; height: 19px; padding: 0; accent-color: var(--accent); }
.product-quantity { display: grid; gap: 7px; width: max-content; max-width: 100%; margin: 16px 0; font-size: 13px; font-weight: 700; }
.product-quantity-controls { display: flex; align-items: center; gap: 10px; }
.product-quantity-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: rgb(36, 19, 51); color: white; font: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.product-quantity-controls button:disabled { opacity: .45; cursor: default; }
.product-quantity-controls input { width: 76px; min-height: 44px; padding: 8px; text-align: center; }
.price { white-space: nowrap; font-weight: 800; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { border: 1px solid var(--line); border-radius: 10px; background: rgb(36, 19, 51); color: white; width: 35px; height: 35px; font: inherit; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 16px; }
label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: rgb(255, 255, 255); }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: rgb(13, 6, 20); color: var(--text); font: inherit; outline: none; }
input:focus, textarea:focus { border-color: var(--accent); box-shadow: rgba(126, 34, 206, 0.145) 0px 0px 0px 3px; }
textarea { resize: vertical; }
.location-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel2); }
.location-card p { margin: 5px 0px 0px; }
.manual-location { margin: 13px 0px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; color: var(--accent2); }
.manual-location summary { cursor: pointer; font-weight: 700; }
.coordinates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0px; }
.check-row { display: flex; align-items: center; gap: 10px; margin: 16px 0px; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.quote-card { margin-top: 20px; padding: 17px; border: 1px solid rgba(126, 34, 206, 0.4); border-radius: 16px; background: rgba(126, 34, 206, 0.07); }
.quote-card div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0px; }
.quote-card div strong { font-size: 17px; }
.quote-card p { margin: 10px 0px 0px; }
.notice { min-height: 22px; color: var(--accent2); font-size: 14px; line-height: 1.6; }
.hidden { display: none !important; }
footer { max-width: 1080px; margin: auto; padding: 22px 20px 34px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; z-index: 5; max-width: min(90vw, 500px); padding: 12px 16px; border: 1px solid var(--line); border-radius: 13px; background: rgb(27, 13, 41); box-shadow: rgba(0, 0, 0, 0.533) 0px 10px 35px; transition: 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0px); }
.consent-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 18px; background: rgba(3, 1, 7, 0.82); backdrop-filter: blur(9px); }
.consent-card { width: min(100%, 520px); max-height: min(90vh, 720px); overflow: auto; padding: 24px; border: 1px solid var(--accent); border-radius: 22px; background: linear-gradient(150deg, #160527, #08020f 78%); box-shadow: 0 0 36px rgba(126, 34, 206, 0.26); }
.consent-card h2 { margin: 0 0 14px; font-size: 23px; line-height: 1.35; }
.consent-copy { color: var(--muted); font-size: 14px; line-height: 1.7; }
.consent-copy p { margin: 12px 0; }
.consent-actions { display: grid; gap: 9px; margin-top: 20px; }
.consent-actions .button { width: 100%; }
@media (max-width: 650px) {
  .topbar { height: 64px; padding: 0px 14px; }
  .destination-bar { top: 64px; padding: 9px 14px; }
  .brand { font-size: 14px; }
  .button { padding: 9px 12px; min-height: 42px; font-size: 13px; }
  main { padding: 0px 5px 48px; }
  .hero { padding: 46px 3px 29px; }
  .section { padding: 17px; margin: 17px 0px; border-radius: 18px; }
  .shop-grid { margin-inline: -12px; }
  .section-heading h2 { font-size: 21px; }
  .field-grid { grid-template-columns: 1fr; }
  .location-card { align-items: flex-start; flex-direction: column; }
  .location-card .button { width: 100%; }
  .menu-row { align-items: center; }
  .price { font-size: 14px; }
  .coordinates { grid-template-columns: 1fr 1fr; }
  footer { padding: 18px 14px 25px; font-size: 11px; }
}
.order-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); overflow: hidden; }
.order-card .order-row { border: 0px; border-radius: 0px; }
.order-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.order-actions .button { min-height: 36px; padding: 6px 10px; font-size: 12px; }
.order-actions select { width: auto; min-height: 36px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 10px; background: rgb(13, 6, 20); color: var(--text); font: inherit; font-size: 12px; }
.button-danger { border-color: rgb(239, 68, 68); color: rgb(254, 202, 202); background: rgb(53, 11, 18); }
.order-details { padding: 4px 15px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.6; }
.order-details p { margin: 8px 0px; }
@media (max-width: 650px) {
  .order-card .order-row { align-items: flex-start; flex-wrap: wrap; }
  .order-actions { width: 100%; justify-content: flex-start; }
  .order-actions select { flex: 1 1 0%; }
}
.button-status { background: linear-gradient(135deg, rgb(147, 51, 234), rgb(126, 34, 206)); border: 0px; color: rgb(255, 255, 255); }
:focus-visible { outline: rgb(192, 132, 252) solid 2px; outline-offset: 3px; }
input:focus, textarea:focus, select:focus { border-color: rgb(126, 34, 206); box-shadow: rgba(126, 34, 206, 0.27) 0px 0px 0px 3px, rgba(126, 34, 206, 0.145) 0px 0px 16px; }
.preview-banner { margin: 18px 0px 0px; padding: 12px 16px; border: 1px solid rgb(168, 85, 247); border-radius: 14px; background: rgba(126, 34, 206, 0.1); color: rgb(233, 213, 255); line-height: 1.6; font-size: 14px; }

.menu-search-label { display: grid; gap: 7px; margin: 14px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.menu-search-label input { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); color: var(--text); font: inherit; }
.menu-search-label input::placeholder { color: var(--muted); opacity: .8; }

.service-note.is-open { border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.12); color: #bbf7d0; }
.service-note.is-open .dot { background:#22c55e; box-shadow:0 0 12px #22c55e; }
.service-note.is-closed { border-color: rgba(239,68,68,.65); background: rgba(239,68,68,.14); color: #fecaca; }
.service-note.is-closed .dot { background:#ef4444; box-shadow:0 0 12px #ef4444; }

.brand-mark-logo{width:37px;height:37px;object-fit:contain;border-radius:13px;flex:none}

.announcement-bar{position:sticky;top:123px;z-index:2;min-height:40px;display:flex;align-items:center;gap:12px;overflow:hidden;padding:7px max(20px,50% - 540px);border-bottom:1px solid rgba(168,85,247,.32);background:rgba(18,9,28,.97);color:#f3e8ff}.announcement-bar.hidden{display:none}.announcement-title{flex:none;color:#d8b4fe;font-size:13px;font-weight:800}.announcement-viewport{min-width:0;overflow:hidden;white-space:nowrap}.announcement-track{display:flex;width:max-content;align-items:center;gap:0;animation:waigo-announcement-scroll 22s linear infinite}.announcement-track span{flex:none;padding-right:64px;font-size:13px;font-weight:650}.announcement-bar:hover .announcement-track,.announcement-bar:focus-within .announcement-track{animation-play-state:paused}@keyframes waigo-announcement-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}@media(max-width:600px){.announcement-bar{top:116px;padding:7px 14px;gap:9px}.announcement-track{animation-duration:18s}}@media(prefers-reduced-motion:reduce){.announcement-track{animation:none;transform:none;width:100%}.announcement-track span[aria-hidden="true"]{display:none}.announcement-track span{white-space:normal}}
