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

:root {
  --primary: #121212;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --bg: #121212;
  --bg-dark: #0a0a0a;
  --text: #e5e5e5;
  --text-light: #a0a0a0;
  --white: #ffffff;
  --card-bg: #1e1e1e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.5);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Playfair Display', serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* ===== HEADER ===== */
.header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--transition); }
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.25); }
.header.scrolled .header-top { margin-top: -35px; opacity: 0; pointer-events: none; }

.header-top {
  background: var(--primary);
  color: var(--gold);
  font-size: 0.82rem;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.header-top i { margin-left: 6px; }

.navbar {
  position: relative;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--gold);
}

.logo-link { display: flex; align-items: center; gap: 8px; }
.logo-mg {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
}
.logo-text {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-right: 2px solid var(--gold);
  padding-right: 10px;
}
.nav-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(212,175,55,0.3));
  transition: var(--transition);
}
.nav-logo-img:hover { filter: drop-shadow(0 4px 12px rgba(212,175,55,0.6)); transform: scale(1.05); }
.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(212,175,55,0.4));
}

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 16px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 32px); }
.nav-link:hover, .nav-link.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-whatsapp-nav {
  display: flex; align-items: center; gap: 6px;
  background: #25D366; color: white;
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 700;
  font-family: var(--font-ar);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp-nav:hover { background: #128C7E; transform: translateY(-2px); }

.menu-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh; min-height: 650px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-top: 105px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.4) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  max-width: 700px; padding: 0 24px;
}
.hero-sub {
  font-size: 1rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 500;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.25; margin-bottom: 20px; font-weight: 700;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-desc {
  font-size: 1.05rem; line-height: 1.8;
  color: rgba(255,255,255,0.85); margin-bottom: 36px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--gold);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-ar);
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 25px rgba(212,175,55,0.4);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,175,55,0.5); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: white; padding: 13px 28px;
  border-radius: 50px; font-weight: 600;
  font-family: var(--font-ar);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--gold); color: var(--gold); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0; padding: 0;
}
.stat-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 40px;
  color: var(--white);
  border-left: 1px solid rgba(255,255,255,0.1);
  flex: 1; min-width: 180px; justify-content: center;
  transition: var(--transition);
}
.stat-item:last-child { border-left: none; }
.stat-item:hover { background: rgba(212,175,55,0.1); }
.stat-item i { font-size: 1.6rem; color: var(--gold); }
.stat-item strong { display: block; font-size: 1.25rem; color: var(--gold); font-weight: 700; }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

/* ===== SECTION ===== */
.section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  font-size: 0.82rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white); margin-bottom: 14px; font-weight: 700;
}
.section-desc { color: var(--text-light); font-size: 1rem; max-width: 520px; margin: 0 auto 20px; line-height: 1.8; }
.title-line {
  width: 60px; height: 3px;
  background: linear-gradient(to left, var(--gold), var(--gold-light));
  margin: 0 auto; border-radius: 2px;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }

.product-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.btn-order {
  background: var(--gold); color: var(--primary);
  border: none; cursor: pointer;
  padding: 12px 24px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-ar);
  display: flex; align-items: center; gap: 8px;
  transform: translateY(20px); transition: var(--transition);
  box-shadow: 0 6px 20px rgba(212,175,55,0.5);
}
.product-card:hover .btn-order { transform: translateY(0); }
.btn-order:hover { background: var(--gold-light); transform: scale(1.05) !important; }

.product-badge {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 12px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700; color: white;
}
.product-badge.new { background: var(--primary); }
.product-badge.trending { background: #e74c3c; }
.product-badge.sale { background: #e67e22; }

.btn-heart {
  position: absolute; top: 14px; left: 14px;
  background: white; border: none; cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #ccc;
  transition: var(--transition); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.btn-heart:hover { color: #e74c3c; transform: scale(1.15); }
.btn-heart.liked { color: #e74c3c; }
.btn-heart.liked i { font-weight: 900; }

.product-info { padding: 18px 18px 20px; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.product-category { font-size: 0.82rem; color: var(--gold); font-weight: 500; margin-bottom: 12px; }
.product-price { display: flex; align-items: center; gap: 10px; }
.price { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.price-old { font-size: 0.9rem; color: #777; text-decoration: line-through; }

.section-cta { text-align: center; margin-top: 50px; }

/* ===== BANNER ===== */
.banner {
  background: linear-gradient(135deg, var(--primary) 0%, #2d2d2d 100%);
  padding: 80px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.banner::before {
  content: 'MG'; font-family: var(--font-en); font-size: 20rem;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  color: rgba(255,255,255,0.03); font-weight: 700; pointer-events: none;
}
.banner-content { position: relative; z-index: 1; }
.banner-tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 14px; }
.banner h2 { font-family: var(--font-en); font-size: clamp(1.8rem, 5vw, 3rem); color: white; margin-bottom: 14px; }
.banner p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 30px; }
.banner strong { color: var(--gold); }
.btn-whatsapp-banner {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 14px 36px; border-radius: 50px;
  font-weight: 700; font-family: var(--font-ar);
  font-size: 1rem; transition: var(--transition);
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}
.btn-whatsapp-banner:hover { background: #128C7E; transform: translateY(-3px); }

/* ===== BRANCHES ===== */
.branches { background: var(--bg-dark); }
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.branch-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.branch-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(to left, var(--gold), var(--gold-light));
  transform: scaleX(0); transition: var(--transition);
}
.branch-card:hover::after { transform: scaleX(1); }
.branch-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.branch-icon {
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem; color: var(--gold);
}
.branch-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.branch-address, .branch-hours {
  color: var(--text-light); font-size: 0.9rem;
  display: flex; align-items: flex-start; gap: 8px;
  justify-content: center; margin-bottom: 10px; line-height: 1.6;
}
.branch-address i, .branch-hours i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.branch-phone {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; background: #25D366; color: white;
  padding: 10px 22px; border-radius: 50px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition);
}
.branch-phone:hover { background: #128C7E; transform: scale(1.05); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.footer-brand .logo-mg { color: white; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,0.7);
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.1);
}
.social-links a:hover { background: var(--gold); color: var(--primary); border-color: var(--gold); transform: translateY(-3px); }
.footer-links-col h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links-col ul li a:hover { color: var(--gold); padding-right: 6px; }
.footer-contact h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.footer-contact-item > i { font-size: 1.2rem; color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 600; transition: var(--transition); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: white;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.15); background: #128C7E; }
.whatsapp-tooltip {
  position: absolute; left: 68px;
  background: var(--primary); color: white;
  padding: 6px 12px; border-radius: 6px;
  font-size: 0.85rem; font-weight: 600; font-family: var(--font-ar);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card-bg); border-radius: 16px;
  max-width: 520px; width: 90%; padding: 40px;
  position: relative; transform: scale(0.9);
  transition: var(--transition);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 50px rgba(0,0,0,0.8);
}
.modal h3, .modal h2 { color: var(--white) !important; }
.modal label { color: var(--text-light) !important; }
.modal input, .modal textarea {
  background: var(--bg) !important;
  color: var(--text) !important;
  border: 2px solid var(--border) !important;
}
.modal input:focus, .modal textarea:focus {
  border-color: var(--gold) !important;
  background: var(--bg) !important;
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-close {
  position: absolute; top: 16px; left: 16px;
  background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: var(--text-light); transition: var(--transition);
}
.modal-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ===== AOS ANIMATIONS ===== */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); } 50% { box-shadow: 0 6px 40px rgba(37,211,102,0.8); } }
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--gold);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transform: translateY(-15px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: flex;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }
  .nav-link::after {
    display: none;
  }
  
  .menu-toggle { display: flex; }
  
  /* Hamburger micro-animations */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Persistent WhatsApp buy overlay on Mobile/Tablet */
  .product-overlay {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0) 100%) !important;
    align-items: flex-end !important;
    padding-bottom: 14px;
  }
  .btn-order {
    transform: translateY(0) !important;
    font-size: 0.88rem;
    padding: 10px 20px;
    width: 85%;
    margin: 0 auto;
    justify-content: center;
  }
  .btn-heart, .product-badge {
    top: 10px;
  }
  .btn-heart {
    left: 10px;
  }
  .product-badge {
    right: 10px;
  }
}

@media (max-width: 768px) {
  /* Horizontal swipeable tabs for mobile devices */
  .category-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding: 4px 16px 16px !important;
    margin-right: -24px !important;
    margin-left: -24px !important;
    gap: 10px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .category-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .tab-btn {
    flex-shrink: 0 !important;
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
  }
  
  .page-hero {
    height: 180px !important;
    margin-top: 95px !important;
  }
  .page-hero::before {
    font-size: 6rem !important;
  }
  .page-hero h1 {
    font-size: 1.8rem !important;
  }
  
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .contact-form-wrap {
    padding: 24px 16px !important;
  }
}

@media (max-width: 640px) {
  .header-top {
    font-size: 0.72rem;
    padding: 6px 16px;
  }
  .navbar {
    padding: 0 16px;
    height: 60px;
  }
  .nav-logo-img {
    height: 42px;
  }
  .btn-whatsapp-nav {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  
  .hero {
    margin-top: 85px;
    height: 80vh;
    min-height: 500px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  /* Stats Bar 2x2 grid */
  .stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
    background: rgba(255,255,255,0.06) !important;
    padding: 0 !important;
  }
  .stat-item {
    background: var(--primary) !important;
    border: none !important;
    padding: 16px 8px !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 4px !important;
  }
  .stat-item i {
    font-size: 1.3rem !important;
  }
  .stat-item strong {
    font-size: 1.05rem !important;
  }
  .stat-item span {
    font-size: 0.72rem !important;
  }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .branches-grid { grid-template-columns: 1fr; }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-card {
    border-radius: 12px;
  }
  .product-info {
    padding: 12px;
  }
  .product-name {
    font-size: 0.9rem;
  }
  .price {
    font-size: 0.95rem;
  }
  .price-old {
    font-size: 0.8rem;
  }
  
  .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.4rem; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .navbar { padding: 0 10px; }
  .btn-whatsapp-nav {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}
