/* ============================================================
   Army Restro — Frontend Customer Application
   Theme : Military Professional | Dark Olive + Gold
   Fonts : Rajdhani (headings) + Inter (body)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --army-dark: #1A1F16;
  --army-deep: #252B1F;
  --army-olive: #4A5240;
  --army-mid: #6B7A5A;
  --army-green: #7C8C5E;
  --army-sage: #A8B890;
  --army-gold: #C9A84C;
  --army-gold-light: #F0D080;
  --army-tan: #D4C5A9;
  --army-cream: #F5F0E8;

  --primary: var(--army-olive);
  --accent: var(--army-gold);
  --success: #4A7C59;
  --success-light: #E8F5EE;
  --warning: #B8860B;
  --warning-light: #FFF8E1;
  --danger: #8B2635;
  --danger-light: #FDECEA;
  --info: #2E6DA4;
  --info-light: #E3EEF8;

  --bg-page: #EEEAE2;
  --bg-card: #FAFAF7;
  --bg-card-alt: #F4F1EA;

  --text-primary: #1A1F16;
  --text-secondary: #4A5240;
  --text-muted: #8A9478;

  --border: #D4CCB8;
  --border-light: #E8E4DA;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(26, 31, 22, .06);
  --shadow-sm: 0 2px 8px rgba(26, 31, 22, .08);
  --shadow: 0 4px 20px rgba(26, 31, 22, .10);
  --shadow-lg: 0 8px 32px rgba(26, 31, 22, .14);
  --shadow-gold: 0 4px 16px rgba(201, 168, 76, .25);

  --header-h: 58px;
  --bottom-nav-h: 62px;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.22s ease;
  --transition-fast: 0.14s ease;
  --bottom-nav-h: 68px;

}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-page);
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto; /* explicit auto prevents scroll being trapped by sticky bars */
  padding-top: var(--header-h);
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 14px;
}

p {
  max-width: 72ch;
}

:focus-visible {
  outline: 2px solid var(--army-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(201, 168, 76, .2);
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* ============================================================
   3. APP HEADER
   ============================================================ */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(26, 31, 22, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 168, 76, .14);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .22);
}

.header-menu-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--army-tan);
  font-size: 22px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: color var(--transition);
}

.header-menu-btn:hover {
  color: var(--army-gold);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.header-logo-svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--army-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-table-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--army-sage);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.header-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--army-tan);
  font-size: 20px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: color var(--transition);
}

.header-cart-btn:hover {
  color: var(--army-gold);
}

.header-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--army-dark);
  line-height: 1;
}

/* ============================================================
   4. SIDE DRAWER
   ============================================================ */
.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--army-dark);
  border-right: 1px solid rgba(201, 168, 76, .14);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.side-drawer.open {
  transform: translateX(0);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
}

.drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(201, 168, 76, .12);
  flex-shrink: 0;
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-logo-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
}

.drawer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--army-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.drawer-brand-sub {
  font-size: 10px;
  color: rgba(212, 197, 169, .6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-close-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 197, 169, .7);
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  flex-shrink: 0;
}

.drawer-close-btn:hover {
  color: var(--army-gold);
  background: rgba(201, 168, 76, .1);
}

.drawer-table-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(201, 168, 76, .08);
  border-bottom: 1px solid rgba(201, 168, 76, .1);
  font-size: 12px;
  color: var(--army-tan);
}

.drawer-table-badge i {
  color: var(--army-gold);
  font-size: 14px;
}

.drawer-table-badge strong {
  color: var(--army-gold);
}

.drawer-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(212, 197, 169, .7);
  transition: all var(--transition);
  position: relative;
}

.drawer-nav-item i {
  font-size: 16px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.drawer-nav-item:hover {
  color: var(--army-tan);
  background: rgba(201, 168, 76, .07);
}

.drawer-nav-item.active {
  color: var(--army-gold);
  background: rgba(201, 168, 76, .14);
  font-weight: 600;
}

.drawer-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--army-gold);
  border-radius: 0 3px 3px 0;
}

.drawer-cart-count {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.drawer-divider {
  height: 1px;
  background: rgba(201, 168, 76, .1);
  margin: 8px 0;
}

.drawer-section-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(201, 168, 76, .4);
  padding: 10px 14px 4px;
}

.drawer-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(201, 168, 76, .1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(212, 197, 169, .4);
  flex-shrink: 0;
}

.drawer-footer i {
  font-size: 13px;
  color: rgba(201, 168, 76, .5);
}

/* ============================================================
   5. BOTTOM NAV
   ============================================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: rgba(22, 26, 18, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201, 168, 76, 0.10);
  display: flex;
  align-items: stretch;
  z-index: 850;
  padding: 0 6px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.32);
  gap: 2px;
}

/* Hide on desktop */
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px 8px;
  color: rgba(168, 184, 144, 0.45);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
  border-radius: 14px;
  margin: 6px 2px;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-item span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  transition: color var(--transition);
}

.bottom-nav-item i {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), color var(--transition);
  display: block;
}

/* Active pill background */
.bottom-nav-item.active {
  color: var(--army-gold);
  background: rgba(201, 168, 76, 0.10);
}

.bottom-nav-item.active i {
  transform: translateY(-2px) scale(1.08);
  color: var(--army-gold);
}

.bottom-nav-item.active span {
  color: var(--army-gold);
}

/* Active top indicator bar */
.bottom-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  background: var(--army-gold);
  border-radius: 0 0 4px 4px;
}

/* Hover state (touch feedback) */
.bottom-nav-item:not(.active):active {
  background: rgba(201, 168, 76, 0.06);
  color: rgba(201, 168, 76, 0.7);
}

/* Cart icon wrapper */
.bnav-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cart badge — small dot style */
.bnav-cart-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background: var(--danger);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #161a12;
  line-height: 1;
  font-family: var(--font-body);
  animation: badgePop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes badgePop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================================
   6. MAIN CONTENT & PAGE CONTAINER
   ============================================================ */
.app-main {
  min-height: calc(100dvh - var(--header-h) - var(--bottom-nav-h));
}

.page-container {
  padding: 12px 14px;
  padding-bottom: calc(var(--bottom-nav-h) + 80px);
}

/* ============================================================
   7. SEARCH BAR
   ============================================================ */
.search-bar-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  background: var(--bg-page);
  padding: 8px 14px 6px;
  border-bottom: 1px solid var(--border-light);
  height: 52px;
  display: flex;
  align-items: center;
  overflow: visible; /* CRITICAL: never overflow:hidden on sticky */
}

.search-bar-sticky .search-input-wrap {
  width: 100%;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.army-search-input {
  width: 100%;
  padding: 9px 40px 9px 36px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 16px; /* prevents iOS auto-zoom */
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.army-search-input::placeholder {
  color: var(--text-muted);
}

.army-search-input:focus {
  border-color: var(--army-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .14);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  color: var(--text-muted);
  font-size: 15px;
  cursor: pointer;
  transition: color var(--transition);
}

.search-clear-btn:hover {
  color: var(--danger);
}

/* ============================================================
   8. CATEGORY TABS
   ============================================================ */
.cat-tabs-sticky {
  position: sticky;
  top: calc(var(--header-h) + 52px);
  z-index: 799;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  height: 50px;
  display: flex;
  align-items: center;
  overflow: visible; /* CRITICAL: must not clip scroll */
}

.cat-tabs-scroller {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 8px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cat-tabs-scroller::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-right: 8px;
}

.cat-tab i {
  font-size: 13px;
}

.cat-tab:hover {
  border-color: var(--army-gold);
  color: var(--warning);
  background: #FBF3DC;
}

.cat-tab.active {
  background: var(--army-olive);
  border-color: var(--army-olive);
  color: var(--army-cream);
}

/* ============================================================
   9. NO TABLE BANNER
   ============================================================ */
.no-table-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(184, 134, 11, .1);
  border-left: 3px solid var(--warning);
  margin: 12px 14px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12.5px;
  color: var(--warning);
}

.no-table-banner i {
  font-size: 15px;
  flex-shrink: 0;
}

/* ============================================================
   10. MENU SECTIONS
   ============================================================ */
.menu-section {
  padding: 18px 14px 74px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--army-olive);
  flex-shrink: 0;
}

.section-dot.featured-dot {
  background: var(--army-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-count-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* ============================================================
   11. PRODUCT CARDS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 0; /* prevent grid blowout */
  word-break: break-word;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card-alt);
  flex-shrink: 0;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-featured-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--army-gold);
  color: var(--army-dark);
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.product-featured-tag i {
  font-size: 8px;
}

.product-card-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* ============================================================
   12. CART BUTTONS
   ============================================================ */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--army-olive);
  color: var(--army-cream);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-add-cart:hover, .btn-add-cart:active {
  background: var(--army-dark);
  color: var(--army-gold);
  box-shadow: var(--shadow-gold);
}

.btn-add-cart i {
  font-size: 11px;
}

.qty-control-group {
  display: flex;
  align-items: center;
  background: var(--bg-card-alt);
  border: 1.5px solid var(--army-olive);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--army-olive);
  font-size: 13px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.qty-btn:hover, .qty-btn:active {
  background: var(--army-olive);
  color: var(--army-cream);
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

/* ============================================================
   13. FLOATING CART BUTTON
   ============================================================ */
.floating-cart-btn-wrap {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 14px);
  left: 14px;
  right: 14px;
  z-index: 840;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-cart-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--army-olive);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: var(--radius-lg);
  padding: 13px 16px;
  box-shadow: var(--shadow-lg);
  color: var(--army-cream);
  transition: all var(--transition);
}

.floating-cart-btn:hover, .floating-cart-btn:active {
  background: var(--army-dark);
  color: var(--army-gold);
  box-shadow: var(--shadow-gold);
}

.floating-cart-btn>i.bi-bag-fill {
  font-size: 22px;
  color: var(--army-gold);
  flex-shrink: 0;
}

.fcb-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fcb-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--army-sage);
}

.fcb-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fcb-total {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--army-gold);
  flex-shrink: 0;
}

.fcb-arrow {
  font-size: 14px;
  color: rgba(212, 197, 169, .5);
  flex-shrink: 0;
}

/* ============================================================
   14. MENU EMPTY STATE
   ============================================================ */
.menu-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.menu-empty-state i {
  font-size: 42px;
  opacity: .3;
  display: block;
  margin-bottom: 12px;
}

.menu-empty-state h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-empty-state p {
  font-size: 13px;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================================
   15. PAGE TOP BAR
   ============================================================ */
.page-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-top-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex: 1;
}

.btn-back-page {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.btn-back-page:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-icon-danger {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.btn-icon-danger:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-light);
}

.btn-icon-secondary {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.btn-icon-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   16. TABLE INFO STRIP
   ============================================================ */
.table-info-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(74, 82, 64, .1);
  border: 1px solid rgba(74, 82, 64, .2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.table-info-strip i {
  color: var(--army-gold);
  font-size: 14px;
  flex-shrink: 0;
}

.table-info-strip strong {
  color: var(--text-primary);
}

/* ============================================================
   17. CART ITEMS
   ============================================================ */
.cart-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition);
}

.cart-item-card:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  background: var(--bg-card-alt);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 13px;
  color: var(--text-muted);
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-item-total {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-remove-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--transition);
}

.cart-remove-btn:hover {
  color: var(--danger);
  background: var(--danger-light);
}

/* ============================================================
   18. ORDER SUMMARY BOX
   ============================================================ */
.order-summary-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-top: 14px;
  box-shadow: var(--shadow-xs);
}

.summary-heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.summary-heading i {
  color: var(--army-gold);
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-line:last-child {
  border-bottom: none;
}

.summary-total-line {
  border-top: 2px solid var(--border) !important;
  padding-top: 10px !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px !important;
  color: var(--text-primary) !important;
}

.summary-table-line {
  padding-top: 8px !important;
}

.gold-text {
  color: var(--army-gold) !important;
  font-weight: 600;
}

.summary-note-box {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(74, 82, 64, .08);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.summary-note-box i {
  color: var(--army-olive);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   19. STICKY CHECKOUT BAR
   ============================================================ */
.sticky-checkout {
  position: fixed;
  bottom: var(--bottom-nav-h);
  left: 0;
  right: 0;
  background: var(--army-olive);
  border-top: 1px solid rgba(201, 168, 76, .2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  z-index: 848;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .2);
  gap: 14px;
}

.sticky-checkout-left {
  display: flex;
  flex-direction: column;
}

.sticky-item-count {
  font-size: 11px;
  color: var(--army-sage);
  font-weight: 600;
}

.sticky-total {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--army-gold);
}

.btn-checkout-sticky {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  background: var(--army-gold);
  color: var(--army-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-checkout-sticky:hover {
  background: var(--army-gold-light);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   20. ARMY MODAL
   ============================================================ */
.army-modal {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) !important;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.army-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 14px;
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border-light);
}

.army-modal-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, .12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--army-gold);
  flex-shrink: 0;
}

.army-modal-title-group {
  flex: 1;
  min-width: 0;
}

.army-modal-title {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 !important;
}

.army-modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.army-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.army-modal-close:hover {
  color: var(--danger);
  background: var(--danger-light);
}

.army-modal-body {
  padding: 16px 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(80dvh - 130px);
}

.army-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-light);
}

/* ============================================================
   21. FORM ELEMENTS
   ============================================================ */
.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.req-star {
  color: var(--danger);
  margin-left: 2px;
}

.army-input {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* >= 16px prevents iOS auto-zoom on focus */
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.army-input::placeholder {
  color: var(--text-muted);
}

.army-input:focus {
  border-color: var(--army-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .14);
  background: #fff;
}

.army-input.is-invalid {
  border-color: var(--danger);
}

/* ============================================================
   22. BUTTONS
   ============================================================ */
.btn-army-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: var(--army-olive);
  color: var(--army-cream);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--army-olive);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-army-primary:hover {
  background: var(--army-dark);
  border-color: var(--army-gold);
  color: var(--army-gold);
  box-shadow: var(--shadow-gold);
}

.btn-army-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-army-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-army-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: transparent;
  color: var(--army-olive);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--army-olive);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-army-outline:hover {
  background: var(--army-olive);
  color: var(--army-cream);
}

/* ============================================================
   23. ORDER STATUS HERO
   ============================================================ */
.order-status-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.osh-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.order-status-hero.status-pending {
  border-left: 4px solid var(--warning);
}

.order-status-hero.status-accepted {
  border-left: 4px solid var(--info);
}

.order-status-hero.status-preparing {
  border-left: 4px solid #7A45BB;
}

.order-status-hero.status-ready {
  border-left: 4px solid var(--success);
}

.order-status-hero.status-delivered {
  border-left: 4px solid var(--success);
}

.order-status-hero.status-cancelled {
  border-left: 4px solid var(--danger);
}

.order-status-hero.status-danger {
  border-left: 4px solid var(--danger);
}

.order-status-hero.status-pending .osh-icon {
  background: var(--warning-light);
  color: var(--warning);
}

.order-status-hero.status-accepted .osh-icon {
  background: var(--info-light);
  color: var(--info);
}

.order-status-hero.status-preparing .osh-icon {
  background: #F0EEF8;
  color: #7A45BB;
}

.order-status-hero.status-ready .osh-icon {
  background: var(--success-light);
  color: var(--success);
}

.order-status-hero.status-delivered .osh-icon {
  background: var(--success-light);
  color: var(--success);
}

.order-status-hero.status-cancelled .osh-icon {
  background: var(--danger-light);
  color: var(--danger);
}

.order-status-hero.status-danger .osh-icon {
  background: var(--danger-light);
  color: var(--danger);
}

.osh-info {
  flex: 1;
  min-width: 0;
}

.osh-order-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--army-gold);
  letter-spacing: 0.05em;
}

.osh-status-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.osh-table-tag {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.osh-table-tag i {
  color: var(--army-gold);
  font-size: 11px;
}

/* ============================================================
   24. STATUS TIMELINE
   ============================================================ */
.status-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.section-card-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.section-card-title i {
  color: var(--army-gold);
  font-size: 15px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-bottom: 4px;
}

.timeline-step:last-child .timeline-connector {
  display: none;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--bg-card-alt);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.timeline-step.done .timeline-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.timeline-step.current .timeline-dot {
  background: var(--army-gold);
  border-color: var(--army-gold);
  color: var(--army-dark);
}

.timeline-info {
  padding: 5px 0;
}

.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.timeline-step.done .timeline-label {
  color: var(--success);
}

.timeline-step.current .timeline-label {
  color: var(--army-gold);
}

.timeline-connector {
  position: absolute;
  left: 15px;
  top: 32px;
  width: 2px;
  height: 26px;
  background: var(--border);
  border-radius: 2px;
}

.timeline-connector.done {
  background: var(--success);
}

/* ============================================================
   25. SECTION CARD
   ============================================================ */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin-bottom: 14px;
}

/* ============================================================
   26. COUNTER STATUS ROW
   ============================================================ */
.counter-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.counter-status-row:last-child {
  border-bottom: none;
}

.csrow-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.csrow-icon {
  width: 34px;
  height: 34px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.csrow-info {
  display: flex;
  flex-direction: column;
}

.csrow-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.csrow-code {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   27. ORDER STATUS BADGES
   ============================================================ */
.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.status-pending {
  background: var(--warning-light);
  color: var(--warning);
}

.status-accepted {
  background: var(--info-light);
  color: var(--info);
}

.status-preparing {
  background: #F0EEF8;
  color: #7A45BB;
}

.status-ready {
  background: #E0F4F1;
  color: #1B7A6B;
}

.status-delivered {
  background: var(--success-light);
  color: var(--success);
}

.status-cancelled {
  background: var(--border-light);
  color: var(--text-muted);
}

.status-danger {
  background: var(--danger-light);
  color: var(--danger);
}

/* ============================================================
   28. ORDER ITEMS (DETAIL)
   ============================================================ */
.counter-items-group {
  margin-bottom: 14px;
}

.counter-items-group:last-child {
  margin-bottom: 0;
}

.counter-group-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.counter-group-label i {
  color: var(--army-gold);
  font-size: 12px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
}

.order-item-row:last-child {
  border-bottom: none;
}

.oir-name {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
}

.oir-qty {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}

.oir-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ============================================================
   29. AUTO REFRESH NOTE
   ============================================================ */
.auto-refresh-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 8px;
  text-align: center;
}

.auto-refresh-note i {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================
   30. ORDER ACTIONS ROW
   ============================================================ */
.order-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.order-actions-row .btn-army-primary,
.order-actions-row .btn-army-outline {
  flex: 1;
  justify-content: center;
}

/* ============================================================
   31. ORDER HISTORY CARDS
   ============================================================ */
.orders-phone-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(74, 82, 64, .1);
  border: 1px solid rgba(74, 82, 64, .2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.orders-phone-strip i {
  color: var(--army-gold);
}

.orders-phone-strip strong {
  color: var(--text-primary);
}

.orders-change-phone {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
}

.orders-change-phone:hover {
  color: var(--army-olive);
}

.order-history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: all var(--transition);
}

.order-history-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.ohc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 10px;
}

.ohc-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--army-gold);
  letter-spacing: 0.04em;
}

.ohc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.ohc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.ohc-meta-item i {
  font-size: 11px;
}

.ohc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-light);
}

.ohc-total {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.ohc-payment {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ohc-payment.paid {
  background: var(--success-light);
  color: var(--success);
}

.ohc-payment.unpaid {
  background: var(--warning-light);
  color: var(--warning);
}

.ohc-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

/* ============================================================
   32. PHONE LOOKUP CARD
   ============================================================ */
.phone-lookup-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.plc-icon {
  font-size: 40px;
  color: var(--army-gold);
  margin-bottom: 12px;
  display: block;
}

.plc-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plc-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plc-input-wrap {
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   33. EMPTY CART STATE
   ============================================================ */
.empty-cart-state {
  text-align: center;
  padding: 52px 20px;
}

.empty-cart-icon-wrap {
  font-size: 52px;
  color: var(--text-muted);
  opacity: .25;
  display: block;
  margin-bottom: 16px;
}

.empty-cart-state h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.empty-cart-state p {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================================
   34. UTILITY CLASSES
   ============================================================ */
.gold-text {
  color: var(--army-gold) !important;
}

.text-muted-sm {
  font-size: 12px;
  color: var(--text-muted);
}

.font-heading {
  font-family: var(--font-heading);
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 12px;
}

.mt-4 {
  margin-top: 16px;
}

/* ============================================================
   35. SWEETALERT2 ARMY THEME OVERRIDES
   ============================================================ */
.swal2-popup {
  border-radius: var(--radius-lg) !important;
  font-family: var(--font-body) !important;
  border: 1px solid var(--border) !important;
}

.swal2-title {
  font-family: var(--font-heading) !important;
  font-size: 18px !important;
  letter-spacing: 0.04em !important;
  color: var(--text-primary) !important;
}

.swal2-html-container {
  font-size: 13.5px !important;
  color: var(--text-secondary) !important;
}

.swal2-confirm {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-heading) !important;
  letter-spacing: 0.05em !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
}

.swal2-cancel {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-heading) !important;
  letter-spacing: 0.05em !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
}

/* ============================================================
   36. ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.32s ease both;
}

.delay-1 {
  animation-delay: 0.05s;
}

.delay-2 {
  animation-delay: 0.10s;
}

.delay-3 {
  animation-delay: 0.15s;
}

@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, .4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(201, 168, 76, 0);
  }
}

.pulse-gold {
  animation: pulse-gold 2s infinite;
}

/* ============================================================
   37. RESPONSIVE
   ============================================================ */
/* Very small phones */
@media (max-width: 359px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .page-container {
    padding: 10px 10px;
    padding-bottom: calc(var(--bottom-nav-h) + 80px);
  }
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (min-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .page-container {
    padding: 16px 20px 28px;
  }

  .menu-section {
    padding: 20px 20px 4px;
  }

  .search-bar-sticky {
    padding: 12px 20px 8px;
  }

  .cat-tabs-scroller {
    padding: 8px 20px;
  }
}

@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-container {
    max-width: 900px;
    margin: 0 auto;
  }
}

/* Safe area on iPhone notch/home bar */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .bottom-nav {
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sticky-checkout {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .floating-cart-btn-wrap {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 10px);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 3-item nav: Cart gets a raised pill treatment */
.cart-bnav-item {
  flex: 1.2;
}

.cart-bnav-item .bnav-cart-wrap i {
  font-size: 22px;
  color: var(--army-gold);
}

.cart-bnav-item.active {
  background: rgba(201, 168, 76, 0.14);
}

/* ============================================================
   38. FOOD TYPE FILTER BAR
   ============================================================ */
.food-type-filter-bar {
  position: sticky;
  top: calc(var(--header-h) + 52px + 50px); /* header + search + cattabs */
  z-index: 798;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
  height: 44px;
  will-change: transform; /* composite layer — prevents scroll interference */
}

.food-type-filter-bar::-webkit-scrollbar {
  display: none;
}

.food-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.food-type-btn.active,
.food-type-btn:hover {
  border-color: var(--army-olive);
  background: var(--army-olive);
  color: var(--army-cream);
}

.food-type-btn.veg.active {
  border-color: #4A7C59;
  background: #4A7C59;
  color: #fff;
}

.food-type-btn.non-veg.active {
  border-color: #8B2635;
  background: #8B2635;
  color: #fff;
}

.food-type-btn.egg.active {
  border-color: #B8860B;
  background: #B8860B;
  color: #fff;
}

/* ============================================================
   39. FOOD TYPE DOTS (shared across card + filter bar)
   ============================================================ */
.food-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1.5px solid rgba(0, 0, 0, .25);
  display: inline-block;
  flex-shrink: 0;
}

.veg-dot {
  background: #4A7C59;
  border-color: #2e5a3a;
}

.non-veg-dot {
  background: #8B2635;
  border-color: #6b1828;
}

.egg-dot {
  background: #B8860B;
  border-color: #7a5700;
}

/* ============================================================
   40. PRODUCT CARD — FOOD TYPE BADGE (corner indicator)
   ============================================================ */
.product-food-type-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
  border: 1px solid rgba(0, 0, 0, .06);
  z-index: 2;
}

.product-food-type-badge .food-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
/* ============================================================
   ORDER ITEMS V2 — item + counter name + delivered status
   ============================================================ */
.order-item-row-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-light);
}

.order-item-row-v2:last-child {
  border-bottom: none;
}

.oirv2-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.oirv2-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.oirv2-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.oirv2-counter i {
  font-size: 11px;
  color: var(--army-gold);
}

.oirv2-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.oirv2-qty {
  font-size: 12px;
  color: var(--text-muted);
}

.oirv2-price {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.oirv2-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.oirv2-status.delivered {
  background: var(--success-light);
  color: var(--success);
}

.oirv2-status.not-delivered {
  background: var(--danger-light);
  color: var(--danger);
}
/* ── Product Counter Tag ── */
.product-counter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    padding: 3px 9px;
    background: rgba(74, 82, 64, 0.08);
    border: 1px solid rgba(74, 82, 64, 0.18);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--army-olive, #4A5240);
    letter-spacing: 0.03em;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-counter-tag i {
    font-size: 10px;
    opacity: 0.7;
    flex-shrink: 0;
}