/* =============================================
   GlisseShop — CSS Principal
   style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Rajdhani:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  --primary:   #0077CC;
  --secondary: #00B4D8;
  --accent:    #FF6B35;
  --dark:      #1A1A2E;
  --light:     #F8F9FA;
  --success:   #28A745;
  --danger:    #DC3545;
  --warning:   #FFC107;
  --white:     #FFFFFF;
  --gray:      #6C757D;
  --gray-light:#E9ECEF;
  --shadow:    0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius:    10px;
  --transition:0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utilitaires ---- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary   { background: var(--primary);   color: var(--white); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-accent    { background: var(--accent);    color: var(--white); }
.btn-success   { background: var(--success);   color: var(--white); }
.btn-danger    { background: var(--danger);    color: var(--white); }
.btn-outline   { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white     { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light); color: var(--primary); }
.btn-lg { padding: 16px 36px; font-size: 1.15rem; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-nouveau   { background: var(--primary);   color: var(--white); }
.badge-promo     { background: var(--danger);     color: var(--white); }
.badge-occasion  { background: var(--accent);     color: var(--white); }
.badge-rupture   { background: var(--gray);       color: var(--white); }
.badge-nouveaute { background: var(--secondary);  color: var(--white); }

/* ---- Header ---- */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-top {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 6px 0;
  text-align: center;
}
.header-top a { color: rgba(255,255,255,0.8); }
.header-top a:hover { color: var(--accent); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; width: auto; }
.logo-text { font-family: 'Rajdhani', sans-serif; }
.logo-text .name { font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.logo-text .slogan { font-size: 0.75rem; color: var(--gray); font-weight: 400; }

/* Barre images promotionnelle */
.promo-img-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  background: #fff;
  overflow: hidden;
  flex-wrap: nowrap;
}
.promo-img-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 12px 20px;
  border-right: none;
  transition: background 0.2s;
  min-width: 0;
}
.promo-img-item:hover { background: #f8fafc; }
.promo-img-item img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .promo-img-bar { flex-wrap: wrap; }
  .promo-img-item { padding: 8px 10px; flex: 1 1 50%; }
  .promo-img-item img { height: 50px; }
  .logo { display: none; }
}

/* Navigation principale */
.nav-main { flex: 1; }
.nav-main > ul { display: flex; align-items: center; justify-content: center; gap: 5px; }
.nav-main > ul > li { position: relative; }
.nav-main > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-main > ul > li > a:hover,
.nav-main > ul > li > a.active { color: var(--primary); background: rgba(0,119,204,0.07); }

/* Dropdown */
.nav-main .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
  padding: 8px 0;
  border-top: 3px solid var(--primary);
}
.nav-main .dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  color: var(--dark);
  font-size: 0.9rem;
  transition: background var(--transition);
}
.nav-main .dropdown-menu li a:hover { background: var(--light); color: var(--primary); }
.nav-main li:hover .dropdown-menu { display: block; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition);
  position: relative;
}
.btn-icon:hover { background: var(--primary); color: var(--white); }
.btn-icon .badge-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.btn-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.btn-hamburger span {
  display: block;
  width: 25px; height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.btn-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; }
.btn-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.85);
  z-index: 2000;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.search-overlay.active { display: flex; }
.search-box {
  width: 100%;
  max-width: 650px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 20px;
}
.search-box form { display: flex; gap: 10px; }
.search-box input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-box input:focus { border-color: var(--primary); }
.search-results { margin-top: 12px; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  transition: background var(--transition);
  cursor: pointer;
}
.search-result-item:hover { background: var(--light); }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }

/* ---- Bandeau livraison ---- */
.bandeau-livraison {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.bandeau-livraison span { margin: 0 20px; }
.bandeau-livraison .icon { margin-right: 6px; }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0f3460 50%, #16213e 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}
.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--secondary); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ---- Sections génériques ---- */
.section { padding: 70px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; color: var(--dark); }
.section-header.light h2 { color: var(--white); }
.section-header p { color: var(--gray); margin-top: 10px; font-size: 1rem; }
.section-header .underline {
  display: inline-block;
  width: 60px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ---- Grille catégories ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 15px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  display: block;
  color: var(--dark);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}
.category-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.category-card .name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---- Grille produits ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ============================================================
   PRODUCT CARD — Design "BON PLAN"
   ============================================================ */
.pc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pc:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* Bannière top */
.pc-banner {
  background: #e53e3e;
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
  padding: 6px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pc-banner-new { background: var(--secondary); }
.pc-banner-occ { background: var(--accent); }

/* Badge réduction */
.pc-discount {
  position: absolute;
  top: 38px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Zone image (face avant) */
.pc-front {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 4/3;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.pc-img-wrap {
  display: block;
  width: 100%;
  height: 100%;
}
.pc-front img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.4s ease;
}
.pc:hover .pc-front img { transform: scale(1.04); }

/* Face arrière : variantes (visible au hover) */
.pc-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.pc:hover .pc-back {
  opacity: 1;
  pointer-events: auto;
}

/* Table variantes */
.pc-variants {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 36px;
}
.pc-variant-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f8fafc;
}
.pc-variant-row.dispo  { border-left: 3px solid #22c55e; }
.pc-variant-row.indispo { border-left: 3px solid #ef4444; opacity: 0.6; }
.pc-variant-icon {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 14px;
}
.dispo   .pc-variant-icon { color: #22c55e; }
.indispo .pc-variant-icon { color: #ef4444; }
.pc-variant-name { flex: 1; color: #333; font-weight: 500; }
.pc-variant-price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.pc-variant-price s {
  font-weight: 400;
  color: #aaa;
  font-size: 0.78rem;
  margin-left: 4px;
}
.pc-no-variants {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: 36px;
}

/* Corps bas */
.pc-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f0f0f0;
  position: relative;
  z-index: 4;
  background: #fff;
}
.pc-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.pc-year {
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.pc-rupture {
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.pc-brand {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pc-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 2px 0 6px;
  line-height: 1.3;
}
.pc-name a { color: var(--primary); }
.pc-name a:hover { color: var(--accent); }
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.pc-price-new {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.pc-price-old {
  font-size: 0.88rem;
  color: #aaa;
}
.pc-btn {
  width: 100%;
  padding: 9px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.pc-btn:hover:not(:disabled) { background: #005fa3; }
.pc-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Conserver l'ancien .product-card pour compatibilité */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; }
.product-name a { color: var(--dark); }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.product-price .price-new { font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.product-price .price-old { font-size: 0.9rem; color: var(--gray); text-decoration: line-through; }
.product-stock { font-size: 0.8rem; margin-bottom: 12px; }
.stock-ok   { color: var(--success); }
.stock-low  { color: var(--warning); }
.stock-none { color: var(--danger); }

/* ---- Page catégorie layout ---- */
.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 80px;
}
.filter-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 18px;
}
.filter-block h3 {
  font-size: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
}
.filter-block label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.filter-block label:hover { color: var(--primary); }
.filter-block input[type="checkbox"],
.filter-block input[type="radio"] { accent-color: var(--primary); }

.price-range-wrap { display: flex; flex-direction: column; gap: 8px; }
.price-range-wrap input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--gray); }

/* Toolbar tri/résultats */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.products-toolbar .count { font-size: 0.9rem; color: var(--gray); }
.products-toolbar select {
  padding: 8px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

/* ---- Page produit (ancienne structure conservée pour compat) ---- */
.product-brand-tag { font-size:.82rem;font-weight:600;color:var(--gray);text-transform:uppercase;letter-spacing:.5px; }
.product-desc-short { color:var(--gray);line-height:1.7;margin-bottom:22px; }
.variante-options { display:flex;flex-wrap:wrap;gap:8px; }
.variante-btn { padding:8px 18px;border:2px solid var(--gray-light);border-radius:6px;background:var(--white);cursor:pointer;font-size:.9rem;font-weight:600;transition:all var(--transition); }
.variante-btn:hover,.variante-btn.active { border-color:var(--primary);color:var(--primary);background:rgba(0,119,204,.06); }
.stock-dot { width:10px;height:10px;border-radius:50%; }
.stock-dot.ok   { background:var(--success); }
.stock-dot.low  { background:var(--warning); }
.stock-dot.none { background:var(--danger); }

/* ════════════════════════════════
   FICHE PRODUIT — nouveau design
   ════════════════════════════════ */
.fp-breadcrumb-bar { background:var(--light);padding:7px 0;margin-bottom:0; }

/* Grille 3 colonnes : thumbs | image | info */
.fp-layout {
  display: grid;
  grid-template-columns: 78px 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0 40px;
}

/* ---- Vignettes gauche ---- */
.fp-thumbs { display:flex;flex-direction:column;gap:8px; }
.fp-thumb {
  width: 70px; height: 70px;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.fp-thumb img { width:100%;height:100%;object-fit:cover; }
.fp-thumb.active, .fp-thumb:hover { border-color:var(--primary); }

/* ---- Image principale ---- */
.fp-main-wrap {
  position: relative;
  background: #f8f9fa;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  overflow: hidden;
}
.fp-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  display: block;
  padding: 16px;
}
.fp-badge-reduc {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}
.fp-badge-label {
  position: absolute;
  top: 12px; right: 12px;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
}
.fp-badge-promo { background:#ff6b00;color:#fff; }
.fp-badge-new   { background:var(--accent);color:#fff; }
.fp-badge-occ   { background:#6c757d;color:#fff; }

/* ---- Colonne info ---- */
.fp-info { display:flex;flex-direction:column;gap:0; }

.fp-brand {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.fp-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin: 0 0 6px;
}
.fp-ref {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 4px;
}
.fp-desc-short {
  font-size: .9rem;
  color: #555;
  line-height: 1.6;
  margin: 10px 0 14px;
  border-top: 1px solid var(--gray-light);
  padding-top: 10px;
}

/* ---- Déclinaisons ---- */
.fp-declinaisons { margin-bottom: 14px; }
.fp-decl-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray);
  margin-bottom: 6px;
}
.fp-decl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  user-select: none;
}
.fp-decl-row:hover:not(.fp-decl-out) { border-color: var(--primary); background: rgba(0,119,204,.04); }
.fp-decl-row.selected {
  border-color: var(--primary);
  background: rgba(0,119,204,.07);
  box-shadow: 0 0 0 1px var(--primary);
}
.fp-decl-row.fp-decl-out { opacity: .5; cursor: not-allowed; }
.fp-decl-row * { pointer-events: none; } /* évite les conflits d'événements sur les enfants */

.fp-decl-radio {
  width: 16px; height: 16px;
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--transition);
}
.fp-decl-row.selected .fp-decl-radio {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #fff;
}
.fp-decl-label { flex: 1; font-size: .88rem; font-weight: 600; color: var(--dark); }
.fp-decl-price { font-size: .92rem; font-weight: 700; color: var(--primary); white-space: nowrap; }

.fp-stock-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}
.fp-stock-ok   { background: #d4edda; color: #155724; }
.fp-stock-none { background: #f8d7da; color: #721c24; }

/* ---- Bloc prix ---- */
.fp-price-box {
  background: #f0f7ff;
  border: 1px solid #cce0f5;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.fp-livraison-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d4edda;
  color: #155724;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.fp-price-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fp-price-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.fp-price-savings { display: flex; flex-direction: column; gap: 2px; }
.fp-price-old {
  font-size: .95rem;
  color: var(--gray);
  text-decoration: line-through;
}
.fp-economy { font-size: .82rem; color: var(--success); font-weight: 600; }

/* ---- Stock ligne ---- */
.fp-stock-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  margin-bottom: 10px;
  min-height: 22px;
}
.fp-stock-ic { font-size: .6rem; }
.fp-stock-ic.ok   { color: #28a745; }
.fp-stock-ic.low  { color: #f0a500; }
.fp-stock-ic.none { color: #dc3545; }

.fp-var-msg {
  font-size: .82rem;
  color: var(--gray);
  margin-bottom: 8px;
  font-style: italic;
}

/* ---- Bouton AJOUTER AU PANIER ---- */
.fp-btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: #e84000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-bottom: 14px;
}
.fp-btn-cart:hover:not(:disabled) {
  background: #c43500;
  transform: translateY(-1px);
}
.fp-btn-cart:disabled {
  background: #adb5bd;
  cursor: not-allowed;
  transform: none;
}

/* ---- Infos pratiques ---- */
.fp-infos-pratiques { margin-bottom: 14px; }
.fp-info-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: #555;
  padding: 4px 0;
}

/* ---- NOS 10 ENGAGEMENTS ---- */
.fp-engagements {
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4px;
}
.fp-engagements-title {
  background: var(--dark);
  color: #fff;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 12px;
}

/* ---- Tabs produit ---- */
.product-tabs { margin-top: 40px; }
.tabs-nav { display:flex;border-bottom:2px solid var(--gray-light);margin-bottom:25px; }
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
  transition: all var(--transition);
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover { color:var(--primary);border-bottom-color:var(--primary); }
.tab-content { display:none;line-height:1.8; }
.tab-content.active { display:block; }
.tab-content h3 { font-size:1.1rem;margin:20px 0 10px;color:var(--dark); }
.tab-content ul { padding-left:20px;list-style:disc; }
.tab-content ul li { margin-bottom:6px; }

/* ---- Livraison gratuite msg ---- */
.livraison-gratuite-msg {
  background:rgba(40,167,69,.1);
  border:1px solid rgba(40,167,69,.3);
  border-radius:6px;
  padding:10px 14px;
  font-size:.85rem;
  color:var(--success);
  margin:12px 0;
}

/* ---- Responsive fiche produit ---- */
@media (max-width: 1024px) {
  .fp-layout { grid-template-columns: 68px 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .fp-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .fp-thumbs { flex-direction: row; }
  .fp-thumb  { width: 60px; height: 60px; }
  .fp-main-img { aspect-ratio: 4/3; }
  .fp-price-main { font-size: 2rem; }
}
.product-actions { display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px; }
.btn-add-cart { flex:1;justify-content:center;font-size:1.1rem;padding:16px; }

/* Onglets produit */
.product-tabs { margin-top: 40px; }
.tabs-nav { display: flex; border-bottom: 2px solid var(--gray-light); margin-bottom: 25px; }
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
  transition: all var(--transition);
  margin-bottom: -2px;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; line-height: 1.8; }
.tab-content.active { display: block; }
.tab-content h3 { font-size: 1.1rem; margin: 20px 0 10px; color: var(--dark); }
.tab-content ul { padding-left: 20px; list-style: disc; }
.tab-content ul li { margin-bottom: 6px; }

/* ---- Panier ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--light);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
}
.cart-table td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}
.cart-item-img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-item-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.cart-item-variante { font-size: 0.82rem; color: var(--gray); margin-top: 3px; }
.cart-qty-input {
  width: 70px;
  padding: 8px 10px;
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  text-align: center;
  font-size: 0.95rem;
}
.cart-remove { background: none; border: none; cursor: pointer; color: var(--danger); font-size: 1.1rem; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.cart-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
}
.summary-row.total {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  border-top: 2px solid var(--light);
  padding-top: 14px;
  margin-top: 6px;
}
.livraison-gratuite-msg {
  background: rgba(40,167,69,0.1);
  border: 1px solid rgba(40,167,69,0.3);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--success);
  margin: 12px 0;
}
.cart-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}
.cart-empty .icon { font-size: 4rem; margin-bottom: 20px; }
.cart-empty h2 { font-size: 1.5rem; margin-bottom: 10px; }

/* ---- Commande ---- */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: start;
  padding: 40px 0;
}
.form-step {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.step-indicator {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: var(--light);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
  position: relative;
}
.step.active { background: var(--primary); color: var(--white); }
.step.done   { background: var(--success); color: var(--white); }
.step:first-child { border-radius: 8px 0 0 8px; }
.step:last-child  { border-radius: 0 8px 8px 0; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group label .required { color: var(--danger); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  background: var(--white);
}
.form-control:focus { border-color: var(--primary); }
.form-control.is-invalid { border-color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 0.82rem; color: var(--danger); margin-top: 4px; }

.order-recap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.recap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
}
.recap-item img { width: 55px; height: 55px; object-fit: cover; border-radius: 6px; }
.recap-item-name { font-size: 0.88rem; font-weight: 600; flex: 1; }
.recap-item-price { font-weight: 700; color: var(--primary); font-size: 0.95rem; }

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-cat-tag {
  display: inline-block;
  background: rgba(0,119,204,0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card-title a { color: var(--dark); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-light);
  font-size: 0.8rem;
  color: var(--gray);
}

/* Article blog */
.article-header { padding: 50px 0 30px; }
.article-header h1 { font-size: 2.5rem; margin-bottom: 16px; }
.article-meta { display: flex; gap: 20px; color: var(--gray); font-size: 0.88rem; }
.article-content {
  max-width: 820px;
  line-height: 1.9;
}
.article-content h2 { font-size: 1.6rem; margin: 32px 0 14px; }
.article-content h3 { font-size: 1.25rem; margin: 24px 0 10px; }
.article-content p  { margin-bottom: 16px; }
.article-content ul { padding-left: 22px; list-style: disc; margin-bottom: 16px; }
.article-content ul li { margin-bottom: 6px; }
.article-content img { border-radius: var(--radius); margin: 20px 0; }

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 50px 0;
}
.contact-info h2 { font-size: 1.7rem; margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-item .icon {
  width: 44px; height: 44px;
  background: rgba(0,119,204,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item .text strong { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.contact-item .text span { font-size: 0.9rem; color: var(--gray); }
.map-container { margin-top: 24px; }
.map-container iframe { width: 100%; height: 220px; border: 0; border-radius: var(--radius); }

/* ---- Footer ---- */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--secondary); }
.footer-logo { font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--secondary); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.95rem;
}
.footer-social-btn:hover { background: var(--primary); color: var(--white); }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { background: rgba(255,255,255,0.15); }
.newsletter-form button {
  padding: 10px 16px;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.newsletter-form button:hover { opacity: 0.85; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--secondary); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray);
  padding: 16px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--gray); }
.breadcrumb span:last-child { color: var(--dark); font-weight: 600; }

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

/* ---- Alertes / Messages ---- */
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(40,167,69,0.12); border: 1px solid rgba(40,167,69,0.3); color: #155724; }
.alert-danger   { background: rgba(220,53,69,0.1);  border: 1px solid rgba(220,53,69,0.25); color: #721c24; }
.alert-info     { background: rgba(0,180,216,0.1);  border: 1px solid rgba(0,180,216,0.25); color: #0c5460; }
.alert-warning  { background: rgba(255,193,7,0.12); border: 1px solid rgba(255,193,7,0.3); color: #856404; }

/* ---- Page page vide ---- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), #0f3460);
  padding: 120px 0;
  color: #ffffff;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-hero .container {
  text-align: left;
}
.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}
.page-hero p {
  color: #ffffff !important;
  font-size: 1.05rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  font-weight: 500;
}
.page-hero .breadcrumb {
  color: #ffffff;
  background: rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
}
.page-hero .breadcrumb a {
  color: #ffffff;
  font-weight: 600;
}
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.7); }

/* ---- Section expertise ---- */
.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.expertise-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.expertise-img img { width: 100%; height: 400px; object-fit: cover; }
.expertise-text h2 { font-size: 2rem; margin-bottom: 20px; }
.expertise-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.expertise-points { margin-top: 24px; }
.expertise-point {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.expertise-point .dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow);
  font-size: 1.1rem;
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---- Notification toast ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.toast {
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error   { border-left: 4px solid var(--danger); }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .btn-hamburger { display: flex; }
  .category-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }

  .order-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .expertise-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* Nav mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 1500;
  box-shadow: 5px 0 30px rgba(0,0,0,0.15);
  overflow-y: auto;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.nav-mobile.open { transform: translateX(0); display: block; }
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1400;
}
.nav-mobile-overlay.open { display: block; }
.nav-mobile ul { padding-top: 50px; }
.nav-mobile ul li { border-bottom: 1px solid var(--gray-light); }
.nav-mobile ul li a {
  display: block;
  padding: 14px 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}
.nav-mobile-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

/* ============================================================
   LOGO WAVE (nouveau style)
   ============================================================ */
.logo-text-new {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-name-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-wave {
  width: 110px;
  height: 10px;
  display: block;
  margin-top: 3px;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .hero-slider { height: auto; min-height: 420px; }
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
}
.slide-waves svg {
  width: 100%;
  height: 100%;
}

.slide-circle-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-slide .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 20px;
}

.slide-content {
  max-width: 600px;
  color: #fff;
}

.slide-badge-row { margin-bottom: 14px; }
.slide-category-label {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}

.slide-promo-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.slide-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.slide-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.slide-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  max-width: 460px;
  line-height: 1.6;
}

.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-slide-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 6px;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-slide-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.slide-icon-deco {
  font-size: 10rem;
  opacity: 0.12;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
  line-height: 1;
}
@media (max-width: 768px) {
  .slide-icon-deco { display: none; }
  .hero-slide .container { padding: 40px 20px; }
}

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   BADGES RÉDUCTIONS (cercles)
   ============================================================ */
.badges-section {
  background: var(--white);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
}
.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.badge-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #e8510a 100%);
  color: #fff;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  flex-shrink: 0;
}
.badge-circle:hover {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 25px rgba(255,107,53,0.5);
  color: #fff;
}
.badge-circle-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.badge-circle-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  margin-top: 2px;
}
.badge-circle-hot {
  background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
  box-shadow: 0 4px 15px rgba(229,62,62,0.35);
}

@media (max-width: 576px) {
  .badge-circle { width: 72px; height: 72px; }
  .badge-circle-pct { font-size: 1.1rem; }
  .badges-row { gap: 12px; }
}

/* ============================================================
   SECTION PROMOS CATÉGORIES (Jusqu'à -70%)
   ============================================================ */
.promo-categories-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d2347 100%);
  padding: 55px 0;
}
.promo-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-title-block { color: #fff; }
.promo-title-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.promo-title-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.promo-title-main span { color: var(--accent); }
.promo-title-block p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

.promo-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .promo-cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .promo-cats-grid { grid-template-columns: 1fr; }
}

.promo-cat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}
.promo-cat-card:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}
.promo-cat-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.promo-cat-info { flex: 1; }
.promo-cat-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.promo-cat-pct {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.promo-cat-arrow { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.promo-cat-card:hover .promo-cat-arrow { color: var(--accent); }

/* ============================================================
   BANNIÈRE PRIX GARANTI
   ============================================================ */
.price-match-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #e8510a 100%);
  padding: 22px 0;
}
.price-match-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.price-match-icon { font-size: 2.5rem; flex-shrink: 0; }
.price-match-text {
  flex: 1;
  color: #fff;
  min-width: 200px;
}
.price-match-text strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.price-match-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}
.price-match-banner .btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-match-banner .btn-white:hover {
  background: var(--dark);
  color: #fff;
}
@media (max-width: 600px) {
  .price-match-inner { justify-content: center; text-align: center; }
  .price-match-banner .btn-white { width: 100%; justify-content: center; }
}
