:root {
  --black: #0d0e12;
  --dark-gray: #171923;
  --white: #ffffff;
  --muted: #a0aec0;
  --fresh-green: #00f5d4;
  --bbq-orange: #ff5500;
  --accent: var(--bbq-orange);
}
body[data-mode="fresh"] { --accent: var(--fresh-green); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--black); color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; padding-bottom: 60px; }

/* Authentic Core Framework Shell */
.site-header { background: var(--dark-gray); padding: 16px; text-align: center; border-bottom: 2px solid rgba(255, 255, 255, 0.05); }
.brand h1 { font-size: 28px; font-weight: 900; letter-spacing: 1px; }
.brand .tagline { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-top: 4px; text-transform: uppercase; }
.menu-toggle-btn { background: var(--white); color: var(--black); border: none; padding: 10px 20px; font-weight: 800; border-radius: 8px; margin-top: 14px; cursor: pointer; font-size: 12px; text-transform: uppercase; transition: 0.2s; }
.menu-toggle-btn:hover { opacity: 0.9; }

.hero-section { text-align: center; padding: 40px 16px; }
.hero-section h2 { font-size: 34px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.sub-text { color: var(--muted); font-size: 14px; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.5; }

.price-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 600px; margin: 0 auto; }
.promo-card { background: var(--dark-gray); padding: 24px 16px; border-radius: 16px; border: 2px solid transparent; cursor: pointer; transition: 0.2s; position: relative; overflow: hidden; }
.promo-card.card-tab-active { border-color: var(--accent); background: rgba(255,255,255,0.01); }
.promo-card h3 { font-size: 13px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }

.big-price { font-size: 44px; font-weight: 900; margin: 12px 0; letter-spacing: -1px; }
.fresh-card .big-price { color: var(--fresh-green); }
.bbq-card .big-price { color: var(--bbq-orange); }
.big-price span { font-size: 15px; color: var(--white); font-weight: 700; letter-spacing: 0; }
.card-action { background: rgba(255,255,255,0.05); color: var(--white); border: none; padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 800; width: 100%; transition: 0.2s; }
.promo-card:hover .card-action { background: var(--accent); color: var(--white); }

/* Unified Header Area with Flash Timer Badge */
.menu-section { padding: 32px 16px; max-width: 600px; margin: 0 auto; }
.menu-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.menu-section h2 { font-size: 24px; font-weight: 900; }
.promo-expiry-subtext { color: var(--muted); font-size: 13px; margin-top: 2px; }

.flash-timer-badge { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 8px 14px; border-radius: 30px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; color: #ffcc00; letter-spacing: 0.5px; white-space: nowrap; }
.pulse-dot { width: 8px; height: 8px; background: #ff3333; border-radius: 50%; box-shadow: 0 0 10px #ff3333; animation: blinker 1.4s infinite linear; }
@keyframes blinker { 50% { opacity: 0; } }

/* Dynamic Menu Grid Design */
.menu-items-grid { display: flex; flex-direction: column; gap: 14px; }
.food-item-box { background: var(--dark-gray); padding: 20px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.03); transition: 0.2s; }
.food-item-box.has-qty { border-color: rgba(255,255,255,0.15); background: linear-gradient(145deg, var(--dark-gray), #1e2230); }
.item-left h3 { font-size: 17px; font-weight: 800; line-height: 1.4; }
.item-left p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }

.menu-old-price { text-decoration: line-through; color: var(--muted); font-size: 13px; font-weight: 500; }
.menu-new-price { color: var(--accent); font-weight: 900; font-size: 16px; }
.limited-tag { background: rgba(255,255,255,0.06); color: var(--white); padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: 700; }

.item-right-controls { display: flex; align-items: center; background: rgba(0,0,0,0.2); padding: 4px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); min-width: 110px; justify-content: space-between; }
.qty-btn { background: rgba(255,255,255,0.06); color: var(--white); border: none; width: 32px; height: 32px; font-size: 16px; font-weight: 900; border-radius: 50%; cursor: pointer; transition: 0.15s; }
.qty-btn:hover { background: rgba(255,255,255,0.15); }
.qty-btn.highlight-add { background: var(--accent); color: var(--white); }
.qty-count { font-weight: 900; font-size: 13px; color: var(--white); letter-spacing: 0.5px; text-transform: uppercase; padding: 0 4px; }

/* Cart Architecture Block Layouts */
.cart-section { padding: 16px; max-width: 600px; margin: 0 auto; }
.cart-box { background: var(--dark-gray); padding: 24px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.06); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.cart-box h2 { font-size: 20px; font-weight: 900; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 12px; }
.order-list-items { margin: 16px 0; font-size: 14px; color: var(--muted); }
.order-list-items p { text-align: center; padding: 20px 0; color: var(--muted); font-style: italic; }

.delivery-breakdown { border-top: 1px dashed rgba(255, 255, 255, 0.1); padding: 14px 0; font-size: 14px; }
.bill-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--white); font-weight: 600; }
.bill-row span:first-child { color: var(--muted); }

.total-bill { font-size: 17px; font-weight: 900; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; }
.total-bill span { color: var(--accent); font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }

/* Input Field Elements styling rules */
.input-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.input-fields input { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.08); padding: 14px; color: var(--white); border-radius: 8px; font-size: 14px; width: 100%; font-weight: 600; outline: none; transition: 0.2s; }
.input-fields input:focus { border-color: var(--accent); }

/* ADDRESS API AUTOCOMPLETE OVERRIDES (Radar integration elements) */
.address-autocomplete-container { width: 100%; position: relative; }
#addressAutocompleteField { width: 100% !important; }
#addressAutocompleteField input { background: rgba(0,0,0,0.2) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; padding: 14px 40px 14px 14px !important; border-radius: 8px !important; color: var(--white) !important; font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; outline: none !important; width: 100% !important; box-sizing: border-box !important; }
#addressAutocompleteField input:focus { border-color: var(--accent) !important; }
.radar-autocomplete-results { background-color: var(--dark-gray) !important; border: 1px solid rgba(255, 255, 255, 0.15) !important; border-radius: 8px !important; color: var(--white) !important; z-index: 9999 !important; }
.radar-autocomplete-result { font-weight: 600 !important; padding: 12px !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
.radar-autocomplete-result:hover { background-color: rgba(255, 85, 0, 0.1) !important; color: var(--white) !important; }
body[data-mode="fresh"] .radar-autocomplete-result:hover { background-color: rgba(0, 245, 212, 0.1) !important; }

/* Geolocation calculator block layout design modules */
.delivery-calculator-block { background: rgba(0, 0, 0, 0.15); padding: 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.04); }
.delivery-calculator-block label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.location-action-bar { display: flex; gap: 10px; align-items: center; }
.gps-trigger-btn { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid rgba(255,255,255,0.1); padding: 14px; font-weight: 800; border-radius: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; transition: 0.2s; }
.gps-trigger-btn:hover { background: var(--accent); border-color: transparent; }
.status-indicator { font-size: 12px; margin-top: 8px; font-weight: 700; color: #ffcc00; }
.rate-note { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* Empty Cart Feedback Components */
.empty-tray-warning { background: rgba(255, 51, 51, 0.1); border: 1px solid rgba(255, 51, 51, 0.2); border-radius: 12px; padding: 14px; color: #ff6666; font-size: 13px; font-weight: 700; line-height: 1.5; margin-bottom: 16px; text-align: center; }
@keyframes shakeRow { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.shake-attention-row { animation: shakeRow 0.5s ease-in-out; }

/* Core Direct WhatsApp Action Button */
.whatsapp-btn { background: #25d366; display: block; text-align: center; color: #fff; text-decoration: none; padding: 16px; font-size: 15px; font-weight: 900; border-radius: 12px; margin-top: 24px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2); transition: 0.2s; }
.whatsapp-btn:hover { transform: translateY(-2px); opacity: 0.95; }
.whatsapp-btn.disabled-btn { background: #2d3748 !important; color: #a0aec0 !important; border-color: rgba(255, 255, 255, 0.05) !important; opacity: 0.75; box-shadow: none !important; cursor: not-allowed; }
.hidden { display: none !important; }

/* Identity verification HUD blocks */
.account-auth-box { margin-top: 20px; background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.08); padding: 16px; border-radius: 12px; }
.auth-prompt-text { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.profile-badge-hud { display: flex; align-items: center; gap: 14px; background: rgba(0,0,0,0.2); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.profile-badge-hud img, .avatar-placeholder { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--accent); object-fit: cover; }
.avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--black); font-size: 20px; color: var(--muted); }
.profile-info .welcome-label { font-size: 11px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-info h4 { font-size: 15px; font-weight: 800; color: var(--white); margin-top: 1px; }
.profile-info span { font-size: 12px; color: var(--muted); display: block; margin-top: 2px; }

@media(max-width: 480px) {
  .hero-section h2 { font-size: 28px; }
  .price-cards-row { grid-template-columns: 1fr; gap: 12px; }
  .location-action-bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .menu-header-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flash-timer-badge { align-self: flex-start; }
}