/* ============================================================
   QR Menu Maker — Modern UI  (Cairo font, vibrant palette)
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Natural Luxury Organic Green & Clean Warm Ivory Palette */
  --primary:        #2D5A27; /* Natural Botanical Deep Green */
  --primary-dark:   #20421B;
  --primary-light:  rgba(45, 90, 39, 0.10); /* Soft Botanical Green Tint */
  --primary-border: #3B7533;
  --primary-subtle: rgba(45, 90, 39, 0.14);
  --primary-text:   #FFFFFF; /* Crisp white text on primary green buttons */
  --charcoal:       #1C261B; /* Deep Natural Slate Charcoal */
  --charcoal-dark:  #131B12;
  --silver:         #6C7468; /* Warm Muted Olive Gray */
  --silver-border:  #E6E1D8;
  --navy-slate:     #1C261B;
  --navy-ocean:     #2D5A27;
  --navy-abyss:     #162415;
  --accent:         #2D5A27;
  --accent-dark:    #20421B;
  --accent-light:   rgba(45, 90, 39, 0.10);
  --ssm-cyan:       #2D5A27;

  /* Semantic UI Colors */
  --success:        #2D5A27;
  --success-dark:   #20421B;
  --warning:        #E5A93C; /* Warm Honey Gold */
  --warning-dark:   #C98D25;
  --info:           #2D5A27;
  --danger:         #DC2626;
  --dark:           #1C261B;
  --dark2:          #273626;
  --dark3:          #3D4C3C;
  --sidebar-bg:     #FFFFFF; /* Clean White Sidebar */
  --body-bg:        #FAF7F2; /* Warm Creamy Ivory Page Background */
  --card-bg:        #FFFFFF; /* Crisp White Card Surfaces */
  --text:           #1C261B; /* Deep Slate Charcoal for High Readability */
  --text-muted:     #374151; /* Crisp dark charcoal gray for high readability */
  --border:         #E6E1D8; /* Soft Clean Warm Borders */
  --radius:         16px;
  --radius-sm:      10px;
  --radius-lg:      20px;
  --shadow:         0 2px 14px rgba(28, 38, 27, 0.04);
  --shadow-hover:   0 8px 26px rgba(28, 38, 27, 0.08);
  --transition:     all .2s ease;

  /* Bootstrap 5 Theme Color Overrides to enforce Natural Light Theme consistency */
  --bs-body-bg:          #FAF7F2;
  --bs-body-color:       #1C261B;
  --bs-card-bg:          #FFFFFF;
  --bs-card-color:       #1C261B;
  --bs-card-border-color:#E6E1D8;
  --bs-table-bg:         #FFFFFF;
  --bs-table-color:      #1C261B;
  --bs-table-striped-bg: #F7F4ED;
  --bs-table-hover-bg:   #F0EBE0;
  --bs-table-border-color:#E6E1D8;
  --bs-border-color:     #E6E1D8;
  --bs-tertiary-bg:      #F4EFE6;
  --bs-secondary-bg:     #EFEAE0;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

/* Bootstrap Light Utility Overrides */
.bg-light, .bg-white, .table-light {
  background-color: #FFFFFF !important;
  color: #1C261B !important;
}
.text-dark {
  color: #1C261B !important;
}
.border-light {
  border-color: #E6E1D8 !important;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 { font-family: 'Cairo', sans-serif; font-weight: 700; color: #1C261B !important; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }
p  { font-size: 1rem; }
small, .small { font-size: .875rem; }
.text-muted { color: var(--text-muted) !important; }

/* ---------- Navbar ---------- */
.navbar {
  background: #FFFFFF !important;
  padding: .9rem 0;
  box-shadow: 0 2px 14px rgba(28, 38, 27, 0.05);
  border-bottom: 1px solid #E6E1D8 !important;
}
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #1C261B !important;
}
.navbar-brand span { color: var(--primary); }
.navbar .nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: #4B5563 !important;
  padding: .45rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #2D5A27 !important;
  background: rgba(45, 90, 39, 0.08);
}
.navbar .nav-link i { font-size: 1.05rem; }
.navbar .dropdown-menu {
  border: 1px solid #E6E1D8;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(28, 38, 27, 0.1);
  font-size: 1rem;
  min-width: 180px;
  background: #FFFFFF;
}
.navbar .dropdown-item { font-weight: 600; padding: .6rem 1.2rem; color: #1C261B; }
.navbar .dropdown-item:hover { background: rgba(45, 90, 39, 0.08); color: #2D5A27; }

/* ---------- Cards ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card-header {
  border-radius: var(--radius) var(--radius) 0 0 !important;
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  background: #F4EFE6;
  color: #1C261B;
}

/* ---------- Stat Cards ---------- */
.stat-card {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  position: relative;
}
.stat-card .stat-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}
.stat-card .stat-value { font-size: 2rem; font-weight: 900; line-height: 1; }
.stat-card .stat-label { font-size: .9rem; font-weight: 600; opacity: .85; }
.stat-card::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

/* Gradient variants based on the natural palette */
.stat-purple,
.stat-cyan    { background: linear-gradient(135deg,#2D5A27,#387B3B); color:#fff; }
.stat-navy    { background: linear-gradient(135deg,#1C261B,#2D5A27); color:#fff; }
.stat-green   { background: linear-gradient(135deg,#2D5A27,#418A3A); color:#fff; }
.stat-orange  { background: linear-gradient(135deg,#E5A93C,#F59E0B); color:#fff; }
.stat-pink,
.stat-coral   { background: linear-gradient(135deg,#DC2626,#EF4444); color:#fff; }
.stat-blue    { background: linear-gradient(135deg,#2D5A27,#387B3B); color:#fff; }
.stat-red     { background: linear-gradient(135deg,#DC2626,#B91C1C); color:#fff; }

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: .55rem 1.4rem;
  transition: var(--transition);
  border: none;
}
.btn-lg { font-size: 1.1rem; padding: .75rem 2rem; border-radius: var(--radius); }
.btn-sm { font-size: .9rem; padding: .35rem .9rem; }

.btn-primary   { background: var(--primary);  color: #FFFFFF !important; font-weight: 800; border: none; }
.btn-primary:hover { background: var(--primary-dark); transform:translateY(-2px); box-shadow:0 6px 20px rgba(45, 90, 39, 0.4); color: #FFFFFF !important; }

.btn-success   { background: var(--success);  color:#fff; }
.btn-success:hover { background: var(--success-dark); transform:translateY(-2px); box-shadow:0 6px 20px rgba(45, 90, 39, 0.35); color:#fff; }

.btn-warning   { background: var(--warning);  color: #1C261B !important; font-weight: 800; border: none; }
.btn-warning:hover { background: var(--warning-dark); transform:translateY(-2px); color: #1C261B !important; }

.btn-danger    { background: var(--danger);   color:#fff; }
.btn-danger:hover  { background: #B91C1C; transform:translateY(-2px); box-shadow:0 6px 20px rgba(220,38,38,.35); color:#fff; }

.btn-info      { background: var(--info);     color:#fff; }
.btn-info:hover    { background: var(--primary-dark); transform:translateY(-2px); color:#fff; }

.btn-outline-primary { border: 2px solid var(--primary) !important; color: var(--primary) !important; background: transparent; font-weight: 700; }
.btn-outline-primary:hover { background: var(--primary) !important; color: #FFFFFF !important; }

.btn-outline-success { border: 2px solid var(--success) !important; color: var(--success); background: transparent; }
.btn-outline-success:hover { background: var(--success); color:#fff; }

.btn-outline-warning { border: 2px solid var(--warning) !important; color: var(--warning-dark); background: transparent; }
.btn-outline-warning:hover { background: var(--warning); color:#1C261B; }

.btn-outline-danger  { border: 2px solid var(--danger) !important; color: var(--danger); background: transparent; }
.btn-outline-danger:hover  { background: var(--danger); color:#fff; }

.btn-outline-secondary { border: 2px solid #D8D2C6 !important; color: #6C7468; background: transparent; }
.btn-outline-secondary:hover { background: #EFEAE0; color: #1C261B; }

/* ---------- Forms (Natural High-Contrast Theme) ---------- */
.form-control, .form-select {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: .7rem 1rem;
  border: 1.5px solid #D8D2C6 !important;
  background: #FFFFFF !important;
  color: #1C261B !important;
  caret-color: var(--primary);
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.18) !important;
  background: #FFFFFF !important;
  color: #1C261B !important;
}
.form-control::placeholder,
textarea.form-control::placeholder {
  color: #9CA3AF !important;
  opacity: 1 !important;
  font-weight: 500;
}
.form-label { 
  font-weight: 700; 
  font-size: 1rem; 
  color: #1C261B !important; 
  margin-bottom: .4rem; 
}
.form-text  { 
  font-size: .875rem; 
  color: #6C7468 !important; 
}

/* Fix dropdown options across all browsers and operating systems */
select.form-select,
select.form-control {
  background-color: #FFFFFF !important;
  color: #1C261B !important;
}
select.form-select option,
select.form-control option,
select option {
  background-color: #FFFFFF !important;
  color: #1C261B !important;
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
}
select.form-select option:hover,
select.form-control option:hover,
select option:hover,
select.form-select option:checked,
select.form-control option:checked,
select option:checked {
  background-color: #2D5A27 !important;
  color: #FFFFFF !important;
}

/* ---------- Tables ---------- */
.table {
  --bs-table-bg: #FFFFFF !important;
  --bs-table-color: #1C261B !important;
  --bs-table-hover-bg: #F7F4ED !important;
  --bs-table-hover-color: #1C261B !important;
  --bs-table-border-color: #E6E1D8 !important;
  font-size: 1rem;
  font-family: 'Cairo', sans-serif;
  border-radius: var(--radius);
  overflow: hidden;
  color: #1C261B !important;
  background-color: #FFFFFF !important;
  border-color: #E6E1D8 !important;
}
.table thead th,
.table thead.table-light th,
.table-light th,
.table thead tr th {
  font-weight: 800;
  font-size: .95rem;
  background-color: #F4EFE6 !important;
  color: #1C261B !important;
  border-bottom: 1.5px solid #E6E1D8 !important;
  border-top: none !important;
  padding: .9rem 1rem;
  white-space: nowrap;
}
.table tbody td,
.table tbody tr td {
  padding: .85rem 1rem;
  vertical-align: middle;
  border-color: #E6E1D8 !important;
  background-color: #FFFFFF !important;
  color: #1C261B !important;
  font-size: 1rem;
}
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover {
  background-color: #F7F4ED !important;
  color: #1C261B !important;
}

/* ---------- Badges ---------- */
.badge {
  font-family: 'Cairo', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  padding: .45em 1em;
  border-radius: 50px;
}

/* ---------- Alerts ---------- */
.alert {
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 1.3rem;
}
.alert-warning {
  background: rgba(229, 169, 60, 0.14) !important;
  color: #9A6700 !important;
  border: 1px solid rgba(229, 169, 60, 0.35) !important;
}
.alert-info    { background: rgba(45, 90, 39, 0.10) !important; color: #2D5A27 !important; border: 1px solid rgba(45, 90, 39, 0.25) !important; }
.alert-success { background: rgba(45, 90, 39, 0.12) !important; color: #20421B !important; border: 1px solid rgba(45, 90, 39, 0.3) !important; }
.alert-danger  { background: rgba(220, 38, 38, 0.12) !important; color: #B91C1C !important; border: 1px solid rgba(220, 38, 38, 0.3) !important; }

/* ---------- Payment Option Cards (Natural Theme) ---------- */
.payment-option-card {
  background: #FFFFFF !important;
  border: 1.5px solid #E6E1D8 !important;
  color: #1C261B !important;
  border-radius: 14px;
}
.payment-option-card strong,
.payment-option-card .text-dark {
  color: #1C261B !important;
}
.payment-option-card small,
.payment-option-card .text-muted {
  color: #6C7468 !important;
}

/* ---------- Toast / Flash ---------- */
.toast-container { z-index: 9999; }
.toast {
  border-radius: var(--radius) !important;
  font-size: 1rem;
  font-weight: 600;
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* ---------- Nav Pills ---------- */
.nav-pills .nav-link {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 50px;
  padding: .45rem 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-pills .nav-link:hover { background: var(--primary-light); color: var(--primary); }
.nav-pills .nav-link.active { color: #fff !important; }

/* ---------- Modals ---------- */
.modal-content {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; padding: 1.2rem 1.5rem; }
.modal-footer { border-top: 1px solid var(--border); padding: 1rem 1.5rem; }
.modal-body   { padding: 1.5rem; }
.btn-close-white { filter: invert(1); }

/* ---------- Page Header ---------- */
.page-header {
  background: #FFFFFF !important;
  color: #1C261B !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 2px 14px rgba(28, 38, 27, 0.04);
}
.page-header h2 { color: #1C261B !important; margin: 0; font-size: 1.6rem; }
.page-header .text-muted { color: #6C7468 !important; }

/* ---------- Quick Action Buttons ---------- */
.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 2.5px solid transparent;
}
.quick-action i { font-size: 1.8rem; }
.quick-action:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* ---------- Auto-refresh countdown ---------- */
.refresh-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: shrink 15s linear forwards;
}
@keyframes shrink { from { width: 100%; } to { width: 0%; } }
.refresh-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .9rem;
  font-weight: 700;
}
.refresh-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.4); }
}

/* ---------- Public Menu Layout ---------- */
.restaurant-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: #fff;
  padding: 1.5rem 0 1.25rem;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 10px 30px rgba(11,22,34,.22);
  border-bottom: 3.5px solid var(--primary);
  position: relative;
  overflow: hidden;
}
.restaurant-header.has-cover {
  padding: 14px 0 0;
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  border-bottom: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}
@media (max-width: 991px) {
  .restaurant-header.has-cover {
    min-height: 400px;
    padding: 10px 0 0;
  }
}
@media (max-width: 767px) {
  .restaurant-header.has-cover {
    padding: 8px 0 0 !important;
    min-height: 340px;
    border-radius: 0 0 24px 24px !important;
  }
}

/* ── Full-Area Header Slider Background ── */
.restaurant-header-slider {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.restaurant-header-slider .carousel-inner,
.restaurant-header-slider .carousel-item {
  height: 100% !important;
}
.restaurant-header-slider .slider-hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.restaurant-header-slider .carousel-control-prev,
.restaurant-header-slider .carousel-control-next {
  z-index: 6;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  top: 55%;
  transform: translateY(-50%);
  margin: 0 16px;
  opacity: 0.9;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.25s ease;
}
.restaurant-header-slider .carousel-control-prev:hover,
.restaurant-header-slider .carousel-control-next:hover {
  background: var(--primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.restaurant-header-slider .carousel-caption {
  z-index: 8;
  bottom: 18px;
  padding: 0;
}
.restaurant-header-slider .carousel-indicators {
  z-index: 8;
  bottom: 8px;
  margin-bottom: 0;
}
.restaurant-cover-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: translateZ(0);
}
.restaurant-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 12, 0.85) 0%, rgba(10, 20, 12, 0.35) 28%, rgba(0, 0, 0, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── Sleek Slim Top Merchant Dock ── */
.restaurant-info-dock {
  background: rgba(18, 30, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 6px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.2rem;
}
@media (max-width: 767px) {
  .restaurant-info-dock {
    padding: 8px 12px;
    border-radius: 16px;
  }
}
.store-name-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}
@media (max-width: 767px) {
  .store-name-title {
    font-size: 1.05rem;
  }
}
.store-desc-text {
  font-size: 0.8rem;
  line-height: 1.35;
  max-width: 580px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.restaurant-header.has-cover h1,
.restaurant-header.has-cover p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.restaurant-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D5A27 0%, #387B3B 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 12px rgba(45, 90, 39, 0.3);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}
.restaurant-logo-wrap:hover {
  transform: scale(1.05);
}
.restaurant-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  background: #ffffff;
  display: block;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
  .restaurant-logo {
    width: 44px;
    height: 44px;
    border-width: 1.5px;
  }
}
.restaurant-logo-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #ffffff;
  z-index: 3;
  line-height: 1;
}
.menu-item-card {
  border: 1px solid #E6E1D8 !important;
  border-radius: 18px !important;
  transition: var(--transition);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28, 38, 27, 0.04);
}
.menu-item-card:hover {
  border-color: rgba(45, 90, 39, 0.4) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 90, 39, 0.12);
}
.price-badge {
  background: #EBF3EA;
  color: #2D5A27;
  padding: .32rem .95rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .95rem;
  border: 1px solid var(--primary-border);
}
.add-to-cart-btn {
  background: var(--primary);
  color: #FFFFFF !important;
  border: none;
  padding: .45rem 1.25rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: .92rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.35);
}
.add-to-cart-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.5);
  color: #FFFFFF !important;
}
/* ══════════════ Modern Floating Bottom Cart Bar (Mobile-First Dock) ══════════════ */
.bottom-cart-dock {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 1055;
  pointer-events: none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  padding-bottom: env(safe-area-inset-bottom, 8px);
}
.bottom-cart-dock.show {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}
.cart-dock-card {
  background: linear-gradient(135deg, #1C261B 0%, #243522 55%, #2D5A27 100%);
  color: #fff;
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 14px 40px rgba(28, 38, 27, 0.35), 0 3px 12px rgba(45, 90, 39, 0.2);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 650px;
  margin: 0 auto;
}
.cart-dock-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #E5A93C;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cart-dock-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #DC2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #2D5A27;
}
.cart-dock-summary {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 700;
}
.cart-dock-divider {
  opacity: 0.45;
  margin: 0 5px;
}
.cart-dock-price {
  color: #E5A93C;
  font-size: 1.15rem;
  font-weight: 800;
}
.cart-dock-btn {
  background: #E5A93C !important;
  color: #1C261B !important;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50px;
  padding: 0.65rem 1.45rem;
  border: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.35) !important;
}
.cart-dock-btn:hover {
  transform: translateY(-2px);
  background: #C98D25 !important;
  color: #1C261B !important;
  box-shadow: 0 8px 25px rgba(229, 169, 60, 0.5) !important;
}
@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.035); }
  100% { transform: scale(1); }
}
.bottom-cart-dock.cart-bump .cart-dock-card {
  animation: cartBump 0.35s ease;
}
body.has-cart-dock main {
  padding-bottom: 95px !important;
}
body.has-cart-dock .whatsapp-float {
  bottom: 96px !important;
}

/* ══════════════ Enhanced Sticky Categories & Live Search ══════════════ */
#stickyCategoryNav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.category-tabs-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-tabs-wrapper::-webkit-scrollbar {
  display: none;
}
.category-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #475569;
  border: 1.5px solid #E2E8F0;
  border-radius: 50px;
  padding: 0.45rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.category-tab .tab-count {
  font-size: 0.74rem;
  background: #F1F5F9;
  padding: 2px 7px;
  border-radius: 20px;
  color: #64748B;
  font-weight: 600;
  transition: all 0.2s ease;
}
.category-tab:hover {
  background: #F8F6F1;
  color: #1C261B;
  border-color: #D8D2C6;
}
.category-tab.active {
  background: linear-gradient(135deg, #2D5A27, #387B3B);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(45, 90, 39, 0.35);
  transform: translateY(-1px);
}
.category-tab.active .tab-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
/* ---------- Auth Pages (Natural Luxury Theme) ---------- */
.auth-wrapper {
  min-height: 100vh;
  background-color: #FAF7F2;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(45, 90, 39, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(229, 169, 60, 0.06) 0%, transparent 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}
.auth-card {
  background: #FFFFFF;
  border: 1px solid #E6E1D8 !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 16px 45px rgba(28, 38, 27, 0.08) !important;
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 2;
  color: #1C261B;
}
.auth-card .auth-header {
  background: #F4EFE6;
  color: #1C261B;
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  border-bottom: 2px solid var(--primary);
  position: relative;
}
.auth-card .auth-header h3 { color: #1C261B !important; }
.auth-card .auth-header p { color: #6C7468 !important; }
.auth-card .auth-header .auth-icon {
  width: 74px; height: 74px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, #2D5A27 0%, #387B3B 100%);
  box-shadow: 0 8px 24px rgba(45, 90, 39, 0.35);
  color: #FFFFFF !important;
}
.auth-card .auth-body { padding: 1.75rem 2rem 2rem; background: #FFFFFF; }
.auth-card .form-control,
.auth-card .form-select {
  background: #FFFFFF !important;
  border: 1.5px solid #D8D2C6 !important;
  color: #1C261B !important;
  font-size: 1rem;
  padding: .72rem 1rem;
}
.auth-card .form-control:focus,
.auth-card .form-select:focus {
  background: #FFFFFF !important;
  border-color: var(--primary) !important;
  color: #1C261B !important;
  box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.15) !important;
}
.auth-card .btn { font-size: 1.05rem; padding: .75rem; }

/* QR-Pattern Ambient Backdrop for Heroes & Mall */
.qr-grid-pattern {
  background-image:
    radial-gradient(rgba(45, 90, 39, 0.10) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
/* ══════════════ Modern SaaS Store Cards & Polish ══════════════ */
.store-card-mall,
.product-card-mall {
  background: #FFFFFF !important;
  border: 1px solid #E6E1D8 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(28, 38, 27, 0.05) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
  overflow: hidden;
  color: #1C261B !important;
}

.store-card-mall:hover,
.product-card-mall:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(28, 38, 27, 0.09) !important;
  border-color: rgba(45, 90, 39, 0.4) !important;
}

/* Cover Image Wrapper & Subtle Image Zoom */
.store-cover-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: linear-gradient(135deg, #F4EFE6 0%, #EBE5DA 100%);
}

.store-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-card-mall:hover .store-cover-img {
  transform: scale(1.04);
}

/* Polished Branded Emerald Fallback Cover for Stores without Image */
.store-cover-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A3D24 0%, #2D5A27 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
}

.store-cover-fallback::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.7;
}

.store-fallback-badge {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.store-card-mall:hover .store-fallback-badge {
  transform: scale(1.12);
  background: #E5A93C;
  border-color: #E5A93C;
  color: #1C261B;
}

/* Natural Green Card CTA Buttons */
.store-card-cta {
  background: linear-gradient(135deg, #2D5A27 0%, #387B3B 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.2s ease !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(45, 90, 39, 0.35) !important;
}

.store-card-cta:hover,
.store-card-mall:hover .store-card-cta {
  background: linear-gradient(135deg, #20421B 0%, #2D5A27 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.45) !important;
}

.store-card-qr-btn {
  background: #F4EFE6 !important;
  color: #1C261B !important;
  border: 1px solid #E6E1D8 !important;
  transition: all 0.2s ease !important;
}

.store-card-qr-btn:hover {
  background: #2D5A27 !important;
  color: #FFFFFF !important;
  border-color: #2D5A27 !important;
}

.hover-emerald,
.hover-gold {
  transition: color 0.2s ease;
}

.hover-emerald:hover,
.hover-gold:hover {
  color: #E5B22E !important;
}

/* ---------- Home / Landing ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(18,49,70,.25);
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-section h1 { color: #fff; font-size: 2.8rem; font-weight: 900; }
.hero-section p  { font-size: 1.2rem; opacity: .85; }
.feature-card {
  border-radius: var(--radius-lg) !important;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.feature-card .feature-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* ---------- Order Success ---------- */
.success-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #34d399);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,200,150,.35);
  animation: popIn .5s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ---------- Sidebar (owner/admin) ---------- */
.sidebar {
  width: 245px;
  min-height: 100vh;
  background: #FFFFFF !important;
  border-left: 1px solid var(--border) !important;
  position: fixed;
  top: 0; right: 0;
  z-index: 1040;
  padding-top: 52px;
  padding-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 20px rgba(0,0,0,.04);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #D9DADC transparent;
}
.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #D9DADC;
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #B0B3B8;
}
.sidebar .sidebar-brand {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: #F4EFE6;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1C261B;
  text-decoration: none;
}
.sidebar-heading {
  font-size: 0.65rem;
  color: #6C7468;
  font-weight: 800;
  padding: 5px 14px 2px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 6px;
}
.sidebar .nav-link {
  color: #4B5563;
  font-size: 0.825rem;
  font-weight: 700;
  padding: .38rem .75rem;
  margin: 1px 6px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: .55rem;
  transition: all 0.18s ease;
  border-right: none;
  line-height: 1.35;
}
.sidebar .nav-link i { font-size: 0.95rem; width: 18px; text-align: center; }
.sidebar .nav-link:hover { color: #2D5A27; background: #EBF3EA; }
.sidebar .nav-link.active {
  color: #FFFFFF !important;
  background: #2D5A27 !important;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.28);
}
.sidebar .nav-link.active i {
  color: #FFFFFF !important;
}
.main-content {
  margin-right: 245px;
  padding: 1.25rem;
  min-height: 100vh;
  transition: margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Merchant Public Top Admin Bar ---------- */
.merchant-top-tab-bar {
  background: linear-gradient(90deg, #091724 0%, #0f2c42 50%, #091724 100%);
  border-bottom: 2px solid #09AEEC;
  box-shadow: 0 4px 15px rgba(0,0,0,0.35);
  font-size: 0.8rem;
}
.merchant-top-link {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.merchant-top-link:hover {
  color: #fff;
  background: rgba(9,174,236,0.3);
  border-color: rgba(9,174,236,0.5);
}
.merchant-top-link.pos-highlight {
  background: linear-gradient(135deg, rgba(255,90,0,0.25), rgba(255,170,0,0.18));
  border: 1px solid rgba(255,90,0,0.35);
  color: #FFB088;
  font-weight: 700;
}
.merchant-top-link.pos-highlight:hover {
  background: linear-gradient(135deg, rgba(255,90,0,0.4), rgba(255,170,0,0.3));
  color: #fff;
}

/* Global Mobile Fix: Prevent Horizontal Scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Sidebar Toggle & Close Buttons */
#sidebarToggle, #sidebarCloseBtn {
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease, transform 0.15s ease !important;
}
#sidebarToggle:hover, #sidebarCloseBtn:hover {
  background: rgba(9,174,236,.30) !important;
  color: #fff !important;
  transform: scale(1.05);
}
#sidebarToggle:active, #sidebarCloseBtn:active {
  transform: scale(0.95);
}

/* ---------- Responsive & Collapsible States ---------- */
@media (min-width: 992px) {
  body.sidebar-collapsed .sidebar,
  body.has-sidebar.sidebar-collapsed .sidebar {
    right: -245px !important;
    visibility: hidden !important;
  }
  body.sidebar-collapsed .main-content,
  body.has-sidebar.sidebar-collapsed .main-content {
    margin-right: 0 !important;
  }
  body.sidebar-collapsed .navbar,
  body.has-sidebar.sidebar-collapsed .navbar {
    margin-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .sidebar {
    right: -285px !important;
    width: 280px !important;
    max-width: 85vw !important;
    z-index: 1060 !important;
    visibility: hidden !important;
    transform: none !important;
    box-shadow: none;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease !important;
  }
  .sidebar.open {
    right: 0 !important;
    visibility: visible !important;
    box-shadow: -8px 0 32px rgba(0,0,0,.5) !important;
  }
  .main-content {
    margin-right: 0 !important;
    padding: 1rem .75rem !important;
  }
  body.has-sidebar .navbar {
    margin-right: 0 !important;
  }
  /* Navbar collapse dropdown on mobile */
  .navbar-collapse {
    background: rgba(18, 49, 70, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    margin-top: .8rem;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  .navbar .nav-link {
    padding: .65rem 1rem !important;
    border-radius: 8px;
    margin-bottom: .25rem;
  }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .hero-section h1 { font-size: 2rem; }
}

@media (max-width: 767px) {
  .restaurant-header {
    padding: 1.5rem 1rem 2rem !important;
    border-radius: 0 0 28px 28px !important;
  }
  .restaurant-logo-wrap {
    padding: 4px !important;
  }
  .restaurant-logo {
    width: 105px !important;
    height: 105px !important;
    border-width: 3px !important;
  }
  .restaurant-logo-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 1.05rem !important;
    bottom: 2px !important;
    left: 2px !important;
  }
  #menuSlider img {
    height: 180px !important;
  }
}

@media (max-width: 576px) {
  .stat-card .stat-value { font-size: 1.6rem; }
  .cart-float {
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    justify-content: center !important;
    padding: .85rem 1.4rem !important;
    font-size: 1rem !important;
  }
}

/* ---------- Misc Utilities ---------- */
.rounded-xl  { border-radius: var(--radius) !important; }
.rounded-2xl { border-radius: var(--radius-lg) !important; }
.shadow-colored { box-shadow: 0 8px 32px rgba(9,174,236,.2) !important; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.bg-gradient-success { background: linear-gradient(135deg, var(--success), var(--success-dark)); }
.bg-gradient-warning { background: linear-gradient(135deg, var(--warning), var(--warning-dark)); }
.bg-gradient-danger  { background: linear-gradient(135deg, var(--danger), var(--accent-dark)); }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning-dark) !important; }
.text-danger  { color: var(--danger) !important; }
.border-primary { border-color: var(--primary) !important; }

/* ---------- has-sidebar body adjustments ---------- */
body.has-sidebar { background: var(--body-bg); }
body.has-sidebar .navbar {
  margin-right: 245px;
  border-bottom: none;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 991px) {
  body.has-sidebar .navbar { margin-right: 0; }
}

/* ---------- Sidebar overlay on mobile ---------- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1039;
}
.sidebar-overlay.show { display: block; }

/* ---------- Input group fix for RTL ---------- */
[dir="rtl"] .input-group > .input-group-text:first-child {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border-right: 2px solid #e8e8f5;
  border-left: none;
}
[dir="rtl"] .input-group > .form-control:last-child {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-left: 2px solid #e8e8f5;
  border-right: none;
}

/* ---------- fw-600 utility ---------- */
.fw-600 { font-weight: 600 !important; }

/* ---------- Scrollbar hide for category nav ---------- */
.overflow-auto::-webkit-scrollbar { display: none; }

/* ---------- Menu Slider Responsive Sizing & Styling ---------- */
#menuSlider {
  position: relative;
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(18, 49, 70, 0.15);
  margin-bottom: 2rem;
}
#menuSlider .carousel-item {
  height: 420px;
}
#menuSlider .carousel-item img,
.menu-slider-img {
  height: 420px !important;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
#menuSlider .carousel-item.active img {
  transform: scale(1.01);
}
@media (max-width: 991px) {
  #menuSlider .carousel-item {
    height: 330px;
  }
  #menuSlider .carousel-item img,
  .menu-slider-img {
    height: 330px !important;
  }
}
@media (max-width: 576px) {
  #menuSlider .carousel-item {
    height: 250px;
  }
  #menuSlider .carousel-item img,
  .menu-slider-img {
    height: 250px !important;
  }
}
#menuSlider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  border: none;
  margin: 0 4px;
  transition: all .3s;
}
#menuSlider .carousel-indicators .active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}
#menuSlider .carousel-control-prev,
#menuSlider .carousel-control-next {
  width: 48px; height: 48px;
  top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35);
  border-radius: 50%;
  margin: 0 12px;
  opacity: 1;
}
#menuSlider .carousel-control-prev-icon,
#menuSlider .carousel-control-next-icon {
  width: 20px; height: 20px;
}

/* ---------- Store Receiving Orders & Closed Banner ---------- */
.store-closed-banner {
  background: linear-gradient(135deg, #fff5f3 0%, #ffece9 100%);
  border: 2px solid var(--accent) !important;
  border-right: 6px solid var(--accent) !important;
  border-radius: var(--radius) !important;
  color: var(--navy-abyss);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 6px 24px rgba(255, 69, 48, 0.16);
  animation: pulseClosed 2.5s infinite ease-in-out;
}
@keyframes pulseClosed {
  0%, 100% { box-shadow: 0 6px 20px rgba(255, 69, 48, 0.15); }
  50%      { box-shadow: 0 8px 30px rgba(255, 69, 48, 0.28); }
}

.store-status-card {
  border-radius: var(--radius-lg) !important;
  background: #ffffff;
  border: 2px solid var(--border) !important;
  padding: 1.3rem 1.6rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.store-status-card.status-open {
  border-color: rgba(0, 200, 150, 0.45) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf9 100%);
}
.store-status-card.status-closed {
  border-color: rgba(255, 69, 48, 0.45) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f6 100%);
}

.order-toggle-btn {
  border-radius: 50px;
  font-weight: 700;
  padding: .6rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  transition: var(--transition);
  border: none;
}
.order-toggle-btn.btn-stop-orders {
  background: linear-gradient(135deg, #FF4530, #d8321e);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(255, 69, 48, 0.35);
}
.order-toggle-btn.btn-stop-orders:hover {
  background: linear-gradient(135deg, #e0321f, #b92010);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 69, 48, 0.45);
}
.order-toggle-btn.btn-start-orders {
  background: linear-gradient(135deg, #00c896, #00a87e);
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(0, 200, 150, 0.35);
}
.order-toggle-btn.btn-start-orders:hover {
  background: linear-gradient(135deg, #00b084, #008f6b);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 200, 150, 0.45);
}

.store-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #ffece9;
  color: var(--accent);
  border: 1px solid rgba(255, 69, 48, 0.3);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
}
.store-open-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #e6faf5;
  color: var(--success-dark);
  border: 1px solid rgba(0, 200, 150, 0.3);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
}
.status-pulsing-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.status-pulsing-dot.dot-green {
  background: var(--success);
  box-shadow: 0 0 0 rgba(0, 200, 150, 0.4);
  animation: greenPulse 1.8s infinite;
}
.status-pulsing-dot.dot-red {
  background: var(--accent);
  box-shadow: 0 0 0 rgba(255, 69, 48, 0.4);
  animation: redPulse 1.8s infinite;
}
@keyframes greenPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 200, 150, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 150, 0); }
}
@keyframes redPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 69, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 69, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 69, 48, 0); }
}

/* ── WhatsApp Integration Elements ── */
.whatsapp-order-card {
  background: linear-gradient(135deg, #e8f9ee 0%, #f0faf4 100%);
  border: 2px solid #25D366;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
  animation: fadeInDown 0.4s ease-out;
}
.whatsapp-pulse-badge {
  width: 64px;
  height: 64px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
  animation: waPulse 1.8s infinite;
}
@keyframes waPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-send-btn {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border: none !important;
  color: #fff !important;
  font-size: 1.15rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}
.whatsapp-send-btn:hover {
  background: linear-gradient(135deg, #1ebe5d, #0d7265) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35) !important;
}
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 998;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
}

/* ── Global Carousel Caption Override (Fix dark/black text) ── */
.carousel-caption {
  z-index: 10;
}
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption h4,
.carousel-caption h5,
.carousel-caption h6,
.carousel-caption p,
.carousel-caption span {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* ── Menu Carousel / Slider Modern Styling ── */
#menuSlider .carousel-inner {
  border-radius: var(--radius-lg, 24px);
}
#menuSlider .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,49,70,0.02) 0%, rgba(18,49,70,0.1) 50%, rgba(18,49,70,0.65) 100%);
  pointer-events: none;
}
#menuSlider .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1.6rem;
  z-index: 10;
  display: flex !important;
  justify-content: center;
  align-items: center;
}
.slider-caption-pill {
  background: rgba(18, 49, 70, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  max-width: 92%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.slider-caption-pill:hover {
  transform: translateY(-2px);
}
#menuSlider .carousel-caption h5,
#menuSlider .slider-caption-title,
.slider-caption-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
  letter-spacing: -0.2px;
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 576px) {
  #menuSlider .carousel-caption h5,
  #menuSlider .slider-caption-title,
  .slider-caption-title {
    font-size: 0.95rem !important;
  }
  .slider-caption-pill {
    padding: 0.45rem 1.1rem;
    max-width: 95%;
  }
}
#menuSlider .carousel-indicators {
  margin-bottom: 0.5rem;
  z-index: 11;
}
#menuSlider .carousel-indicators [data-bs-target] {
  width: 22px;
  height: 5px;
  border-radius: 4px;
  background-color: #ffffff;
  opacity: 0.5;
  border: 0;
  margin: 0 3px;
  transition: all 0.3s ease;
}
#menuSlider .carousel-indicators .active {
  width: 36px;
  background-color: var(--primary) !important;
  opacity: 1;
}
#menuSlider .carousel-control-prev,
#menuSlider .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(18, 49, 70, 0.72);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 10px;
  opacity: 0.85;
  transition: all 0.25s ease;
  z-index: 12;
}
#menuSlider .carousel-control-prev:hover,
#menuSlider .carousel-control-next:hover {
  background: var(--primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* ============================================================
   Instant Demo Button & Showcase Styling
   ============================================================ */
.btn-demo-instant {
  background: linear-gradient(135deg, #09AEEC 0%, #00c896 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(9, 174, 236, 0.35);
  animation: demoPulseGlow 2.5s infinite alternate;
}

@keyframes demoPulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(9, 174, 236, 0.4), 0 0 30px rgba(0, 200, 150, 0.2);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 25px rgba(9, 174, 236, 0.7), 0 0 50px rgba(0, 200, 150, 0.4);
    transform: scale(1.015);
  }
}

.btn-demo-instant:hover {
  background: linear-gradient(135deg, #078ebd 0%, #00a87e 100%) !important;
  transform: translateY(-2px) scale(1.02) !important;
  color: #ffffff !important;
}

#showcaseTabs .nav-link {
  color: #123146;
  background: #e2e8f0;
  transition: all 0.25s ease;
}

#showcaseTabs .nav-link.active {
  background: #09AEEC !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(9, 174, 236, 0.35);
}

.demo-experience-bar {
  animation: slideDownBanner 0.4s ease-out;
}

@keyframes slideDownBanner {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ══════════════ 1. Modern Responsive Products Grid (Full Container Width) ══════════════ */
.products-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  width: 100%;
}
@media (min-width: 576px) {
  .products-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .products-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.5rem;
  }
}
.products-grid-full > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

/* ══════════════ Product Showcase Cards Polish (Full Visual Impact) ══════════════ */
.product-card-showcase {
  background: #FFFFFF !important;
  border: 1px solid #E6E1D8 !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(28, 38, 27, 0.05) !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
  overflow: hidden;
  color: #1C261B !important;
}

.product-card-showcase:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 32px rgba(45, 90, 39, 0.15) !important;
  border-color: rgba(45, 90, 39, 0.5) !important;
}

.product-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #F8F6F1;
}

.product-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mall-product-img-wrap {
  height: 190px;
}

@media (max-width: 576px) {
  .mall-product-img-wrap {
    height: 145px !important;
  }
  .whatsapp-float {
    width: 46px !important;
    height: 46px !important;
    bottom: 16px !important;
    left: 16px !important;
    font-size: 1.35rem !important;
  }
  .navbar-brand {
    font-size: 0.96rem !important;
  }
  .category-tabs-wrapper {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 6px !important;
  }
  .category-tab {
    font-size: 0.82rem !important;
    padding: 0.35rem 0.75rem !important;
    white-space: normal !important;
  }
  .products-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }
  .product-image-wrap {
    height: 145px !important;
  }
  .product-card-showcase,
  .products-grid-full .card {
    min-width: 0 !important;
    width: 100% !important;
  }
  .product-card-showcase .card-body,
  .products-grid-full .card-body {
    padding: 0.65rem !important;
    min-width: 0 !important;
  }
  .product-card-showcase .product-title-clamp,
  .products-grid-full h6 {
    font-size: 0.86rem !important;
    line-height: 1.38 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
  .product-card-showcase .product-desc-clamp,
  .products-grid-full .product-desc-clamp {
    display: none !important;
  }
  .product-card-showcase .fs-5,
  .products-grid-full .fs-5 {
    font-size: 0.92rem !important;
  }
  .product-card-showcase .add-to-cart-btn,
  .products-grid-full .add-to-cart-btn {
    padding: 0.42rem 0.4rem !important;
    font-size: 0.8rem !important;
    white-space: normal !important;
  }
}

/* ══════════════ 2. Luxury Toast Notifications (Micro-interactions) ══════════════ */
.app-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100vw - 32px);
}
.app-toast {
  pointer-events: auto;
  background: rgba(18, 49, 70, 0.95);
  color: #ffffff;
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(9, 174, 236, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.app-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.app-toast-success .app-toast-icon {
  background: rgba(0, 200, 150, 0.2);
  color: #00c896;
}
.app-toast-info .app-toast-icon {
  background: rgba(9, 174, 236, 0.2);
  color: #38bdf8;
}

/* ══════════════ 3. Storefront Header Buttons Polish ══════════════ */
#headerCartBtn {
  background: var(--primary) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#headerCartBtn:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(45, 90, 39, 0.45) !important;
}
#headerLoyaltyBtn {
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}
#headerLoyaltyBtn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ══════════════ 4. Chic 'SSM' Ambient Brand Watermark (All Pages) ══════════════ */
.ssm-brand-backdrop {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(8rem, 25vw, 22rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Cairo", sans-serif;
  color: rgba(15, 23, 42, 0.022);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

body.has-sidebar .ssm-brand-backdrop {
  color: rgba(255, 90, 0, 0.022);
}

.ssm-footer-watermark {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  display: inline-block;
}

/* ══════════════════════════════════════════════════════════════
   NATURAL LIGHT THEME & MOBILE SCREEN RESPONSIVE SHIELD
   ══════════════════════════════════════════════════════════════ */

/* Force clean surfaces on all dashboard & admin card tables */
.card .table,
.card-body .table,
.table-responsive .table {
  background-color: #FFFFFF !important;
  color: #1C261B !important;
  margin-bottom: 0 !important;
}
.card .table thead th,
.table thead th {
  background-color: #F4EFE6 !important;
  color: #1C261B !important;
  font-weight: 800 !important;
  border-bottom: 1.5px solid #E6E1D8 !important;
}
.card .table tbody td,
.table tbody td {
  background-color: #FFFFFF !important;
  color: #1C261B !important;
  border-color: #E6E1D8 !important;
}
.card .table tbody tr:hover td,
.table-hover tbody tr:hover td {
  background-color: #F7F4ED !important;
}

/* Fix text and badges in tables */
.table td strong,
.table td span,
.table td div,
.table td a:not(.badge):not(.btn) {
  color: inherit;
}
.table td small,
.table td .text-muted,
.table td .text-white-50 {
  color: #6C7468 !important;
}

/* Input group styling polish */
.input-group-text {
  background-color: #F4EFE6 !important;
  border-color: #D8D2C6 !important;
  color: #1C261B !important;
}
.input-group .form-control,
.input-group .form-select {
  border-color: #D8D2C6 !important;
}

/* Comprehensive Mobile (Screens <= 768px) and Mini Mobile (<= 480px) */
@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Container mobile padding adjustments */
  .container, .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  /* Touch target heights: min 46px prevents iOS auto-zoom */
  .form-control, .form-select, .input-group-text {
    min-height: 46px !important;
    font-size: 16px !important;
  }
  
  /* Stat cards fluid sizing on mobile */
  .stat-card {
    padding: 0.75rem 0.5rem !important;
    border-radius: 14px !important;
  }
  .stat-card .stat-value {
    font-size: 1.45rem !important;
  }
  .stat-card .stat-label {
    font-size: 0.78rem !important;
  }

  /* Table responsive smooth touch scrolling */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    border: 1px solid #E6E1D8 !important;
    border-radius: 12px;
    margin-bottom: 0.5rem;
  }

  /* Mall search and filter forms */
  .customer-hero {
    padding: 1.5rem 0.75rem !important;
  }
  .customer-hero h1 {
    font-size: 1.5rem !important;
    line-height: 1.35 !important;
  }

  /* Floating cart bar on mobile */
  .bottom-cart-dock {
    bottom: 12px !important;
    left: 10px !important;
    right: 10px !important;
  }
  .cart-dock-card {
    padding: 0.55rem 0.95rem !important;
  }
  .cart-dock-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.88rem !important;
  }
}

/* Extra small devices (<= 480px) */
@media (max-width: 480px) {
  .btn-lg {
    font-size: 0.98rem !important;
    padding: 0.65rem 1.25rem !important;
  }
  .auth-card {
    border-radius: 16px !important;
    margin: 0.5rem !important;
  }
  .auth-card .auth-header {
    padding: 1.25rem 1rem !important;
  }
  .auth-card .auth-body {
    padding: 1.25rem 1rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   HERO BANNER ANIMATIONS & DYNAMIC MOTION (بيّاع أونلاين - BAYYA3.online)
   ══════════════════════════════════════════════════════════════════════ */
.hero-banner-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  animation: heroBannerFloat 6s ease-in-out infinite;
  box-shadow: 0 12px 35px rgba(45, 90, 39, 0.25) !important;
}

.hero-banner-wrapper:hover {
  box-shadow: 0 18px 45px rgba(45, 90, 39, 0.35) !important;
}

/* Subtle continuous floating motion */
@keyframes heroBannerFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Inner hero image breathing / ken burns motion & ultra HD clarity */
.hero-banner-img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: contrast(1.05) brightness(1.02) saturate(1.06);
  animation: heroImgMotion 10s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes heroImgMotion {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.035) translate(-0.5%, -0.5%);
  }
  100% {
    transform: scale(1.015) translate(0.5%, 0.5%);
  }
}

/* Diagonal glossy light sweep / shimmer flare - Lightweight GPU Optimized */
.hero-shimmer-flare {
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  transform: translateZ(0);
}

/* Animated interactive CTA button overlay */
.hero-animated-cta {
  position: absolute;
  bottom: 12%;
  left: 6%;
  z-index: 4;
  animation: heroCtaPulse 2.5s infinite ease-in-out;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.5) !important;
}

@keyframes heroCtaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 10px 30px rgba(229, 169, 60, 0.85);
  }
}

/* Animated floating badge */
.hero-live-badge {
  position: absolute;
  top: 6%;
  right: 5%;
  z-index: 4;
  background: rgba(28, 38, 27, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: heroBadgeFloat 4s ease-in-out infinite;
}

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

