/* ============================================================
   SEYO BOUTIQUE - Feuille de style principale
   Inspiree de jachete.ci
   Palette: #0C1012 (noir), #61CE70 (vert), #1565C0 (bleu), blanc
   Polices: Poppins (titres), Roboto (corps)
   ============================================================ */

:root {
  --seyo-bleu: #1565C0;
  --seyo-bleu-clair: #1976D2;
  --seyo-vert: #61CE70;
  --seyo-vert-fonce: #2E7D32;
  --seyo-noir: #0C1012;
  --seyo-gris: #54595F;
  --seyo-gris-clair: #f5f5f5;
  --seyo-rouge: #e74c3c;
  --transition: 0.2s ease;
  /* Rayons de coins uniformises */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* --- Base --- */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #fff;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}
.x-small { font-size: 0.75rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.barre-superieure {
  background-color: var(--seyo-noir);
  color: #fff;
  font-size: 0.8rem;
}
.barre-secondaire {
  background: #1a1a2e;
  border-bottom: none;
  font-size: 0.82rem;
  color: #fff;
}
.barre-sec-ligne {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; padding: 7px 0; flex-wrap: nowrap; overflow: hidden;
}
.barre-sec-tel {
  color: #fff; text-decoration: none; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
  transition: color var(--transition); white-space: nowrap;
}
.barre-sec-tel:hover { color: #61CE70; }
.barre-sec-item {
  display: flex; align-items: center; gap: 5px;
  color: #fff; white-space: nowrap; font-weight: 700;
}
.barre-sec-sep {
  color: rgba(255,255,255,0.3); font-size: 0.9rem; flex-shrink: 0;
}
@media (max-width: 768px) {
  .barre-sec-ligne { justify-content: flex-start; overflow-x: auto; padding: 6px 0; }
  .barre-sec-ligne::-webkit-scrollbar { display: none; }
}
.barre-sec-texte {
  color: #222;
  font-size: 0.85rem;
}
.logo-navbar {
  height: 80px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .navbar { padding-top: 0.15rem; padding-bottom: 0.15rem; }
  .logo-navbar { height: 52px; }
}
/* Barre de recherche */
.recherche-form { max-width: 480px; }
.recherche-input-group { border-radius: 8px; overflow: hidden; }
.recherche-input {
  border: 2px solid #e0e0e0;
  border-right: none;
  border-radius: 8px 0 0 8px !important;
  font-size: 0.9rem;
  height: 42px;
}
.recherche-input:focus {
  border-color: var(--seyo-bleu);
  box-shadow: none;
}
.btn-recherche {
  background: var(--seyo-bleu);
  color: white;
  border: 2px solid var(--seyo-bleu);
  border-radius: 0 8px 8px 0 !important;
  padding: 0 1rem;
  font-size: 1rem;
}
.btn-recherche:hover { background: var(--seyo-bleu-clair); color: white; }

/* Barre de recherche masquée sur mobile : les catégories servent de filtre */
@media (max-width: 767px) {
  .recherche-form { display: none !important; }
}
/* Panier nav */
.btn-panier-nav {
  color: var(--seyo-noir);
  position: relative;
  /* padding vertical augmenté pour atteindre 44px de zone tactile sur mobile */
  padding: 10px 8px;
  border-radius: 8px;
  transition: background var(--transition);
}
.btn-panier-nav:hover { background: #f5f5f5; color: var(--seyo-bleu); }
.badge-panier {
  font-size: 0.6rem;
  top: -4px !important;
  right: -6px !important;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
}

/* ============================================================
   HERO 3 COLONNES
   ============================================================ */
.hero-wrapper { background: #f0f4f8; }

.hero-layout {
  height: 420px;
  overflow: hidden;
}

.hero-slide { position: relative; }
.hero-slide-1 { background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%); }
.hero-slide-4 { background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%); }

/* Grille 3 colonnes egales */
.hero-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  height: 420px;
  padding: 1rem 1.5rem;
  align-items: stretch;
}

/* Colonne 1 : carte photo plein cadre */
.hero-col-texte {
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  /* contain : image complète visible sans recadrage */
  background-size: contain;
  background-position: center;
  background-color: #1a1a2e;
}

/* Degrade sombre du bas pour lisibilite du texte */
.hero-col-texte::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.08) 100%
  );
  z-index: 1;
  border-radius: inherit;
}

/* Contenu texte positionne au-dessus du degrade */
.hero-col-texte-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}

/* Petit badge categorie en haut a gauche */
.hero-col-texte-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Colonnes 2 et 3 : affiche produit */
.hero-col-produits {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  position: relative;
}

/* Conteneur des slides affiche */
.hero-col-affiche {
  position: relative;
  height: 100%;
  background: #1a1a2e;
}

/* Un slide affiche : 1 produit plein cadre */
.hero-affiche-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-affiche-slide.active { opacity: 1; }

.hero-affiche-slide img {
  width: 100%;
  height: 100%;
  /* contain : image complète visible sans recadrage */
  object-fit: contain;
  display: block;
}

/* Degrade bas pour lisibilite du texte */
.hero-affiche-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
}

/* Texte en bas de l'affiche */
.hero-affiche-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.1rem 1.1rem;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}
.hero-affiche-nom {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  text-shadow: none;
}
.hero-affiche-prix {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-shadow: none;
}

/* Placeholder sans image */
.hero-affiche-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a3e;
  color: rgba(255,255,255,0.2);
  font-size: 3rem;
}

/* Colonne vide */
.hero-affiche-vide {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  gap: 0.5rem;
  font-size: 0.82rem;
}
.hero-affiche-vide i { font-size: 2.5rem; }

/* Carte mini-produit dans le hero */
.hero-mini-carte {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: var(--seyo-noir);
  transition: box-shadow var(--transition);
}
.hero-mini-carte:hover { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); }
.hero-mini-carte img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #f0f0f0;
}
.hero-mini-nom {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--seyo-noir);
}
.hero-mini-prix {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--seyo-bleu);
  margin-top: 2px;
}

.hero-titre {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero-sous-titre {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}
.btn-hero {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
.btn-hero:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  color: #fff;
}

/* Empeche les slides inactifs (opacity:0) de bloquer les clics sur le slide actif */
.carousel-item:not(.active) {
  pointer-events: none;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--seyo-bleu);
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ============================================================
   DEFILEMENT HORIZONTAL DES PRODUITS
   ============================================================ */
.produits-scroll-wrap {
  position: relative;
}
.produits-scroll-inner {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.produits-scroll-inner::-webkit-scrollbar { height: 5px; }
.produits-scroll-inner::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.produit-scroll-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  /* Hero : une seule colonne texte plein cadre, produits masqués */
  .hero-layout { height: 260px; }
  .hero-3col {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 260px;
    padding: 0;
    gap: 0;
  }
  .hero-col-produits { display: none; }
  .hero-col-texte {
    height: 100%;
    border-radius: 0;
  }
  .hero-col-texte-content { padding: 1.2rem; }
  .hero-titre { font-size: 1.15rem; }
  .hero-sous-titre { display: none; }
  .hero-col-texte-badge { font-size: 0.6rem; }
  /* Cartes scroll : légèrement plus larges pour lisibilité */
  .produit-scroll-item { flex: 0 0 168px; }
}

/* ============================================================
   BARRE AVANTAGES
   ============================================================ */
.barre-avantages {
  background: white;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 16px;
}
.section-univers { padding-top: 28px !important; }
.avantage-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-right: 1px solid #eee;
  font-size: 0.78rem;
}
.avantage-item i {
  font-size: 1.25rem;
  color: var(--seyo-bleu);
  flex-shrink: 0;
}
.avantage-titre { font-weight: 600; color: var(--seyo-noir); line-height: 1.2; }
/* Contraste amélioré : #666 donne un ratio ~5.7:1 (WCAG AA) vs #888 à ~3.5:1 */
.avantage-sous { color: #666; font-size: 0.75rem; }
@media (max-width: 992px) {
  .avantage-item { padding: 0.5rem 0.6rem; font-size: 0.72rem; }
  .avantage-item i { font-size: 1rem; }
}
@media (max-width: 767px) {
  /* Barre avantages : défilement horizontal, tout sur une ligne */
  .barre-avantages .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .barre-avantages .row::-webkit-scrollbar { display: none; }
  .avantage-item {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content;
    border-right: 1px solid #eee !important;
    border-bottom: none !important;
    padding: 0.6rem 1rem;
  }
}
@media (max-width: 576px) {
  .section-titre { font-size: 1.1rem; }
  .section-produits { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .section-univers { padding-top: 20px !important; }
  .section-univers .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
}

/* ============================================================
   TITRES DE SECTIONS
   ============================================================ */
.section-titre-bloc {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.section-titre {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--seyo-noir);
  margin-bottom: 4px;
}
.section-barre {
  height: 3px;
  width: 50px;
  background: var(--seyo-bleu);
  border-radius: 2px;
}
.voir-tout {
  font-size: 0.85rem;
  color: var(--seyo-bleu);
  text-decoration: none;
  font-weight: 600;
}
.voir-tout:hover { text-decoration: underline; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.carte-categorie-v2 {
  display: block;
  text-align: center;
  transition: transform var(--transition);
}
.carte-categorie-v2:hover { transform: translateY(-3px); }
.cat-image-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--seyo-gris-clair);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0.5rem;
  transition: box-shadow var(--transition);
}
.cat-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-tout { background: #e8f0fe; }
.cat-tout i { color: var(--seyo-bleu); }
.carte-categorie-v2:hover .cat-image-wrap {
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.cat-nom {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--seyo-noir);
  line-height: 1.2;
}

/* ============================================================
   CARTES PRODUIT
   ============================================================ */
.carte-produit {
  border-radius: 10px !important;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}
.carte-produit:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}
.carte-image-lien { display: block; }
.carte-image-wrap {
  aspect-ratio: 1 / 1;
  background: #f8f8f8;
  overflow: hidden;
}
.carte-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.carte-produit:hover .carte-img { transform: scale(1.05); }
.carte-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}
.badge-reduction {
  background: var(--seyo-rouge);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
}
.overlay-rupture-carte {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.carte-categorie-label {
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.carte-nom {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--seyo-noir);
  line-height: 1.3;
  /* Limite a 2 lignes */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 576px) {
  .carte-nom { font-size: 0.75rem; }
  .prix-actuel { font-size: 0.85rem !important; }
  .btn-ajouter-panier-carte { font-size: 0.68rem; padding: 0.3rem 0.4rem; }
}
.carte-prix { line-height: 1.2; }
.prix-actuel {
  font-size: 1rem;
  font-weight: 700;
  color: var(--seyo-bleu);
}
.prix-barre-ancien {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: line-through;
  margin-left: 5px;
}
.btn-acheter-maintenant {
  display: block;
  background: var(--seyo-bleu);
  color: white;
  text-align: center;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-acheter-maintenant:hover { background: var(--seyo-bleu-clair); color: white; }
@media (max-width: 576px) {
  .btn-acheter-maintenant {
    padding: 0.35rem 0.4rem;
    font-size: 0.68rem;
  }
}
.btn-ajouter-panier-carte {
  background: transparent;
  border: 1px solid #ddd;
  color: #666;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ajouter-panier-carte:hover {
  border-color: var(--seyo-bleu);
  color: var(--seyo-bleu);
}
.btn-rupture {
  background: #eee;
  border: none;
  color: #999;
  border-radius: 6px;
  padding: 0.45rem;
  font-size: 0.75rem;
  cursor: not-allowed;
}

/* ============================================================
   BANNIERES PROMO
   ============================================================ */
.promo-card {
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 180px;
  display: flex;
  align-items: center;
}
.promo-card-bleu {
  background: linear-gradient(135deg, var(--seyo-bleu) 0%, var(--seyo-bleu-clair) 100%);
  color: white;
}
.promo-card-vert {
  background: linear-gradient(135deg, var(--seyo-vert-fonce) 0%, var(--seyo-vert) 100%);
  color: white;
}
.promo-tag {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}
.promo-titre {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.btn-promo {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition);
}
.btn-promo:hover { background: rgba(255,255,255,0.35); color: white; }

/* ============================================================
   FORMULAIRE DE COMMANDE
   ============================================================ */
.cmd-wrapper {
  min-height: calc(100vh - 60px);
  background: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 12px 48px;
}
.cmd-card {
  background: #fff;
  width: 100%;
  max-width: 580px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0,0,0,0.10);
  border: 2.5px solid #7aa3d4;
}

/* En-tete */
.cmd-entete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.cmd-retour, .cmd-fermer {
  /* Minimum 44×44px requis pour les zones tactiles mobiles */
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: #555; text-decoration: none;
  transition: background var(--transition);
  font-size: 1rem;
  flex-shrink: 0;
}
.cmd-retour:hover { background: #f5f5f5; color: #111; }
.cmd-fermer:hover { background: #fee2e2; color: #dc2626; }
.cmd-titre {
  font-size: 1.1rem; font-weight: 700; color: #111;
}

/* Sections */
.cmd-section {
  padding: 7px 14px 11px;
  border-bottom: 6px solid #f0f2f5;
}
.cmd-section-label {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #333; margin-bottom: 8px;
}

/* Articles */
.cmd-article {
  display: flex; align-items: center; gap: 10px;
  padding: 5px 0; border-bottom: 1px solid #f5f5f5;
}
.cmd-article:last-of-type { border-bottom: none; }
.cmd-article-img-wrap { position: relative; flex-shrink: 0; }
.cmd-article-img {
  width: 54px; height: 54px;
  object-fit: cover; border-radius: 8px;
}
.cmd-article-qte {
  position: absolute; top: -5px; right: -5px;
  background: var(--seyo-bleu); color: #fff;
  width: 17px; height: 17px; border-radius: 50%;
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cmd-article-info { flex-grow: 1; min-width: 0; }
.cmd-article-nom {
  font-size: 0.82rem; font-weight: 600; color: #222;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmd-article-variante { font-size: 0.72rem; color: #999; margin-top: 2px; }
.cmd-article-prix {
  font-size: 0.85rem; font-weight: 700;
  color: var(--seyo-bleu); white-space: nowrap;
}

/* Totaux */
.cmd-totaux { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #e8e8e8; }
.cmd-totaux-ligne {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; color: #777; padding: 2px 0;
}
.cmd-totaux-total {
  font-size: 0.95rem; font-weight: 700; color: #111;
  margin-top: 4px; padding-top: 6px; border-top: 1px solid #e8e8e8;
}

/* Zones de livraison */
.cmd-zones { display: flex; flex-direction: column; gap: 5px; }
.cmd-zone {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border: 1.5px solid #e8e8e8; border-radius: 10px;
  cursor: pointer; transition: all 0.15s ease;
  font-size: 0.84rem;
}
.cmd-zone input[type=radio] { display: none; }
.cmd-zone.active {
  border-color: var(--seyo-bleu);
  background: #f0f5ff;
}
.cmd-zone-icone { color: #bbb; font-size: 0.9rem; flex-shrink: 0; }
.cmd-zone.active .cmd-zone-icone { color: var(--seyo-bleu); }
.cmd-zone-nom { flex-grow: 1; font-weight: 500; color: #333; }
.cmd-zone-prix { font-weight: 700; color: var(--seyo-bleu); font-size: 0.84rem; white-space: nowrap; }

/* Champs client */
.cmd-champ { margin-bottom: 9px; }
.cmd-champ:last-child { margin-bottom: 0; }
.cmd-label {
  /* Augmenté à 0.78rem pour respecter le seuil de lisibilité mobile */
  display: block; font-size: 0.78rem; font-weight: 700;
  color: #555; margin-bottom: 3px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cmd-input-wrap { position: relative; }
.cmd-input-icone {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #c0c0c0; font-size: 0.85rem; pointer-events: none;
}
.cmd-input-wrap .form-control {
  /* 44px : zone de saisie tactile minimale recommandée sur mobile */
  height: 44px;
  font-size: 0.88rem;
  padding-left: 2.2rem !important;
  border-radius: 8px !important;
  border: 1.5px solid #e0e0e0 !important;
  background: #fafafa;
  color: #222;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cmd-input-wrap .form-control:focus {
  border-color: var(--seyo-bleu) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(61,142,240,0.12) !important;
}

/* Footer */
.cmd-footer { padding: 12px 14px; }
.cmd-avertissement {
  font-size: 0.74rem; color: #e05050; text-align: center;
  font-weight: 500; margin-bottom: 8px; line-height: 1.4;
}
.cmd-btn-submit {
  display: block; width: 100%; border: none;
  background: var(--seyo-bleu); color: #fff;
  border-radius: 10px; padding: 10px 1rem 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.5px;
  text-align: center; cursor: pointer; line-height: 1.2;
  transition: background var(--transition);
}
.cmd-btn-submit:hover { background: var(--seyo-bleu-clair); }
.cmd-btn-sub {
  font-size: 0.7rem; font-weight: 400; opacity: 0.85; margin-top: 3px;
}
.cmd-reassurance {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  margin-top: 10px; font-size: 0.72rem; color: #888;
}
.cmd-erreur { color: #e05050; font-size: 0.78rem; margin-top: 4px; }

/* Page de confirmation de commande */
.cmd-verification-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #f0f5ff; padding: 9px 14px;
  border-bottom: 1px solid #dce8ff; text-align: center;
}
.cmd-verification-icone {
  font-size: 1.4rem; color: var(--seyo-bleu); flex-shrink: 0;
}
.cmd-verification-titre {
  font-size: 0.9rem; font-weight: 700; color: #1a1a2e;
}
.cmd-verification-sous {
  font-size: 0.75rem; color: #7a8aaa; margin-top: 1px;
}

/* Grille recapitulatif livraison */
.cmd-recap-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.cmd-recap-full { grid-column: 1 / -1; }
.cmd-recap-item {
  background: #f8f9fb; border-radius: 8px; padding: 6px 10px;
}
.cmd-recap-libelle {
  /* 0.72rem minimum pour la lisibilité mobile, couleur #999 pour contraste amélioré */
  font-size: 0.72rem; font-weight: 600; color: #999;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px;
}
.cmd-recap-valeur {
  font-size: 0.83rem; font-weight: 600; color: #222;
}

/* Articles recap (sans image) */
.cmd-article-recap {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px; padding: 5px 0; border-bottom: 1px solid #f5f5f5;
}
.cmd-article-recap:last-of-type { border-bottom: none; }
.cmd-article-recap-info { flex-grow: 1; min-width: 0; }
.cmd-article-recap-qte { font-size: 0.73rem; color: #aaa; margin-top: 2px; }

/* Note paiement */
.cmd-paiement-note {
  margin-top: 6px; font-size: 0.75rem; color: #555;
  text-align: center; padding: 5px 0;
}

/* Bouton valider (variante verte) */
.cmd-btn-valider {
  background: #1a5fa8 !important;
}
.cmd-btn-valider:hover { background: #154e8f !important; }

/* Bouton WhatsApp */
.cmd-btn-whatsapp {
  background: #25d366 !important;
}
.cmd-btn-whatsapp:hover { background: #1ebe5d !important; }

/* En-tete page succes */
.cmd-succes-entete {
  text-align: center;
  padding: 16px 16px 12px;
  border-bottom: 6px solid #f0f2f5;
}
.cmd-succes-cercle {
  width: 54px; height: 54px; border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 8px;
}
.cmd-succes-titre {
  font-size: 1rem; font-weight: 800; color: #16a34a; margin-bottom: 3px;
}
.cmd-succes-sous {
  font-size: 0.82rem; color: #666; margin-bottom: 6px; line-height: 1.4;
}
.cmd-succes-ref {
  display: inline-block;
  background: #f0f5ff; color: var(--seyo-bleu);
  border: 1px solid #d0e3ff; border-radius: 6px;
  padding: 4px 12px; font-size: 0.78rem;
}

/* Etapes livraison */
.cmd-etapes { display: flex; flex-direction: column; gap: 0; }
.cmd-etape {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid #f5f5f5;
  position: relative;
}
.cmd-etape-last { border-bottom: none; }
.cmd-etape-num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--seyo-bleu); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.cmd-etape-num-vert { background: #16a34a; }
.cmd-etape-texte { font-size: 0.82rem; color: #444; line-height: 1.4; }

/* Bouton modifier */
.cmd-btn-modifier {
  display: block; width: 100%; margin-top: 7px;
  padding: 8px 1rem; border-radius: 10px;
  border: 1.5px solid #e0e0e0; background: #fff;
  text-align: center; font-size: 0.85rem; font-weight: 600;
  color: #555; text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.cmd-btn-modifier:hover { border-color: var(--seyo-bleu); color: var(--seyo-bleu); }

/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-flottant {
  position: fixed; bottom: 24px; right: 24px; z-index: 1050;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  border-radius: 50px; padding: 12px 18px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  transition: all 0.25s ease;
  max-width: 52px; overflow: hidden; white-space: nowrap;
}
.whatsapp-flottant i { font-size: 1.4rem; flex-shrink: 0; }
.whatsapp-flottant-label { overflow: hidden; max-width: 0; transition: max-width 0.3s ease, opacity 0.3s; opacity: 0; }
.whatsapp-flottant:hover {
  max-width: 280px; color: #fff;
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-flottant:hover .whatsapp-flottant-label { max-width: 200px; opacity: 1; }
@media (max-width: 576px) {
  .whatsapp-flottant { bottom: 16px; right: 16px; padding: 10px 14px; }
}

/* ============================================================
   PILLS CATÉGORIES (barre de navigation rapide)
   ============================================================ */
.cats-pills-bar {
  background: #fff;
  border-top: 3px solid var(--seyo-bleu);
  border-bottom: 1px solid #e8e8e8;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex; justify-content: flex-start;
}
@media (min-width: 768px) { .cats-pills-bar { justify-content: center; } }
.cats-pills-bar::-webkit-scrollbar { display: none; }
.cats-pills-inner {
  display: flex; gap: 7px; padding: 9px 16px;
  min-width: max-content;
  margin: 0 auto;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 5px;
  /* min-height 44px pour respecter la zone tactile minimale mobile */
  padding: 10px 13px; border-radius: 50px;
  background: #f0f4ff; color: #222; font-size: 0.8rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1.5px solid #d6e4ff;
  transition: all 0.15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cat-pill:hover { background: var(--seyo-bleu); color: #fff; border-color: var(--seyo-bleu); }
.cat-pill-all {
  background: var(--seyo-bleu); color: #fff;
  font-weight: 700; border-color: var(--seyo-bleu);
}
.cat-pill-all:hover { background: var(--seyo-bleu-clair); border-color: var(--seyo-bleu-clair); }
.cat-pill-img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ============================================================
   NOS UNIVERS (tuiles visuelles)
   ============================================================ */
.univers-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 768px) { .univers-grille { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 400px) { .univers-grille { grid-template-columns: repeat(2, 1fr); gap: 7px; } }

.univers-tile {
  position: relative; border-radius: 14px; overflow: hidden;
  /* Ratio 1/1 (carré) : évite le zoom excessif des images en mode cover */
  aspect-ratio: 1/1; display: flex; align-items: flex-end;
  text-decoration: none;
  /* background-size: 100% auto : l'image couvre sans zoom horizontal */
  background: #1a1a2e center/cover no-repeat;
  background-size: 100% auto;
  transition: transform 0.25s ease;
}
.univers-tile:hover { transform: translateY(-4px); }
.univers-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.univers-contenu {
  position: relative; z-index: 1; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.univers-label {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.7);
}
.univers-nom {
  font-size: 0.95rem; font-weight: 800; color: #fff; line-height: 1.2;
}
.univers-cta {
  font-size: 0.75rem; color: #61CE70; font-weight: 600; margin-top: 4px;
}

/* ============================================================
   BADGE STOCK LIMITÉ
   ============================================================ */
.badge-stock-limite {
  display: inline-flex; align-items: center;
  background: #ff9800; color: #fff;
  font-size: 0.62rem; font-weight: 700;
  padding: 3px 7px; border-radius: 4px; white-space: nowrap;
}

/* ============================================================
   GARANTIE CARTE PRODUIT
   ============================================================ */
.carte-garantie {
  font-size: 0.72rem; color: #555;
  display: flex; align-items: center;
}

/* ============================================================
   BADGE RÉDUCTION - plus imposant (style Jumia)
   ============================================================ */
.badge-reduction {
  background: var(--seyo-rouge) !important;
  color: white !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 5px 9px !important;
  border-radius: 6px !important;
  letter-spacing: -0.3px;
}

/* ============================================================
   BANNIÈRES PROMO FULLWIDTH
   ============================================================ */
.promo-fullwidth-grille {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 12px;
  height: 360px;
}
/* Sur mobile et tablette : une seule carte pleine largeur */
@media (max-width: 992px) {
  .promo-fullwidth-grille { grid-template-columns: 1fr; height: auto; }
  .promo-fullwidth-side { display: none; }
  .promo-fullwidth-main { min-height: 200px; }
  .promo-fw-contenu { padding: 16px; }
  .promo-fw-contenu .promo-titre { font-size: 1rem; }
  .banniere-promo { padding: 1rem 0; }
}
.promo-fullwidth-main {
  position: relative; border-radius: 16px; overflow: hidden;
  /* Fond sombre professionnel */
  background-color: #0d1b2a;
  display: flex; align-items: flex-end;
  min-height: 240px;
}
/* Arrière-plan flouté : même image en cover pour remplir les espaces */
.promo-fw-bg-blur {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  z-index: 0;
}
/* Image nette au premier plan en contain : visible entièrement, zoom uniforme */
.promo-fw-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  z-index: 1;
}
.promo-fullwidth-side {
  display: flex; flex-direction: column; gap: 12px;
}
.promo-side-card {
  flex: 1; position: relative; border-radius: 16px; overflow: hidden;
  /* Fond sombre unifié pour les deux cartes latérales */
  background-color: #0d1b2a;
  display: flex; align-items: flex-end;
  min-height: 100px;
}
/* Deuxième carte latérale légèrement différenciée */
.promo-side-dark { background-color: #1a1a2e !important; }
/* Overlay renforcé pour meilleure lisibilité du texte */
.promo-fw-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 100%);
  z-index: 2;
}
.promo-fw-contenu {
  position: relative; z-index: 3; padding: 20px 22px;
}
.promo-fw-contenu .promo-tag { color: rgba(255,255,255,0.9); margin-bottom: 6px; }
.promo-fw-contenu .promo-titre { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.promo-sous { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.btn-promo-sm { padding: 7px 16px; font-size: 0.78rem; }

/* ============================================================
   FLASH SALE
   ============================================================ */
.flash-sale-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 14px 0 16px;
  margin-top: 16px;
}
.flash-sale-entete {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 12px;
}
.flash-sale-gauche {
  display: flex; align-items: center; gap: 12px;
}
.flash-sale-icone {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff; flex-shrink: 0;
  animation: pulse-flash 1.5s infinite;
}
@keyframes pulse-flash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
}
.flash-sale-titre {
  font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1.2;
}
.flash-sale-sous {
  font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 2px;
}

/* Timer : label + icone sur une ligne, blocs en dessous, centre */
.flash-sale-timer {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.timer-label-wrap {
  display: flex; align-items: center; gap: 6px;
}
.timer-clock-icone {
  font-size: 0.95rem; color: rgba(255,255,255,0.85);
}
.timer-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.9);
  font-weight: 600; white-space: nowrap; text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timer-blocs {
  display: flex; align-items: center; gap: 8px;
}
.timer-bloc {
  background: linear-gradient(135deg, rgba(231,76,60,0.25), rgba(243,156,18,0.25));
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 10px 14px; min-width: 62px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.timer-bloc span {
  font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timer-unite {
  font-size: 0.65rem !important; font-weight: 700 !important;
  color: rgba(255,255,255,0.75) !important;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.timer-sep {
  color: rgba(255,255,255,0.55); font-weight: 700; font-size: 1.4rem;
  margin-bottom: 16px;
}

.flash-sale-voir-tout {
  display: inline-block;
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; padding: 8px 20px;
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.flash-sale-voir-tout:hover {
  background: rgba(255,255,255,0.2); color: #fff;
}
.flash-sale-section .produit-scroll-item { filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }

@media (max-width: 576px) {
  .flash-sale-entete { flex-direction: column; align-items: flex-start; gap: 10px; }
  .flash-sale-timer { align-self: center; }
  .flash-sale-titre { font-size: 1.1rem; }
  .timer-bloc { padding: 8px 10px; min-width: 52px; }
  .timer-bloc span { font-size: 1.4rem; }
  .timer-label { font-size: 0.78rem; }
}

/* ============================================================
   BADGES CARTE PRODUIT
   ============================================================ */
.carte-badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-direction: column; gap: 4px; z-index: 3;
}
.badge-tendance {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  white-space: nowrap;
}

/* ============================================================
   PROMO CARDS - motif rayé
   ============================================================ */
.promo-card { position: relative; overflow: hidden; }
.promo-card-pattern {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 12px,
    rgba(255,255,255,0.04) 12px, rgba(255,255,255,0.04) 24px
  );
}
.promo-card-contenu { position: relative; z-index: 1; }

/* ============================================================
   TEMOIGNAGES
   ============================================================ */
.temoignages-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  /* justify-content: center bloquait le scroll et masquait les cartes hors ecran */
  justify-content: flex-start;
}
.temoignages-scroll::-webkit-scrollbar { height: 4px; }
.temoignages-scroll::-webkit-scrollbar-track { background: #f0f0f0; border-radius: 2px; }
.temoignages-scroll::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 2px; }
.temoignage-card {
  flex-shrink: 0; scroll-snap-align: start;
  width: 300px; background: #fff; border-radius: 14px;
  padding: 20px; box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid #f0f0f0;
}
@media (max-width: 576px) { .temoignage-card { width: 82vw; } }
.temoignage-etoiles { color: #f39c12; font-size: 0.85rem; margin-bottom: 10px; }
.temoignage-texte {
  font-size: 0.83rem; color: #444; line-height: 1.6;
  font-style: italic; margin-bottom: 14px;
}
.temoignage-auteur { display: flex; align-items: center; gap: 10px; }
.temoignage-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--seyo-bleu), #42a5f5);
  color: #fff; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.temoignage-nom { font-size: 0.82rem; font-weight: 700; color: #222; }
.temoignage-lieu { font-size: 0.72rem; color: #999; margin-top: 1px; }

/* Social proof barre */
.social-proof-barre {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; background: #fff;
  border-radius: 14px; box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
}
.social-proof-item {
  flex: 1; min-width: 120px; text-align: center;
  padding: 16px 12px;
}
.social-proof-sep {
  width: 1px; height: 40px; background: #f0f0f0; flex-shrink: 0;
}
.social-proof-chiffre {
  display: block; font-size: 1.3rem; font-weight: 800;
  color: var(--seyo-bleu); line-height: 1.1;
}
.social-proof-label {
  display: block; font-size: 0.7rem; color: #888; margin-top: 3px;
}
@media (max-width: 576px) {
  .social-proof-barre { flex-wrap: wrap; }
  .social-proof-item { min-width: 45%; }
  .social-proof-sep { display: none; }
}

/* ============================================================
   PAGE PRODUIT
   ============================================================ */


.image-principale { aspect-ratio: 1/1; position: relative; }
.image-principale img { width: 100%; height: 100%; object-fit: contain; }
.overlay-rupture-detail { background: rgba(0,0,0,0.5); }
.miniature-galerie {
  width: 70px; height: 70px; object-fit: cover; cursor: pointer;
  opacity: 0.6; transition: opacity var(--transition), border-color var(--transition);
  border: 2px solid transparent; flex-shrink: 0;
}
.miniature-galerie:hover, .miniature-galerie.active { opacity: 1; border-color: var(--seyo-bleu); }
.btn-variante { transition: all var(--transition); }
.btn-variante.active {
  background-color: var(--seyo-bleu) !important;
  border-color: var(--seyo-bleu) !important;
  color: #fff !important;
}
.garanties { border-left: 3px solid var(--seyo-vert-fonce); }

/* ============================================================
   DESCRIPTION PRODUIT
   Cadre responsive pour le contenu riche genere par Quill :
   titres, listes, citations, tableaux, images, iframes video.
   ============================================================ */
.description-titre {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--seyo-noir);
  border-left: 3px solid var(--seyo-bleu);
  padding-left: 0.75rem;
}
.description-corps {
  background: var(--seyo-gris-clair);
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  overflow: hidden;
}
.description-produit {
  max-width: 100%;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #374151;
}
/* Titres */
.description-produit h1,
.description-produit h2,
.description-produit h3,
.description-produit h4 {
  font-weight: 700;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--seyo-noir);
  line-height: 1.3;
}
.description-produit h1 { font-size: 1.6rem; }
.description-produit h2 { font-size: 1.35rem; }
.description-produit h3 { font-size: 1.15rem; }
.description-produit h4 { font-size: 1rem; }
/* Paragraphes */
.description-produit p { margin-bottom: 0.8rem; }
/* Titres rediges en <p><strong> dans l'editeur */
.description-produit p > strong:only-child {
  font-size: 1.05rem;
  font-weight: 700;
}
/* Listes : format standard et format natif Quill 2.x */
.description-produit ul,
.description-produit ol {
  padding-left: 1.6rem !important;
  margin-bottom: 0.8rem !important;
  list-style: none !important;
}
/* Puces - ul li standard */
.description-produit ul li {
  list-style-type: disc !important;
  display: list-item !important;
  margin-bottom: 0.3rem !important;
}
/* Puces - format natif Quill 2.x : ol > li[data-list="bullet"] */
.description-produit ol li[data-list="bullet"] {
  list-style-type: disc !important;
  display: list-item !important;
  margin-bottom: 0.3rem !important;
}
/* Numerotation - format natif Quill 2.x : ol > li[data-list="ordered"] */
.description-produit ol li[data-list="ordered"] {
  list-style-type: decimal !important;
  display: list-item !important;
  margin-bottom: 0.3rem !important;
}
/* Citation */
.description-produit blockquote {
  border-left: 3px solid #d1d5db;
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  color: var(--seyo-gris);
  font-style: italic;
  background: #fff;
  border-radius: 0 0.25rem 0.25rem 0;
}
/* Code inline */
.description-produit code {
  font-family: monospace;
  background: #f3f4f6;
  border-radius: 0.2rem;
  padding: 0.1rem 0.3rem;
  font-size: 0.85em;
}
/* Images : centrees, jamais plus larges que le conteneur */
.description-produit img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 0.375rem;
  display: block;
  margin: 1rem auto;
}
/* Iframes YouTube / Vimeo : ratio 16/9 fixe */
.description-produit iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: 0.375rem;
  margin: 1rem auto;
  border: none;
}
/* Tableaux : scroll horizontal sur petits ecrans */
.description-produit table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.description-produit th,
.description-produit td {
  border: 1px solid #e0e0e0;
  padding: 0.45rem 0.7rem;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}
.description-produit th {
  background: #fff;
  font-weight: 600;
  color: var(--seyo-noir);
}
/* Liens */
.description-produit a {
  color: var(--seyo-bleu);
  text-decoration: underline;
  word-break: break-all;
}
/* Mobile */
@media (max-width: 575px) {
  .description-corps { padding: 1rem 0.875rem; }
  .description-produit { font-size: 0.875rem; line-height: 1.65; }
  .description-produit h1 { font-size: 1.15rem; }
  .description-produit h2 { font-size: 1rem; }
  .description-produit h3,
  .description-produit h4 { font-size: 0.875rem; }
}

/* ============================================================
   PANIER
   ============================================================ */
.ligne-panier:last-child { border-bottom: none !important; }

/* ============================================================
   PAGE SUCCES
   ============================================================ */
.cercle-succes { animation: apparaitre 0.5s ease; }
@keyframes apparaitre {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { font-size: 0.9rem; }
.seyo-logo-light { color: #fff; font-family: 'Poppins', sans-serif; letter-spacing: 1px; }

/* Amélioration du contraste footer sur mobile : text-white-50 (ratio ~3:1) remplacé
   par rgba(255,255,255,0.75) pour atteindre le ratio WCAG AA (~4.6:1) */
.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}
.footer a.text-white-50:hover {
  color: #fff !important;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.form-control:focus, .form-select:focus {
  border-color: var(--seyo-bleu);
  box-shadow: 0 0 0 0.2rem rgba(21,101,192,0.2);
}
.btn-primary, .bg-primary { background-color: var(--seyo-bleu) !important; border-color: var(--seyo-bleu) !important; }
.btn-primary:hover { background-color: var(--seyo-bleu-clair) !important; border-color: var(--seyo-bleu-clair) !important; }
.btn-outline-primary { color: var(--seyo-bleu) !important; border-color: var(--seyo-bleu) !important; }
.btn-outline-primary:hover { background-color: var(--seyo-bleu) !important; color: #fff !important; }
.text-primary { color: var(--seyo-bleu) !important; }

/* ============================================================
   BOUTONS PRODUIT - style COMMANDE.PNG
   ============================================================ */

/* Reset + base commune */
.btn-seyo-outline,
.btn-seyo-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  flex: 1 !important;
  padding: 15px 18px !important;
  border-radius: 50px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.18s, border-color 0.18s, color 0.18s !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  gap: 7px !important;
}

/* "Ajouter au panier" - outline blanc/bleu */
.btn-seyo-outline {
  background: #ffffff !important;
  color: var(--seyo-bleu) !important;
  border: 2px solid var(--seyo-bleu) !important;
  box-shadow: 0 1px 4px rgba(21,101,192,0.10) !important;
}
.btn-seyo-outline:hover {
  background: #eef4fe !important;
  color: var(--seyo-bleu-clair) !important;
  border-color: var(--seyo-bleu-clair) !important;
}

/* "COMMANDEZ ICI" - plein bleu */
.btn-seyo-primary {
  background: var(--seyo-bleu) !important;
  color: #ffffff !important;
  border: 2px solid var(--seyo-bleu) !important;
  box-shadow: 0 2px 8px rgba(21,101,192,0.30) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.btn-seyo-primary:hover {
  background: var(--seyo-bleu-clair) !important;
  border-color: var(--seyo-bleu-clair) !important;
  color: #ffffff !important;
}
.btn-seyo-primary:visited {
  color: #ffffff !important;
}

/* Bouton "Commandez ici" flottant (fixe en bas de page) */
.btn-flottant-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 10px 0 12px;
  background: #ffffff;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.13);
  transform: translateY(110%);
  transition: transform 0.28s ease;
}
.btn-flottant-wrap.visible {
  transform: translateY(0);
}

/* ============================================================
   PAGE PRODUIT - ELEMENTS SUPPLEMENTAIRES
   ============================================================ */

/* Signal stock faible */
.alerte-stock-faible {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #fff3cd;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Bouton WhatsApp */
.btn-seyo-whatsapp {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
  width: 100%;
}
.btn-seyo-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
}

/* ============================================================
   SECTION AVIS CLIENTS
   ============================================================ */

/* Résumé note globale */
.avis-resume {
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}
.avis-note-chiffre {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--seyo-noir);
  line-height: 1;
}
.avis-note-max {
  font-size: 1rem;
  color: #6b7280;
}

/* Étoiles statiques */
.etoiles-statiques {
  display: flex;
  gap: 2px;
  line-height: 1;
}
.etoile {
  font-size: 1.1rem;
  line-height: 1;
}
.etoile.pleine {
  color: #f59e0b;
}
.etoile.vide {
  color: #d1d5db;
}

/* Cartes d'avis */
.liste-avis {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.carte-avis {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #ffffff;
}
.carte-avis-entete {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.carte-avis-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.carte-avis-texte {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
}

/* Formulaire d'avis */
.formulaire-avis {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
}
.selecteur-note {
  display: flex;
  gap: 4px;
}
.etoile-selecteur {
  cursor: pointer;
  margin: 0;
}
.etoile-selecteur input[type="radio"] {
  display: none;
}
.etoile-selecteur .etoile {
  font-size: 1.8rem;
  transition: color 0.1s;
}
.etoile-selecteur .etoile.survol {
  color: #fbbf24;
}

/* ============================================================
   THEME DYNAMIQUE - Variables CSS injectees depuis /theme.css
   Ces regles s'appliquent au-dessus des couleurs codees en dur.
   Modifiez les couleurs dans Admin > Configurations > Theme.
   ============================================================ */
.navbar-top,
.navbar-secondaire,
.barre-secondaire {
  background-color: var(--c-nav, #1a1a2e) !important;
}
.footer {
  background-color: var(--c-footer, #1a1a2e) !important;
}
.btn-hero,
.btn-promo,
.btn-primary,
.btn-panier,
.cmd-btn-submit,
.btn-voir-produits {
  background-color: var(--c-primaire, #0d6efd) !important;
  border-color: var(--c-primaire, #0d6efd) !important;
}
.btn-hero:hover,
.btn-promo:hover,
.btn-primary:hover,
.btn-panier:hover,
.cmd-btn-submit:hover {
  filter: brightness(0.9);
}
a,
.voir-tout,
.cat-pill:hover {
  color: var(--c-primaire, #0d6efd);
}
.prix-barre-label,
.badge-promo,
.flash-sale-icone {
  color: var(--c-accent, #ff6900);
}
body {
  color: var(--c-texte, #212529);
}
.section-temoignages,
.section-produits.bg-light,
.bg-light {
  background-color: var(--c-fond, #f8f9fa) !important;
}
