/* ==========================================================================
   BNB — Breakfast in Box Design System & Stylesheet
   Modern, Appetizing, Mobile-First, Bilingual (RTL/LTR)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* BNB Brand Colors */
  --bnb-orange: #F58220;
  --bnb-orange-dark: #D9690C;
  --bnb-orange-light: #FF9B42;
  --bnb-orange-subtle: #FFF4EB;
  
  --bnb-yellow: #FFB800;
  --bnb-yellow-dark: #E5A500;
  --bnb-yellow-light: #FFE082;
  --bnb-yellow-subtle: #FFFBEA;

  --bnb-teal: #028090;
  --bnb-teal-dark: #006473;
  --bnb-teal-light: #00A896;
  --bnb-teal-subtle: #E6F7F6;

  --bnb-dark: #1E232A;
  --bnb-dark-soft: #2D3748;
  --bnb-gray-900: #111827;
  --bnb-gray-700: #374151;
  --bnb-gray-500: #6B7280;
  --bnb-gray-300: #D1D5DB;
  --bnb-gray-100: #F3F4F6;
  --bnb-gray-50: #F9FAFB;

  /* Warm Canvas & Spatial Surfaces */
  --bnb-canvas: #FAF7F2;
  --bnb-surface: #FFFFFF;
  --bnb-surface-warm: #FFFDF9;
  --bnb-surface-tint: #FDF4E7;
  --bnb-border: #EFE9DE;
  --bnb-border-focus: #F58220;

  /* Status Colors */
  --bnb-success: #10B981;
  --bnb-success-subtle: #ECFDF5;
  --bnb-warning: #F59E0B;
  --bnb-warning-subtle: #FFFBEB;
  --bnb-danger: #EF4444;
  --bnb-danger-subtle: #FEF2F2;
  --bnb-info: #3B82F6;

  /* Shadows & Spatial Depth */
  --shadow-sm: 0 2px 4px rgba(30, 35, 42, 0.04), 0 1px 2px rgba(30, 35, 42, 0.02);
  --shadow-md: 0 6px 16px rgba(30, 35, 42, 0.06), 0 2px 6px rgba(30, 35, 42, 0.04);
  --shadow-lg: 0 14px 32px rgba(30, 35, 42, 0.09), 0 4px 12px rgba(30, 35, 42, 0.05);
  --shadow-xl: 0 24px 48px rgba(30, 35, 42, 0.14), 0 8px 18px rgba(30, 35, 42, 0.08);
  --shadow-orange: 0 10px 24px rgba(245, 130, 32, 0.28);
  --shadow-teal: 0 10px 24px rgba(2, 128, 144, 0.25);

  /* Typography */
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-english: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Header & Navigation Heights */
  --header-height: 76px;
  --bottom-nav-height: 68px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--bnb-canvas);
  color: var(--bnb-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--font-english);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Layout Utilities */
.bnb-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (max-width: 640px) {
  .bnb-container {
    padding-inline: 16px;
  }
}

/* ==========================================================================
   Tactile 3D Buttons & Badges
   ========================================================================== */

.bnb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  user-select: none;
}

.bnb-btn-primary {
  background: linear-gradient(135deg, var(--bnb-orange) 0%, var(--bnb-orange-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 0 #B25305, 0 8px 18px rgba(245, 130, 32, 0.35);
}

.bnb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #B25305, 0 12px 24px rgba(245, 130, 32, 0.45);
  color: #FFFFFF;
}

.bnb-btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #B25305, 0 4px 8px rgba(245, 130, 32, 0.25);
}

.bnb-btn-teal {
  background: linear-gradient(135deg, var(--bnb-teal-light) 0%, var(--bnb-teal) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 0 var(--bnb-teal-dark), 0 8px 18px rgba(2, 128, 144, 0.3);
}

.bnb-btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--bnb-teal-dark), 0 12px 24px rgba(2, 128, 144, 0.4);
  color: #FFFFFF;
}

.bnb-btn-teal:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--bnb-teal-dark);
}

.bnb-btn-outline {
  background: var(--bnb-surface);
  border: 2px solid var(--bnb-border);
  color: var(--bnb-dark);
  box-shadow: var(--shadow-sm);
}

.bnb-btn-outline:hover {
  border-color: var(--bnb-orange);
  color: var(--bnb-orange);
  background: var(--bnb-orange-subtle);
  transform: translateY(-1px);
}

.bnb-btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.bnb-btn-lg {
  padding: 16px 32px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.bnb-btn-full {
  width: 100%;
}

.bnb-btn:disabled, .bnb-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

/* Badges & Pills */
.bnb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bnb-pill-orange {
  background: var(--bnb-orange-subtle);
  color: var(--bnb-orange-dark);
  border: 1px solid rgba(245, 130, 32, 0.2);
}

.bnb-pill-yellow {
  background: var(--bnb-yellow-subtle);
  color: var(--bnb-yellow-dark);
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.bnb-pill-teal {
  background: var(--bnb-teal-subtle);
  color: var(--bnb-teal);
  border: 1px solid rgba(2, 128, 144, 0.2);
}

.bnb-pill-green {
  background: var(--bnb-success-subtle);
  color: var(--bnb-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

.bnb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bnb-border);
  height: var(--header-height);
  transition: all var(--transition-base);
}

.bnb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.bnb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.bnb-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.bnb-brand:hover .bnb-brand-logo {
  transform: scale(1.04);
}

/* Branch Selector in Header */
.bnb-branch-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bnb-surface);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  max-width: 280px;
}

.bnb-branch-selector:hover {
  border-color: var(--bnb-orange);
  background: var(--bnb-orange-subtle);
  box-shadow: var(--shadow-sm);
}

.bnb-branch-icon {
  color: var(--bnb-orange);
  font-size: 16px;
  flex-shrink: 0;
}

.bnb-branch-text {
  display: flex;
  flex-direction: column;
  text-align: start;
  overflow: hidden;
}

.bnb-branch-label {
  font-size: 10px;
  color: var(--bnb-gray-500);
  font-weight: 600;
  text-transform: uppercase;
}

.bnb-branch-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bnb-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header Nav Actions */
.bnb-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bnb-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bnb-gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.bnb-nav-link:hover, .bnb-nav-link.active {
  color: var(--bnb-orange);
  background: var(--bnb-orange-subtle);
}

/* Language Switcher Button */
.bnb-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: var(--bnb-surface);
  border: 1px solid var(--bnb-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--bnb-dark);
  transition: all var(--transition-fast);
}

.bnb-lang-btn:hover {
  border-color: var(--bnb-teal);
  color: var(--bnb-teal);
  background: var(--bnb-teal-subtle);
}

/* Cart Button in Header */
.bnb-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--bnb-orange) 0%, var(--bnb-orange-dark) 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-orange);
  position: relative;
  transition: all var(--transition-base);
}

.bnb-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 130, 32, 0.4);
}

.bnb-cart-badge {
  background: #FFFFFF;
  color: var(--bnb-orange-dark);
  font-size: 12px;
  font-weight: 900;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* User Account Button */
.bnb-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bnb-surface);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  color: var(--bnb-dark);
  transition: all var(--transition-fast);
}

.bnb-user-btn:hover {
  border-color: var(--bnb-orange);
  color: var(--bnb-orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.bnb-hero {
  position: relative;
  padding: 48px 0 36px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 184, 0, 0.18) 0%, transparent 50%),
              radial-gradient(circle at 15% 70%, rgba(245, 130, 32, 0.12) 0%, transparent 45%),
              var(--bnb-canvas);
  overflow: hidden;
}

.bnb-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.bnb-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bnb-yellow-subtle);
  border: 1px solid rgba(255, 184, 0, 0.4);
  border-radius: var(--radius-full);
  color: #B27B00;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.bnb-hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--bnb-dark);
  margin-bottom: 18px;
}

.bnb-hero-highlight {
  background: linear-gradient(135deg, var(--bnb-orange) 0%, #FF6F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bnb-hero-desc {
  font-size: 17px;
  color: var(--bnb-gray-700);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}

.bnb-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.bnb-hero-features {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--bnb-border);
}

.bnb-hero-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bnb-gray-700);
}

.bnb-hero-feat i {
  color: var(--bnb-teal);
  font-size: 16px;
}

.bnb-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bnb-hero-card {
  position: relative;
  background: var(--bnb-surface);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--bnb-border);
  width: 100%;
  max-width: 440px;
  transition: transform var(--transition-bounce);
}

.bnb-hero-card:hover {
  transform: translateY(-6px);
}

.bnb-hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FDF6EE;
  aspect-ratio: 4/3;
}

.bnb-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.bnb-hero-card:hover .bnb-hero-img {
  transform: scale(1.05);
}

.bnb-hero-floating-badge {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 20px;
  background: rgba(30, 35, 42, 0.9);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.bnb-floating-rating {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  background: var(--bnb-surface);
  color: var(--bnb-dark);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Categories Bar & Filters
   ========================================================================== */

.bnb-section {
  padding: 40px 0;
}

.bnb-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.bnb-section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bnb-section-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-section-subtitle {
  font-size: 14px;
  color: var(--bnb-gray-500);
}

/* Search & Utility Bar */
.bnb-search-wrapper {
  width: 100%;
  margin-bottom: 18px;
}

.bnb-search-box {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.bnb-search-input {
  width: 100%;
  height: 48px;
  padding-inline-start: 46px;
  padding-inline-end: 20px;
  background: var(--bnb-surface);
  border: 1.5px solid var(--bnb-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--bnb-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.bnb-search-input:focus {
  outline: none;
  border-color: var(--bnb-orange);
  box-shadow: 0 0 0 4px var(--bnb-orange-subtle);
}

.bnb-search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  color: var(--bnb-gray-400);
  font-size: 15px;
  pointer-events: none;
}

/* ==========================================================================
   Category Filter Tabs (Horizontal Scrollable Rail)
   ========================================================================== */

.bnb-categories-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 18px 4px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.bnb-categories-rail::-webkit-scrollbar {
  display: none;
}

.bnb-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background: var(--bnb-surface);
  border: 1.5px solid var(--bnb-border);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--bnb-gray-700);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

[dir="rtl"] .bnb-cat-tab {
  padding: 8px 12px 8px 16px;
}

.bnb-cat-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bnb-surface-warm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.bnb-cat-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bnb-cat-icon-wrap i {
  font-size: 12px;
  color: var(--bnb-orange);
}

.bnb-cat-name {
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.2px;
}

.bnb-cat-tab:hover {
  border-color: var(--bnb-orange);
  color: var(--bnb-orange);
  background: #FFF9F5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.12);
}

.bnb-cat-tab.active {
  background: linear-gradient(135deg, var(--bnb-orange) 0%, var(--bnb-orange-dark) 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(245, 130, 32, 0.35);
  transform: translateY(-2px);
}

.bnb-cat-tab.active .bnb-cat-icon-wrap {
  background: rgba(255, 255, 255, 0.25);
}

.bnb-cat-tab.active .bnb-cat-icon-wrap i {
  color: #FFFFFF;
}

.bnb-cat-tab.active .bnb-cat-name {
  color: #FFFFFF;
}

.bnb-search-icon {
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bnb-gray-500);
  pointer-events: none;
}

.bnb-search-clear {
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bnb-gray-500);
  cursor: pointer;
  display: none;
}

/* ==========================================================================
   Product Cards & Catalog Grid
   ========================================================================== */

.bnb-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.bnb-product-card {
  background: var(--bnb-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bnb-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.bnb-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 130, 32, 0.3);
}

.bnb-product-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #FFF9F2;
  overflow: hidden;
  cursor: pointer;
}

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

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

.bnb-product-badges {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.bnb-prep-badge {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(30, 35, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bnb-product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bnb-product-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--bnb-dark);
  margin-bottom: 6px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.bnb-product-title:hover {
  color: var(--bnb-orange);
}

.bnb-product-desc {
  font-size: 13px;
  color: var(--bnb-gray-500);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.bnb-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--bnb-border);
}

.bnb-price-box {
  display: flex;
  flex-direction: column;
}

.bnb-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-currency {
  font-size: 12px;
  font-weight: 700;
  color: var(--bnb-orange);
  margin-inline-start: 2px;
}

.bnb-old-price {
  font-size: 12px;
  color: var(--bnb-gray-500);
  text-decoration: line-through;
}

.bnb-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bnb-orange-subtle);
  color: var(--bnb-orange-dark);
  border: 1.5px solid rgba(245, 130, 32, 0.3);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bnb-add-btn:hover {
  background: var(--bnb-orange);
  color: #FFFFFF;
  border-color: var(--bnb-orange);
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   Cart Drawer & Floating Controls
   ========================================================================== */

.bnb-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.bnb-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bnb-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bnb-surface);
  z-index: 2010;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform var(--transition-bounce);
}

html[dir="rtl"] .bnb-drawer {
  transform: translateX(-100%);
}

.bnb-drawer.active {
  transform: translateX(0) !important;
}

.bnb-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bnb-border);
  background: var(--bnb-surface-warm);
}

.bnb-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bnb-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bnb-dark);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bnb-close-btn:hover {
  background: var(--bnb-danger-subtle);
  color: var(--bnb-danger);
}

.bnb-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* Order Type Switcher (Delivery vs Takeaway) */
.bnb-order-type-switch {
  display: flex;
  background: var(--bnb-gray-100);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.bnb-type-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bnb-type-tab.active {
  background: var(--bnb-surface);
  color: var(--bnb-orange);
  box-shadow: var(--shadow-sm);
}

/* Cart Item Row */
.bnb-cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bnb-border);
}

.bnb-cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #FFF9F2;
  flex-shrink: 0;
}

.bnb-cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bnb-cart-item-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--bnb-dark);
}

.bnb-cart-item-notes {
  font-size: 11px;
  color: var(--bnb-gray-500);
  font-style: italic;
  margin-top: 2px;
}

.bnb-cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.bnb-qty-control {
  display: inline-flex;
  align-items: center;
  background: var(--bnb-gray-100);
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 8px;
}

.bnb-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bnb-surface);
  color: var(--bnb-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.bnb-qty-btn:hover {
  background: var(--bnb-orange);
  color: #FFFFFF;
}

.bnb-qty-val {
  font-size: 13px;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

.bnb-cart-item-price {
  font-size: 15px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-remove-btn {
  color: var(--bnb-gray-500);
  font-size: 14px;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.bnb-remove-btn:hover {
  color: var(--bnb-danger);
}

/* Cart Footer & Calculations */
.bnb-drawer-footer {
  padding: 20px 24px;
  background: var(--bnb-surface-warm);
  border-top: 1px solid var(--bnb-border);
}

.bnb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bnb-gray-700);
  margin-bottom: 8px;
}

.bnb-summary-total {
  font-size: 18px;
  font-weight: 900;
  color: var(--bnb-dark);
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px dashed var(--bnb-border);
  margin-bottom: 16px;
}

.bnb-total-val {
  color: var(--bnb-orange-dark);
  font-size: 22px;
}

/* Coupon Input in Cart */
.bnb-coupon-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.bnb-coupon-input {
  flex: 1;
  height: 40px;
  padding-inline: 14px;
  border: 1.5px solid var(--bnb-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.bnb-coupon-input:focus {
  outline: none;
  border-color: var(--bnb-orange);
}

/* Empty State */
.bnb-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
}

.bnb-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bnb-orange-subtle);
  color: var(--bnb-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.bnb-empty-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--bnb-dark);
  margin-bottom: 6px;
}

.bnb-empty-desc {
  font-size: 13px;
  color: var(--bnb-gray-500);
  max-width: 280px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Modals (Product Details, Checkout, Auth, Branch Picker)
   ========================================================================== */

.bnb-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(6px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.bnb-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bnb-modal {
  background: var(--bnb-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--bnb-border);
  transform: scale(0.94);
  transition: transform var(--transition-bounce);
  position: relative;
}

.bnb-modal-backdrop.active .bnb-modal {
  transform: scale(1);
}

.bnb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--bnb-border);
  position: sticky;
  top: 0;
  background: var(--bnb-surface);
  z-index: 10;
}

.bnb-modal-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-modal-body {
  padding: 24px;
}

/* Form Controls */
.bnb-form-group {
  margin-bottom: 18px;
}

.bnb-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-dark);
  margin-bottom: 6px;
}

.bnb-input, .bnb-select, .bnb-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--bnb-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--bnb-dark);
  background: var(--bnb-surface);
  transition: all var(--transition-fast);
}

.bnb-input:focus, .bnb-select:focus, .bnb-textarea:focus {
  outline: none;
  border-color: var(--bnb-orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
}

.bnb-textarea {
  min-height: 80px;
  resize: vertical;
}

/* =========================================================================
   Product Variations & Choice Options Modal Styling
   ========================================================================= */
.bnb-variation-group, .bnb-addons-group {
  background: var(--bnb-surface-warm, #FAF7F2);
  border: 1px solid var(--bnb-border, #EAE5DE);
  border-radius: var(--radius-lg, 16px);
  padding: 16px;
  margin-bottom: 16px;
  transition: border-color var(--transition-fast);
}

.bnb-variation-group.has-error {
  border-color: #EF4444 !important;
  background: #FEF2F2 !important;
}

.bnb-variation-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.bnb-variation-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bnb-dark, #1E232A);
}

.bnb-variation-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.bnb-variation-badge.required {
  background: #FEE2E2;
  color: #DC2626;
}

.bnb-variation-badge.optional {
  background: #E5E7EB;
  color: #4B5563;
}

.bnb-variation-hint {
  font-size: 12px;
  color: var(--bnb-gray-500, #6B7280);
  margin-bottom: 10px;
}

.bnb-variation-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bnb-variation-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--bnb-border, #EAE5DE);
  border-radius: var(--radius-md, 12px);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  user-select: none;
}

.bnb-variation-option-card:hover {
  border-color: var(--bnb-orange, #F58220);
  background: #FFFDF9;
}

.bnb-variation-option-card.selected {
  border-color: var(--bnb-orange, #F58220);
  background: #FFF8F0;
  box-shadow: 0 2px 8px rgba(245, 130, 32, 0.1);
}

.bnb-opt-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.bnb-variation-option-card input[type="radio"],
.bnb-variation-option-card input[type="checkbox"] {
  accent-color: var(--bnb-orange, #F58220);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.bnb-opt-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.bnb-opt-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--bnb-dark, #1E232A);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bnb-opt-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-orange, #F58220);
  white-space: nowrap;
}

/* Option Quantity Stepper */
.bnb-opt-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #F3F4F6;
  border: 1px solid var(--bnb-border, #E5E7EB);
  border-radius: var(--radius-full, 9999px);
  padding: 2px 6px;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.bnb-variation-option-card.selected .bnb-opt-qty-stepper {
  background: #FFFFFF;
  border-color: var(--bnb-orange, #F58220);
  box-shadow: 0 1px 4px rgba(245, 130, 32, 0.15);
}

.bnb-opt-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full, 9999px);
  border: none;
  background: #E5E7EB;
  color: var(--bnb-dark, #1E232A);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
}

.bnb-variation-option-card.selected .bnb-opt-qty-btn {
  background: var(--bnb-orange-subtle, #FFF4EB);
  color: var(--bnb-orange, #F58220);
}

.bnb-opt-qty-btn:hover {
  background: var(--bnb-orange, #F58220) !important;
  color: #FFFFFF !important;
  transform: scale(1.08);
}

.bnb-opt-qty-btn:active {
  transform: scale(0.95);
}

.bnb-opt-qty-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-dark, #1E232A);
  min-width: 18px;
  text-align: center;
  user-select: none;
}

/* Cart Item Variations & Addons Tagging */
.bnb-cart-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.bnb-item-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  background: #F3F4F6;
  color: #374151;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
}

.bnb-item-tag.addon {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FDE68A;
}

.bnb-item-tag.notes {
  background: #EFF6FF;
  color: #1E40AF;
  border-color: #DBEAFE;
}

/* Payment Method Cards */
.bnb-payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.bnb-pay-card {
  border: 2px solid var(--bnb-border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--bnb-surface);
}

.bnb-pay-card:hover {
  border-color: var(--bnb-orange);
  background: var(--bnb-orange-subtle);
}

.bnb-pay-card.active {
  border-color: var(--bnb-orange);
  background: var(--bnb-orange-subtle);
  box-shadow: var(--shadow-orange);
}

.bnb-pay-icon {
  font-size: 24px;
  color: var(--bnb-orange);
}

.bnb-pay-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--bnb-dark);
}

/* ==========================================================================
   Order Tracking & Timeline
   ========================================================================== */

.bnb-tracking-card {
  background: var(--bnb-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--bnb-border);
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.bnb-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 36px 0 24px;
}

.bnb-timeline::before {
  content: '';
  position: absolute;
  top: 20px;
  inset-inline-start: 40px;
  inset-inline-end: 40px;
  height: 4px;
  background: var(--bnb-border);
  z-index: 1;
}

.bnb-timeline-progress {
  position: absolute;
  top: 20px;
  inset-inline-start: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--bnb-orange), var(--bnb-teal));
  z-index: 2;
  transition: width 0.6s ease;
}

.bnb-timeline-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  flex: 1;
}

.bnb-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bnb-surface);
  border: 3px solid var(--bnb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--bnb-gray-500);
  transition: all var(--transition-base);
}

.bnb-timeline-step.completed .bnb-step-circle {
  background: var(--bnb-success);
  border-color: var(--bnb-success);
  color: #FFFFFF;
}

.bnb-timeline-step.current .bnb-step-circle {
  background: var(--bnb-orange);
  border-color: var(--bnb-orange);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(245, 130, 32, 0.2);
  transform: scale(1.1);
}

.bnb-step-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-dark);
}

.bnb-step-time {
  font-size: 11px;
  color: var(--bnb-gray-500);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.bnb-footer {
  background: var(--bnb-dark);
  color: #FFFFFF;
  padding: 56px 0 28px;
  margin-top: 60px;
}

.bnb-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.bnb-footer-brand p {
  color: var(--bnb-gray-300);
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.bnb-footer-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  position: relative;
}

.bnb-footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  inset-inline-start: 0;
  width: 30px;
  height: 3px;
  background: var(--bnb-orange);
  border-radius: var(--radius-full);
}

.bnb-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnb-footer-link {
  color: var(--bnb-gray-300);
  font-size: 14px;
  transition: all var(--transition-fast);
}

.bnb-footer-link:hover {
  color: var(--bnb-orange-light);
  transform: translateX(-4px);
}

html[lang="en"] .bnb-footer-link:hover {
  transform: translateX(4px);
}

.bnb-app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnb-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2A303C;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.bnb-app-btn:hover {
  background: #374151;
  border-color: var(--bnb-orange);
}

.bnb-app-btn i {
  font-size: 26px;
}

.bnb-app-btn-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}

.bnb-app-btn-sub {
  font-size: 10px;
  color: var(--bnb-gray-300);
  text-transform: uppercase;
}

.bnb-app-btn-name {
  font-size: 14px;
  font-weight: 800;
}

.bnb-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--bnb-gray-500);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */

.bnb-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  height: var(--bottom-nav-height);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--bnb-border);
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.bnb-mobile-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.bnb-mobile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--bnb-gray-500);
  font-size: 11px;
  font-weight: 700;
  flex: 1;
  position: relative;
  transition: color var(--transition-fast);
}

.bnb-mobile-item i {
  font-size: 20px;
}

.bnb-mobile-item.active, .bnb-mobile-item:hover {
  color: var(--bnb-orange);
}

.bnb-mobile-badge {
  position: absolute;
  top: -2px;
  inset-inline-end: 22px;
  background: var(--bnb-orange);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */

.bnb-toast-container {
  position: fixed;
  bottom: 84px;
  inset-inline: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  gap: 10px;
}

@media (min-width: 768px) {
  .bnb-toast-container {
    bottom: 24px;
    inset-inline-end: 24px;
    inset-inline-start: auto;
    align-items: flex-end;
  }
}

.bnb-toast {
  background: var(--bnb-dark);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  pointer-events: auto;
  animation: slideUpToast 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 380px;
}

.bnb-toast-success {
  background: #064E3B;
  border-inline-start: 4px solid var(--bnb-success);
}

.bnb-toast-error {
  background: #7F1D1D;
  border-inline-start: 4px solid var(--bnb-danger);
}

.bnb-toast-info {
  background: #1E293B;
  border-inline-start: 4px solid var(--bnb-orange);
}

@keyframes slideUpToast {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Skeleton Loading Animation */
.bnb-skeleton {
  background: linear-gradient(90deg, #EFE9DE 25%, #FBF9F5 50%, #EFE9DE 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 991px) {
  .bnb-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bnb-hero-desc {
    margin-inline: auto;
  }
  .bnb-hero-actions {
    justify-content: center;
  }
  .bnb-hero-features {
    justify-content: center;
  }
  .bnb-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bnb-desktop-nav-links {
    display: none !important;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 64px;
  }
  body {
    padding-bottom: var(--bottom-nav-height);
  }
  .bnb-mobile-nav {
    display: block;
  }
  .bnb-desktop-nav-links, .bnb-desktop-cart, .bnb-user-btn {
    display: none !important;
  }
  .bnb-lang-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .bnb-branch-selector {
    max-width: 170px;
    padding: 5px 10px;
  }
  .bnb-hero-title {
    font-size: 30px;
  }
  .bnb-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bnb-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }
  .bnb-product-body {
    padding: 12px;
  }
  .bnb-product-title {
    font-size: 14px;
  }
  .bnb-price {
    font-size: 16px;
  }
  .bnb-add-btn {
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* ==========================================================================
   Customer Dashboard & Account Experience
   ========================================================================== */

.bnb-dash-header-card {
  background: linear-gradient(135deg, #2D1810 0%, #1A0E0A 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(245, 130, 32, 0.2);
}

.bnb-dash-header-card::before {
  content: '';
  position: absolute;
  top: -50px;
  inset-inline-end: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bnb-dash-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.bnb-dash-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bnb-dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bnb-orange) 0%, var(--bnb-orange-dark) 100%);
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(245, 130, 32, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.bnb-dash-user-name {
  font-size: 20px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
}

.bnb-dash-user-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.bnb-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.bnb-dash-stat-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: all var(--transition-fast);
}

.bnb-dash-stat-box:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.bnb-dash-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.bnb-dash-stat-val {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
}

.bnb-dash-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--bnb-border);
  scrollbar-width: none;
}

.bnb-dash-tabs::-webkit-scrollbar {
  display: none;
}

.bnb-dash-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  color: var(--bnb-gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.bnb-dash-tab:hover {
  color: var(--bnb-orange);
  background: var(--bnb-surface-warm);
}

.bnb-dash-tab.active {
  color: var(--bnb-orange-dark);
  background: var(--bnb-orange-subtle);
  border-bottom: 3px solid var(--bnb-orange);
}

.bnb-dash-pane {
  display: none;
}

.bnb-dash-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Order Cards */
.bnb-order-card {
  background: var(--bnb-surface);
  border: 1px solid var(--bnb-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.bnb-order-card:hover {
  border-color: var(--bnb-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.bnb-order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bnb-surface-warm);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.bnb-order-number {
  font-size: 15px;
  font-weight: 900;
  color: var(--bnb-dark);
}

.bnb-order-date {
  font-size: 12px;
  color: var(--bnb-gray-500);
  font-weight: 600;
}

.bnb-order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.bnb-status-pending { background: #FEF3C7; color: #B45309; }
.bnb-status-confirmed { background: #DBEAFE; color: #1D4ED8; }
.bnb-status-processing { background: #E0E7FF; color: #4338CA; }
.bnb-status-out_for_delivery { background: #FFEDD5; color: #C2410C; }
.bnb-status-delivered { background: #D1FAE5; color: #065F46; }
.bnb-status-canceled { background: #FEE2E2; color: #991B1B; }

.bnb-order-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bnb-order-meta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bnb-order-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Wallet & Points widgets */
.bnb-wallet-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.bnb-wallet-widget {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.bnb-points-widget {
  background: linear-gradient(135deg, #7C2D12 0%, #9A3412 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.bnb-widget-balance {
  font-size: 28px;
  font-weight: 900;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.bnb-trans-table {
  width: 100%;
  border-collapse: collapse;
}

.bnb-trans-table th {
  text-align: start;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--bnb-gray-500);
  border-bottom: 1px solid var(--bnb-border);
}

.bnb-trans-table td {
  padding: 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--bnb-border);
  color: var(--bnb-dark);
}

/* Welcome Modal */
.bnb-welcome-card {
  text-align: center;
  padding: 24px 16px;
}

.bnb-welcome-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bnb-orange) 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px -5px rgba(245, 130, 32, 0.5);
  animation: bounceSlow 2s infinite ease-in-out;
}

@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Saved Addresses Picker in Checkout */
.bnb-saved-addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.bnb-saved-addr-card {
  background: var(--bnb-surface-warm);
  border: 1.5px solid var(--bnb-border);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bnb-saved-addr-card:hover {
  border-color: var(--bnb-orange-light);
  background: #FFF9F5;
  transform: translateY(-1px);
}

.bnb-saved-addr-card.active {
  border-color: var(--bnb-orange);
  background: #FFF5EE;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.15);
}

.bnb-saved-addr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bnb-saved-addr-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--bnb-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bnb-saved-addr-text {
  font-size: 12px;
  color: var(--bnb-gray-600);
  line-height: 1.4;
  margin-top: 2px;
}


