/* =====================================================
   NORDIA — Feuille de styles principale
   Direction Artistique : Scandi-wellness & Luxe Épuré
   Typographie : Plus Jakarta Sans & Playfair Display
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #fcfaf8;
  --surface: #ffffff;
  --surface-soft: #f7f3ee;
  --surface-hover: #fcf6f1;
  
  --text: #171b26;
  --text-muted: #646b7a;
  --text-light: #9aa1b0;

  --border: #ece5dc;
  --border-light: #f5f0e9;

  --accent: #c27c54;
  --accent-hover: #ab6a45;
  --accent-soft: #faefe8;
  --accent-glow: rgba(194, 124, 84, 0.18);

  --dark: #121824;
  --dark-surface: #1a2233;
  --dark-hover: #232d42;

  --green: #257a55;
  --green-soft: #ecf7f1;
  --red: #c2382c;
  --red-soft: #fdf2f0;

  --radius-xs: 6px;
  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(18, 24, 36, 0.04);
  --shadow: 0 8px 24px rgba(18, 24, 36, 0.06);
  --shadow-hover: 0 16px 36px rgba(18, 24, 36, 0.10);
  --shadow-drawer: -10px 0 40px rgba(0, 0, 0, 0.22);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --container: 1240px;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.hidden { display: none !important; }
.txt-green { color: var(--green) !important; }
.txt-red { color: var(--red) !important; }

/* -----------------------------------------------------
   TOPBAR (Annonces & Réassurance)
   ----------------------------------------------------- */
.topbar {
  background: var(--dark);
  color: #d1d7e5;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-perk b {
  color: #fff;
}

.topbar-sep {
  opacity: 0.35;
}

/* -----------------------------------------------------
   SITE HEADER (Desktop & Mobile)
   ----------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow 0.2s;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--dark);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(18, 24, 36, 0.15);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--dark);
  line-height: 1.1;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 2px;
}

/* Barre de recherche avec autocomplétion */
.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 3px 6px 3px 14px;
  transition: all 0.2s;
}

.search-form:focus-within {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 8px;
}

.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
  min-width: 100px;
}

.search-btn {
  background: var(--dark);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s, background 0.18s;
}

.search-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* Dropdown des résultats de recherche */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  display: none;
  z-index: 250;
}

.search-results-dropdown.open {
  display: block;
}

.search-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.search-drop-item:hover {
  background: var(--surface-soft);
}

.search-drop-item img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-soft);
}

.search-drop-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-drop-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.search-drop-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.search-drop-all {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  padding: 8px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.search-drop-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Actions Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.desktop-switchers {
  display: flex;
  align-items: center;
  gap: 6px;
  border-right: 1px solid var(--border);
  padding-right: 14px;
  margin-right: 2px;
}

.switcher-group {
  display: flex;
  background: var(--surface-soft);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid var(--border);
}

.btn-lang, .btn-curr {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.15s;
}

.btn-lang:hover, .btn-curr:hover {
  color: var(--text);
}

.btn-lang.active, .btn-curr.active {
  background: var(--dark);
  color: #fff;
}

.h-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.h-btn:hover {
  background: var(--surface-soft);
  color: var(--accent);
}

.cart-btn {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.cart-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-left: 2px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--surface-soft);
}

/* -----------------------------------------------------
   NAVIGATION SECONDAIRE (Desktop Menu)
   ----------------------------------------------------- */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-home {
  padding: 10px 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.nav-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.special-link.deals { color: var(--red); }
.special-link.news { color: var(--accent); }
.special-link.dolls { color: var(--text); }

/* -----------------------------------------------------
   SLIDE-IN CART DRAWER (Tiroir Panier)
   ----------------------------------------------------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 36, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: #fff;
  z-index: 1001;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--surface-soft);
  transition: background 0.15s, color 0.15s;
}

.drawer-close:hover {
  background: var(--border);
  color: var(--text);
}

/* Jauge de livraison gratuite */
.drawer-shipping-bar {
  background: var(--surface-soft);
  padding: 12px 22px;
  border-bottom: 1px solid var(--border);
}

.ship-progress-text {
  font-size: 12.5px;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ship-progress-text.success {
  color: var(--green);
}

.ship-track {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.ship-bar {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width 0.35s ease;
}

.ship-bar.complete {
  background: var(--green);
}

.ship-notice {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Corps du tiroir */
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}

.drawer-empty {
  text-align: center;
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-icon {
  color: var(--text-light);
  margin-bottom: 14px;
}

.empty-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.empty-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 260px;
}

.drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.drawer-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.drawer-item-brand {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.drawer-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-top: 2px;
}

.drawer-item-opt {
  font-size: 11.5px;
  color: var(--accent);
  margin-top: 2px;
}

.drawer-item-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.drawer-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  padding: 2px 4px;
}

.drawer-stepper button {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.drawer-stepper span {
  font-size: 12.5px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.drawer-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-left: auto;
}

.drawer-item-remove {
  color: var(--text-light);
  padding: 4px;
  transition: color 0.15s;
}

.drawer-item-remove:hover {
  color: var(--red);
}

/* Pied du tiroir */
.drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.drawer-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.drawer-summary-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 8px;
}

.drawer-total-price {
  color: var(--dark);
}

.drawer-discreet-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin: 12px 0;
}

.drawer-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  font-size: 14.5px;
}

.drawer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.drawer-view-cart, .drawer-keep-shopping {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.drawer-view-cart:hover, .drawer-keep-shopping:hover {
  color: var(--accent);
}

/* -----------------------------------------------------
   MENU MOBILE DRAWER
   ----------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 24, 36, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px 40px;
}

.mobile-selectors {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 20px;
}

.mobile-selectors label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mobile-lang-row, .mobile-curr-row {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.mobile-curr-row { margin-bottom: 0; }

.mobile-nav-section-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 18px 0 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.m-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}

.m-link:hover {
  background: var(--surface-soft);
  color: var(--accent);
}

.m-link.deals { color: var(--red); }
.m-link.news { color: var(--accent); }

/* Barre de navigation mobile sticky en bas */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 8px 12px;
  z-index: 150;
  justify-content: space-around;
}

.m-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.m-tab:hover, .m-tab.active {
  color: var(--accent);
}

.m-tab-cart-wrap {
  position: relative;
  display: inline-flex;
}

.m-tab-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* -----------------------------------------------------
   HERO SECTION (Élégance Scandi & Plaisir)
   ----------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #121824 0%, #1a2336 50%, #28354f 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
  box-shadow: 0 14px 34px rgba(18, 24, 36, 0.16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 124, 84, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: #f7d5c3;
}

.hero p {
  font-size: 16px;
  color: #cfd5e6;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 0 0 340px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-card-preview {
  width: 280px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.hero-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card-preview:hover img {
  transform: scale(1.05);
}

.hero-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(18, 24, 36, 0.9) 0%, transparent 100%);
  color: #fff;
  font-size: 13px;
}

/* -----------------------------------------------------
   BANDES AVANTAGES / PERKS
   ----------------------------------------------------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.perk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.perk-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.perk-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.perk-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* -----------------------------------------------------
   TITRES DE SECTIONS & GRILLES
   ----------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 40px 0 20px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--dark);
}

.section-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.section-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-cats {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.grid-products {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

/* -----------------------------------------------------
   CARTES CATÉGORIES MODERNES
   ----------------------------------------------------- */
.cat-card-modern {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}

.cat-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cat-card-img {
  height: 160px;
  position: relative;
  background: var(--surface-soft);
  overflow: hidden;
}

.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cat-card-modern:hover .cat-card-img img {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 24, 36, 0.6) 0%, transparent 60%);
}

.cat-card-info {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.cat-card-count {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

/* -----------------------------------------------------
   CARTES PRODUITS (Unified Product Card)
   ----------------------------------------------------- */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-thumb-wrap {
  height: 220px;
  position: relative;
  background: var(--surface-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb-link {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-thumb-wrap img {
  transform: scale(1.05);
}

.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}

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

.badge-new {
  background: var(--dark);
  color: #fff;
}

.badge-eco {
  background: var(--green);
  color: #fff;
}

.card-quick-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 3;
}

.product-card:hover .card-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.card-quick-add:hover {
  background: var(--dark);
  color: #fff;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-brand {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 4px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-bottom: 8px;
}

.stars-svg {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.star-fill { color: #e5983b; }
.star-half { color: #e5983b; }
.star-empty { color: #d6d9e0; }

.rating-count {
  font-size: 12px;
  color: var(--text-muted);
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.current-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.old-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* -----------------------------------------------------
   BOUTONS & FORMULAIRES COMMONS
   ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.18s ease;
}

.btn.primary {
  background: var(--dark);
  color: #fff;
}

.btn.primary:hover {
  background: var(--dark-hover);
  box-shadow: 0 4px 14px rgba(18, 24, 36, 0.2);
}

.btn.accent {
  background: var(--accent);
  color: #fff;
}

.btn.accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn.ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--surface-soft);
  border-color: var(--text-muted);
}

.btn.block {
  width: 100%;
}

.btn.sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--dark);
  font-weight: 600;
}

/* -----------------------------------------------------
   PAGE CATALOGUE & FILTRES (category.html)
   ----------------------------------------------------- */
.toolbar-modern {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.filter-select:focus {
  border-color: var(--accent);
}

.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip-modern {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.chip-modern:hover {
  border-color: var(--accent);
}

.chip-modern.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.filter-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* -----------------------------------------------------
   PAGE PRODUIT (product.html)
   ----------------------------------------------------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.product-gallery-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 20px;
}

.product-gallery-card img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.product-info-panel h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--dark);
  line-height: 1.25;
  margin: 6px 0 10px;
}

.product-brand-tag {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-desc-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.buybox-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.buybox-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.buybox-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
}

.buybox-old {
  font-size: 18px;
  color: var(--text-light);
  text-decoration: line-through;
}

.buybox-vat {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.variant-selector {
  margin-bottom: 18px;
}

.variant-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.variant-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.variant-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.15s;
}

.variant-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.quantity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.stepper-modern {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 2px;
}

.stepper-modern button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.stepper-modern input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.buybox-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buybox-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid var(--border-light);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.buybox-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Accordéons d'information produit */
.accordions-container {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  transition: background 0.15s;
}

.accordion-header:hover {
  background: var(--surface-soft);
}

.accordion-content {
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Avis clients */
.reviews-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.review-item {
  border-top: 1px solid var(--border-light);
  padding: 18px 0;
}

.review-item:first-of-type {
  border-top: none;
}

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

.review-who {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-verified {
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* -----------------------------------------------------
   PAGE PANIER COMPLÈTE (cart.html)
   ----------------------------------------------------- */
.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
}

.cart-page-shipping-banner {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.cart-items-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cart-table-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
}

.cart-table-row:last-child {
  border-bottom: none;
}

.cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-main {
  flex: 1;
}

.cart-item-brand {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.cart-item-opt {
  display: block;
  font-size: 12px;
  color: var(--accent);
}

.cart-item-price-unit {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: #fff;
  padding: 2px;
}

.cart-item-stepper button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.cart-item-stepper input {
  width: 36px;
  text-align: center;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  outline: none;
}

.cart-item-subtotal {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  min-width: 90px;
  text-align: right;
}

.cart-item-del {
  color: var(--text-light);
  padding: 6px;
}

.cart-item-del:hover {
  color: var(--red);
}

.cart-actions-row {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.summary-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-line.total {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
}

.grand-total {
  color: var(--dark);
}

.reassurance-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.rb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -----------------------------------------------------
   TUNNEL DE COMMANDE (checkout.html)
   ----------------------------------------------------- */
.steps-indicator {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-soft);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.step-item.active {
  background: var(--dark);
  color: #fff;
}

.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-panel h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control.has-error {
  border-color: var(--red);
  background: var(--red-soft);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Modes de paiement */
.payment-card-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
}

.payment-card-option:hover {
  border-color: var(--accent);
  background: var(--surface-soft);
}

.payment-card-option.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.pay-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-info b {
  font-size: 14px;
  color: var(--text);
}

.pay-info small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* Encadré garantie discrétion */
.discreet-guarantee-card {
  background: #fff9f4;
  border: 1px solid #f2decb;
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.dgc-icon {
  font-size: 32px;
}

.dgc-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

.dgc-text p {
  font-size: 12px;
  color: var(--text-muted);
}

/* -----------------------------------------------------
   SUIVI DE COMMANDE (tracking.html)
   ----------------------------------------------------- */
.track-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 800px;
  margin: 0 auto;
}

.timeline-modern {
  display: flex;
  justify-content: space-between;
  margin: 36px 0 24px;
  position: relative;
}

.timeline-modern::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: var(--border);
}

.tl-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.tl-icon-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: all 0.2s;
}

.tl-step.done .tl-icon-dot {
  background: var(--green);
  color: #fff;
}

.tl-step.active .tl-icon-dot {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.tl-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

/* -----------------------------------------------------
   SITE FOOTER
   ----------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: #c0c7d6;
  font-size: 13.5px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 20px 36px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.brand-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-col .footer-logo .brand-name {
  color: #fff;
}

.footer-desc {
  font-size: 13px;
  color: #929bb0;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 320px;
}

.footer-flags {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: #d1d7e5;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #9ea7bd;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-trust-box {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #9ea7bd;
}

.ft-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
}

.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7b849b;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-pay-icons {
  display: flex;
  gap: 10px;
}

.footer-pay-icons span {
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
}

/* -----------------------------------------------------
   AGE GATE 18+ MODAL
   ----------------------------------------------------- */
.agegate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.agegate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(8px);
}

.agegate-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.agegate-icon {
  color: var(--dark);
  margin-bottom: 12px;
}

.agegate-box h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--dark);
  margin-bottom: 10px;
}

.agegate-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.agegate-countries {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.agegate-btn {
  margin-bottom: 10px;
  padding: 14px;
}

.agegate-no {
  color: var(--text-muted);
  font-size: 13px;
  border: none;
  background: var(--surface-soft);
}

.agegate-no:hover {
  background: var(--border);
}

.agegate-legal {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* -----------------------------------------------------
   PAGES LÉGALES & TEXTES
   ----------------------------------------------------- */
.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
}

.legal-card h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--dark);
  margin-bottom: 20px;
}

.legal-card h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 10px;
}

.legal-card p, .legal-card li {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-card ul, .legal-card ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.legal-table th, .legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  text-align: left;
}

.legal-table th {
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--dark);
}

/* -----------------------------------------------------
   RESPONSIVE DESIGN (Media Queries)
   ----------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .mobile-menu-btn {
    display: flex;
  }

  .desktop-switchers {
    display: none;
  }

  .h-btn-lbl {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  body {
    padding-bottom: 60px;
  }

  .hero {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 20px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .hero-visual {
    flex: auto;
  }

  .hero-card-preview {
    width: 240px;
    height: 240px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-layout-grid {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .cart-table-row {
    flex-wrap: wrap;
  }

  .cart-item-subtotal {
    margin-left: auto;
  }

  .legal-card {
    padding: 22px 18px;
  }
}
