/* ═══════════════════════════════════════════════
   EasilyOptic Store — Design System v3
   Clean · Blue #2563EB · White · Inter
   ═══════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────── */
:root {
  /* Brand blue */
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-hover:  #1e40af;
  --blue-light:  #eff6ff;
  --blue-mid:    #bfdbfe;
  --blue-ring:   rgba(37,99,235,.18);
  /* Accents pour fonds sombres (hero, hero-badge…) */
  --blue-accent: #93c5fd;
  --blue-glow:   rgba(37,99,235,.28);
  /* Hero/CTA gradient (thème bleu par défaut) */
  --hero-from:   #0f172a;
  --hero-to:     #1e3a8a;

  /* Neutral palette */
  --ink:         #0f172a;
  --body:        #334155;
  --muted:       #64748b;
  --subtle:      #94a3b8;
  --pale:        #cbd5e1;
  --divider:     #e2e8f0;
  --bg:          #f8fafc;
  --bg2:         #f1f5f9;
  --surface:     #ffffff;

  /* Status */
  --green:       #22c55e;
  --green-bg:    #f0fdf4;
  --green-text:  #15803d;
  --red:         #ef4444;
  --red-bg:      #fef2f2;
  --red-text:    #b91c1c;
  --amber:       #f59e0b;
  --amber-bg:    #fffbeb;
  --amber-text:  #92400e;

  /* Layout */
  --header-h:    70px;
  --container-w: 1280px;
  --container-p: 24px;

  /* Radii */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius:      14px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.04);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.05);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .18s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a   { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.serif { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; letter-spacing: -.035em; }

*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Container ────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-p);
  width: 100%;
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  height: var(--header-h);
  transition: box-shadow var(--dur) var(--ease);
}

.shop-header.scrolled { box-shadow: var(--shadow); }

.shop-header-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-p);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.shop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.shop-logo-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--blue) 30%, transparent);
  transition: box-shadow var(--dur) var(--ease);
}
.shop-logo:hover .shop-logo-icon { box-shadow: 0 4px 14px color-mix(in srgb, var(--blue) 42%, transparent); }

.shop-logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1;
}

.shop-logo-tagline {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1;
  margin-top: 2px;
}

/* Nav links */
.shop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.shop-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background var(--dur), color var(--dur);
}
.shop-nav-link:hover   { background: var(--bg); color: var(--ink); }
.shop-nav-link.active  { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.shop-nav-link i       { font-size: 14px; }

/* Actions (search, lang, cart) */
.shop-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.shop-icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
  position: relative;
}
.shop-icon-btn:hover { background: var(--bg); color: var(--ink); border-color: var(--pale); }

/* Cart button */
.shop-cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur), transform var(--dur);
  position: relative;
  border: none;
  cursor: pointer;
}
.shop-cart-btn:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }
.shop-cart-btn i { font-size: 16px; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--surface);
  animation: badge-pop .3s var(--ease);
}

@keyframes badge-pop {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Lang switcher */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.lang-btn:hover { border-color: var(--pale); color: var(--ink); }

/* Hamburger */
.shop-hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
  background: var(--surface);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--dur);
}
.shop-hamburger:hover { background: var(--bg); }

/* Mobile menu */
.shop-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  flex-direction: column;
}

.shop-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}

.shop-mobile-panel {
  position: relative;
  z-index: 1;
  background: var(--surface);
  width: 280px;
  height: 100%;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transform: translateX(-100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}

.shop-mobile-menu.open { display: flex; }
.shop-mobile-menu.open .shop-mobile-panel { transform: translateX(0); }

.shop-mobile-close {
  align-self: flex-end;
  margin-bottom: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  background: var(--bg);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background var(--dur);
}
.shop-mobile-close:hover { background: var(--bg2); }

.shop-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: background var(--dur), color var(--dur);
}
.shop-mobile-link:hover { background: var(--blue-light); color: var(--blue); }
.shop-mobile-link.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.shop-mobile-link i { font-size: 17px; width: 22px; text-align: center; }

/* ── Announce bar ─────────────────────────────── */
.announce-bar {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 9px var(--container-p);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}
.announce-bar a { color: rgba(255,255,255,.9); font-weight: 600; }
.announce-bar i { font-size: 12px; }

/* ══════════════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════════════ */
.flash-wrap {
  max-width: var(--container-w);
  margin: 16px auto 0;
  padding: 0 var(--container-p);
}

.flash-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid;
  margin-bottom: 8px;
  animation: flash-in .25s var(--ease);
}

@keyframes flash-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flash-msg.success { background: var(--green-bg); border-color: var(--green); color: var(--green-text); }
.flash-msg.error   { background: var(--red-bg);   border-color: var(--red);   color: var(--red-text); }
.flash-msg.warning { background: var(--amber-bg); border-color: var(--amber); color: var(--amber-text); }

.flash-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: currentColor;
  opacity: .5;
  padding: 0;
  line-height: 1;
}
.flash-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--blue);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.025em;
  line-height: 1.25;
  margin-bottom: 6px;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  text-decoration: none;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--blue) 25%, transparent);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--blue) 35%, transparent);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--surface);
  color: var(--body);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
  text-decoration: none;
}
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.btn-dark:hover { background: #1e293b; color: #fff; transform: translateY(-1px); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
  text-decoration: none;
  white-space: nowrap;
}
.btn-wa:hover { background: #22c55e; color: #fff; transform: translateY(-1px); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }

/* ══════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════ */
.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0 0;
  flex-wrap: wrap;
}

.shop-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--dur);
}
.shop-breadcrumb a:hover { color: var(--blue); }
.shop-breadcrumb .sep { color: var(--pale); font-size: 11px; }
.shop-breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ══════════════════════════════════════════════
   CATEGORY PILLS
══════════════════════════════════════════════ */
.cat-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-pills::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 15px;
  background: var(--surface);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: all var(--dur);
  white-space: nowrap;
}
.cat-pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.cat-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-pill i { font-size: 13px; }

/* ── Groupe pill avec dropdown ── */
.cat-pill-group {
  position: relative;
  flex-shrink: 0;
}
.cat-pill-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
  min-width: 190px;
  z-index: 500;   /* au-dessus du hero/slider */
  padding: 6px 0;
}
.cat-pill-group:hover .cat-pill-dropdown { display: block; }
.cat-pill-dropdown a {
  display: flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur), color var(--dur);
}
.cat-pill-dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.cat-pill-dropdown a.active { color: var(--blue); font-weight: 700; }

/* Empêche le hero/slider de couper le dropdown */
.cat-pills { overflow: visible !important; }
.cat-pills::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════════════
   PRODUCT CARDS
══════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-mid);
}

/* Image zone */
.product-img {
  background: var(--bg2);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s var(--ease);
}
.product-card:hover .product-img img { transform: scale(1.04); }

.product-img-placeholder {
  font-size: 3rem;
  color: var(--pale);
}

/* Badges overlay */
.product-badge {
  position: absolute;
  top: 10px;
  border-radius: var(--radius-full);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-badge-promo {
  left: 10px;
  background: var(--red);
  color: #fff;
}

.product-badge-new {
  left: 10px;
  background: var(--blue);
  color: #fff;
}

.product-badge-stock {
  right: 10px;
  background: var(--amber-bg);
  color: var(--amber-text);
  border: 1px solid #fde68a;
}

.product-badge-out {
  right: 10px;
  background: var(--red-bg);
  color: var(--red-text);
  border: 1px solid #fecaca;
}

/* Quick overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.55);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .2s var(--ease);
  backdrop-filter: blur(1px);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-overlay-actions {
  display: flex;
  gap: 6px;
  width: 100%;
}

.product-add-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur);
  font-family: inherit;
}
.product-add-btn:hover { background: var(--blue-dark); }
.product-add-btn.added { background: var(--green); pointer-events: none; }

.product-qv-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur);
  font-size: 15px;
  flex-shrink: 0;
}
.product-qv-btn:hover { background: rgba(255,255,255,.28); }

/* Body */
.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-cat {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
}

.product-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-wrap {
  margin-top: auto;
  padding-top: 6px;
}

.product-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}

.product-price-promo {
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.02em;
}

.product-price-orig {
  font-size: 13px;
  color: var(--subtle);
  text-decoration: line-through;
  font-weight: 400;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════ */
.section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.section-hdr-left { min-width: 0; }

.section-hdr a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}
.section-hdr a:hover { color: var(--blue-dark); }
.section-hdr a i { font-size: 12px; transition: transform var(--dur); }
.section-hdr a:hover i { transform: translateX(3px); }

/* ══════════════════════════════════════════════
   FILTER BAR
══════════════════════════════════════════════ */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  padding: .8rem var(--container-p);
  position: sticky;
  top: var(--header-h);
  z-index: 150;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur);
}

.filter-bar-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.filter-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  font-size: 14px;
  pointer-events: none;
}

.filter-search-input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.filter-search-input:focus {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--blue-ring);
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 32px 8px 12px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  outline: none;
  cursor: pointer;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.filter-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}

.filter-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  padding: 8px 12px;
  background: var(--bg2);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
}
.filter-count strong { color: var(--ink); }

/* Filter chips */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  color: var(--blue-dark);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur);
}
.filter-chip:hover { background: var(--blue-mid); color: var(--blue-dark); }
.filter-chip i { font-size: 10px; }

/* ══════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════ */
.shop-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 32px 0;
}

.shop-pager a,
.shop-pager span {
  min-width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--dur), color var(--dur);
}

.shop-pager a {
  border: 1px solid var(--divider);
  color: var(--body);
  background: var(--surface);
}
.shop-pager a:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }
.shop-pager span {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  font-weight: 700;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--blue) 25%, transparent);
}

/* ══════════════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════════════ */
.trust-strip {
  background: var(--ink);
  padding: 32px var(--container-p);
}

.trust-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 900px)  { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .trust-grid { grid-template-columns: 1fr; } }

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--blue) 14%, transparent);
  border: 1px solid var(--blue-glow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-accent);
}

.trust-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.trust-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   BRANDS TICKER
══════════════════════════════════════════════ */
.brands-ticker {
  background: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  overflow: hidden;
  padding: 14px 0;
}

.brands-ticker-inner {
  display: flex;
  gap: 8px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.brands-ticker-inner:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-pill {
  display: flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--bg);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: border-color var(--dur), color var(--dur);
}
.brand-pill:hover { border-color: var(--blue); color: var(--blue); }

/* ══════════════════════════════════════════════
   CART TOAST
══════════════════════════════════════════════ */
.cart-toast {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13.5px;
  font-weight: 500;
  max-width: 300px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.cart-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-toast-icon {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.cart-toast-link {
  color: var(--blue-mid);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-top: 2px;
}
.cart-toast-link:hover { color: #fff; }

/* ══════════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════════ */
.qv-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.qv-backdrop.open { display: flex; }

.qv-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modal-enter .25s var(--ease);
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.qv-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--dur), color var(--dur);
}
.qv-close:hover { background: var(--bg2); color: var(--ink); }

.qv-image-side {
  background: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qv-image-side img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  background: #fff;
  mix-blend-mode: normal;
}

.qv-image-placeholder {
  font-size: 5rem;
  color: var(--pale);
}

.qv-info-side {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qv-cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue);
}

.qv-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.qv-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
}

.qv-stock-ok  { font-size: 13px; font-weight: 600; color: var(--green-text); }
.qv-stock-out { font-size: 13px; font-weight: 600; color: var(--red-text); }

@media (max-width: 580px) { .qv-modal { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37,211,102,.40);
  transition: transform var(--dur), box-shadow var(--dur);
  text-decoration: none;
}
.wa-float:hover { color: #fff; transform: scale(1.08); box-shadow: 0 6px 24px rgba(37,211,102,.50); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.shop-footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding: 56px var(--container-p) 0;
  margin-top: auto;
}

.shop-footer-grid {
  max-width: var(--container-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (max-width: 900px) { .shop-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shop-footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: #fff;
}

.footer-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.38);
  max-width: 240px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color var(--dur);
}
.footer-links a:hover { color: rgba(255,255,255,.78); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.38);
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.38); transition: color var(--dur); }
.footer-contact-item a:hover { color: rgba(255,255,255,.78); }

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background var(--dur), border-color var(--dur), color var(--dur);
  text-decoration: none;
}
.footer-social-btn:hover { background: color-mix(in srgb, var(--blue) 20%, transparent); border-color: color-mix(in srgb, var(--blue) 40%, transparent); color: var(--blue-accent); }

.footer-bottom {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.25);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--dur); }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

.footer-bottom-links { display: flex; gap: 20px; }

/* ══════════════════════════════════════════════
   SECTIONS / LAYOUT
══════════════════════════════════════════════ */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
.section-lg { padding: 80px 0; }

.bg-paper { background: var(--bg); }
.bg-white  { background: var(--surface); }
.bg-dark   { background: var(--ink); }

/* ══════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 80px 24px;
}

.empty-state-icon {
  width: 80px; height: 80px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--blue);
  margin: 0 auto 20px;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.empty-state p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 360px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   FORMS (shop-specific)
══════════════════════════════════════════════ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
}

.form-label span { color: var(--red); }

.form-input {
  padding: 10px 14px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}
.form-input::placeholder { color: var(--pale); }

.form-select-styled {
  padding: 10px 36px 10px 14px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
}
.form-select-styled:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
}

.form-error {
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   RESPONSIVE UTILITIES
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .shop-nav    { display: none; }
  .shop-hamburger { display: flex; }
  :root { --container-p: 16px; }
  .section { padding: 36px 0; }
  .section-lg { padding: 48px 0; }
  .section-title { font-size: 22px; }

  /* Hide non-essential on mobile */
  .shop-cart-btn .cart-label { display: none; }
}

@media (max-width: 480px) {
  .shop-actions { gap: 4px; }
  .lang-btn { display: none; }
}

/* ══════════════════════════════════════════════
   LEGACY CARD CLASSES (existing templates)
   New visual, same HTML class names
══════════════════════════════════════════════ */

/* Grid */
.art-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) { .art-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .art-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 400px)  { .art-grid { grid-template-columns: 1fr; } }

/* ── art-card — image top + info panel bottom ── */
.art-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  outline-offset: 3px;
  border: 1px solid var(--divider);
}
.art-card:focus-visible { outline: 2px solid var(--blue); }
.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

/* Zone image — hauteur fixe, image ne déborde pas */
.art-thumb {
  position: relative;
  aspect-ratio: 4/3;
  background: #f8f9fa;
  overflow: hidden;
  flex-shrink: 0;
}
.art-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .45s var(--ease);
  background: #fff;
}
.art-card:hover .art-thumb img { transform: scale(1.06); }
.art-thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--divider);
  pointer-events: none;
}

/* Overlay gradient supprimé — plus besoin */
.art-card-overlay { display: none; }

/* Badges (promo / stock) — dans la zone image */
.promo-badge {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 4;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.stock-badge {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 4;
  border-radius: var(--radius-full);
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.badge-out { background: rgba(239,68,68,.85);  color: #fff; }
.badge-low { background: rgba(245,158,11,.85); color: #fff; }
.badge-ok  { background: rgba(34,197,94,.85);  color: #fff; }

/* Panel infos — fond opaque, toujours visible sous l'image */
.art-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  background: var(--surface);
}

.art-cat {
  font-size: 10.5px;
  color: var(--blue-accent);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
}

.art-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.art-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  padding-top: 2px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
}

.price-promo    { color: var(--red); font-size: 15px; font-weight: 800; }
.price-original { font-size: 11.5px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.promo-pct-badge {
  display: inline-flex;
  align-items: center;
  background: var(--red-bg);
  color: var(--red-text);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
}

/* Boutons d'action — toujours visibles sous le texte, jamais sur l'image */
.art-overlay {
  display: none; /* remplacé par art-actions dans le body */
}

.art-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

.art-add-btn {
  flex: 1;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background var(--dur);
}
.art-add-btn:hover { background: var(--blue-dark); }
.art-add-btn.added { background: var(--green); pointer-events: none; }

.art-qv-btn {
  width: 37px; height: 37px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--divider);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background var(--dur), color var(--dur);
  flex-shrink: 0;
}
.art-qv-btn:hover { background: var(--blue-light); color: var(--blue); }

/* Detail description box */
.detail-descr {
  font-size: 14px;
  color: var(--body);
  line-height: 1.75;
  padding: 14px 16px;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
[dir="rtl"] .detail-descr { border-left: none; border-right: 3px solid var(--blue); border-radius: var(--radius-sm) 0 0 var(--radius-sm); }

/* Share buttons (detail page) */
.share-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--dur), opacity var(--dur);
}
.share-btn:hover { transform: scale(1.1); }
.share-btn.native { background: var(--bg2); color: var(--ink); border: 1px solid var(--divider); }
.share-btn.wa  { background: #25d366; color: #fff; }
.share-btn.fb  { background: #1877f2; color: #fff; }
.share-btn.ig  { background: radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285aeb 90%); color:#fff; }
.share-btn.tt  { background: #010101; color: #fff; }
.share-btn.tw  { background: #000; color: #fff; }
.share-btn.copy{ background: var(--bg2); color: var(--ink); border: 1px solid var(--divider); }

.copy-toast {
  display: none;
  font-size: 12px;
  color: var(--green-text);
  background: var(--green-bg);
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 600;
}

/* Pager (legacy) */
.pager {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 32px 0 8px;
  flex-wrap: wrap;
}

.pager a, .pager span {
  min-width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--dur);
  padding: 0 8px;
  background: var(--surface);
}

.pager a:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.pager span {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 700;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--blue) 25%, transparent);
}

/* Empty state (legacy) */
.empty-state {
  text-align: center;
  padding: 72px 24px;
}

.empty-state-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--blue);
  margin: 0 auto 20px;
}

.empty-state h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.empty-state p  { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

/* Section headers (legacy) */
.section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.section-hdr h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.025em;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
}

.section-hdr h2 small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
}

/* Section backgrounds */
.nouveautes-section { background: var(--bg); }

/* Buttons legacy aliases */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  text-decoration: none;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--blue) 25%, transparent);
  font-family: inherit;
  white-space: nowrap;
}
.btn-gold:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--blue) 35%, transparent);
}
.btn-gold.btn-sm { padding: 7px 14px; font-size: 13px; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.55);
}

/* Page hero (catalogue header reuse) */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0f172a 100%);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, var(--blue-ring), transparent 60%);
  pointer-events: none;
}

.page-hero h1 { font-size: 2.4rem; color: #fff; margin-bottom: 6px; position: relative; font-family: 'Inter', sans-serif; font-weight: 800; }
.page-hero h1 span { color: var(--blue-mid); }
.page-hero p  { color: rgba(255,255,255,.6); font-size: 15px; position: relative; }

/* Catalogue hero */
.catalogue-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0f172a 100%);
  padding: 40px 24px 36px;
  position: relative;
  overflow: hidden;
}

.catalogue-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 55%);
  pointer-events: none;
}

.catalogue-hero-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.catalogue-hero-text h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
}

.catalogue-hero-text h1 span { color: var(--blue-mid); }

.catalogue-hero-text p {
  color: rgba(255,255,255,.45);
  font-size: 14px;
}

.catalogue-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,.35);
  margin-bottom: 8px;
}
.catalogue-breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--dur); }
.catalogue-breadcrumb a:hover { color: var(--blue-mid); }
.catalogue-breadcrumb .sep { opacity: .3; }
.catalogue-breadcrumb .current { color: var(--blue-mid); }

/* Filter bar (catalogue) */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
  padding: 12px var(--container-p);
  position: sticky;
  top: var(--header-h);
  z-index: 150;
  box-shadow: var(--shadow-xs);
}

.filter-bar-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.filter-search-wrap i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  font-size: 14px;
  pointer-events: none;
}

.filter-search-input {
  width: 100%;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 8px 12px 8px 36px;
  font-family: inherit;
  font-size: 13.5px;
  background: var(--bg);
  outline: none;
  color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.filter-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
  background: var(--surface);
}

.filter-sort-wrap { position: relative; }

.filter-sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2394a3b8' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  color: var(--ink);
  cursor: pointer;
  outline: none;
  transition: border-color var(--dur);
  white-space: nowrap;
}
.filter-sort-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
.filter-sort-wrap::after { display: none; }

.filter-results-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 8px 12px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--divider);
}
.filter-results-label strong { color: var(--ink); }

.active-filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* Brands section */
.brands-section { background: var(--ink); padding: 40px 24px; text-align: center; }
.brands-section-header { margin-bottom: 24px; }
.brands-section-header h2 { font-size: 1.6rem; color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; margin-bottom: 4px; }
.brands-section-header h2 span { color: var(--blue-mid); }
.brands-section-header p { font-size: 12px; color: rgba(255,255,255,.3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* Trust strip (legacy) */
.trust-strip {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 48px 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

.trust-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.trust-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--blue) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--blue-accent);
}

.trust-title { font-size: 14px; font-weight: 600; color: #fff; font-family: 'Inter', sans-serif; }
.trust-desc { font-size: 12.5px; color: rgba(255,255,255,.38); max-width: 180px; line-height: 1.55; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-ring), transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
}
.cta-section h2 span { color: var(--blue-mid); }
.cta-section p { color: rgba(255,255,255,.5); margin-bottom: 28px; font-size: 15px; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* Category cards (home) */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1099px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Category card (full-image style) ─────────── */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,.28);
  color: #fff;
}

/* background image */
.cat-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.cat-card:hover .cat-card-bg { transform: scale(1.08); }

/* icon fallback background */
.cat-card-icon-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,.18);
  background: linear-gradient(135deg, #1e3a8a 0%, var(--blue) 100%);
  transition: transform .45s var(--ease);
}
.cat-card:hover .cat-card-icon-bg { transform: scale(1.06); }

/* dark gradient overlay */
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.78) 0%,
    rgba(0,0,0,.22) 55%,
    transparent 100%);
  transition: background .3s;
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.32) 65%,
    transparent 100%);
}

/* text layer */
.cat-card-body {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  width: 100%;
}
.cat-name {
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  display: block;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
  letter-spacing: -.01em;
}
.cat-nb {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  display: block;
  margin-top: 2px;
}

/* Search bar (home page) */
.search-bar-wrap {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: -20px auto 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  border: 1px solid var(--divider);
}

.search-bar-wrap input {
  flex: 1;
  border: none;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 15px;
  background: transparent;
  outline: none;
  color: var(--ink);
}
.search-bar-wrap input::placeholder { color: var(--subtle); }

.search-bar-wrap button {
  background: var(--blue);
  border: none;
  padding: 14px 24px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--dur);
  flex-shrink: 0;
  font-family: inherit;
}
.search-bar-wrap button:hover { background: var(--blue-dark); }

/* ══════════════════════════════════════════════
   NEWSLETTER POPUP
══════════════════════════════════════════════ */
.nl-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.nl-overlay.open { display: flex; }

.nl-modal {
  display: flex;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,.28);
  animation: nl-in .32s cubic-bezier(.34,1.56,.64,1);
}
@keyframes nl-in {
  from { opacity:0; transform: scale(.88) translateY(20px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

/* ── Côté image ── */
.nl-left {
  width: 240px;
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--blue-dark, #1d4ed8) 0%, var(--blue, #2563eb) 60%, #7c3aed 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.nl-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.nl-brand-logo {
  width: 100px;
  max-height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  position: relative;
}
.nl-brand-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  position: relative;
}
.nl-left-tagline {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

/* ── Côté formulaire ── */
.nl-right {
  flex: 1;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  position: relative;
}
.nl-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  background: var(--bg2);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.nl-close:hover { background: var(--blue-light); color: var(--blue); }

.nl-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  width: fit-content;
}
.nl-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.nl-title span { color: var(--blue); }
.nl-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--divider);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg2);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.nl-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
  background: var(--surface);
}
.nl-phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--divider);
  border-radius: 10px;
  background: var(--bg2);
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.nl-phone-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-ring);
  background: var(--surface);
}
.nl-flag {
  padding: 0 12px;
  font-size: 13px;
  color: var(--body);
  white-space: nowrap;
  border-right: 1.5px solid var(--divider);
  height: 100%;
  display: flex;
  align-items: center;
}
.nl-input-phone {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  flex: 1;
}
.nl-btn {
  padding: 13px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.nl-btn:hover   { background: var(--blue-dark); }
.nl-btn:active  { transform: scale(.98); }
.nl-btn:disabled { opacity: .6; cursor: not-allowed; }

.nl-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  color: #15803d;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}
.nl-success i { font-size: 22px; flex-shrink: 0; }

.nl-disclaimer {
  font-size: 11px;
  color: var(--subtle);
  line-height: 1.5;
  margin: 0;
}

/* Responsive */
@media (max-width: 560px) {
  .nl-left  { display: none; }
  .nl-right { padding: 28px 20px 24px; }
  .nl-title { font-size: 19px; }
}
/* ══
