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

    :root {
      --red:      #c0392b;
      --red-deep: #96281b;
      --red-light:#e74c3c;
      --red-soft: rgba(192,57,43,0.07);
      --text:     #1a1a1a;
      --muted:    #777;
      --bg:       #fafafa;
      --white:    #ffffff;
      --border:   #e8e8e8;
      --shadow:   0 4px 24px rgba(0,0,0,0.08);
    }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    /* ═══════════════════════════════════
       NAVBAR
    ═══════════════════════════════════ */
    nav {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      height: 68px;
      gap: 1.2rem;
      box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    }

    .brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      letter-spacing: 0.03em;
      color: var(--red);
      text-decoration: none;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .brand span { color: var(--text); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 0.1rem;
      list-style: none;
      flex: 1;
    }
    .nav-links a {
      text-decoration: none;
      font-size: 0.875rem;
      color: var(--muted);
      padding: 0.45rem 0.8rem;
      border-radius: 7px;
      white-space: nowrap;
      transition: color 0.2s, background 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--red); background: var(--red-soft); }

    .dropdown { position: relative; }
    .dropdown > a::after {
      content: '';
      display: inline-block;
      margin-left: 5px;
      width: 5px; height: 5px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      vertical-align: middle;
      transition: transform 0.2s;
    }
    .dropdown:hover > a::after { transform: rotate(-135deg) translateY(-2px); }
    .dropdown-menu {
      display: none;
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.5rem;
      min-width: 200px;
      box-shadow: var(--shadow);
      z-index: 500;
    }
    .dropdown:hover .dropdown-menu { display: block; }
    .dropdown-menu a {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.55rem 0.9rem;
      font-size: 0.85rem;
      color: var(--muted);
      border-radius: 7px;
    }
    .dropdown-menu a:hover { color: var(--red); background: var(--red-soft); }
    .dropdown-menu a svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }
    .dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: 0.35rem 0; }

    .search-wrap {
      position: relative;
      max-width: 240px;
      width: 100%;
    }
    .search-wrap svg {
      position: absolute; left: 11px; top: 50%;
      transform: translateY(-50%);
      width: 15px; height: 15px; color: #bbb;
      pointer-events: none;
    }
    .search-wrap input {
      width: 100%;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 9px;
      padding: 0.5rem 0.9rem 0.5rem 2rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.85rem;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .search-wrap input::placeholder { color: #bbb; }
    .search-wrap input:focus {
      border-color: var(--red-light);
      box-shadow: 0 0 0 3px rgba(192,57,43,0.07);
      background: var(--white);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-shrink: 0;
      margin-left: auto;
    }

    .icon-btn {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      background: none;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 0.46rem 0.75rem;
      cursor: pointer;
      color: var(--muted);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      white-space: nowrap;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
      text-decoration: none;
      position: relative;
    }
    .icon-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
    .icon-btn:hover { color: var(--red); border-color: rgba(192,57,43,0.25); background: var(--red-soft); }

    .cart-badge {
      background: var(--red);
      color: var(--white);
      font-size: 0.6rem;
      font-weight: 700;
      border-radius: 20px;
      padding: 1px 6px;
      line-height: 1.5;
    }

    .user-wrap { position: relative; }
    .user-dropdown {
      opacity: 0;
      pointer-events: none;
      position: absolute;
      top: calc(100% + 4px);
      right: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 0.5rem;
      min-width: 200px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
      z-index: 500;
      transition: opacity 0.15s ease;
    }
    .user-dropdown::before {
      content: '';
      position: absolute;
      top: -10px; left: 0; right: 0; height: 10px;
    }
    .user-wrap:hover .user-dropdown { opacity: 1; pointer-events: auto; }
    .user-wrap:not(:hover) .user-dropdown { transition-delay: 0.2s; }

    .user-dropdown-title {
      font-size: 0.67rem; font-weight: 500;
      letter-spacing: 0.09em; text-transform: uppercase;
      color: #c0c0c0; padding: 0.25rem 0.75rem 0.1rem;
    }
    .user-dropdown a {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 0.58rem 0.75rem;
      border-radius: 9px; font-size: 0.84rem;
      color: var(--text); text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }
    .user-dropdown a svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }
    .user-dropdown a:hover { background: var(--red-soft); color: var(--red); }
    .user-dropdown hr { border: none; border-top: 1px solid var(--border); margin: 0.3rem 0; }

    .help-wrap { position: relative; }
    .help-popover {
      opacity: 0; pointer-events: none;
      position: absolute;
      top: calc(100% + 4px); right: 0;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 0.5rem; padding-top: 0.9rem;
      min-width: 228px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
      z-index: 500;
      transition: opacity 0.15s ease;
    }
    .help-popover::before {
      content: '';
      position: absolute;
      top: -10px; left: 0; right: 0; height: 10px;
    }
    .help-wrap:hover .help-popover { opacity: 1; pointer-events: auto; }
    .help-wrap:not(:hover) .help-popover { transition-delay: 0.25s; }

    .help-popover-title {
      font-size: 0.67rem; font-weight: 500;
      letter-spacing: 0.09em; text-transform: uppercase;
      color: #c0c0c0; padding: 0.2rem 0.75rem 0.15rem;
    }
    .help-popover a {
      display: flex; align-items: center; gap: 0.6rem;
      padding: 0.55rem 0.75rem; border-radius: 9px;
      font-size: 0.84rem; color: var(--text); text-decoration: none;
      transition: background 0.15s, color 0.15s;
    }
    .help-popover a svg { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }
    .help-popover a:hover { background: var(--red-soft); color: var(--red); }
    .help-popover hr { border: none; border-top: 1px solid var(--border); margin: 0.3rem 0; }

    .hamburger {
      display: none;
      background: none; border: none;
      cursor: pointer; color: var(--text); padding: 6px;
      flex-shrink: 0;
    }

    /* ═══════════════════════════════════
       MOBILE DRAWER — CORRIGÉ
    ═══════════════════════════════════ */
    .mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; }
    .mobile-menu.open { display: block; }
    .mobile-overlay {
      position: absolute; inset: 0;
      background: rgba(0,0,0,0.4);
      backdrop-filter: blur(3px);
    }
    .mobile-drawer {
      position: absolute; top: 0; right: 0;
      width: min(320px, 90vw); height: 100%;
      background: var(--white);
      box-shadow: -8px 0 40px rgba(0,0,0,0.15);
      display: flex; flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.3s cubic-bezier(.4,0,.2,1);
      overflow-y: auto;
      overflow-x: hidden;
    }
    .mobile-menu.open .mobile-drawer { transform: translateX(0); }

    .mobile-head {
      display: flex; align-items: center;
      justify-content: space-between;
      padding: 1.1rem 1.3rem;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
      position: sticky;
      top: 0;
      background: var(--white);
      z-index: 10;
    }
    .close-btn {
      background: none; border: none; cursor: pointer;
      color: var(--muted); padding: 6px; border-radius: 6px;
      transition: color 0.2s, background 0.2s;
    }
    .close-btn:hover { color: var(--red); background: var(--red-soft); }

    /* Search mobile */
    .mobile-search { padding: 1rem 1.1rem 0.5rem; }
    .mobile-search .search-wrap { max-width: 100%; }
    .mobile-search .search-wrap input { background: #f7f7f7; width: 100%; }

    /* Auth buttons */
    .mobile-btn-group { padding: 0.5rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; }
    .mobile-btn {
      display: flex; align-items: center; gap: 0.65rem;
      width: 100%; background: none;
      border: 1.5px solid var(--border);
      border-radius: 12px; padding: 0.75rem 1rem;
      cursor: pointer; color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.875rem; text-decoration: none;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .mobile-btn svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
    .mobile-btn:hover { color: var(--red); border-color: rgba(192,57,43,0.25); background: var(--red-soft); }
    .mobile-btn:hover svg { color: var(--red); }
    .mobile-btn.red { background: var(--red); border-color: var(--red); color: var(--white); font-weight: 500; }
    .mobile-btn.red svg { color: var(--white); }
    .mobile-btn.red:hover { background: var(--red-deep); border-color: var(--red-deep); }
    .mobile-btn.outline-red { border-color: rgba(192,57,43,0.3); color: var(--red); }
    .mobile-btn.outline-red svg { color: var(--red); }
    .mobile-btn.outline-red:hover { background: var(--red); color: var(--white); }
    .mobile-btn.outline-red:hover svg { color: var(--white); }

    /* Divider */
    .mobile-divider { height: 1px; background: var(--border); margin: 0.6rem 1.2rem; flex-shrink: 0; }

    /* Section titles */
    .mobile-section-title {
      font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: #bbb; padding: 0.5rem 1.3rem 0.2rem;
      flex-shrink: 0;
    }

    /* Nav links */
    .mobile-nav { list-style: none; padding: 0.3rem 0.8rem; }
    .mobile-nav li a {
      display: flex; align-items: center; gap: 0.65rem;
      text-decoration: none; font-size: 0.9rem;
      color: var(--text); padding: 0.7rem 0.7rem;
      border-radius: 10px;
      transition: color 0.2s, background 0.2s;
    }
    .mobile-nav li a svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
    .mobile-nav li a:hover, .mobile-nav li a.active { color: var(--red); background: var(--red-soft); }

    /* ── Section Aide mobile — NOUVELLE ── */
    .mobile-help-section {
      padding: 0.3rem 0.8rem;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .mobile-help-item {
      display: flex; align-items: center; gap: 0.65rem;
      text-decoration: none; font-size: 0.875rem;
      color: var(--text); padding: 0.7rem 0.7rem;
      border-radius: 10px;
      transition: color 0.2s, background 0.2s;
    }
    .mobile-help-item svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; }
    .mobile-help-item:hover { color: var(--red); background: var(--red-soft); }
    .mobile-help-item .help-item-label {
      flex: 1;
      display: flex; flex-direction: column; gap: 1px;
    }
    .mobile-help-item .help-item-label small {
      font-size: 0.68rem; color: #bbb; font-weight: 400;
    }

    /* Cart CTA mobile */
    .mobile-cart-cta {
      margin: 0.5rem 1rem 1.5rem;
      display: flex; align-items: center;
      gap: 0.7rem;
      background: linear-gradient(135deg, var(--red), var(--red-light));
      border-radius: 14px;
      padding: 1rem 1.1rem;
      color: #fff;
      cursor: pointer;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(192,57,43,0.3);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .mobile-cart-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(192,57,43,0.4); }
    .mobile-cart-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
    .mobile-cart-cta-info { display: flex; flex-direction: column; gap: 1px; }
    .mobile-cart-cta-info small { font-size: 0.7rem; opacity: 0.8; }

    /* ═══════════════════════════════════
       HERO
    ═══════════════════════════════════ */
    .hero {
      background: linear-gradient(135deg, #fff5f4 0%, #fff 60%);
      padding: 5rem 6rem 5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      width: 700px; height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(192,57,43,0.06) 0%, transparent 70%);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 0.6rem;
      font-size: 0.72rem; font-weight: 500;
      letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--red); margin-bottom: 1.4rem;
      animation: fadeUp 0.8s ease both;
    }
    .hero-eyebrow::before, .hero-eyebrow::after {
      content: '';
      width: 24px; height: 2px;
      background: var(--red); border-radius: 2px;
    }
    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.4rem, 5vw, 4.5rem);
      font-weight: 700;
      line-height: 1.12;
      color: var(--text);
      margin-bottom: 1.4rem;
      max-width: 800px;
      animation: fadeUp 0.8s 0.1s ease both;
    }
    .hero-title em { font-style: italic; color: var(--red); }
    .hero-desc {
      font-size: 1.05rem; font-weight: 300;
      color: var(--muted); line-height: 1.8;
      max-width: 580px; margin-bottom: 2.5rem;
      animation: fadeUp 0.8s 0.2s ease both;
    }
    .hero-actions {
      display: flex; align-items: center;
      justify-content: center; gap: 1rem; flex-wrap: wrap;
      margin-bottom: 3.5rem;
      animation: fadeUp 0.8s 0.3s ease both;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--red); color: var(--white);
      border: none; border-radius: 50px;
      padding: 0.85rem 2rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem; font-weight: 500;
      cursor: pointer; text-decoration: none;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 18px rgba(192,57,43,0.3);
    }
    .btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,0.35); }
    .btn-primary svg { width: 16px; height: 16px; }
    .btn-ghost {
      display: inline-flex; align-items: center;
      background: none; border: 2px solid var(--border);
      border-radius: 50px; padding: 0.83rem 1.8rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem; font-weight: 400;
      color: var(--text); text-decoration: none;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-ghost:hover { border-color: var(--red); color: var(--red); }

    .trust-badges {
      display: flex; align-items: center;
      justify-content: center; gap: 2.5rem;
      flex-wrap: wrap;
      animation: fadeUp 0.8s 0.4s ease both;
    }
    .trust-badge {
      display: flex; align-items: center; gap: 0.6rem;
      font-size: 0.82rem; color: var(--muted);
    }
    .trust-badge svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
    .trust-badge strong { color: var(--text); font-weight: 500; }

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

    .how-it-works {
      display: flex; align-items: flex-start;
      justify-content: center; gap: 0;
      margin-top: 3rem; width: 100%; max-width: 720px;
      animation: fadeUp 0.8s 0.45s ease both;
    }
    .hiw-step {
      flex: 1; display: flex; flex-direction: column;
      align-items: center; text-align: center;
      padding: 0 1.2rem; position: relative;
    }
    .hiw-step:not(:last-child)::after {
      content: '→';
      position: absolute; right: -0.3rem; top: 1.3rem;
      color: rgba(192,57,43,0.3); font-size: 1.2rem;
    }
    .hiw-icon {
      width: 52px; height: 52px;
      background: var(--white); border: 2px solid rgba(192,57,43,0.15);
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 0.75rem;
      box-shadow: 0 2px 12px rgba(192,57,43,0.08);
    }
    .hiw-icon svg { width: 24px; height: 24px; color: var(--red); }
    .hiw-num {
      font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      color: var(--red); margin-bottom: 0.25rem;
    }
    .hiw-title { font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.2rem; }
    .hiw-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

    /* ═══════════════════════════════════
       SECTION PRODUITS
    ═══════════════════════════════════ */
    .products-section {
      padding: 0 0 5rem;
      background: #f3f4f6;
    }

    .promo-banner {
      background: linear-gradient(90deg, #c0392b 0%, #e74c3c 50%, #c0392b 100%);
      background-size: 200% 100%;
      animation: shimmerBanner 4s linear infinite;
      color: #fff;
      text-align: center;
      padding: 0.6rem 1rem;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    @keyframes shimmerBanner {
      0% { background-position: 0% 0%; }
      100% { background-position: 200% 0%; }
    }
    .promo-banner svg { width: 15px; height: 15px; flex-shrink: 0; }
    .promo-sep { opacity: 0.4; }

    .shop-layout {
      display: flex;
      gap: 0;
      min-height: 600px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 2rem 2rem 0;
      align-items: flex-start;
    }

    /* ── Sidebar ── */
    .sidebar {
      width: 220px;
      flex-shrink: 0;
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--border);
      padding: 1.4rem;
      position: sticky;
      top: 88px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    }

    .sidebar-title {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #b0b0b0;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .sidebar-title svg { width: 13px; height: 13px; }

    .sidebar-cats { list-style: none; display: flex; flex-direction: column; gap: 2px; }

    .cat-item {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      padding: 0.65rem 0.75rem;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
      font-size: 0.855rem;
      color: var(--muted);
      font-weight: 400;
      border: none;
      background: none;
      width: 100%;
      text-align: left;
    }
    .cat-item .cat-icon {
      width: 30px; height: 30px;
      border-radius: 8px;
      background: #f5f5f5;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: background 0.15s;
    }
    .cat-item .cat-icon svg { width: 15px; height: 15px; color: #999; transition: color 0.15s; }
    .cat-item .cat-count {
      margin-left: auto;
      font-size: 0.7rem;
      color: #ccc;
      font-weight: 500;
    }
    .cat-item:hover { background: var(--red-soft); color: var(--text); }
    .cat-item:hover .cat-icon { background: rgba(192,57,43,0.1); }
    .cat-item:hover .cat-icon svg { color: var(--red); }
    .cat-item.active { background: var(--red-soft); color: var(--red); font-weight: 500; }
    .cat-item.active .cat-icon { background: rgba(192,57,43,0.12); }
    .cat-item.active .cat-icon svg { color: var(--red); }
    .cat-item.active .cat-count { color: var(--red); }

    .sidebar-sep { height: 1px; background: var(--border); margin: 1rem 0; }

    .sidebar-promo-badge {
      display: flex; align-items: center; gap: 0.6rem;
      background: linear-gradient(135deg, rgba(244,63,94,0.08), rgba(192,57,43,0.06));
      border: 1px solid rgba(244,63,94,0.15);
      border-radius: 10px;
      padding: 0.65rem 0.75rem;
      cursor: pointer;
      transition: all 0.15s;
      font-size: 0.855rem;
      font-weight: 500;
      color: #f43f5e;
      width: 100%;
      text-align: left;
    }
    .sidebar-promo-badge .cat-icon {
      width: 30px; height: 30px;
      border-radius: 8px;
      background: rgba(244,63,94,0.1);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .sidebar-promo-badge .cat-icon svg { width: 15px; height: 15px; color: #f43f5e; }
    .sidebar-promo-badge:hover { background: rgba(244,63,94,0.12); border-color: rgba(244,63,94,0.3); }
    .sidebar-promo-badge.active { background: #f43f5e; color: #fff; border-color: #f43f5e; }
    .sidebar-promo-badge.active .cat-icon { background: rgba(255,255,255,0.2); }
    .sidebar-promo-badge.active .cat-icon svg { color: #fff; }

    /* ── Shop main ── */
    .shop-main { flex: 1; min-width: 0; padding-left: 1.5rem; }

    .shop-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.4rem;
      flex-wrap: wrap;
    }
    .shop-topbar-left { display: flex; flex-direction: column; gap: 2px; }
    .shop-heading {
      font-family: 'Playfair Display', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--text);
      line-height: 1;
    }
    .shop-sub { font-size: 0.78rem; color: var(--muted); }

    .shop-topbar-right { display: flex; align-items: center; gap: 0.75rem; }

    .prod-search-bar { position: relative; }
    .prod-search-bar svg {
      position: absolute; left: 12px; top: 50%;
      transform: translateY(-50%);
      width: 15px; height: 15px; color: #bbb;
      pointer-events: none;
    }
    .prod-search-bar input {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 0.55rem 1rem 0.55rem 2.2rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.84rem;
      color: var(--text);
      outline: none;
      width: 220px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .prod-search-bar input::placeholder { color: #bbb; }
    .prod-search-bar input:focus {
      border-color: var(--red-light);
      box-shadow: 0 0 0 3px rgba(192,57,43,0.07);
    }

    .sort-select {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 10px;
      padding: 0.52rem 2rem 0.52rem 0.9rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem;
      color: var(--muted);
      cursor: pointer;
      outline: none;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.7rem center;
      transition: border-color 0.2s;
    }
    .sort-select:focus { border-color: var(--red-light); }

    /* ── Grille produits — BORDURES STABLES ── */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 1.1rem;
    }

    /* Card — border-box + transform sur wrapper interne pour éviter les sauts */
    .prod-card {
      background: var(--white);
      border-radius: 14px;
      border: 1px solid var(--border);
      overflow: hidden;
      /* On utilise will-change pour que le navigateur crée un layer séparé et évite les artefacts de border */
      will-change: transform;
      transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
      cursor: pointer;
      position: relative;
      /* Isolation pour contenir les effets */
      isolation: isolate;
    }
    .prod-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 45px rgba(0,0,0,0.1);
      border-color: rgba(192,57,43,0.2);
    }

    .prod-img-wrap {
      position: relative;
      overflow: hidden;
      height: 190px;
      background: #f8f8f8;
    }
    .prod-img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      /* Forcer le rendu GPU pour éviter les jitters */
      transform: translateZ(0);
    }
    .prod-card:hover .prod-img { transform: scale(1.07) translateZ(0); }

    .prod-img-wrap::after {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.12) 0%, transparent 50%);
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    .prod-card:hover .prod-img-wrap::after { opacity: 1; }

    .prod-badge {
      position: absolute;
      top: 10px; left: 10px;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 4px;
      backdrop-filter: blur(4px);
      z-index: 2;
    }
    .prod-badge svg { width: 10px; height: 10px; }

    .badge-alimentaire { background: rgba(255,255,255,0.92); color: #2d6a4f; border: 1px solid rgba(45,106,79,0.2); }
    .badge-beignets { background: rgba(255,255,255,0.92); color: #92400e; border: 1px solid rgba(146,64,14,0.2); }
    .badge-boissons { background: rgba(255,255,255,0.92); color: #1e40af; border: 1px solid rgba(30,64,175,0.2); }
    .badge-habits { background: rgba(255,255,255,0.92); color: #5b21b6; border: 1px solid rgba(91,33,182,0.2); }
    .badge-hygiene { background: rgba(255,255,255,0.92); color: #065f46; border: 1px solid rgba(6,95,70,0.2); }
    .badge-maison { background: rgba(255,255,255,0.92); color: #374151; border: 1px solid rgba(55,65,81,0.2); }
    .badge-promo { background: #f43f5e; color: #fff; border: none; }

    .prod-img-actions {
      position: absolute;
      top: 10px; right: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 2;
      opacity: 0;
      transform: translateX(8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .prod-card:hover .prod-img-actions { opacity: 1; transform: translateX(0); }
    .img-action-btn {
      width: 32px; height: 32px;
      border-radius: 50%;
      background: rgba(255,255,255,0.95);
      border: none;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: #666;
      transition: color 0.2s, background 0.2s, transform 0.2s;
      backdrop-filter: blur(4px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }
    .img-action-btn svg { width: 15px; height: 15px; }
    .img-action-btn:hover { color: var(--red); background: #fff; transform: scale(1.1); }
    .img-action-btn.liked { color: #f43f5e; }

    .prod-popularity-bar {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: rgba(0,0,0,0.06);
      z-index: 2;
    }
    .prod-popularity-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--red), #f43f5e);
      border-radius: 0 2px 2px 0;
    }

    .prod-body { padding: 0.9rem 1rem 1rem; }
    .prod-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.35rem;
    }
    .prod-cat-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #bbb; }
    .prod-rating { display: flex; align-items: center; gap: 3px; font-size: 0.72rem; }
    .prod-rating svg { width: 11px; height: 11px; fill: #f59e0b; color: #f59e0b; }
    .prod-rating-val { font-weight: 600; color: var(--text); }
    .prod-rating-cnt { color: #ccc; }
    .prod-name {
      font-size: 0.92rem; font-weight: 600; color: var(--text);
      margin-bottom: 0.7rem; line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .prod-tags { display: flex; gap: 0.3rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
    .prod-tag {
      font-size: 0.62rem; font-weight: 500; padding: 2px 7px;
      border-radius: 4px; background: #f5f5f5; color: #888; border: 1px solid #ebebeb;
    }
    .prod-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
    .prod-price-block { display: flex; flex-direction: column; gap: 1px; }
    .prod-old-price { font-size: 0.7rem; color: #bbb; text-decoration: line-through; line-height: 1; }
    .prod-price { font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1; }
    .prod-price-unit { font-size: 0.68rem; color: var(--muted); font-weight: 400; }

    .prod-add-btn {
      display: flex; align-items: center; justify-content: center;
      gap: 0.3rem;
      background: var(--red);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 0.5rem 0.9rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.78rem; font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
      box-shadow: 0 2px 8px rgba(192,57,43,0.25);
      flex-shrink: 0;
    }
    .prod-add-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
    .prod-add-btn:hover { background: var(--red-deep); transform: scale(1.05); box-shadow: 0 4px 14px rgba(192,57,43,0.35); }
    .prod-add-btn.added { background: #10b981; box-shadow: 0 2px 8px rgba(16,185,129,0.3); }

    .empty-state {
      grid-column: 1 / -1;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: 5rem 2rem; color: var(--muted); gap: 1rem;
      text-align: center;
      background: #fff; border-radius: 14px;
      border: 1.5px dashed var(--border);
    }
    .empty-state svg { color: #ddd; }
    .empty-state strong { font-size: 1rem; color: var(--text); font-weight: 600; }
    .empty-state p { font-size: 0.875rem; }

    /* Mobile tabs */
    .mobile-filter-tabs {
      display: none;
      overflow-x: auto;
      gap: 0.4rem;
      padding: 0.75rem 1rem;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .mobile-filter-tabs::-webkit-scrollbar { display: none; }
    .mob-filter-btn {
      display: inline-flex; align-items: center; gap: 0.35rem;
      white-space: nowrap;
      background: #fff;
      border: 1.5px solid var(--border);
      border-radius: 50px;
      padding: 0.45rem 1rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.78rem; font-weight: 500;
      color: var(--muted);
      cursor: pointer;
      transition: all 0.15s;
      flex-shrink: 0;
    }
    .mob-filter-btn svg { width: 13px; height: 13px; }
    .mob-filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
    .mob-filter-btn.active svg { color: #fff; }
    .mob-filter-btn:hover:not(.active) { border-color: rgba(192,57,43,0.3); color: var(--red); }

    /* ═══════════════════════════════════
       FOOTER
    ═══════════════════════════════════ */
    footer {
      background: #1a1a1a;
      color: #ccc;
      font-size: 0.875rem;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      padding: 4rem 4rem 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .footer-brand .brand { color: #c0392b; font-size: 1.6rem; display: inline-block; margin-bottom: 1rem; }
    .footer-brand .brand span { color: #fff; }
    .footer-brand p { line-height: 1.75; color: #888; max-width: 280px; margin-bottom: 1.5rem; font-size: 0.85rem; }
    .app-badges { display: flex; gap: 0.7rem; flex-wrap: wrap; }
    .app-badge {
      display: flex; align-items: center; gap: 0.5rem;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px; padding: 0.55rem 1rem;
      color: #fff; text-decoration: none; font-size: 0.78rem;
      transition: background 0.2s, border-color 0.2s;
    }
    .app-badge:hover { background: rgba(192,57,43,0.15); border-color: rgba(192,57,43,0.3); }
    .app-badge svg { width: 18px; height: 18px; color: #fff; }
    .app-badge div { line-height: 1.2; }
    .app-badge div small { font-size: 0.65rem; color: #888; display: block; }
    .footer-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
    .footer-col ul li a { color: #888; text-decoration: none; font-size: 0.855rem; transition: color 0.2s; }
    .footer-col ul li a:hover { color: var(--red-light); }
    .socials { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
    .social-btn {
      width: 36px; height: 36px; border-radius: 9px;
      background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
      display: flex; align-items: center; justify-content: center;
      color: #888; cursor: pointer; text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }
    .social-btn svg { width: 16px; height: 16px; }
    .newsletter { margin-top: 1rem; }
    .newsletter p { font-size: 0.82rem; color: #888; margin-bottom: 0.6rem; }
    .newsletter-form { display: flex; gap: 0.5rem; }
    .newsletter-form input {
      flex: 1; background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px; padding: 0.55rem 0.8rem;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.82rem; color: #fff; outline: none;
    }
    .newsletter-form input::placeholder { color: #555; }
    .newsletter-form input:focus { border-color: rgba(192,57,43,0.4); }
    .newsletter-form button {
      background: var(--red); color: #fff; border: none;
      border-radius: 8px; padding: 0.55rem 1rem; cursor: pointer;
      font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
      transition: background 0.2s; white-space: nowrap;
    }
    .newsletter-form button:hover { background: var(--red-deep); }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 1rem; padding: 1.4rem 4rem;
      font-size: 0.8rem; color: #555;
    }
    .footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
    .footer-bottom-links a { color: #555; text-decoration: none; transition: color 0.2s; }
    .footer-bottom-links a:hover { color: var(--red-light); }
    .payment-icons { display: flex; gap: 0.5rem; align-items: center; }
    .pay-badge {
      display: flex; align-items: center; gap: 0.5rem;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px; padding: 0.5rem 0.85rem;
      color: #fff; text-decoration: none; font-size: 0.78rem;
      transition: background 0.2s, border-color 0.2s;
    }
    .pay-badge:hover { background: rgba(192,57,43,0.18); border-color: rgba(192,57,43,0.35); }
    .pay-badge div { line-height: 1.2; }
    .pay-badge div small { font-size: 0.63rem; color: #888; display: block; }

    /* ═══════════════════════════════════
       RESPONSIVE — CORRIGÉ & AMÉLIORÉ
    ═══════════════════════════════════ */
    @media (max-width: 1024px) {
      .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 2.5rem 2rem; }
      .shop-layout { padding: 1.5rem 1.5rem 0; }
      .sidebar { width: 190px; }
    }

    @media (max-width: 900px) {
      .sidebar { display: none; }
      .shop-main { padding-left: 0; }
      .mobile-filter-tabs { display: flex; }
      .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
    }

    @media (max-width: 768px) {
      /* Cacher les éléments desktop */
      .nav-links, .search-wrap, .help-wrap, .auth-label { display: none; }
      .hamburger { display: flex; }
      nav { padding: 0 1.2rem; }

      .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem; padding: 2.5rem 1.4rem 2rem; }
      .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1.2rem 1.4rem; }

      .hero { padding: 3rem 1.4rem 2.5rem; }
      .hero-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }

      /* Stabiliser les cards sur mobile */
      .prod-card {
        /* Sur mobile, on enlève le translateY pour éviter les jitters sur les petits écrans */
        transform: none !important;
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
      }
      .prod-card:hover {
        transform: none !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        border-color: rgba(192,57,43,0.2);
      }
      .prod-card:hover .prod-img { transform: scale(1.04) translateZ(0); }
    }

    @media (max-width: 640px) {
      .shop-layout { padding: 0.75rem 0.75rem 0; }
      .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
      .prod-img-wrap { height: 150px; }
      .prod-body { padding: 0.75rem 0.75rem 0.85rem; }
      .prod-name { font-size: 0.84rem; }
      .prod-price { font-size: 1rem; }
      .prod-add-btn { padding: 0.45rem 0.75rem; font-size: 0.73rem; }

      /* Topbar produits empilée */
      .shop-topbar { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
      .shop-topbar-right { width: 100%; flex-wrap: wrap; gap: 0.5rem; }
      .prod-search-bar { flex: 1; min-width: 0; }
      .prod-search-bar input { width: 100%; }
      .sort-select { flex: 0 0 auto; }
    }

    @media (max-width: 480px) {
      .footer-top { grid-template-columns: 1fr; }
      .trust-badges { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
      .hero-actions { flex-direction: column; }
      .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
      .payment-icons { flex-wrap: wrap; gap: 0.5rem; }
      .promo-banner .promo-sep + span,
      .promo-banner .promo-sep { display: none; }
      .promo-banner { gap: 0.5rem; font-size: 0.75rem; }
    }