/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --green: #1d9e75;
  --green-dark: #0f6e56;
  --green-deep: #085041;
  --green-light: #e1f5ee;
  --dark: #0d1f1a;
  --dark2: #1a2e28;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #f8faf9;
  --white: #ffffff;
  --border: #e2e8f0;

  --badge-bestseller-bg: #fef3c7;
  --badge-bestseller-color: #92400e;
  --badge-pro-bg: #ede9fe;
  --badge-pro-color: #5b21b6;
  --badge-promo-bg: #fee2e2;
  --badge-promo-color: #991b1b;
  --badge-new-bg: #e1f5ee;
  --badge-new-color: #0f6e56;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --header-h: 68px;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
header {
  background: var(--dark);
  color: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 16px;
  flex-wrap: nowrap;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo span {
  color: var(--green);
}

nav.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
nav.main-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
nav.main-nav a:hover {
  color: #fff;
}
.main-nav a.active {
  color: var(--green);
  font-weight: 600;
  position: relative;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-devis {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-devis:hover {
  border-color: var(--green);
  color: var(--green);
}

.cart-btn {
  background: var(--green);
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.cart-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.cart-count {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 0.8rem;
}

/* Hamburger — masqué sur desktop */
.hamburger {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}

/* Mobile nav — masqué par défaut */
.mobile-nav {
  display: none;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.hero-left {
  padding: 72px 48px 72px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  animation: fadeUp 0.6s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 28px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.85); }
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.05;
}
.hero-title em {
  color: var(--green);
  font-style: normal;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-primary:hover {
  background: var(--dark2);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-muted);
  font-size: 0.9rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--green);
}

.hero-right {
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px;
  gap: 24px;
}
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(29, 158, 117, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.led-display-mock {
  width: 340px;
  max-width: 100%;
  height: 210px;
  background: var(--dark2);
  border-radius: 6px;
  border: 2px solid rgba(29, 158, 117, 0.3);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 60px rgba(29, 158, 117, 0.2), inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.led-pixel-grid {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 3px;
  width: 290px;
  max-width: 90%;
  height: 165px;
}

.led-pixel {
  border-radius: 50%;
  background: rgba(29, 158, 117, 0.1);
  transition: background 0.3s;
}
.led-pixel.on {
  background: rgba(29, 158, 117, 0.9);
  box-shadow: 0 0 4px rgba(29, 158, 117, 0.6);
}
.led-pixel.mid {
  background: rgba(29, 158, 117, 0.4);
}

.hero-stats {
  display: flex;
  gap: 12px;
  z-index: 1;
  width: 100%;
  justify-content: center;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  flex: 1;
  backdrop-filter: blur(4px);
  min-width: 0;
}
.hero-stat-num {
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}
.hero-stat-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  margin-top: 3px;
}

/* ─────────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-icon {
  width: 32px;
  height: 32px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 16px;
  height: 16px;
}
.trust-item strong {
  color: var(--text);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
.section {
  padding: 64px 40px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}

.see-all {
  font-size: 0.875rem;
  color: var(--green);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.see-all:hover {
  gap: 8px;
}

/* ─────────────────────────────────────────────
   CATEGORY CARDS
───────────────────────────────────────────── */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 158, 117, 0.1);
}
.cat-card.active {
  background: var(--green-dark);
  color: white;
  border-color: var(--green-dark);
}

.cat-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.cat-icon svg {
  width: 22px;
  height: 22px;
}

.cat-title {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}
.cat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cat-link {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   PRODUCTS SECTION
───────────────────────────────────────────── */
.products-section {
  background: var(--bg);
  padding: 64px 40px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.loading-state,
.error-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 1rem;
  grid-column: 1 / -1;
}

.loading-state .spinner {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-state {
  color: #ef4444;
}

/* ─────────────────────────────────────────────
   PRODUCT CARD
───────────────────────────────────────────── */
.product {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(29, 158, 117, 0.3);
}

.product-img-wrap {
  background: var(--dark);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product:hover img {
  transform: scale(1.04);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  font-family: 'Syne', sans-serif;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 1;
}
.badge-bestseller { background: var(--badge-bestseller-bg); color: var(--badge-bestseller-color); }
.badge-pro        { background: var(--badge-pro-bg);        color: var(--badge-pro-color); }
.badge-promo      { background: var(--badge-promo-bg);      color: var(--badge-promo-color); }
.badge-new        { background: var(--badge-new-bg);        color: var(--badge-new-color); }

.product-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}

.product h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.product-description {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
  flex-grow: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.stars {
  color: #f59e0b;
  letter-spacing: 0.5px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.feature-tag {
  font-size: 0.72rem;
  background: var(--bg);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.product-sku {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 8px;
  font-family: monospace;
}

.product-stock {
  font-size: 0.78rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stock-ok   .stock-dot { background: var(--green); }
.stock-low  .stock-dot { background: #f59e0b; }
.stock-empty .stock-dot { background: #ef4444; }
.stock-ok    { color: var(--green-dark); }
.stock-low   { color: #92400e; }
.stock-empty { color: #991b1b; }

.product-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 1;
  min-width: 0;
}

.price-current {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1rem);
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
}

.price-old {
  font-size: 0.875rem;
  color: var(--text-light);
  text-decoration: line-through;
  white-space: nowrap;
}

.btn-add {
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-add:hover    { background: var(--green); }
.btn-add:active   { transform: scale(0.97); }
.btn-add:disabled { background: var(--border); color: var(--text-light); cursor: not-allowed; }
.btn-add.added    { background: var(--green); }


@media (max-width: 768px) {
  /* Réduction de la hauteur des cartes produits */
  .product {
    padding: 0;
  }
  
  .product-body {
    padding: 12px 12px 14px;
  }
  
  .product h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .product-description {
    font-size: 0.75rem;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  
  .product-rating {
    margin-bottom: 6px;
    font-size: 0.7rem;
  }
  
  .product-features {
    display: none;
  }
  
  .feature-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  
  .product-sku {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }
  
  .product-stock {
    font-size: 0.7rem;
    margin-bottom: 8px;
  }
  
  .product-footer {
    padding-top: 8px;
    gap: 8px;
  }
  
  .price-current {
    font-size: 0.9rem;
  }
  
  .price-old {
    font-size: 0.75rem;
  }
  
  .btn-add {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .product-img-wrap {
    aspect-ratio: 16 / 9;
    max-height: 140px;
  }
  
}
/*───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────────── */
.cta-banner {
  margin: 0 40px 64px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 1.9rem;
  color: #fff;
  max-width: 480px;
  line-height: 1.2;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}
.cta-title em {
  color: var(--green);
  font-style: normal;
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--dark);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-white:hover {
  background: var(--green-light);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-outline-white:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ─────────────────────────────────────────────
   CART MODAL
───────────────────────────────────────────── */
#cartModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 26, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
  backdrop-filter: blur(4px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#cartContent {
  background: var(--white);
  padding: 36px;
  width: 500px;
  max-width: 92vw;
  max-height: 88vh;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease;
}

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

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.cart-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.btn-close-modal:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

#cartList {
  list-style: none;
  padding: 0;
  margin-bottom: 8px;
}
#cartList li {
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
#cartList li .item-info {
  flex: 1;
  font-size: 0.9rem;
}
#cartList li .item-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cart-total-row {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--dark);
  margin: 20px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.btn-close-cart {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-close-cart:hover {
  background: var(--bg);
}

.btn-checkout {
  flex: 2;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-checkout:hover {
  background: var(--green-dark);
}

/* Styles pour le panier avec contrôles */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.item-info {
  flex: 2;
  min-width: 120px;
}

.item-info strong {
  display: block;
  font-size: 0.9rem;
}

.item-info small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.2s;
}

.qty-btn:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.item-qty {
  min-width: 28px;
  text-align: center;
  font-weight: 500;
}

.remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fee2e2;
  transform: scale(1.1);
}

.item-subtotal {
  font-weight: 600;
  min-width: 70px;
  text-align: right;
  color: var(--dark);
}

@media (max-width: 480px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .item-subtotal {
    align-self: flex-end;
  }
  .item-controls {
    align-self: flex-end;
  }
}

/* ─────────────────────────────────────────────
   REVIEWS
───────────────────────────────────────────── */
.reviews-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid var(--border);
  padding: 11px 0 0;
  margin-top: 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.reviews-toggle:hover { color: var(--green); }
.reviews-toggle .chevron {
  font-size: 0.7rem;
  transition: transform 0.25s;
  display: inline-block;
}
.reviews-toggle.open .chevron {
  transform: rotate(180deg);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reviews-panel {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  animation: fadeDown 0.2s ease both;
}
.reviews-panel.open {
  display: flex;
}

.review-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.review-date  { font-size: 0.72rem; color: var(--text-light); }
.review-stars { font-size: 0.75rem; color: #f59e0b; letter-spacing: 1px; }
.review-text  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; margin-top: 4px; }

.review-verified {
  font-size: 0.68rem;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 500;
  margin-top: 6px;
  display: inline-block;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
}
.footer-logo span { color: var(--green); }

footer p { font-size: 0.82rem; color: var(--text-muted); }

footer nav a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}
footer nav a:hover { color: var(--green); }

/* ─────────────────────────────────────────────
   WHATSAPP FLOAT
───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.25s ease;
  text-decoration: none;
}
.whatsapp-float:hover  { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); }
.whatsapp-float:active { transform: scale(0.95); }

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET  (≤ 1100px)
───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  nav.main-nav {
    gap: 16px;
  }
  nav.main-nav a {
    font-size: 0.8rem;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — MOBILE  (≤ 768px)
───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header — 1 ligne : hamburger | logo centré | panier */
  html, body {
    padding-top: var(--header-h) !important;
    margin-top: 0 !important;
  }
header {
    padding: 0 12px;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
  }
  nav.main-nav,
  .btn-devis {
    display: none;
  }
  .hamburger {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    order: 1;
    font-size: 1.5rem;
    padding: 6px 8px;
  }
  .logo {
    font-size: 1rem;
    flex: 1;
    text-align: center;
    order: 2;
    margin: 0;
  }
  .header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 3;
  }
  .cart-btn {
    padding: 7px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }
  .cart-count {
    padding: 1px 5px;
    font-size: 0.72rem;
  }

  /* Mobile nav */
  .mobile-nav {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--dark);
    z-index: 99;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
  .mobile-nav.open {
    transform: translateY(0);
  }
  .mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
  }
  .mobile-nav li {
    margin-bottom: 16px;
  }
  .mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: block;
  }
  .mobile-nav a:hover {
    color: var(--green);
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    width: 100%;
    padding: 40px 20px;
  }
  .hero-title { font-size: 1.75rem; }
  .hero-sub   { font-size: 0.95rem; max-width: 100%; }

  .hero-right {
    width: 100%;
    padding: 32px 20px;
    gap: 20px;
  }
  .led-display-mock {
    width: 100%;
    max-width: 320px;
    height: 180px;
  }
  .led-pixel-grid {
    width: 88%;
    max-width: 260px;
    height: 130px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }
  .hero-stat        { padding: 10px 8px; }
  .hero-stat-num    { font-size: 1rem; }
  .hero-stat-label  { font-size: 0.65rem; }

  /* Trust bar */
  .trust-bar {
    padding: 16px 20px;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Sections */
  .section          { padding: 40px 20px; }
  .products-section { padding: 40px 20px; }
  .section-title    { font-size: 1.6rem; }

  /* Cats */
  .cats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cat-card { padding: 20px 16px; }

  /* Products */
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .price-wrap { justify-content: center; }
  .btn-add    { width: 100%; text-align: center; padding: 11px 12px; }

  /* CTA */
  .cta-banner {
    margin: 0 20px 48px;
    padding: 36px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-title             { font-size: 1.5rem; max-width: 100%; }
  .cta-btns              { width: 100%; }
  .btn-white,
  .btn-outline-white     { flex: 1; text-align: center; }





  /* Footer */
  footer {
    padding: 24px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  footer nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }
  footer nav a { margin-left: 0; }


  /* WhatsApp */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  
  
}