/* ─────────────────────────────────────────────
   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: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 16px;
}

.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;
}
.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;
}

.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;
}

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

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

.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-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 / Error */
.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;
}

/* Badges */
.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 */
.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: price + button ── */
.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; /* never wrap on desktop */
}

.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);
}

/* ─────────────────────────────────────────────
   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);
}

/* ─────────────────────────────────────────────
   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);
}

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

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

.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 */
  header {
    padding: 0 16px;
    gap: 10px;
  }
  nav.main-nav {
    display: none;
  }
  .btn-devis {
    display: none;
  }

  .logo {
    font-size: 1.1rem;
  }

  /* Hero — single column, fully centred */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    width: 100%;
    padding: 40px 20px;
    text-align: left;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 2rem;
  }
  .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(4, 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 grid */
  .cats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cat-card {
    padding: 20px 16px;
  }

  /* Products grid */
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Product card — make footer stack on small cards */
  .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;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .cats-grid {
    grid-template-columns: 1fr;
  }

  /* Single-column products on very small screens */
  .products {
    grid-template-columns: 1fr;
  }

  /* Product footer: keep row layout since card is full-width */
  .product-footer {
    flex-direction: row;
    align-items: center;
  }

  .btn-add {
    width: auto;
    flex-shrink: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 1.75rem;
  }
}





