/* ================== VARIABLES ================== */
:root {
  --logo-blue: #00a8e8;
  --logo-orange: #ff8c00;
  --logo-dark: #1b2947;
  --bg-page: #ffffff; 
  --text-primary: #1b2947;   
  --text-secondary: #5e6271; 
  --accent-blue: #00a8e8;
  --accent-orange: #ff8c00;
  --btn-gradient: linear-gradient(135deg, #00a8e8, #0077b6);
  --border-soft: rgba(0, 0, 0, 0.08);
  --section-light: #f8faff;
}

/* ================== RESET & BASE ================== */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body { 
  height: 100%; 
  margin: 0; 
  padding: 0; 
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body { 
  font-family: 'Inter', system-ui, sans-serif; 
  color: var(--text-primary); 
  background-color: var(--bg-page); 
  line-height: 1.6; 
  padding-top: 0;
  position: relative;
}

.container { 
  width: 100%; 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 16px;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ================== HEADER ================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* Utilisation de variables CSS pour la maintenance */
  --header-bg: rgba(255, 255, 255, 0.75);
  --header-border: rgba(0, 0, 0, 0.06);
  
  background-color: var(--header-bg);
  backdrop-filter: blur(12px) saturate(190%);
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  border-bottom: 1px solid var(--header-border);
  
  /* Une ombre portée très diffuse et légère */
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  
  /* Transition fluide pour les changements d'état */
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              height 0.4s ease;
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 75px;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.logo-img {
  width: auto;
  height: 64px;
  max-width: 170px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
}

/* Navigation Desktop */
.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin: 0 24px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 8px;
}

.nav-link:not(.nav-link-location):not(.admin-btn) i {
  display: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-blue);
  font-weight: bold;
}

.nav-link:hover::after {
  width: 70%;
}

/* Localisation pill */
.nav-link-location {
  background: var(--accent-blue);
  color: white !important;
  padding: 9px 18px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
  transition: all 0.3s ease;
  margin-left: auto;
}

.nav-link-location i {
  display: inline-block !important;
  font-size: 13px;
  animation: pulse 2s infinite;
}

.nav-link-location::after { display: none; }

.nav-link-location:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 168, 232, 0.45);
  color: white !important;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* Admin btn caché desktop */
.admin-btn { display: none !important; }

/* ── Bouton panier ── */
.nav-cart-btn {
  position: relative;
  background: var(--accent-blue);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,168,232,0.35);
}

.nav-cart-btn:hover {
  background: #0093cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,168,232,0.5);
}

.nav-cart-btn.has-items {
  animation: cartPop 0.4s cubic-bezier(0.36,0.07,0.19,0.97);
}

@keyframes cartPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3) rotate(-10deg); }
  60%  { transform: scale(0.93) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.nav-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent-orange);
  color: white;
  font-size: 0.60rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid white;
  line-height: 1;
  animation: badgePop 0.3s cubic-bezier(0.36,0.07,0.19,0.97);
}

@keyframes badgePop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@media (min-width: 969px) {
  .header-inner > .nav-cart-btn { display: none; }
  .nav > .nav-cart-btn { display: flex; margin-left: 10px; }
}

@media (max-width: 968px) {
  .nav > .nav-cart-btn { display: none; }
  .header-inner > .nav-cart-btn { display: flex; margin-right: 8px; }
}

/* ── Groupe droite mobile ── */
.header-right {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

@media (max-width: 968px) {
  .header-right { display: flex; }
  .header-right .nav-cart-btn { width: 36px; height: 36px; font-size: 0.82rem; }
}

/* Overlay mobile */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 998;
  backdrop-filter: blur(3px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Bouton Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--accent-blue);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 3px 12px rgba(0,168,232,0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.hamburger:hover {
  background: #0093cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,168,232,0.5);
}

.hamburger:active { transform: scale(0.93); }

.hamburger span {
  display: block;
  height: 2px;
  width: 18px;
  background: white;
  border-radius: 4px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hamburger:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hamburger, .hamburger span { transition: none; }
}

/* ================== MENU MOBILE DRAWER ================== */
@media (max-width: 968px) {
  .hamburger { display: flex; }

  .site-header {
    background: rgba(255,255,255,0.98) !important;
  }

  .header-inner {
    min-height: 68px !important;
    padding: 0 14px;
  }

  .logo-img {
    height: 56px;
    max-width: 135px;
  }

  .nav-center {
    position: static;
    transform: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    max-width: 88vw;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 0;
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
    box-shadow: -6px 0 36px rgba(0,0,0,0.14);
    overflow-y: auto;
    z-index: 999;
    justify-content: flex-start;
    margin: 0;
    gap: 0;
  }

  .nav::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--accent-blue);
    flex-shrink: 0;
  }

  .nav::after {
    content: 'NEXORA';
    display: block;
    padding: 22px 22px 16px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--accent-blue);
    border-bottom: 1px solid rgba(0,168,232,0.1);
    background: rgba(0,168,232,0.03);
  }

  .nav.nav-active { transform: translateX(0); }

  .nav-link i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0,168,232,0.08);
    color: var(--accent-blue);
    transition: color 0.25s, color 0.25s;
    flex-shrink: 0;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.77,0,0.175,1), background 0.2s, color 0.2s;
    padding: 10px 18px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 2px 10px;
    width: calc(100% - 20px);
  }

  .nav-link::before, .nav-link::after { display: none; }

  .nav-link:hover {
    background: rgba(0,168,232,0.07);
    color: var(--accent-blue);
  }

  .nav-link:hover i { background: rgba(0,168,232,0.16); }

  .nav-link-location {
    background: linear-gradient(135deg, rgba(0,168,232,0.07), rgba(255,140,0,0.05));
    color: var(--text-primary) !important;
    border: 1px solid rgba(0,168,232,0.15);
    box-shadow: none;
    margin-top: 4px;
  }

  .nav-link-location i {
    color: white !important;
    background: var(--accent-blue);
    animation: none;
  }

  .nav-link-location:hover {
    background: linear-gradient(135deg, rgba(0,168,232,0.12), rgba(255,140,0,0.08)) !important;
    color: var(--accent-blue) !important;
    transform: none;
    box-shadow: 0 4px 12px rgba(0,168,232,0.15) !important;
  }

  .admin-btn {
    display: flex !important;
    margin: 10px 10px 0 !important;
    width: calc(100% - 20px) !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: 12px !important;
  }

  .admin-btn i {
    background: rgba(100,116,139,0.1) !important;
    color: #64748b !important;
  }

  .nav.nav-active .nav-link { opacity: 1; transform: translateX(0); }
  .nav.nav-active .nav-link:nth-child(1) { transition-delay: 0.07s; }
  .nav.nav-active .nav-link:nth-child(2) { transition-delay: 0.12s; }
  .nav.nav-active .nav-link:nth-child(3) { transition-delay: 0.17s; }
  .nav.nav-active .nav-link:nth-child(4) { transition-delay: 0.22s; }
  .nav.nav-active .nav-link:nth-child(5) { transition-delay: 0.27s; }
  .nav.nav-active .nav-link:nth-child(6) { transition-delay: 0.32s; }

  .nav::-webkit-scrollbar { width: 3px; }
  .nav::-webkit-scrollbar-thumb { background: rgba(0,168,232,0.25); border-radius: 10px; }
}

@media (max-width: 480px) {
  .nav { width: 92vw; max-width: 310px; }
  .nav-link { font-size: 0.9rem; padding: 9px 14px; }
}

/* ================== HERO SPLIT ================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ---- HERO SPLIT DESKTOP ---- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}

/* --- CÔTÉ GAUCHE --- */
.hero-split-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 60px 80px 60px;
  background: linear-gradient(145deg, #0a1628 0%, #0d2a4a 35%, #0077b6 70%, #00a8e8 100%);
  overflow: hidden;
}

/* Décoration de fond côté gauche */
.hero-split-deco {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-split-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}

/* Badge "Nouvelle collection" */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 6px 16px 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.6s ease both;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #ff8c00;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Titre principal */
.hero-split-title {
  font-size: clamp(30px, 4vw, 56px) !important;
  font-weight: 800 !important;
  text-align: left !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin-bottom: 22px !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}

.hero-split-title .nexora {
  color: #ff8c00 !important;
  font-size: 1em !important;
}

.hero-split-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
  animation: revealChar 0.55s ease forwards;
  white-space: pre;
}

/* Sous-titre */
.hero-split-sub {
  font-size: clamp(14px, 1.5vw, 18px) !important;
  color: rgba(255,255,255,0.82) !important;
  margin-bottom: 36px !important;
  min-height: 2.5em;
  text-shadow: none !important;
  line-height: 1.7;
}

#typewriter::after {
  margin-left: 3px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s 0.5s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Boutons hero */
.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.7s ease both;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.btn-hero-secondary i {
  color: #ff8c00;
}

.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* --- CÔTÉ DROIT --- */
.hero-split-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  overflow: hidden;
  padding: 100px 50px 70px;
}

/* Grille décorative subtile en fond */
.hero-split-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,168,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,232,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Cercle décoratif bleu clair derrière l'image */
.hero-img-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.07) 0%, rgba(0,168,232,0.02) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-split-img-wrap {
  position: relative;
  z-index: 2;
  width: 88%;
  max-width: 440px;
  margin-top: -120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* L'image — légèrement agrandie et remontée */
.hero-split-img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 120px);
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 2;
  border-radius: 0 80px 0 80px;
  animation: imgReveal 0.9s 0.3s cubic-bezier(0.22,1,0.36,1) both;
  box-shadow:
    0 24px 60px rgba(0,168,232,0.15),
    0 8px 24px rgba(0,0,0,0.10),
    inset 0 0 0 2px rgba(255,255,255,0.6);
}

@keyframes imgReveal {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Badge flottant WhatsApp */
.hero-float-badge {
  position: absolute;
  bottom: 40px;
  left: -10px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  z-index: 10;
  animation: floatBadge 3s ease-in-out infinite;
}

.hero-float-badge i {
  font-size: 26px;
  color: #25D366;
}

.hero-float-badge-top {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--logo-dark);
  line-height: 1.2;
}

.hero-float-badge-sub {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* --- Animations globales hero --- */
@keyframes revealChar {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* animated-welcome kept compatible */
.animated-welcome {
  font-weight: 800;
  white-space: pre-line;
}

/* ---- HERO MOBILE (≤ 900px) ---- */
@media (max-width: 900px) {
  .hero-split {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    background: linear-gradient(160deg, #0a1628 0%, #0d2a4a 40%, #0077b6 75%, #00a8e8 100%);
  }

  /* Côté droit (image) : en haut, fond transparent */
  .hero-split-right {
    order: 1;
    flex: 0 0 auto;
    background: transparent !important;
    padding: 90px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
  }

  .hero-split-right::before { display: none; }

  .hero-img-circle {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  }

  .hero-split-img-wrap {
    width: 72%;
    max-width: 300px;
    margin-top: 0;
  }

  .hero-split-img {
    width: 100%;
    height: auto;
    max-height: 55vw;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 60px 0 60px;
    box-shadow:
      0 16px 50px rgba(0,0,0,0.3),
      0 4px 16px rgba(0,168,232,0.2);
    margin-top: 0;
  }

  /* Badge flottant WhatsApp repositionné */
  .hero-float-badge {
    bottom: -16px;
    left: auto;
    right: -10px;
    padding: 10px 14px;
    gap: 8px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  }

  .hero-float-badge i { font-size: 22px; }
  .hero-float-badge-top { font-size: 11px; }
  .hero-float-badge-sub { font-size: 10px; }

  /* Côté gauche (texte) : en bas, fond transparent */
  .hero-split-left {
    order: 2;
    flex: 1;
    background: transparent !important;
    padding: 36px 24px 52px;
    display: flex;
    align-items: flex-start;
    overflow: visible;
  }

  .hero-split-deco { display: none; }

  .hero-split-content {
    width: 100%;
    max-width: 100%;
  }

  /* Badge */
  .hero-badge {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
    font-size: 12px;
    margin-bottom: 20px;
  }

  /* Titre */
  .hero-split-title {
    font-size: clamp(28px, 8vw, 42px) !important;
    text-align: left !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
  }

  .hero-split-title .nexora { color: #ff8c00 !important; }

  /* Sous-titre */
  .hero-split-sub {
    font-size: clamp(13px, 3.8vw, 16px) !important;
    color: rgba(255,255,255,0.78) !important;
    margin-bottom: 24px !important;
    min-height: auto !important;
  }

  /* Stats */
  .hero-stats {
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: nowrap;
  }

  .hero-stat-num {
    font-size: 18px;
    color: #ffffff;
  }

  .hero-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
  }

  .hero-stat-divider {
    background: rgba(255,255,255,0.2);
    height: 30px;
  }

  /* Boutons */
  .hero-btns { gap: 12px; flex-wrap: wrap; }

  .btn-hero-secondary {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    backdrop-filter: blur(6px);
  }
}

@media (max-width: 480px) {
  .hero-split-right { padding-top: 80px; }
  .hero-split-img-wrap { width: 68%; max-width: 260px; }
  .hero-split-img { max-height: 58vw; border-radius: 0 48px 0 48px; }
  .hero-split-left { padding: 28px 18px 44px; }
  .hero-split-title { font-size: clamp(24px, 9vw, 34px) !important; }
  .hero-stats { gap: 10px; }
  .hero-stat-num { font-size: 16px; }
  .hero-stat-divider { height: 26px; }
  .hero-btns { gap: 10px; }
}

/* ================== BOUTONS AVEC ICÔNES ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: scale(1.1);
}

.btn-gradient {
  background: var(--btn-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
}

.btn-gradient:active {
  transform: translateY(0);
}

.btn-ajouter {
  padding: 8px 15px !important; /* Bouton moins haut */
  font-size: 13px !important;
}

.btn-ajouter i {
  font-size: 16px;
  animation: cartBounce 2s infinite;
}

@keyframes cartBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.btn-ajouter:hover i {
  animation: cartShake 0.5s ease;
}

@keyframes cartShake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  width: 100%;
  font-size: 18px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #1fbd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ================== BOUTON PRO MINIMALISTE ================== */
.btn-pro {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  min-width: 200px;
  height: 60px;
}

.btn-pro-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 30px;
  height: 100%;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pro-label {
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.btn-pro-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pro-arrow svg {
  transition: transform 0.3s ease;
  stroke: #ffffff;
}

.btn-pro-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.btn-pro:hover::before {
  transform: translateY(0);
}

.btn-pro:hover .btn-pro-line {
  transform: scaleX(1);
  background: var(--bg-page);
  height: 2px;
  font-weight: bold;
}

.btn-pro:hover .btn-pro-content {
  transform: translateX(8px);
}

.btn-pro:hover .btn-pro-arrow {
  transform: translateX(8px);
  font-weight: bold;
}

.btn-pro:hover .btn-pro-arrow svg {
  transform: rotate(45deg);
}

.btn-pro:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .btn-pro {
    height: 54px;
    min-width: 180px;
  }
  
  .btn-pro-label {
    font-size: 14px;
  }
  
  .btn-pro-content {
    padding: 0 24px;
    gap: 10px;
  }
}

/* ================== SCROLL MARGIN ================== */
#accueil,
#catalogue,
#contact,
#apropos {
  scroll-margin-top: 100px;
}

/* ================== À PROPOS ================== */
#apropos {
  scroll-margin-top: 100px;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--section-light) 0%, var(--bg-page) 100%);
  position: relative;
  overflow: hidden;
}

#apropos .container {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

/* Titre amélioré */
#apropos .section-title {
  margin-bottom: 40px;
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

#apropos .section-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -60px;
  width: 40px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 2px;
}

#apropos .section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent-blue);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 168, 232, 0.3);
}

/* Texte principal amélioré */
#apropos .apropos-text {
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.9;
  font-size: 1.15rem;
  color: var(--text-secondary);
  padding: 60px 70px 50px 70px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 30px;
  box-shadow: 
    0 20px 40px rgba(0, 168, 232, 0.08),
    0 5px 15px rgba(255, 140, 0, 0.05);
  border: 1px solid rgba(0, 168, 232, 0.15);
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  text-align: left;
  font-weight: 400;
}

#apropos .apropos-text:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 30px 60px rgba(0, 168, 232, 0.12),
    0 10px 25px rgba(255, 140, 0, 0.1);
  border-color: var(--logo-orange);
}

/* Guillemets décoratifs améliorés */
#apropos .apropos-text::before {
  content: "“";
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 6rem;
  color: var(--logo-blue);
  opacity: 0.2;
  font-family: 'Georgia', serif;
  line-height: 1;
  text-shadow: 2px 2px 10px rgba(0, 168, 232, 0.3);
  transition: all 0.3s ease;
}

#apropos .apropos-text::after {
  content: "”";
  position: absolute;
  bottom: -10px;
  right: 25px;
  font-size: 6rem;
  color: var(--logo-orange);
  opacity: 0.2;
  font-family: 'Georgia', serif;
  line-height: 1;
  text-shadow: 2px 2px 10px rgba(255, 140, 0, 0.3);
  transition: all 0.3s ease;
}

#apropos .apropos-text:hover::before {
  opacity: 0.3;
  transform: rotate(-5deg) scale(1.1);
  color: var(--logo-blue);
}

#apropos .apropos-text:hover::after {
  opacity: 0.3;
  transform: rotate(5deg) scale(1.1);
  color: var(--logo-orange);
}

/* Éléments décoratifs de fond améliorés */
#apropos::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 3%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
  filter: blur(5px);
}

#apropos::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 3%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 9s ease-in-out infinite reverse;
  filter: blur(8px);
}

/* Nouvel élément décoratif */
#apropos .container::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 5%;
  width: 100px;
  height: 100px;
  border: 3px dashed var(--logo-orange);
  opacity: 0.1;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-25px) scale(1.05);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Valeurs améliorées */
.apropos-values {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.apropos-value-item {
  flex: 0 1 240px;
  padding: 35px 25px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.apropos-value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.apropos-value-item:hover {
  transform: translateY(-15px);
  box-shadow: 
    0 25px 50px rgba(0, 168, 232, 0.15),
    0 10px 20px rgba(255, 140, 0, 0.1);
  border-color: rgba(0, 168, 232, 0.3);
}

.apropos-value-item:hover::before {
  transform: scaleX(1);
}

.apropos-value-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  display: inline-block;
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apropos-value-item:hover .apropos-value-icon {
  transform: scale(1.2) rotate(8deg);
  filter: drop-shadow(0 5px 15px rgba(0, 168, 232, 0.4));
}

.apropos-value-title {
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.apropos-value-item:hover .apropos-value-title {
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apropos-value-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: color 0.3s ease;
}

.apropos-value-item:hover .apropos-value-desc {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  #apropos {
    padding: 60px 0;
  }
  
  #apropos .section-title {
    font-size: 2.2rem;
  }
  
  #apropos .section-title::before {
    display: none;
  }
  
  #apropos .apropos-text {
    padding: 40px 30px;
    margin: 0 15px 40px;
    font-size: 1rem;
  }
  
  .apropos-value-item {
    flex: 0 1 100%;
    max-width: 300px;
  }
  
  #apropos .apropos-text::before,
  #apropos .apropos-text::after {
    font-size: 4rem;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#apropos .apropos-text,
.apropos-value-item {
  animation: fadeInUp 0.8s ease forwards;
}

.apropos-value-item:nth-child(1) { animation-delay: 0.2s; }
.apropos-value-item:nth-child(2) { animation-delay: 0.4s; }
.apropos-value-item:nth-child(3) { animation-delay: 0.6s; }

/* ================== CATALOGUE ================== */
.catalogue { 
  padding: 60px 0;
}

.section-title { 
  text-align: center; 
  font-size: 2.8rem; 
  margin-bottom: 40px; 
  font-weight: 800; 
  background: var(--accent-blue);
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  background-clip: text;
  animation: fadeInUp 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title i {
  color: var(--accent-blue);
  -webkit-text-fill-color: var(--accent-blue);
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
}

.card { 
  background: #ffffff; 
  border: 1px solid #f0f0f0; 
  border-radius: 15px; /* Un peu plus arrondi pour le petit format */
  overflow: hidden; 
  transition: 0.3s; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  height: 100%; /* Force toutes les cartes à la même hauteur */
}


.card:hover { 
  transform: translateY(-12px) scale(1.02); /* Élévation plus marquée + léger zoom */
  box-shadow: 0 20px 40px rgba(0, 168, 232, 0.15); /* Ombre plus diffuse et colorée */
  border: 2px solid var(--accent-blue);
}


  

.card-body { 
  padding: 12px;
  display: flex;          /* AJOUTÉ */
  flex-direction: column; /* AJOUTÉ */
  flex-grow: 1;           /* AJOUTÉ : remplit tout l'espace vide */
  justify-content: space-between; /* AJOUTÉ : pousse le bouton en bas */
}

.card-title {
  font-size: 15px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 1.35em; /* Fixe la hauteur du titre */
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 10px;
  height:38px;      /* Fixe la hauteur de la description */
  overflow: hidden;  /* Cache le surplus sans erreur de code */
}

.card-price { 
  font-size: 18px; /* Plus compact */
  font-weight: bold;
  margin: 4px 0;
  color: var(--accent-orange);
  
}

/* ================== FORMULAIRE CONTACT ================== */
.contact-section { 
  padding: 80px 0; 
  background: var(--section-light);
}

.contact-form { 
  max-width: 550px; 
  margin: 0 auto; 
  background: white; 
  padding: 30px; 
  border-radius: 25px; 
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.contact-form-container .form-note {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.form-group, 
.form-group-qty { 
  display: flex; 
  gap: 10px; 
  margin-bottom: 10px;
}

input, 
select { 
  width: 100%; 
  padding: 14px; 
  border: 1px solid #e1e5ee; 
  border-radius: 10px; 
  margin-bottom: 10px; 
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* ================== PANIER AMÉLIORÉ ================== */
.cart-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Effet de fond */
.cart-section::before {
  content: '🛒';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 150px;
  opacity: 0.03;
  transform: rotate(15deg);
  pointer-events: none;
}

.cart-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-blue);
}

.cart-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.cart-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
  padding: 0 20px;
}

.cart-header h2::before,
.cart-header h2::after {
  content: '•';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-orange);
  font-size: 24px;
  opacity: 0.5;
}

.cart-header h2::before {
  left: -10px;
}

.cart-header h2::after {
  right: -10px;
}

.cart-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* Conteneur du panier */
.cart-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(253, 250, 250, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.cart-container:hover {
  box-shadow: 0 30px 60px rgba(0, 168, 232, 0.15);
}

/* En-tête du panier */
.cart-container-header {
  background: var(--accent-blue);
  padding: 20px 30px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-container-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-container-header h3 i {
  font-size: 1.5rem;
}

.cart-count-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

/* Liste des articles */
.cart-items {
  padding: 20px;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) #f0f0f0;
}

.cart-items::-webkit-scrollbar {
  width: 6px;
}

.cart-items::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Panier vide */
.empty-cart {
  text-align: center;
  color: var(--text-secondary);
  padding: 60px 20px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fadeIn 0.5s ease;
}

.empty-cart i {
  font-size: 80px;
  color: var(--accent-blue);
  opacity: 0.2;
  animation: bounce 2s infinite;
}

.empty-cart p {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.empty-cart .btn-explore {
  padding: 12px 30px;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.empty-cart .btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
}

/* Article du panier */
.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 232, 0.1);
  position: relative;
  animation: slideIn 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 10px 25px rgba(0, 168, 232, 0.1);
  transform: translateY(-2px);
  border-color: var(--accent-blue);
}

.cart-item:last-child {
  margin-bottom: 0;
}

/* Image du produit */
.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 2px solid white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cart-item:hover .cart-item-image {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.2);
}

/* Informations produit */
.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-info small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
  line-height: 1.4;
  max-width: 300px;
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 1.1rem;
  display: inline-block;
  background: rgba(241, 241, 241, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
}

/* Contrôles */
.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 5px;
  border-radius: 12px;
}

.cart-controls button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: white;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-controls button:hover:not(:disabled) {
  background: var(--accent-blue);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(238, 240, 241, 0.3);
}

.cart-controls button:active:not(:disabled) {
  transform: scale(0.95);
}

.cart-controls button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-controls .btn-remove {
  background: #fee;
  color: #dc3545;
  margin-left: 5px;
}

.cart-controls .btn-remove:hover:not(:disabled) {
  background: #dc3545;
  color: white;
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.cart-quantity {
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

/* Pied du panier */
.cart-footer {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 25px 30px;
  border-top: 2px solid rgba(0, 168, 232, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cart-total {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bg-page);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-total strong {
  color: var(--accent-orange);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-total small {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: normal;
}

/* Bouton de validation */
#validateCart {
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 168, 232, 0.1);
}

#validateCart::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#validateCart:hover::before {
  width: 300px;
  height: 300px;
}

#validateCart:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 168, 232, 0.4);
}

#validateCart:active {
  transform: translateY(-1px);
}

#validateCart i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

#validateCart:hover i {
  transform: translateX(5px);
}

#validateCart:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Badge de promotion */
.cart-promo {
  padding: 15px 30px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 107, 53, 0.1));
  border-bottom: 1px dashed rgba(0, 168, 232, 0.2);
}

.promo-code {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-orange);
  font-size: 0.95rem;
}

.promo-code i {
  font-size: 1.2rem;
}

.promo-code input {
  flex: 1;
  padding: 8px 15px;
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 25px;
  background: white;
  font-size: 0.95rem;
}

.promo-code button {
  padding: 8px 20px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.promo-code button:hover {
  background: var(--accent-orange);
  transform: scale(1.05);
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ================== RESPONSIVE ================== */

/* Tablettes */
@media screen and (max-width: 1024px) {
  .cart-section {
    padding: 60px 0;
  }

  .cart-header h2 {
    font-size: 2.2rem;
  }

  .cart-container {
    max-width: 700px;
    margin: 0 20px;
  }

  .cart-item-info small {
    max-width: 200px;
  }
}

/* Mobiles */
@media screen and (max-width: 768px) {
  .cart-section {
    padding: 40px 0;
  }

  .cart-section::before {
    font-size: 100px;
    opacity: 0.02;
  }

  .cart-header {
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .cart-header h2 {
    font-size: 1.8rem;
  }

  .cart-header h2::before,
  .cart-header h2::after {
    display: none;
  }

  .cart-header p {
    font-size: 0.95rem;
  }

  .cart-container {
    margin: 0 15px;
    border-radius: 20px;
  }

  .cart-container-header {
    padding: 15px 20px;
  }

  .cart-container-header h3 {
    font-size: 1.1rem;
  }

  .cart-items {
    padding: 15px;
    max-height: 400px;
  }

  .cart-item {
    padding: 15px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
  }

  .cart-item-info {
    flex: 1 1 100%;
    order: 2;
  }

  .cart-item-info strong {
    font-size: 1rem;
  }

  .cart-item-info small {
    max-width: 100%;
    font-size: 0.8rem;
  }

  .cart-item-price {
    font-size: 1rem;
    padding: 2px 8px;
  }

  .cart-controls {
    order: 3;
    width: 100%;
    justify-content: center;
    background: transparent;
    padding: 0;
  }

  .cart-controls button {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .cart-quantity {
    min-width: 50px;
    font-size: 1.2rem;
  }

  .cart-footer {
    padding: 20px;
    flex-direction: column;
    gap: 15px;
  }

  .cart-total {
    width: 100%;
    justify-content: space-between;
    font-size: 1.2rem;
  }

  .cart-total strong {
    font-size: 1.5rem;
  }

  #validateCart {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    justify-content: center;
  }

  .cart-promo {
    padding: 12px 20px;
  }

  .promo-code {
    flex-wrap: wrap;
  }

  .promo-code input {
    width: 100%;
    order: 1;
  }

  .promo-code button {
    width: 100%;
    order: 2;
  }
}

/* Petits mobiles */
@media screen and (max-width: 480px) {
  .cart-section {
    padding: 30px 0;
  }

  .cart-header h2 {
    font-size: 1.5rem;
  }

  .cart-header p {
    font-size: 0.9rem;
  }

  .cart-container {
    margin: 0 10px;
    border-radius: 15px;
  }

  .cart-container-header {
    padding: 12px 15px;
  }

  .cart-container-header h3 {
    font-size: 1rem;
  }

  .cart-count-badge {
    padding: 3px 8px;
    font-size: 0.8rem;
  }

  .cart-items {
    padding: 10px;
  }

  .cart-item {
    padding: 12px;
  }

  .cart-item-image {
    width: 50px;
    height: 50px;
  }

  .cart-item-info strong {
    font-size: 0.95rem;
  }

  .cart-item-price {
    font-size: 0.95rem;
  }

  .cart-controls button {
    width: 40px;
    height: 40px;
  }

  .cart-footer {
    padding: 15px;
  }

  .cart-total {
    font-size: 1rem;
  }

  .cart-total strong {
    font-size: 1.3rem;
  }

  #validateCart {
    padding: 12px;
    font-size: 0.95rem;
  }

  .empty-cart i {
    font-size: 60px;
  }

  .empty-cart p {
    font-size: 1rem;
  }

  .empty-cart .btn-explore {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Mode paysage sur mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .cart-section {
    padding: 30px 0;
  }

  .cart-items {
    max-height: 300px;
  }

  .cart-item {
    padding: 10px;
  }

  .cart-item-image {
    width: 50px;
    height: 50px;
  }

  .cart-item-info {
    flex: 1;
  }

  .cart-controls {
    width: auto;
  }
}

/* Tablettes en mode paysage */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .cart-container {
    max-width: 900px;
  }

  .cart-items {
    max-height: 450px;
  }

  .cart-item-info small {
    max-width: 300px;
  }
}

/* Écrans très larges */
@media screen and (min-width: 1600px) {
  .cart-section {
    padding: 100px 0;
  }

  .cart-container {
    max-width: 900px;
  }

  .cart-item {
    padding: 25px;
  }

  .cart-item-image {
    width: 100px;
    height: 100px;
  }

  .cart-item-info strong {
    font-size: 1.2rem;
  }

  .cart-item-info small {
    font-size: 0.95rem;
    max-width: 400px;
  }

  .cart-total {
    font-size: 1.6rem;
  }

  .cart-total strong {
    font-size: 2rem;
  }

  #validateCart {
    padding: 18px 50px;
    font-size: 1.2rem;
  }
}

/* Support du dark mode */
@media (prefers-color-scheme: dark) {
  .cart-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }

  .cart-container {
    background: #2d2d2d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .cart-container:hover {
    box-shadow: 0 30px 60px rgba(0, 168, 232, 0.2);
  }

  .cart-item {
    background: #363636;
    border-color: #404040;
  }

  .cart-item-info strong {
    color: #e0e0e0;
  }

  .cart-item-info small {
    color: #a0a0a0;
  }

  .cart-controls {
    background: #404040;
  }

  .cart-controls button {
    background: #4a4a4a;
    color: #e0e0e0;
  }

  .cart-controls button:hover:not(:disabled) {
    background: var(--accent-blue);
    color: white;
  }

  .cart-footer {
    background: linear-gradient(135deg, #363636, #2d2d2d);
    border-top-color: #404040;
  }

  .empty-cart p {
    color: #e0e0e0;
  }

  .empty-cart i {
    opacity: 0.1;
  }
}

/* Réduction des animations */
@media (prefers-reduced-motion: reduce) {
  .cart-item,
  .empty-cart i,
  #validateCart,
  .cart-controls button,
  .cart-item-image {
    animation: none;
    transition: none;
  }

  #validateCart::before {
    display: none;
  }
}

/* Impression */
@media print {
  .cart-section {
    background: white;
    padding: 20px;
  }

  .cart-section::before,
  .cart-section::after {
    display: none;
  }

  #validateCart,
  .cart-controls button,
  .cart-promo,
  .cart-container-header {
    display: none;
  }

  .cart-item {
    break-inside: avoid;
    border: 1px solid #ddd;
  }
}

/* ================== LOCALISATION AMÉLIORÉE ================== */
.location-simple {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

/* Effet de vague en arrière-plan */
.location-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--accent-blue);
  opacity: 0.1;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

.location-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.location-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  background: var(--accent-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  animation: fadeInUp 0.8s ease;
}

.location-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.location-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 168, 232, 0.15);
  height: 450px;
  transition: all 0.3s ease;
  animation: fadeInLeft 0.8s ease;
  position: relative;
}

.location-map:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 168, 232, 0.25);
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transition: transform 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.02);
}

/* Badge sur la carte */
.map-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-blue);
  z-index: 2;
  animation: pulse 2s infinite;
}

.map-badge i {
  color: var(--accent-orange);
}

.location-info {
  display: flex;
  align-items: center;
  animation: fadeInRight 0.8s ease;
}

.info-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}

/* Effet de brillance */
.info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255,255,255,0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 6s infinite;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 45px rgba(0, 168, 232, 0.2);
}

.info-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 15px 0;
  position: relative;
  display: inline-block;
}

.info-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 3px;
}

.address {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 25px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.address i {
  color: var(--accent-orange);
  font-size: 1.3rem;
  margin-top: 3px;
}

.address span {
  flex: 1;
}

/* Horaires */
.hours {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.hours i {
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-top: 3px;
}

.hours-content {
  flex: 1;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.hours-item .day {
  font-weight: 600;
  color: var(--text-primary);
}

.hours-item .time {
  color: var(--accent-blue);
  font-weight: 500;
}

.hours-note {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 8px;
  font-style: italic;
}

.info-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
  margin: 30px 0;
}

/* Contact info */
.contact-info {
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, rgba(0,168,232,0.1), rgba(255,107,53,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background: var(--accent-blue);
  color: white;
  transform: rotate(360deg);
}

.contact-item span {
  flex: 1;
}

/* Boutons */
.location-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.location-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.location-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.location-btn:hover::before {
  left: 100%;
}

.location-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
}

.location-btn i {
  transition: transform 0.3s ease;
}

.location-btn:hover i {
  transform: translateX(5px);
}

.location-btn.secondary {
  background: white;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.location-btn.secondary:hover {
  background: var(--accent-blue);
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shine {
  0% {
    left: -50%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* ================== RESPONSIVE DESIGN ================== */

/* Tablettes et petits écrans */
@media screen and (max-width: 1024px) {
  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
  }

  .location-header h2 {
    font-size: 2.4rem;
  }

  .location-map {
    height: 400px;
    order: 1;
  }

  .location-info {
    order: 2;
  }

  .info-card {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Mobiles */
@media screen and (max-width: 768px) {
  .location-simple {
    padding: 60px 0;
  }

  .location-header {
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .location-header h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .location-header p {
    font-size: 1rem;
    padding: 0 15px;
  }

  .location-wrapper {
    padding: 0 15px;
    gap: 25px;
  }

  .location-map {
    height: 300px;
    border-radius: 15px;
  }

  .map-badge {
    top: 10px;
    right: 10px;
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .info-card {
    padding: 25px;
  }

  .info-card h3 {
    font-size: 1.5rem;
  }

  .info-card h3::after {
    width: 40px;
  }

  .address {
    font-size: 1rem;
    gap: 10px;
  }

  .address i,
  .hours i {
    font-size: 1.1rem;
  }

  .hours-item {
    flex-direction: column;
    gap: 3px;
    margin-bottom: 12px;
  }

  .hours-item .day,
  .hours-item .time {
    font-size: 0.95rem;
  }

  .hours-note {
    font-size: 0.85rem;
  }

  .contact-item {
    gap: 10px;
  }

  .contact-item i {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .location-buttons {
    gap: 10px;
  }

  .location-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

/* Petits mobiles */
@media screen and (max-width: 480px) {
  .location-simple {
    padding: 40px 0;
  }

  .location-header h2 {
    font-size: 1.8rem;
  }

  .location-header p {
    font-size: 0.95rem;
  }

  .location-map {
    height: 250px;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h3 {
    font-size: 1.3rem;
  }

  .address {
    font-size: 0.95rem;
    flex-direction: column;
    gap: 5px;
  }

  .address i {
    margin-bottom: 5px;
  }

  .hours {
    flex-direction: column;
    gap: 8px;
  }

  .hours i {
    align-self: flex-start;
  }

  .contact-item {
    flex-wrap: wrap;
  }

  .contact-item i {
    width: 28px;
    height: 28px;
  }

  .location-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .map-badge {
    display: none; /* Caché sur très petits écrans */
  }
}

/* Mode paysage sur mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .location-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .location-map {
    height: 280px;
  }

  .info-card {
    padding: 20px;
  }

  .hours-item {
    flex-direction: row;
  }
}

/* Tablettes en mode paysage */
@media screen and (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .location-wrapper {
    grid-template-columns: 1.5fr 1fr;
  }

  .location-map {
    height: 380px;
  }
}

/* Écrans très larges */
@media screen and (min-width: 1600px) {
  .location-wrapper {
    max-width: 1500px;
  }

  .location-map {
    height: 500px;
  }

  .info-card {
    padding: 50px;
  }

  .info-card h3 {
    font-size: 2rem;
  }

  .address {
    font-size: 1.2rem;
  }
}

/* Support des écrans à haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .info-card {
    border-width: 0.5px;
  }
}

/* Réduction des animations pour les utilisateurs qui préfèrent moins d'animations */
@media (prefers-reduced-motion: reduce) {
  .location-header h2,
  .location-header p,
  .location-map,
  .location-info,
  .info-card,
  .location-btn,
  .contact-item i,
  .map-badge {
    animation: none;
    transition: none;
  }

  .info-card::before,
  .location-btn::before {
    display: none;
  }
}



/* ================== BOUTONS FLOTTANTS ================== */
#whatsappFloat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 2000;
}

#whatsappFloat img {
  width: 28px;
  height: 28px;
}

#whatsappFloat:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.tiktok-float {
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 80px;
  right: 20px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: transform 0.3s ease;
}

.tiktok-float img {
  width: 28px;
  height: 28px;
}

.tiktok-float:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 15px rgba(0,0,0,0.3);
}

/* ================== ADMIN ================== */
.modal { 
  position: fixed; 
  top:0; 
  left:0; 
  width:100%; 
  height:100%; 
  background: rgba(0,0,0,0.5); 
  display:none; 
  align-items:center; 
  justify-content:center; 
  z-index: 1000;
}

.modal-content { 
  background: white; 
  padding: 30px; 
  border-radius: 20px; 
  width: 90%; 
  max-width: 350px; 
  text-align: center;
}

/* ======================== FOOTER PRO ======================== */
.site-footer {
  background: #060911;
  position: relative;
  overflow: hidden;
  color: white;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(0,168,232,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 20%, rgba(255,140,0,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Ligne dégradée en haut du footer */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-blue);
}

.footer-body {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TOP ── */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 3rem 0 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand-name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.fb-blue   { color: var(--accent-blue); }
.fb-orange { color: var(--accent-orange); }

.footer-tagline {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0 0 0.6rem;
}

.footer-about {
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.fsocial-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  color: #64748b;
  background: rgba(255,255,255,0.04);
}

.fsocial-btn:hover { transform: translateY(-3px); }
.fsocial-wa:hover  { background: rgba(37,211,102,0.15); color: #25d366; border-color: rgba(37,211,102,0.3); }
.fsocial-tt:hover  { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ── DIVIDER ── */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,168,232,0.35), rgba(255,140,0,0.35), transparent);
  margin-bottom: 2.5rem;
}

/* ── COLONNES ── */
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-col-title {
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title i {
  color: var(--accent-blue);
  font-size: 0.75rem;
}

/* Valeurs */
.footer-values-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-values-list li {
  color: #475569;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s;
}

.footer-values-list li:hover { color: #94a3b8; }

.fval-icon { font-size: 1rem; flex-shrink: 0; }

/* Navigation */
.footer-nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list a {
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  padding: 0.25rem 0;
}

.footer-nav-list a i { font-size: 0.6rem; color: var(--accent-blue); transition: transform 0.2s; }
.footer-nav-list a:hover { color: var(--accent-blue); padding-left: 4px; }
.footer-nav-list a:hover i { transform: translateX(3px); }

/* Contact */
.footer-contact-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fcontact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  transition: all 0.25s;
}

.fcontact-link:hover { border-color: rgba(0,168,232,0.25); background: rgba(0,168,232,0.06); }

.fcontact-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
}

.fcontact-wa .fcontact-icon  { color: #25d366; background: rgba(37,211,102,0.1); }
.fcontact-tt .fcontact-icon  { color: #fff; }
.fcontact-loc .fcontact-icon { color: var(--accent-orange); background: rgba(255,140,0,0.1); }

.fcontact-label {
  font-size: 0.7rem;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.fcontact-val { font-size: 0.85rem; color: #64748b; }

/* ── BOTTOM ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy  { color: #334155; font-size: 0.78rem; }
.footer-made  { color: #334155; font-size: 0.78rem; }

.footer-heart {
  color: var(--accent-orange);
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top  { padding: 2rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--logo-blue);
  margin-bottom: 10px;
}



/* Affichage 2 colonnes sur tablettes et mobiles */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
  }
}

/* Optionnel : Ajustement pour très petits téléphones */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .card-body {
    padding: 10px; /* Réduit l'espace interne des cartes sur petit écran */
  }
}

/* Delete modal needs to be above the admin panel */
#deleteModal {
  z-index: 999999 !important;
}

#authModal {
  z-index: 999999 !important;
}

.admin-login-card {
  background: #0f1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.admin-login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}

.admin-login-header h3 {
  color: #f1f5f9;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}

.admin-login-header p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.admin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #1e2130;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0 1rem;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
}

.admin-input-wrap:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.admin-input-wrap > i {
  color: #475569;
  margin-right: 0.75rem;
}

.admin-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f1f5f9;
  padding: 1rem 0;
  font-size: 1rem;
}

.admin-input-wrap input::placeholder { color: #475569; }

.toggle-pass {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
}
.toggle-pass:hover { color: #94a3b8; }

.login-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.admin-login-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: none !important;
  border-radius: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.75rem;
}

.admin-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}

.btn-outline-admin {
  width: 100%;
  padding: 0.85rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline-admin:hover {
  border-color: rgba(255,255,255,0.2);
  color: #f1f5f9;
}

/* ======================== ADMIN PANEL ======================== */
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  background: #080b12;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* SIDEBAR */
.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: #0d1018;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  transition: transform 0.3s ease;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.2rem;
}

.admin-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.admin-brand-name {
  color: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-brand-role {
  color: #475569;
  font-size: 0.75rem;
}

.admin-nav {
  flex: 1;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  color: #64748b;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
  transition: all 0.2s;
  position: relative;
}

.admin-nav-item i {
  width: 20px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.admin-nav-item span:first-of-type { flex: 1; }

.admin-nav-item:hover {
  background: rgba(99,102,241,0.08);
  color: #94a3b8;
}

.admin-nav-item.active {
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
}

.admin-badge {
  background: rgba(99,102,241,0.2);
  color: #a5b4fc;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.admin-badge-green {
  background: rgba(16,185,129,0.15);
  color: #34d399;
}

.admin-sidebar-footer {
  padding: 1rem 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 1rem;
  background: transparent;
  border: none;
  color: #ef4444;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.admin-logout-btn:hover {
  background: rgba(239,68,68,0.1);
}

/* MAIN */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #080b12;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #0d1018;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  min-height: 64px;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.4rem;
}

.admin-breadcrumb {
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 600;
}

.admin-topbar-right { display: flex; align-items: center; gap: 1rem; }

.admin-user-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.admin-avatar {
  color: #6366f1;
  font-size: 1.5rem;
}

/* TABS */
.admin-tab {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.admin-tab.active { display: block; }

.admin-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-tab-header h2 {
  color: #f1f5f9;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

/* STATS */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.2s;
}

.admin-stat-card:hover { transform: translateY(-2px); }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.admin-stat-blue .stat-icon { background: rgba(99,102,241,0.15); color: #818cf8; }
.admin-stat-green .stat-icon { background: rgba(16,185,129,0.15); color: #34d399; }
.admin-stat-orange .stat-icon { background: rgba(245,158,11,0.15); color: #fbbf24; }
.admin-stat-purple .stat-icon { background: rgba(168,85,247,0.15); color: #c084fc; }

.stat-value {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: #475569;
  font-size: 0.75rem;
}

/* DASHBOARD PRODUCT LIST */
.admin-section-title {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.dashboard-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dashboard-product-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.dashboard-product-row:hover { border-color: rgba(99,102,241,0.3); }

.dashboard-product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #1e2130;
  flex-shrink: 0;
}

.dashboard-product-thumb-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #1e2130;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 1rem;
  flex-shrink: 0;
}

.dashboard-product-name {
  flex: 1;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
}

.dashboard-product-price {
  color: #fbbf24;
  font-size: 0.875rem;
  font-weight: 600;
}

.dashboard-product-id {
  color: #334155;
  font-size: 0.75rem;
  font-family: monospace;
}

/* PRODUCT GRID (admin) */
.admin-search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s;
}

.admin-search-bar:focus-within { border-color: #6366f1; }

.admin-search-bar i { color: #475569; }

.admin-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f1f5f9;
  padding: 0.9rem 0;
  font-size: 0.9rem;
}

.admin-search-bar input::placeholder { color: #475569; }

.admin-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-product-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  position: relative;
}

.admin-product-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
}

.admin-product-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #1e2130;
}

.admin-product-card-img-placeholder {
  width: 100%;
  height: 160px;
  background: #1e2130;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  font-size: 2.5rem;
}

.admin-product-card-body {
  padding: 1rem;
}

.admin-product-card-name {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.admin-product-card-desc {
  color: #64748b;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  /* stylelint-disable-next-line */
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-product-card-price {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.admin-product-card-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-btn-edit {
  flex: 1;
  padding: 0.6rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: #a5b4fc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.admin-btn-edit:hover {
  background: rgba(99,102,241,0.2);
  border-color: #6366f1;
}

.admin-btn-delete {
  flex: 1;
  padding: 0.6rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.admin-btn-delete:hover {
  background: rgba(239,68,68,0.2);
  border-color: #ef4444;
}

/* FORM */
.admin-form-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
  max-width: 720px;
}

.admin-product-form { display: flex; flex-direction: column; gap: 1.5rem; }

.admin-image-upload-area {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  background: #080b12;
}

.admin-image-upload-area:hover {
  border-color: #6366f1;
  background: rgba(99,102,241,0.04);
}

.admin-image-upload-area.drag-over {
  border-color: #6366f1;
  background: rgba(99,102,241,0.08);
}

.upload-placeholder {
  text-align: center;
  color: #475569;
  pointer-events: none;
}

.upload-placeholder i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
  color: #334155;
}

.upload-placeholder p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 0.3rem;
}

.upload-placeholder span {
  font-size: 0.8rem;
  color: #475569;
}

#adminImagePreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.remove-image-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: rgba(239,68,68,0.8);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s;
}

.remove-image-btn:hover { background: #ef4444; }

.admin-form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-field label {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  background: #080b12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #f1f5f9;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.admin-field input::placeholder,
.admin-field textarea::placeholder { color: #334155; }

.admin-field textarea { resize: vertical; min-height: 90px; }

.admin-price-input {
  display: flex;
  align-items: center;
  background: #080b12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.admin-price-input:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.admin-price-input span {
  padding: 0.9rem 1rem;
  background: #1e2130;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.admin-price-input input {
  flex: 1;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.admin-id-row {
  display: flex;
  gap: 0.5rem;
}

.admin-id-row input { flex: 1; }

.admin-field small {
  color: #334155;
  font-size: 0.75rem;
}

.admin-form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.35);
}

.admin-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  color: #94a3b8;
}

.admin-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  color: #f87171;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-danger:hover {
  background: rgba(239,68,68,0.2);
}

/* ORDERS */
.admin-order-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-order-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.admin-order-icon {
  width: 40px;
  height: 40px;
  background: rgba(16,185,129,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  flex-shrink: 0;
}

.admin-order-info { flex: 1; }

.admin-order-name {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.admin-order-detail {
  color: #64748b;
  font-size: 0.8rem;
}

.admin-order-price {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 700;
}

.admin-order-time {
  color: #334155;
  font-size: 0.75rem;
  text-align: right;
}

/* EMPTY STATE */
.admin-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #334155;
}

.admin-empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.admin-empty-state p { font-size: 1rem; }

/* DELETE MODAL */
.delete-confirm-card {
  background: #0f1117;
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 400px;
  text-align: center;
}

.delete-icon {
  width: 60px;
  height: 60px;
  background: rgba(239,68,68,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  color: #ef4444;
  font-size: 1.5rem;
}

.delete-confirm-card h3 {
  color: #f1f5f9;
  margin: 0 0 0.5rem;
}

.delete-confirm-card p { color: #64748b; margin: 0 0 1.5rem; }

.btn-danger-admin {
  background: #ef4444;
  border: none;
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.btn-danger-admin:hover { background: #dc2626; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 1000;
    transform: translateX(-100%);
  }

  .admin-sidebar.open { transform: translateX(0); }

  .admin-mobile-menu-btn { display: block; }

  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .admin-form-two-col { grid-template-columns: 1fr; }

  .admin-tab { padding: 1.25rem; }

  .admin-topbar { padding: 1rem; }
}

@media (max-width: 480px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
}

/* ======================== DASHBOARD STATS EXTRAS ======================== */
.admin-stats-grid-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: -0.5rem;
}

.admin-chart-section {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-chart-wrap {
  height: 220px;
  position: relative;
}

.admin-two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-sub-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}

.admin-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ranked-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ranked-medal {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.ranked-info {
  flex: 1;
  min-width: 0;
}

.ranked-name {
  color: #cbd5e1;
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.ranked-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.ranked-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width 0.6s ease;
}

.ranked-count {
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .admin-stats-grid-3 { grid-template-columns: 1fr 1fr !important; }
  .admin-two-col-section { grid-template-columns: 1fr; }
}

/* ======================== ORDER STATUS SYSTEM ======================== */

/* Filter bar */
.order-filter-wrap {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.order-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #64748b;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.order-filter-btn:hover {
  border-color: rgba(255,255,255,0.2);
  color: #94a3b8;
}

.order-filter-btn.active {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: #a5b4fc;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.status-pending    { background: #f59e0b; }
.status-dot.status-processing { background: #3b82f6; }
.status-dot.status-delivered  { background: #10b981; }
.status-dot.status-cancelled  { background: #ef4444; }

/* Order stats row */
.order-stats-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.order-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--sbg);
  border-radius: 10px;
  color: var(--sc);
  font-size: 0.8rem;
}

.order-stat-pill i { font-size: 0.85rem; }
.order-stat-pill span:nth-child(2) { font-weight: 700; font-size: 0.95rem; }
.order-stat-pill span:nth-child(3) { color: inherit; opacity: 0.7; }

/* Order card */
.order-card {
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.order-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-1px);
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem 1.4rem 0.75rem;
  gap: 1rem;
}

.order-card-left {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.order-card-id {
  color: #334155;
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 700;
  background: #1e2130;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.order-client-name {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.order-client-name i { color: #475569; font-size: 0.8rem; }

.order-client-addr {
  color: #64748b;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.order-client-addr i { color: #334155; font-size: 0.75rem; }

.order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.order-card-date {
  color: #334155;
  font-size: 0.72rem;
}

/* Order body */
.order-card-body {
  padding: 0 1.4rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 0.75rem;
}

.order-product-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.order-total {
  margin-left: auto;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Order footer */
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  gap: 1rem;
  flex-wrap: wrap;
}

.order-status-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #475569;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}

.status-pill:hover {
  background: var(--sbg);
  border-color: var(--sborder);
  color: var(--sc);
}

.status-pill.active {
  background: var(--sbg);
  border-color: var(--sborder);
  color: var(--sc);
  font-weight: 600;
}

.order-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.order-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-weight: 500;
}

.order-action-wa {
  background: rgba(37,211,102,0.12);
  color: #25d366;
  border: 1px solid rgba(37,211,102,0.25);
}
.order-action-wa:hover {
  background: rgba(37,211,102,0.22);
}

.order-action-del {
  background: rgba(239,68,68,0.08);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.18);
}
.order-action-del:hover {
  background: rgba(239,68,68,0.18);
}

@media (max-width: 768px) {
  .order-card-header { flex-direction: column; }
  .order-card-right { align-items: flex-start; }
  .order-card-footer { flex-direction: column; align-items: flex-start; }
  .order-filter-wrap { gap: 0.3rem; }
  .order-filter-btn { padding: 0.35rem 0.65rem; font-size: 0.72rem; }
}

/* ======================== MULTI-IMAGE UPLOAD GRID ======================== */
.multi-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.multi-img-slot {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.multi-img-slot.filled {
  border: 2px solid rgba(99,102,241,0.3);
}

.multi-img-slot.filled:hover { border-color: #6366f1; }

.multi-img-slot.filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.multi-img-slot.empty {
  border: 2px dashed rgba(255,255,255,0.1);
  background: #080b12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: #334155;
  transition: all 0.2s;
}

.multi-img-slot.empty:hover {
  border-color: #6366f1;
  background: rgba(99,102,241,0.06);
  color: #6366f1;
}

.multi-img-slot.empty i { font-size: 1.5rem; }
.multi-img-slot.empty span { font-size: 0.8rem; }
.multi-img-slot.empty small { font-size: 0.7rem; opacity: 0.6; }

.multi-img-badge-main {
  position: absolute;
  bottom: 0.4rem;
  left: 0.4rem;
  background: rgba(99,102,241,0.85);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.multi-img-remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 24px;
  height: 24px;
  background: rgba(239,68,68,0.85);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.15s;
  backdrop-filter: blur(4px);
}

.multi-img-slot.filled:hover .multi-img-remove { opacity: 1; }

.multi-img-order {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.55);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Drag ghost */
.multi-img-slot[draggable="true"] { cursor: grab; }
.multi-img-slot[draggable="true"]:active { cursor: grabbing; opacity: 0.7; }

/* ======================== PRODUCT CARD GALLERY ======================== */
/* ===== CARTE PRODUIT — IMAGE ===== */
.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #f5f5f5;
}

.card-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #f5f5f5;
}

.card-img-wrap .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-gallery-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0,0,0,0.65);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transition: all 0.25s;
}

.card-img-wrap:hover .card-img-overlay {
  background: rgba(0,0,0,0.3);
  opacity: 1;
}

/* ======================== LIGHTBOX ======================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  animation: lightboxOpen 0.25s ease;
}

@keyframes lightboxOpen {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lightboxFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: none;
  width: auto;
}

.lightbox-main-wrap {
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox-main-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(80vw, 700px);
  max-height: 65vh;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

.lightbox-thumbs {
  display: flex;
  gap: 0.6rem;
  pointer-events: all;
}

.lightbox-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
  flex-shrink: 0;
}

.lightbox-thumb:hover { border-color: rgba(255,255,255,0.5); }
.lightbox-thumb.active { border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,0.4); }

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-counter {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  pointer-events: none;
}

@media (max-width: 600px) {
  .multi-img-grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox-main-img { max-width: 92vw; max-height: 55vh; }
  .lightbox-thumb { width: 48px; height: 48px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ======================== LIGHTBOX IMPROVEMENTS ======================== */
.lightbox-product-name {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  pointer-events: none;
  min-height: 1.4em;
}

.lightbox-thumb {
  position: relative;
}

.lightbox-thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(99,102,241,0.85);
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Card gallery mini-dots indicator for multiple images */
.card-img-dots {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}

.card-img-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.card-img-dot.active {
  background: white;
  width: 14px;
  border-radius: 3px;
}

/* ======================== TRUST BAND ======================== */
.trust-band {
  background: linear-gradient(90deg, #0077b6 0%, #00a8e8 40%, #0096d6 70%, #0077b6 100%);
  background-size: 200% 100%;
  animation: trustBgShift 8s ease-in-out infinite alternate;
  overflow: hidden;
  padding: 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,168,232,0.35);
}

.trust-band::before,
.trust-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trust-band::before {
  left: 0;
  background: linear-gradient(to right, #0077b6, transparent);
}

.trust-band::after {
  right: 0;
  background: linear-gradient(to left, #0077b6, transparent);
}

@keyframes trustBgShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.trust-band-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: trustScroll 32s linear infinite;
  padding: 0.9rem 0;
}

.trust-band-track:hover {
  animation-play-state: paused;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 2rem;
  color: rgba(255,255,255,0.95);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trust-item i {
  font-size: 0.9rem;
  color: #ffffff;
  opacity: 0.9;
  flex-shrink: 0;
}

.trust-item.trust-sep {
  color: rgba(255,255,255,0.35);
  font-size: 0.6rem;
  padding: 0 0.25rem;
  gap: 0;
}

@keyframes trustScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======================== TOP PRODUITS — MODERNISÉ ======================== */
.top-products-section {
  padding: 3.5rem 0 3rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.top-products-section::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.top-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-products-header-left { flex: 1; }

.top-products-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff8c00;
  background: rgba(255,140,0,0.08);
  border: 1px solid rgba(255,140,0,0.25);
  padding: 0.28rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}

.top-products-eyebrow i { font-size: 0.62rem; animation: flamePulse 1.5s ease-in-out infinite; }

@keyframes flamePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.top-products-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 0.3rem;
  background: linear-gradient(135deg, var(--accent-blue), #0077b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.top-products-sub {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 0;
}

/* Boutons nav */
.top-products-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.tp-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,168,232,0.25);
  background: #fff;
  color: var(--accent-blue);
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
  box-shadow: 0 3px 10px rgba(0,168,232,0.12);
  flex-shrink: 0;
}

.tp-nav-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 5px 16px rgba(0,168,232,0.35);
  transform: scale(1.08);
}

.tp-nav-btn.disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Viewport + Track */
.top-products-viewport {
  overflow: hidden;
  width: 100%;
}

.top-products-track {
  display: flex;
  gap: 14px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0.4rem 0 1rem;
}

/* ── Carte ── */
.top-card {
  position: relative;
  flex-shrink: 0;
  width: 148px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(0,168,232,0.1);
  box-shadow: 0 2px 10px rgba(0,168,232,0.07);
  transition: transform 0.26s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.26s ease,
              border-color 0.26s ease;
}

.top-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,168,232,0.4);
  box-shadow: 0 12px 32px rgba(0,168,232,0.18);
}

/* Numéro de rang */
.top-card-rank {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 3;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,168,232,0.45);
  line-height: 1;
}

.top-card-rank.rank-1 {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 10px rgba(245,158,11,0.5);
  font-size: 0.78rem;
}

.top-card-rank.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
}

.top-card-rank.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
}

/* Image */
.top-card-img-wrap {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #e8f6fd;
}

.top-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.top-card:hover .top-card-img { transform: scale(1.07); }

.top-card-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--accent-blue); opacity: 0.3;
}

/* Badge populaire */
.top-card-badge {
  position: absolute;
  bottom: 0.5rem; right: 0.5rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 20px;
  background: rgba(255,140,0,0.9);
  color: #fff;
  display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 2px 6px rgba(255,140,0,0.4);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.top-card-badge i { font-size: 0.55rem; }

/* Overlay panier */
.top-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,100,160,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.65rem;
}

.top-card:hover .top-card-overlay { opacity: 1; }

.top-card-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(6px);
  transition: transform 0.25s ease, background 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.top-card:hover .top-card-add-btn { transform: translateY(0); }
.top-card-add-btn:hover { background: #0093cc; }

/* Info */
.top-card-info {
  padding: 0.6rem 0.7rem 0.7rem;
}

.top-card-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.top-card-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-blue);
}

/* Empty */
.top-products-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.top-products-empty i {
  font-size: 2rem; margin-bottom: 0.5rem;
  display: block; opacity: 0.3;
  color: var(--accent-blue);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .top-products-section { padding: 3rem 0 2.5rem; }
  .top-card { width: 128px; }
  .top-card-img-wrap { height: 128px; }
  .top-products-track { gap: 10px; }
}

@media (max-width: 480px) {
  .top-card { width: 118px; }
  .top-card-img-wrap { height: 115px; }
  .top-products-track { gap: 9px; }
  .top-card-overlay { opacity: 1; }
  .top-card-add-btn { transform: translateY(0); }
  .tp-nav-btn { width: 32px; height: 32px; font-size: 0.75rem; }
}

/* ======================== TENDANCES SECTION WRAPPER ======================== */
.tendances-section {
  padding: 0;
  background: transparent;
}

/* Garder les anciens styles carousel pour compatibilité */
.tendances-header { text-align: center; margin-bottom: 2rem; padding: 0 1rem; }
.tendances-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(0,168,232,0.1); border: 1px solid rgba(0,168,232,0.3);
  color: #00a8e8; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.35rem 1rem; border-radius: 20px; margin-bottom: 0.9rem;
}
.tendances-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  color: var(--text-primary); margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--accent-blue), #0077b6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tendances-sub { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* ── Carousel wrapper ── */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.5rem;
}

.carousel-viewport {
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: none;
  mask-image: none;
}

/* ── Boutons chevrons ── */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,168,232,0.25);
  background: #ffffff;
  color: #00a8e8;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,168,232,0.15);
}

.carousel-btn:hover {
  border-color: #00a8e8;
  background: #00a8e8;
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0,168,232,0.35);
}

.carousel-btn:active {
  transform: scale(0.96);
}

.carousel-btn.disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.carousel-prev { margin-right: 12px; }
.carousel-next { margin-left: 12px; }

/* ── Track ── */
.tendances-track {
  display: flex;
  gap: 20px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0.5rem 0 1rem;
  width: 100%;
}

/* ── Carte redesignée ── */
.tendance-card {
  position: relative;
  width: calc(25% - 15px);
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid rgba(0,168,232,0.12);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,168,232,0.08);
}

.tendance-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0,168,232,0.45);
  box-shadow: 0 16px 40px rgba(0,168,232,0.18);
}

.tendance-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.tendance-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tendance-card:hover .tendance-card-img { transform: scale(1.06); }

.tendance-card-no-img {
  background: #e8f6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5d4;
  font-size: 2rem;
}

.tendance-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
}

.tendance-badge-hot {
  background: rgba(239,68,68,0.85);
  color: #fff;
}

.tendance-badge-new {
  background: rgba(0,168,232,0.85);
  color: #fff;
}

.tendance-card-info {
  padding: 0.8rem 0.9rem 0.65rem;
  background: #ffffff;
}

.tendance-card-name {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.tendance-card-price {
  color: #00a8e8;
  font-size: 0.85rem;
  font-weight: 800;
}

.tendance-add-btn {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  width: 32px;
  height: 32px;
  background: #00a8e8;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,168,232,0.4);
}

.tendance-card:hover .tendance-add-btn {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 0.8rem; }
  .carousel-prev { margin-right: 6px; }
  .carousel-next { margin-left: 6px; }
  .tendance-card { width: calc(50% - 10px); }
  .tendance-card-img-wrap { height: 145px; }
  .tendances-track { gap: 0.75rem; padding: 0.5rem 0.5rem 1rem; }
}

/* ======================== ARRIVAGES RÉCENTS — SCROLL AUTO ======================== */

.new-arrivals-section {
  padding: 3.5rem 0 3rem;
  background: #f8faff;
  position: relative;
  overflow: hidden;
}

/* Header */
.new-arrivals-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.new-arrivals-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.9rem;
}

.new-arrivals-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: inline-block;
  animation: dotPulse 2s ease-in-out infinite;
}

.new-arrivals-dot:last-child { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.new-arrivals-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--accent-blue), #0077b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.new-arrivals-title em {
  font-style: normal;
}

.new-arrivals-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0;
}

/* ── Conveyor belt (scroll droite→gauche) ── */
.new-arrivals-belt {
  position: relative;
  overflow: hidden;
  /* Fade sur les bords */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.new-arrivals-belt:hover .new-arrivals-track {
  animation-play-state: paused;
}

.new-arrivals-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: beltScroll 28s linear infinite;
}

@keyframes beltScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Card ── */
.arrival-card {
  position: relative;
  width: 165px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid rgba(0,168,232,0.12);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0,168,232,0.09);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1),
              border-color 0.25s ease,
              box-shadow 0.28s ease;
}

.arrival-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(0,168,232,0.5);
  box-shadow: 0 12px 32px rgba(0,168,232,0.22);
}

/* Image */
.arrival-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #e8f6fd;
}

.arrival-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.arrival-card:hover .arrival-img { transform: scale(1.07); }

.arrival-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #93c5d4;
  background: linear-gradient(135deg, #e8f6fd, #cce9f7);
}

/* Badge */
.arrival-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 20px;
  background: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  box-shadow: 0 2px 8px rgba(0,168,232,0.4);
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Overlay */
.arrival-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,119,182,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.75rem;
}

.arrival-card:hover .arrival-overlay { opacity: 1; }

.arrival-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  color: var(--accent-blue);
  border: none;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(6px);
  transition: transform 0.28s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.arrival-card:hover .arrival-add-btn { transform: translateY(0); }
.arrival-add-btn:hover { background: var(--accent-blue); color: white; }

/* Info */
.arrival-info {
  padding: 0.65rem 0.75rem 0.7rem;
  background: #fff;
}

.arrival-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.arrival-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-blue);
}

/* Empty state */
.arrivals-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  width: 100%;
}
.arrivals-empty i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.35;
  color: var(--accent-blue);
}

/* Mobile — bouton toujours visible */
@media (max-width: 768px) {
  .new-arrivals-section { padding: 2.5rem 0 2rem; }
  .arrival-card { width: 145px; }
  .arrival-img-wrap { height: 140px; }
  .new-arrivals-track { gap: 0.75rem; }
  .arrival-overlay { opacity: 1; }
  .arrival-add-btn { transform: translateY(0); font-size: 0.65rem; padding: 0.38rem 0.75rem; }
}

@media (max-width: 480px) {
  .arrival-card { width: 130px; }
  .arrival-img-wrap { height: 125px; }
  .new-arrivals-title { font-size: 1.5rem; }
}

/* ======================== ADMIN LOGIN - CHAMP IDENTIFIANT ======================== */
.admin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}
.admin-input-wrap:focus-within {
  border-color: rgba(99,102,241,0.5);
}
.admin-input-wrap > i {
  color: #475569;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-right: 0.6rem;
}
.admin-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-size: 0.95rem;
  padding: 0.85rem 0;
  font-family: inherit;
}
.admin-input-wrap input::placeholder { color: #334155; }
.admin-input-wrap .toggle-pass {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.85rem;
}
.admin-input-wrap .toggle-pass:hover { color: #94a3b8; }

/* ======================== ADMIN LIST (GESTION ADMINS) ======================== */
.admin-list-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #0d1018;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  transition: border-color 0.2s;
}
.admin-list-item:hover { border-color: rgba(99,102,241,0.2); }

.admin-list-avatar {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.admin-list-info {
  flex: 1;
  min-width: 0;
}

.admin-list-name {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.admin-list-you {
  background: rgba(99,102,241,0.2);
  color: #a5b4fc;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-list-login, .admin-list-date {
  color: #475569;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.admin-list-protected {
  color: #334155;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-list-actions { flex-shrink: 0; }

/* ======================== ADMIN PANEL RESPONSIVE COMPLET ======================== */

/* Scrollable main content */
.admin-main {
  overflow-y: auto !important;
  overflow-x: hidden;
}

.admin-tab {
  padding: 1.75rem 2rem;
  overflow-x: hidden;
}

/* Tab header responsive */
.admin-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-tab-header h2 {
  color: #f1f5f9;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  margin: 0;
}

/* Stats grid responsive */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Order filter wrap on small screens */
.order-filter-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.order-filter-wrap::-webkit-scrollbar { display: none; }

/* Product form responsive */
.admin-product-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Order card footer responsive */
.order-card-footer {
  gap: 0.75rem;
}

/* === BREAKPOINT 1024px === */
@media (max-width: 1024px) {
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .admin-tab { padding: 1.25rem 1.5rem; }
}

/* ========================================
   BREAKPOINT 768px — TABLETTE
======================================== */
@media (max-width: 768px) {

  /* Panel principal */
  .admin-panel {
    flex-direction: column;
    overflow: hidden;
  }

  /* Sidebar cachée par défaut — drawer latéral */
  .admin-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 10000;
    width: 260px;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 6px 0 32px rgba(0,0,0,0.5);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }

  /* Bouton hamburger visible */
  .admin-mobile-menu-btn {
    display: flex !important;
  }

  /* Zone principale */
  .admin-main {
    flex: 1;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* Topbar */
  .admin-topbar {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .admin-topbar-left {
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
  }
  .admin-topbar-right {
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .admin-topbar-title {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .admin-user-info span { display: none; }

  /* Contenu des tabs */
  .admin-tab { padding: 1rem; }

  /* Grilles stats */
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .admin-stats-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Sections deux colonnes → une colonne */
  .admin-two-col-section { grid-template-columns: 1fr; }
  .admin-form-two-col { grid-template-columns: 1fr !important; }

  /* Header tabs */
  .admin-tab-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .admin-tab-header > div {
    width: 100%;
    flex-wrap: wrap;
  }

  /* Grille produits admin → 2 colonnes */
  .admin-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  /* Cartes commandes */
  .order-card-header { flex-direction: column; gap: 0.5rem; }
  .order-card-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .order-card-footer { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .order-status-selector { flex-wrap: wrap; gap: 0.35rem; }
  .order-actions { justify-content: flex-end; }

  /* Liste items */
  .admin-list-item { flex-wrap: wrap; gap: 0.75rem; }
  .admin-list-actions { width: 100%; display: flex; justify-content: flex-end; }

  /* Images multi */
  .multi-img-grid { grid-template-columns: repeat(4, 1fr); }

  /* Chart */
  .admin-chart-wrap { height: 200px; }
}

/* ========================================
   BREAKPOINT 480px — MOBILE
======================================== */
@media (max-width: 480px) {

  /* Stats → 2 colonnes compactes */
  .admin-stats-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .admin-stats-grid-3 { grid-template-columns: 1fr 1fr !important; }
  .admin-stat-card { padding: 0.85rem 0.75rem; }
  .stat-value { font-size: 1.3rem !important; }
  .stat-icon { width: 34px; height: 34px; font-size: 0.85rem; }
  .stat-label { font-size: 0.72rem; }

  /* Tab padding réduit */
  .admin-tab { padding: 0.75rem 0.65rem; }
  .admin-topbar { padding: 0.65rem 0.75rem; }

  /* Titre topbar plus petit */
  .admin-topbar-title { font-size: 0.92rem; }

  /* Grille produits → 1 colonne */
  .admin-product-grid { grid-template-columns: 1fr !important; }

  /* Carte produit admin */
  .admin-product-card { padding: 0.75rem; }
  .admin-product-card img { height: 140px; }

  /* Chart */
  .admin-chart-wrap { height: 160px; }

  /* Filtres commandes */
  .order-filter-wrap { gap: 0.25rem; flex-wrap: wrap; }
  .order-filter-btn { padding: 0.3rem 0.5rem; font-size: 0.68rem; }
  .status-pill { padding: 0.25rem 0.5rem; font-size: 0.68rem; }

  /* Boutons */
  .admin-btn-primary, .admin-btn-ghost, .admin-btn-danger {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  /* Formulaire */
  .admin-form-card { padding: 0.85rem; }
  .admin-form-group label { font-size: 0.8rem; }
  .admin-input, .admin-select, .admin-textarea {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
  }

  /* Images multi */
  .multi-img-grid { grid-template-columns: repeat(2, 1fr); }

  /* Liste */
  .admin-list-item { padding: 0.75rem; }
  .admin-list-avatar { width: 36px; height: 36px; font-size: 1rem; }
  .admin-list-name { font-size: 0.85rem; }
  .admin-list-sub { font-size: 0.72rem; }

  /* Commandes */
  .order-card { border-radius: 12px; }
  .order-card-header,
  .order-card-body,
  .order-card-footer { padding-left: 0.75rem; padding-right: 0.75rem; }
  .order-card-id { font-size: 0.8rem; }
  .order-client-name { font-size: 0.85rem; }
  .order-client-addr { font-size: 0.75rem; }
  .order-status-badge { font-size: 0.72rem; padding: 0.25rem 0.5rem; }
  .order-total { font-size: 0.85rem; }

  /* Stats commandes */
  .order-stat-pill { padding: 0.4rem 0.6rem; font-size: 0.72rem; }
  .order-stats-row { gap: 0.4rem; flex-wrap: wrap; }

  /* Section tendances admin */
  .admin-two-col-section { gap: 0.75rem; }

  /* Bouton voir le site */
  .admin-visit-site-btn span { display: none; }
  .admin-visit-site-btn { padding: 0.5rem; border-radius: 8px; }
}

/* ========================================
   BREAKPOINT 360px — TRÈS PETIT MOBILE
======================================== */
@media (max-width: 360px) {
  .admin-stats-grid { grid-template-columns: 1fr; }
  .admin-stats-grid-3 { grid-template-columns: 1fr !important; }
  .admin-stat-card { padding: 0.75rem; flex-direction: row; align-items: center; gap: 0.75rem; }
  .admin-topbar-title { display: none; }
  .order-filter-btn { font-size: 0.64rem; padding: 0.25rem 0.4rem; }
}

/* Sidebar overlay pour mobile */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.admin-sidebar-overlay.active { display: block; }

/* ======================== BOUTON VOIR LE SITE ======================== */
.admin-visit-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 8px;
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.admin-visit-site-btn:hover {
  background: rgba(99,102,241,0.25);
  border-color: rgba(99,102,241,0.6);
  color: #c7d2fe;
}
.admin-visit-site-btn i { font-size: 0.78rem; }

/* ================== STOCK BADGE ================== */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  white-space: nowrap;
}
.stock-in {
  background: rgba(16,185,129,0.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.3);
}
.stock-out {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.25);
}
.card-price-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.card-price-row .card-price { margin-bottom: 0; }
.btn-out-of-stock {
  width: 100%;
  padding: 0.75rem;
  background: #1e2130;
  color: #64748b;
  border: 1px solid #2a3040;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.7;
}

/* ================== STOCK QTY ADMIN FORM ================== */
.admin-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 180px;
  border: 1px solid #2a3040;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.admin-qty-row input[type="number"] {
  flex: 1;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: none;
  border-left: 1px solid #2a3040;
  border-right: 1px solid #2a3040;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.55rem 0.5rem;
  outline: none;
  appearance: textfield;
}
.admin-qty-row input[type="number"]::-webkit-outer-spin-button,
.admin-qty-row input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.qty-step-btn:hover { background: rgba(99,102,241,0.15); color: #6366f1; }


/* ==================== BAYE ASSISTANT — UI PREMIUM ==================== */

/* FAB — fixed comme WhatsApp */
.baye-fab {
  position: fixed !important;
  bottom: 1.8rem; right: 1.8rem;
  z-index: 999999 !important; display: none;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #3b82f6 100%);
  box-shadow: 0 6px 24px rgba(99,102,241,0.55), 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer; align-items: center; justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.baye-fab:hover { transform: scale(1.12) rotate(-5deg); box-shadow: 0 10px 36px rgba(99,102,241,0.7); }
.baye-fab.active { transform: scale(0.95); }
.baye-fab-inner { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative; z-index: 1; }
.baye-fab-inner i { font-size: 1.5rem; color: white; transition: transform 0.2s; }
.baye-fab:hover .baye-fab-inner i { transform: scale(1.1); }
.baye-fab-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  background: rgba(99,102,241,0.25);
  animation: bayePulse 2.5s ease-out infinite; pointer-events: none;
}
.baye-fab.active .baye-fab-pulse { display: none; }
@keyframes bayePulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.baye-fab-badge {
  position: absolute; top: -3px; right: -3px;
  background: #ef4444; color: white;
  font-size: 0.62rem; font-weight: 800;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white; box-shadow: 0 2px 6px rgba(239,68,68,0.5);
  animation: bayeBadgePop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes bayeBadgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* PANEL — fixed comme WhatsApp */
.baye-chat-panel {
  position: fixed !important;
  bottom: 6.5rem; right: 1.8rem;
  width: min(370px, calc(100vw - 2rem));
  height: min(580px, calc(100vh - 8rem));
  background: #0d1117;
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 999998 !important;
  display: none; flex-direction: column;
  overflow: hidden;
  animation: bayeSlideIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes bayeSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* HEADER */
.baye-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem 0.9rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(139,92,246,0.1) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0; position: relative;
}
.baye-chat-header::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
}
.baye-chat-header-left { display: flex; align-items: center; gap: 0.75rem; }
.baye-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: white; position: relative; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.baye-avatar-online {
  position: absolute; bottom: 1px; right: 1px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; border: 2px solid #0d1117;
  animation: bayeBlink 2.5s ease-in-out infinite;
}
@keyframes bayeBlink { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
.baye-chat-title {
  font-size: 0.92rem; font-weight: 800; color: #f1f5f9;
  display: flex; align-items: center; gap: 0.45rem;
  letter-spacing: -0.01em;
}
.baye-ia-badge {
  font-size: 0.55rem; font-weight: 900; letter-spacing: 0.08em;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white; padding: 2px 6px; border-radius: 5px;
  text-transform: uppercase;
}
.baye-chat-status {
  font-size: 0.72rem; color: #64748b;
  display: flex; align-items: center; gap: 0.35rem; margin-top: 2px;
}
.baye-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; display: inline-block;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
}
.baye-header-actions { display: flex; gap: 0.35rem; }
.baye-header-btn {
  width: 32px; height: 32px; border-radius: 9px; border: none;
  background: rgba(255,255,255,0.04); color: #475569;
  cursor: pointer; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}
.baye-header-btn:hover { background: rgba(239,68,68,0.12); color: #f87171; }

/* SUGGESTIONS */
.baye-suggestions {
  display: flex; gap: 0.45rem;
  padding: 0.75rem 0.9rem 0.3rem;
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: none;
  background: rgba(255,255,255,0.01);
}
.baye-suggestions::-webkit-scrollbar { display: none; }
.baye-suggestion-chip {
  flex-shrink: 0; padding: 0.32rem 0.75rem;
  background: rgba(99,102,241,0.08);
  color: #818cf8; border: 1px solid rgba(99,102,241,0.2);
  border-radius: 20px; font-size: 0.72rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all 0.15s;
}
.baye-suggestion-chip:hover {
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.2));
  color: white; border-color: rgba(99,102,241,0.5);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(99,102,241,0.25);
}

/* MESSAGES */
.baye-chat-messages {
  flex: 1; overflow-y: auto;
  padding: 1rem 0.9rem 0.5rem;
  display: flex; flex-direction: column; gap: 0.7rem;
  scrollbar-width: thin; scrollbar-color: rgba(99,102,241,0.2) transparent;
}
.baye-chat-messages::-webkit-scrollbar { width: 3px; }
.baye-chat-messages::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.25); border-radius: 3px; }

.baye-msg { display: flex; gap: 0.5rem; animation: bayeMsgIn 0.22s ease; }
@keyframes bayeMsgIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.baye-msg-bot { align-self: flex-start; align-items: flex-end; }
.baye-msg-user { align-self: flex-end; flex-direction: row-reverse; align-items: flex-end; }

.baye-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: white;
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.baye-msg-inner { display: flex; flex-direction: column; max-width: 265px; }
.baye-msg-user .baye-msg-inner { align-items: flex-end; }
.baye-msg-bot .baye-msg-inner { align-items: flex-start; }

.baye-msg-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.82rem; line-height: 1.6;
  word-break: break-word;
}
.baye-msg-bot .baye-msg-bubble {
  background: rgba(255,255,255,0.055);
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom-left-radius: 5px;
}
.baye-msg-user .baye-msg-bubble {
  background: linear-gradient(135deg, #6366f1, #7c3aed);
  color: white;
  border-bottom-right-radius: 5px;
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}
.baye-msg-time {
  font-size: 0.62rem; color: #334155;
  margin-top: 4px; padding: 0 2px;
}

/* Typing */
.baye-typing {
  display: flex !important; gap: 5px; align-items: center;
  padding: 0.7rem 0.9rem !important; min-width: 60px;
}
.baye-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6366f1; animation: bayeTyping 1.3s ease-in-out infinite;
}
.baye-typing span:nth-child(2) { animation-delay: 0.22s; background: #8b5cf6; }
.baye-typing span:nth-child(3) { animation-delay: 0.44s; background: #3b82f6; }
@keyframes bayeTyping {
  0%,60%,100% { transform: translateY(0) scale(0.9); opacity: 0.4; }
  30% { transform: translateY(-7px) scale(1.1); opacity: 1; }
}

/* FOOTER */
.baye-chat-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 0.7rem 0.9rem 0.65rem;
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
}
.baye-chat-input-row {
  display: flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px; padding: 0.3rem 0.3rem 0.3rem 0.6rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.baye-chat-input-row:focus-within {
  border-color: rgba(99,102,241,0.45);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.baye-input {
  flex: 1; background: transparent; border: none;
  color: #f1f5f9; font-size: 0.84rem; outline: none;
  padding: 0.25rem 0;
}
.baye-input::placeholder { color: #334155; }
.baye-send-btn {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none; color: white; font-size: 0.82rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
  box-shadow: 0 3px 10px rgba(99,102,241,0.35);
}
.baye-send-btn:hover { transform: scale(1.1); }
.baye-send-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.baye-voice-btn {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: transparent; border: none;
  color: #475569; font-size: 0.82rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s;
}
.baye-voice-btn:hover { color: #818cf8; }
.baye-voice-btn.recording {
  color: #ef4444; animation: bayeRecordPulse 1s ease-in-out infinite;
}
@keyframes bayeRecordPulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.baye-footer-hint {
  font-size: 0.62rem; color: #1e293b; text-align: center;
  margin-top: 0.45rem; letter-spacing: 0.02em;
}

/* Confirm */
.baye-confirm { display: flex; flex-direction: column; gap: 0.65rem; }
.baye-confirm-btns { display: flex; gap: 0.45rem; margin-top: 0.25rem; }
.baye-confirm-yes {
  flex: 1; padding: 0.45rem; border-radius: 9px;
  background: #ef4444; color: white; border: none;
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  transition: background-color 0.15s;
}
.baye-confirm-yes:hover { background: #dc2626; }
.baye-confirm-no {
  flex: 1; padding: 0.45rem; border-radius: 9px;
  background: rgba(255,255,255,0.05); color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  transition: background-color 0.15s;
}
.baye-confirm-no:hover { background: rgba(255,255,255,0.1); }

/* Sidebar nav baye */
.admin-nav-baye { position: relative; }
.baye-nav-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; border: 2px solid #0f172a;
  animation: bayeBlink 2.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 480px) {
  .baye-chat-panel { width: calc(100vw - 1rem); right: 0.5rem; left: 0.5rem; bottom: 5.5rem; max-height: calc(100vh - 7rem); border-radius: 16px; }
  .baye-fab { bottom: 1.2rem; right: 1rem; width: 54px; height: 54px; }
}
/* ===== BAYE TOPBAR BUTTON ===== */
.baye-topbar-btn {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 20px;
  color: #a5b4fc;
  font-size: 0.75rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.baye-topbar-btn i { font-size: 0.75rem; }
.baye-topbar-btn:hover {
  background: rgba(99,102,241,0.25);
  color: white;
  border-color: rgba(99,102,241,0.6);
}