/**
 * ==========================================================================
 * BEIT ABO HAWA - LUXURY BLACK, WHITE & GOLD STYLESHEET (v6.0)
 * بيت أبو حوا - الصرح الأول لتجارة السكوترات والبيتش باجي والبطاريات والصيانة
 * High-End Automotive Luxury Aesthetics: Black Obsidian, Radiant Gold & Crisp White
 * ==========================================================================
 */

:root {
  --font-main: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-numbers: 'Outfit', -apple-system, sans-serif;
  
  /* Luxury Gold Palette */
  --gold-primary: #d4af37;
  --gold-light: #f5e6a3;
  --gold-lighter: #fdf8e6;
  --gold-dark: #a17f1a;
  --gold-darker: #73590e;
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #fae892 50%, #c59b27 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fae892 0%, #d4af37 50%, #e6ca65 100%);
  --gold-gradient-dark: linear-gradient(135deg, #1b160b 0%, #2a2210 100%);

  /* Deep Luxury Blacks & Dark Surfaces */
  --bg-obsidian: #08090d;
  --bg-surface: #10131a;
  --bg-card: #151923;
  --bg-card-hover: #1c2230;
  --bg-elevated: #202737;

  /* Crisp Whites & Sleek Grays */
  --text-white: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  /* Borders & Accents */
  --border-gold-subtle: rgba(212, 175, 55, 0.25);
  --border-gold-strong: rgba(212, 175, 55, 0.65);
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Bootstrap Variable Overrides to Black & Gold */
  --bs-primary: #d4af37;
  --bs-primary-rgb: 212, 175, 55;
  --bs-success: #d4af37;
  --bs-success-rgb: 212, 175, 55;
  --bs-body-bg: #08090d;
  --bs-body-color: #f8fafc;

  /* Safe Area Insets for iOS & Android Notches / Dynamic Island */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --bottom-bar-height: 62px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-bar-height) + var(--sab) + 15px);
}

/* Constrain Desktop Max Width */
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  max-width: 1280px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbars in Black & Gold */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-obsidian); }
::-webkit-scrollbar-thumb { background: #262936; border-radius: 4px; border: 1px solid var(--border-gold-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ==========================================================================
   1. TOP NAVIGATION & LOCATION BAR (LUXURY BLACK & GOLD)
   ========================================================================== */
.main-navbar {
  background: rgba(13, 16, 22, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding-top: calc(8px + var(--sat));
  padding-bottom: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.65);
}

.brand-badge-pill {
  background: var(--gold-gradient);
  color: #000000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.search-input-box {
  background: #141721;
  border: 1.5px solid var(--border-gold-subtle);
  border-radius: 50px;
  padding: 7px 18px;
  transition: all 0.25s ease;
}
.search-input-box:focus-within {
  background: #191e2b;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}
.search-input-box input {
  color: #ffffff !important;
}
.search-input-box input::placeholder {
  color: #8b92a5 !important;
}

.delivery-strip {
  background: #0c0e14;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.82rem;
  padding: 8px 0;
  color: var(--text-secondary);
}

/* Top Buttons */
.btn-gold, .btn-success {
  background: var(--gold-gradient) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
  transition: all 0.25s ease !important;
}
.btn-gold:hover, .btn-success:hover {
  background: var(--gold-gradient-hover) !important;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45) !important;
  transform: translateY(-2px);
  color: #000000 !important;
}

.btn-outline-gold, .btn-outline-success {
  background: transparent !important;
  color: var(--gold-light) !important;
  border: 1.5px solid var(--gold-primary) !important;
  font-weight: 700 !important;
  transition: all 0.25s ease !important;
}
.btn-outline-gold:hover, .btn-outline-success:hover {
  background: var(--gold-gradient) !important;
  color: #000000 !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
}

/* ==========================================================================
   2. HERO SHOWROOM BANNER (STUNNING SHOWCASE OVERLAY)
   ========================================================================== */
.hero-supermarket-banner {
  background: linear-gradient(135deg, rgba(8, 9, 13, 0.92) 0%, rgba(20, 23, 33, 0.88) 100%), url('assets/hero_banner.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  color: #ffffff;
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
}

.hero-supermarket-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge-tag {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 30px;
  border: 1px solid var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 700;
  background: rgba(21, 25, 36, 0.85);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-gold-subtle);
}

.hero-coupon-box {
  background: #11141c;
  color: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   3. VISUAL CATEGORIES SECTION (BLACK & GOLD THEMED CARDS)
   ========================================================================== */
.categories-section-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.categories-section-title span {
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  border-radius: 18px;
  border: 1.5px solid var(--border-gold-subtle);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  position: relative;
  background: #12151f;
  overflow: hidden;
}

.cat-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cat-tile:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), var(--gold-glow);
}
.cat-tile:hover::before {
  opacity: 1;
}

.cat-tile.active {
  border-color: var(--gold-primary) !important;
  background: linear-gradient(145deg, #1b202d 0%, #131722 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), var(--gold-glow) !important;
  transform: translateY(-3px);
}
.cat-tile.active::before {
  opacity: 1;
}

.cat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 10px;
  transition: transform 0.25s ease;
  background: #1a1f2c;
  border: 1px solid var(--border-gold-subtle);
}

.cat-tile:hover .cat-icon-circle {
  transform: scale(1.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.cat-tile-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cat-tile-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Category Individual Accents */
.cat-tile-all .cat-icon-circle { background: #1a1f2c; }
.cat-tile-scooter .cat-icon-circle { background: #181d28; color: #ffd700; }
.cat-tile-atv .cat-icon-circle { background: #181d28; color: #f59e0b; }
.cat-tile-battery .cat-icon-circle { background: #181d28; color: #10b981; }
.cat-tile-maint .cat-icon-circle { background: #181d28; color: #38bdf8; }

/* Sticky Department Pills Bar */
.sticky-dept-bar {
  background: rgba(11, 13, 19, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold-subtle);
  position: sticky;
  top: 61px;
  z-index: 1010;
  padding: 10px 0;
}

.cat-pill {
  transition: all 0.25s ease;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: #141722;
  color: var(--text-secondary);
  padding: 7px 18px;
}
.cat-pill:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
  background: #1c2130;
}
.cat-pill.active {
  background: var(--gold-gradient) !important;
  border-color: var(--gold-primary) !important;
  color: #000000 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}
.cat-pill.active .badge {
  background-color: #000000 !important;
  color: var(--gold-light) !important;
}

/* ==========================================================================
   4. PRODUCT CARDS (LUXURY SHOWROOM CARDS IN BLACK & GOLD)
   ========================================================================== */
.product-card {
  background: #12151f;
  border: 1.5px solid var(--border-gold-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.7), var(--gold-glow);
  border-color: var(--gold-primary);
}

/* Product Image Box */
.product-img-box {
  width: 100%;
  height: 180px;
  background: #0a0b10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-bottom: 1px solid var(--border-gold-subtle);
  overflow: hidden;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 10px;
}

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

.product-badge-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.product-discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
  z-index: 2;
}

.product-unit-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  background: #1b202d;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.product-price-current {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-primary);
  font-family: var(--font-numbers), var(--font-main);
}

.product-price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
  font-family: var(--font-numbers), var(--font-main);
}

.stock-indicator-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.stock-instock {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   5. OFFCANVAS CART & CHECKOUT MODAL (LUXURY FINISH)
   ========================================================================== */
.modern-cart-drawer {
  background: #0f121a !important;
  color: #ffffff !important;
  border-left: 1.5px solid var(--border-gold-strong) !important;
  width: 440px !important;
  max-width: 90vw !important;
}

.modern-cart-drawer .offcanvas-header {
  background: #0a0b10 !important;
  border-bottom: 1px solid var(--border-gold-subtle) !important;
}
.modern-cart-drawer .btn-close {
  filter: invert(1) brightness(2);
}

.cart-free-shipping-bar {
  background: #141722 !important;
  border-bottom: 1px solid var(--border-gold-subtle) !important;
}

.cart-summary-card {
  background: #161924 !important;
  border: 1px solid var(--border-gold-subtle) !important;
  color: #ffffff !important;
}

.cart-drawer-footer {
  background: #0d1017 !important;
  border-top: 1px solid var(--border-gold-subtle) !important;
}

/* Cart Item Row */
.cart-item-card {
  background: #151822;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: 8px;
  object-fit: cover;
  background: #08090d;
  border: 1px solid var(--border-gold-subtle);
}

/* Modals */
.modal-content {
  background: #10131b !important;
  color: #ffffff !important;
  border: 1.5px solid var(--gold-primary) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), var(--gold-glow) !important;
}
.modal-header {
  background: #0a0b10 !important;
  border-bottom: 1px solid var(--border-gold-subtle) !important;
}
.modal-footer {
  background: #0a0b10 !important;
  border-top: 1px solid var(--border-gold-subtle) !important;
}
.modal-header .btn-close {
  filter: invert(1) brightness(2);
}

.form-control, .form-select {
  background-color: #171b26 !important;
  border: 1px solid var(--border-gold-subtle) !important;
  color: #ffffff !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3) !important;
  background-color: #1c2130 !important;
}

.input-group-text {
  background-color: #0d1017 !important;
  border: 1px solid var(--border-gold-subtle) !important;
  color: var(--gold-light) !important;
}

/* ==========================================================================
   6. FLOATING WHATSAPP BUTTON (GOLD & GREEN GLOW)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + var(--sab) + 16px);
  left: calc(16px + var(--sal));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #ffffff;
  text-decoration: none;
  z-index: 1020;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 0 15px rgba(212, 175, 55, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), var(--gold-glow);
  color: #ffffff;
}

/* ==========================================================================
   6. NATIVE MOBILE APP SHELL & INTEGRATED APP UI (ANDROID & iOS)
   ========================================================================== */

/* Anti-Web Feel: Prevent text selection, callouts, and web highlights */
body, button, a, .cat-tile, .product-card, .story-item {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
input, textarea {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Tactile Native Touch Micro-Haptics on Mobile */
button:active, 
.btn-gold:active, 
.btn-outline-gold:active, 
.cat-tile:active, 
.mobile-nav-btn:active, 
.story-item:active, 
.product-card:active {
  transform: scale(0.95) !important;
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.4, 1) !important;
}

/* Mobile Quick Highlights & Stories Carousel (Instagram/Noon/Talabat Style) */
.mobile-stories-container {
  background: rgba(14, 17, 25, 0.95);
  border-bottom: 1px solid var(--border-gold-subtle);
  overflow: hidden;
}
.mobile-stories-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 6px 0;
}
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
  width: 66px;
  text-align: center;
  scroll-snap-align: start;
}
.story-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 2.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-ring-glow {
  background: linear-gradient(135deg, #10b981 0%, #d4af37 50%, #38bdf8 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.45);
}
.story-ring-red {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.45);
}
.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0b0e15;
  border: 1.5px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.story-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: -0.2px;
}

/* Floating Sticky Mobile Quick-Cart Bar (Appears when cart > 0) */
.mobile-floating-cart-bar {
  position: fixed;
  bottom: calc(var(--bottom-bar-height) + var(--sab) + 10px);
  left: 12px;
  right: 12px;
  z-index: 1025;
  animation: slideUpFloatingCart 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes slideUpFloatingCart {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.floating-cart-inner {
  background: linear-gradient(135deg, #151923 0%, #1f2737 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.floating-cart-icon-box {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.floating-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}
.btn-floating-checkout {
  background: var(--gold-gradient);
  color: #000000;
  border: none;
  font-weight: 800;
  font-size: 0.84rem;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}
.btn-floating-checkout .arrow-icon {
  font-size: 1.05rem;
  font-weight: bold;
}



/* ==========================================================================
   7. ADVANCED RESPONSIVE & MOBILE APP STYLING (APK & iOS OPTIMIZED)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-supermarket-banner {
    padding: 16px;
    border-radius: 18px;
  }
  .hero-banner-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }
  .hero-banner-desc {
    font-size: 0.82rem;
  }
}

@media (max-width: 576px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input[type="text"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Compact Native Navbar */
  .main-navbar {
    padding-top: calc(6px + var(--sat));
    padding-bottom: 6px;
  }
  .navbar-brand img {
    width: 38px !important;
    height: 38px !important;
  }
  .navbar-brand span.fs-5 {
    font-size: 1.05rem !important;
  }
  .navbar-brand small {
    font-size: 0.62rem !important;
  }
  
  /* Category Tiles on Mobile */
  .cat-tile {
    padding: 10px 6px;
    border-radius: 14px;
  }
  .cat-icon-circle {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .cat-tile-name {
    font-size: 0.78rem;
    margin-top: 6px;
  }
  .cat-tile-badge {
    font-size: 0.65rem;
  }

  /* Product Cards: Perfect 2-column mobile aspect */
  .product-card {
    border-radius: 14px;
  }
  .product-img-box {
    height: 135px !important;
    padding: 6px;
  }
  .product-card-body {
    padding: 10px;
  }
  .product-title {
    font-size: 0.82rem;
    line-height: 1.35;
    height: 2.2rem;
    margin-bottom: 4px;
  }
  .product-price-current {
    font-size: 1.05rem;
  }
  .product-price-old {
    font-size: 0.72rem;
  }
  .btn-add-cart-main {
    padding: 6px 8px;
    font-size: 0.78rem;
    border-radius: 20px;
  }

  /* Full-Screen Native Feel for Offcanvas Drawer */
  .modern-cart-drawer {
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
  .modern-cart-drawer .offcanvas-header {
    padding-top: calc(14px + var(--sat));
  }
  .modern-cart-drawer .cart-drawer-footer {
    padding-bottom: calc(14px + var(--sab));
  }

  /* Hide PWA Install Button on mobile & app to remove website feel */
  #btnOpenInstallModal {
    display: none !important;
  }

  /* True Native Mobile Bottom-Sheet Drawer for All Modals */
  .modal {
    padding: 0 !important;
  }
  .modal-dialog {
    margin: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: translateY(100%) !important;
    transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) !important;
    z-index: 1060 !important;
  }
  .modal.show .modal-dialog {
    transform: translateY(0) !important;
  }
  .modal-content {
    background: #0d1017 !important;
    border: 1.5px solid var(--border-gold-subtle) !important;
    border-radius: 26px 26px 0 0 !important;
    border-bottom: none !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    padding-bottom: max(20px, var(--sab)) !important;
    box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.9) !important;
  }
  .modal-header {
    position: relative !important;
    padding-top: 22px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  /* Native Top Pull Handle */
  .modal-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: 4.5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
  }
}

/* Extra small mobile screens (iPhone SE, Galaxy Fold: < 380px) */
@media (max-width: 380px) {
  .product-img-box {
    height: 115px !important;
  }
  .product-title {
    font-size: 0.75rem;
    height: 2rem;
  }
  .product-price-current {
    font-size: 0.95rem;
  }
  .cat-tile-name {
    font-size: 0.72rem;
  }
}
