/* ============================================
   UZMA SPORT — CSS Mobile-First + Desktop
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --red:        #E31212;
  --red-dark:   #b50e0e;
  --black:      #111111;
  --grey-bg:    #f4f4f4;
  --grey-card:  #f0f0f0;
  --grey-line:  #e0e0e0;
  --text:       #333333;
  --text-light: #777777;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 2px 12px rgba(0,0,0,0.09);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.14);
  --header-h:   60px;
  --sidebar-w:  230px;
  --bottom-h:   65px;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--grey-bg);
  color: var(--text);
  min-height: 100vh;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 300;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 3px;
}

.menu-btn, .icon-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--red); }

.header-icons { display: flex; align-items: center; gap: 4px; }

.cart-icon-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* =========================================
   MENU LATERAL MOBILE
   ========================================= */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 400;
}
.overlay.open { display: block; }

.side-menu {
  position: fixed;
  top: 0; left: -280px;
  width: 280px; height: 100%;
  background: #fafafa;
  z-index: 500;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.side-menu.open { left: 0; }

.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--grey-line);
}
.side-menu-header button {
  background: none; border: none;
  color: var(--black); font-size: 1.2rem; cursor: pointer;
}

.side-menu ul { list-style: none; padding: 12px 0; flex: 1; }
.side-menu ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  border-left: 3px solid transparent;
}
.side-menu ul li a:hover {
  background: #fff0f0;
  color: var(--red);
  border-left-color: var(--red);
}
.side-menu ul li a i { width: 18px; text-align: center; color: var(--red); }

.side-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--grey-line);
  color: var(--text-light);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-menu-footer i { color: var(--red); margin-right: 6px; }

/* =========================================
   LAYOUT GÉNÉRAL
   ========================================= */
.layout {
  padding-top: var(--header-h);
  min-height: 100vh;
}

/* Sidebar desktop : cachée par défaut (mobile) */
.desktop-sidebar { display: none; }

.pages-wrap {
  padding-bottom: var(--bottom-h);
}

/* =========================================
   PAGES
   ========================================= */
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.25s ease; }

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

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 36px 20px;
}

.hero-brand {
  color: var(--red);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.hero-content h1 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.btn-hero {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 11px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(227,18,18,0.4);
  transition: background 0.2s, transform 0.1s;
}
.btn-hero:hover { background: var(--red-dark); transform: scale(1.03); }

/* =========================================
   SERVICES
   ========================================= */
.services {
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 8px;
  gap: 4px;
  box-shadow: var(--shadow);
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  background: #fff5f5;
}

.service-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* =========================================
   SECTION HEADERS COMMUNS
   ========================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 14px;
}

.section-header h2 { font-size: 1.1rem; font-weight: 800; }

.accent { color: var(--red); }

.voir-tout {
  background: none; border: none;
  color: var(--text-light);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.voir-tout:hover { color: var(--red); }

/* =========================================
   CATÉGORIES
   ========================================= */
.categories {
  background: var(--white);
  padding: 22px 0 16px;
  margin-top: 8px;
}

.cat-grid {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-grid::-webkit-scrollbar { display: none; }

.cat-card {
  min-width: 120px;
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.cat-card:hover { transform: scale(1.03); }
.cat-card img { width: 100%; height: 110px; object-fit: cover; display: block; }

.cat-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 22px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================
   PRODUITS VEDETTES
   ========================================= */
.featured {
  background: var(--grey-bg);
  padding: 22px 0 8px;
  margin-top: 8px;
}

/* =========================================
   GRILLE PRODUITS
   ========================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 16px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.product-img-wrap { position: relative; overflow: hidden; }
.product-img-wrap img {
  width: 100%; height: 140px;
  object-fit: cover; display: block;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--red); color: var(--white);
  font-size: 0.62rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase;
}

.product-fav {
  position: absolute; top: 8px; right: 8px;
  background: var(--white); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.75rem; color: var(--text-light);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: color 0.2s;
}
.product-fav.active, .product-fav:hover { color: var(--red); }

.product-info { padding: 10px 10px 12px; }
.product-name {
  font-size: 0.82rem; font-weight: 700; color: var(--black);
  margin-bottom: 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.product-cat { font-size: 0.7rem; color: var(--text-light); margin-bottom: 8px; }

.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 0.88rem; font-weight: 800; color: var(--red); }

.add-to-cart-btn {
  background: var(--red); color: var(--white);
  border: none; width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.75rem;
  transition: background 0.2s, transform 0.1s;
}
.add-to-cart-btn:hover { background: var(--red-dark); transform: scale(1.1); }

/* =========================================
   BANNIÈRE BOUTIQUE
   ========================================= */
.store-banner {
  margin: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.store-banner img { width: 100%; height: 240px; object-fit: cover; object-position: center; display: block; }

.store-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 50%, transparent);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 20px; gap: 6px;
}
.store-banner-overlay h3 { color: var(--white); font-size: 1rem; font-weight: 800; }
.store-banner-overlay p  { color: #ccc; font-size: 0.78rem; }

/* =========================================
   BOUTONS
   ========================================= */
.btn-red {
  background: var(--red); color: var(--white);
  border: none; border-radius: 25px;
  padding: 12px 24px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.1s;
}
.btn-red:hover { background: var(--red-dark); transform: scale(1.02); }

.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid var(--white); border-radius: 25px;
  padding: 9px 20px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-outline-dark {
  background: transparent; color: var(--red);
  border: 2px solid var(--red); border-radius: 25px;
  padding: 10px 20px; font-size: 0.85rem; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-outline-dark:hover { background: var(--red); color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* =========================================
   PAGE TITLE BAR
   ========================================= */
.page-title-bar {
  background: var(--white);
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--grey-line);
  box-shadow: var(--shadow);
}
.page-title-bar h2 { font-size: 1.2rem; font-weight: 800; }

/* =========================================
   FILTRES BOUTIQUE
   ========================================= */
.filters {
  display: flex; gap: 8px;
  padding: 14px 16px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--white);
  border-bottom: 1px solid var(--grey-line);
}
.filters::-webkit-scrollbar { display: none; }

.filter-btn {
  background: var(--grey-card); color: var(--text);
  border: 1.5px solid var(--grey-line);
  border-radius: 20px; padding: 7px 16px;
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red); color: var(--white); border-color: var(--red);
}

/* =========================================
   PANIER
   ========================================= */
.empty-cart {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 20px; gap: 16px;
  color: var(--text-light);
}
.empty-cart i { font-size: 4rem; color: var(--grey-line); }
.empty-cart p { font-size: 1rem; font-weight: 600; }

.cart-grid { display: block; }

.cart-item {
  background: var(--white);
  margin: 8px 16px;
  border-radius: var(--radius);
  padding: 12px; display: flex;
  gap: 12px; align-items: center;
  box-shadow: var(--shadow);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.85rem; font-weight: 700; color: var(--black);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px;
}
.cart-item-price { font-size: 0.88rem; font-weight: 800; color: var(--red); margin-bottom: 8px; }

.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--grey-line);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; cursor: pointer; font-weight: 700;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.qty-value { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }

.cart-item-delete {
  background: none; border: none;
  color: var(--text-light); font-size: 1rem;
  cursor: pointer; padding: 4px;
  transition: color 0.2s;
}
.cart-item-delete:hover { color: var(--red); }

.cart-summary {
  background: var(--white);
  margin: 12px 16px;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; }
.total-row {
  font-size: 1rem; font-weight: 800; color: var(--black);
  border-top: 1px solid var(--grey-line); padding-top: 12px;
}

/* =========================================
   DÉTAIL PRODUIT
   ========================================= */
.product-detail-header {
  background: var(--white);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-line);
  box-shadow: var(--shadow);
}
.back-btn {
  background: var(--grey-card); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem; color: var(--black);
}
.product-detail-header h2 { font-size: 1rem; font-weight: 700; }

.product-detail-img { width: 100%; height: 280px; object-fit: cover; display: block; }

.product-detail-body { padding: 20px 16px; background: var(--white); }
.product-detail-name  { font-size: 1.3rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.product-detail-cat   { font-size: 0.8rem; color: var(--text-light); margin-bottom: 14px; }
.product-detail-price { font-size: 1.6rem; font-weight: 900; color: var(--red); margin-bottom: 20px; }
.product-detail-desc  { font-size: 0.88rem; color: var(--text); line-height: 1.6; margin-bottom: 24px; }

.product-detail-actions { display: flex; gap: 12px; }
.product-detail-actions .btn-red { flex: 1; justify-content: center; }
.btn-fav {
  background: var(--grey-card); border: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-light);
  cursor: pointer; flex-shrink: 0; transition: all 0.2s;
}
.btn-fav:hover, .btn-fav.active { background: #fff0f0; color: var(--red); }

/* =========================================
   CONTACT
   ========================================= */
.contact-container { padding-bottom: 20px; }

.contact-banner { margin: 12px 16px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-md); }
.contact-banner img { width: 100%; height: 220px; object-fit: cover; object-position: center; display: block; }

.contact-options {
  padding: 0 16px;
  display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 20px;
}

.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--text);
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.contact-card-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; color: var(--white);
}
.contact-card.whatsapp  .contact-card-icon { background: #25D366; }
.contact-card.phone     .contact-card-icon { background: var(--red); }
.contact-card.facebook  .contact-card-icon { background: #1877F2; }
.contact-card.instagram .contact-card-icon { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-card.location  .contact-card-icon { background: var(--black); }

.contact-card-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.contact-card-title { font-size: 0.9rem; font-weight: 700; color: var(--black); }
.contact-card-sub   { font-size: 0.75rem; color: var(--text-light); }
.contact-card i.fa-chevron-right { color: var(--grey-line); font-size: 0.8rem; }

.horaires {
  background: var(--white);
  margin: 0 16px 16px;
  border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow);
}
.horaires h3 {
  font-size: 0.95rem; font-weight: 800; color: var(--black);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.horaires h3 i { color: var(--red); }
.horaire-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 0.85rem;
  border-bottom: 1px solid var(--grey-card);
}
.horaire-row:last-child { border-bottom: none; }

/* =========================================
   BOTTOM NAV (mobile)
   ========================================= */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--bottom-h);
  background: var(--white);
  display: flex;
  border-top: 1px solid var(--grey-line);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  z-index: 200;
}

.nav-item {
  flex: 1; background: none; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; cursor: pointer;
  color: var(--text-light); font-size: 0.65rem; font-weight: 600;
  transition: color 0.2s; padding: 8px 4px;
}
.nav-item i { font-size: 1.2rem; transition: transform 0.2s; }
.nav-item.active { color: var(--red); }
.nav-item.active i { transform: translateY(-2px); }
.nav-item:hover { color: var(--red); }

/* =========================================
   TOAST
   ========================================= */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-h) + 16px);
  left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--black); color: var(--white);
  padding: 10px 20px; border-radius: 25px;
  font-size: 0.82rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap; z-index: 9999;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: #1a7a3f; }
.toast.error   { background: var(--red); }

/* =========================================
   SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--grey-bg); }
::-webkit-scrollbar-thumb { background: var(--grey-line); border-radius: 4px; }


/* =========================================================
   ██████╗ ███████╗███████╗██╗  ██╗████████╗ ██████╗ ██████╗
   ██╔══██╗██╔════╝██╔════╝██║ ██╔╝╚══██╔══╝██╔═══██╗██╔══██╗
   ██║  ██║█████╗  ███████╗█████╔╝    ██║   ██║   ██║██████╔╝
   ██║  ██║██╔══╝  ╚════██║██╔═██╗    ██║   ██║   ██║██╔═══╝
   ██████╔╝███████╗███████║██║  ██╗   ██║   ╚██████╔╝██║
   RESPONSIVE ≥ 900px — sidebar gauche + contenu large
   ========================================================= */

@media (min-width: 900px) {

  /* ---- Header pleine largeur ---- */
  .header {
    padding: 0 32px;
    height: 64px;
  }
  :root { --header-h: 64px; }

  .menu-btn { display: none; }
  .logo { font-size: 1.9rem; }
  .icon-btn { font-size: 1.1rem; padding: 10px; }

  /* ---- Overlay + menu mobile : cachés ---- */
  .overlay,
  .side-menu { display: none !important; }

  /* ---- Sidebar desktop visible ---- */
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0;
    width: var(--sidebar-w);
    height: calc(100vh - 64px);
    background: #fafafa;
    z-index: 250;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.08);
    padding-bottom: 20px;
  }

  .sidebar-brand {
    display: block;
    padding: 24px 24px 20px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    letter-spacing: 3px;
    border-bottom: 1px solid var(--grey-line);
    margin-bottom: 8px;
  }

  .sidebar-nav { display: flex; flex-direction: column; flex: 1; }

  .sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .sidebar-link i { width: 18px; text-align: center; color: var(--red); }
  .sidebar-link:hover,
  .sidebar-link.active {
    background: #fff0f0;
    color: var(--red);
    border-left-color: var(--red);
  }
  .sidebar-link:hover i,
  .sidebar-link.active i { color: var(--red); }

  .sidebar-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--grey-line);
    color: var(--text-light);
    font-size: 0.78rem;
    display: flex; flex-direction: column; gap: 7px;
  }
  .sidebar-footer i { color: var(--red); margin-right: 6px; }

  /* ---- Layout principal décalé par la sidebar ---- */
  .layout {
    padding-top: 64px;
    display: flex;
  }

  .pages-wrap {
    margin-left: var(--sidebar-w);
    flex: 1;
    padding-bottom: 40px;
    min-width: 0;
  }

  /* ---- Bottom nav cachée ---- */
  .bottom-nav { display: none; }

  /* Toast sans bottom-nav */
  .toast { bottom: 24px; }

  /* ---- Pages : max-width centré ---- */
  .page {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
  }

  /* ---- Hero grand format ---- */
  .hero { min-height: 420px; }
  .hero-content { padding: 60px 48px; max-width: 580px; }
  .hero-content h1 { font-size: 2.4rem; margin-bottom: 28px; }
  .hero-brand { font-size: 2rem; }
  .btn-hero { padding: 14px 30px; font-size: 1rem; }

  /* ---- Services ---- */
  .services { padding: 24px 40px; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; }
  .service-item span { font-size: 0.82rem; }

  /* ---- Section headers ---- */
  .section-header { padding: 0 24px; margin-bottom: 18px; }
  .section-header h2 { font-size: 1.4rem; }

  /* ---- Catégories ---- */
  .categories { padding: 28px 0 20px; }
  .cat-grid { padding: 0 24px; gap: 16px; overflow-x: visible; flex-wrap: nowrap; }
  .cat-card { min-width: unset; }
  .cat-card img { height: 170px; }

  /* ---- Grille 3 colonnes ---- */
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px 24px;
  }
  .product-img-wrap img { height: 170px; }
  .product-name { font-size: 0.88rem; }
  .product-price { font-size: 0.95rem; }

  /* ---- Bannière boutique ---- */
  .store-banner { margin: 0 24px 24px; }
  .store-banner img { height: 380px; }

  /* ---- Page titre ---- */
  .page-title-bar { padding: 24px 28px 18px; }
  .page-title-bar h2 { font-size: 1.5rem; }

  /* ---- Filtres ---- */
  .filters { padding: 16px 24px; gap: 12px; overflow-x: visible; flex-wrap: wrap; }
  .filter-btn { padding: 8px 22px; font-size: 0.85rem; }

  /* ---- Panier 2 colonnes ---- */
  .cart-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    padding: 24px;
    align-items: start;
  }
  .cart-item { margin: 0 0 12px 0; }
  .cart-summary { margin: 0; position: sticky; top: 20px; }

  /* Vider le panier : centré sur toute la largeur */
  .empty-cart { grid-column: 1 / -1; }

  /* ---- Détail produit 2 colonnes ---- */
  #product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .product-detail-img { height: 100%; min-height: 460px; }
  .product-detail-body { padding: 44px 36px; }
  .product-detail-name  { font-size: 1.7rem; }
  .product-detail-price { font-size: 2.1rem; }

  /* ---- Contact 2 colonnes ---- */
  .contact-container { padding: 24px; }
  .contact-banner { margin: 0 0 24px 0; }
  .contact-banner img { height: 220px; }
  .contact-options {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .horaires { margin: 24px 0 0; }

  /* ---- Featured section ---- */
  .featured { padding: 28px 0 16px; }
}

/* ---- 4 colonnes sur très grand écran ---- */
@media (min-width: 1280px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============ CARTE GOOGLE MAPS ============ */
.map-container {
  margin: 0 16px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--black);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.map-header i { color: var(--red); }

.map-header span { flex: 1; }

.map-open-btn {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background 0.2s;
}
.map-open-btn:hover { background: var(--red-dark); }

/* Desktop */
@media (min-width: 900px) {
  .map-container { margin: 24px 0 0; }
  .map-container iframe { height: 380px; }
}
