
/* ============================================
   VIGNOMARKET — DESIGN SYSTEM
   ============================================ */
:root {
  --vm-bordeaux: #6d1230;
  --vm-bordeaux-dark: #4a0c20;
  --vm-bordeaux-light: #8a1f42;
  --vm-gold: #c9a24b;
  --vm-gold-light: #e3c778;
  --vm-cream: #faf6ef;
  --vm-cream-dark: #f1e9db;
  --vm-ink: #241014;
  --vm-ink-soft: #5a4a4f;
  --vm-radius: 0.6rem;
  --vm-shadow: 0 6px 18px rgba(36, 16, 20, 0.12);
  --vm-shadow-hover: 0 12px 28px rgba(36, 16, 20, 0.2);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', sans-serif;
}

.zoom-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin: auto;
  cursor: crosshair;
  overflow: hidden;
}

#zoomImage {
  width: 100%;
  transition: transform 0.1s;
  transform-origin: center center;
}

.product-card {
  width: 100%;
  max-width: 300px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  background-color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Toutes les cartes d'une rangée ont une hauteur égale (héritée du
   ".row" flex de Bootstrap) ; ce bloc répartit ce contenu en colonne et
   ancre le bouton en bas, pour que le prix/titre restent alignés entre
   les cartes même quand l'une a un millésime, des avis, une promo... et
   pas les autres. */
.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .card-title {
  /* 2 lignes max (avec "..." si ça dépasse encore). Le nom complet reste
     consultable via l'infobulle au survol (voir .card-name-tooltip,
     injectée en JS dans <body>). */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.2em;
  cursor: default;
}

/* Infobulle stylée (nom complet du produit), positionnée en JS. Un seul
   élément partagé, ajouté à <body> : ne peut donc jamais être clippée par le
   overflow:hidden d'une carte, contrairement à un ::after local. */
.card-name-tooltip {
  position: fixed;
  display: none;
  background: var(--vm-ink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0.5em 0.75em;
  border-radius: 0.4em;
  max-width: 260px;
  box-shadow: var(--vm-shadow-hover);
  z-index: 3000;
  pointer-events: none;
}

.product-card .card-subtitle {
  min-height: 0;
}

/* Visible mais réduite à une seule ligne (avec "...") plutôt que masquée :
   un aperçu reste utile, sans reprendre la hauteur qu'occupaient les 2
   lignes réservées précédemment. */
.product-card .card-description {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--vm-ink-soft);
  line-height: 1.2;
  margin-bottom: 0.3em;
}

.product-card .stars-row {
  min-height: 0;
}

.product-card .ajouteraupanier {
  margin-top: auto;
}

/* Image un peu moins haute que carrée : réduit la hauteur globale de la
   carte sans rogner davantage sur le texte. */
.product-card .card-img-top {
  aspect-ratio: 4/3 !important;
}

/* Échelle de tailles par palier d'écran : les cartes ont plus de place
   pour respirer à mesure que l'écran grandit (mais pas de façon strictement
   monotone avec la largeur de viewport, puisque le nombre de colonnes change
   aussi — voir carteProduitHtml : col-6 puis col-md-4 puis col-lg-3). Le nom
   du vin (card-title) progresse toujours un peu plus vite que le reste pour
   rester la donnée la plus visible de la carte. */

/* Petit écran (téléphones étroits, < 576px) */
.product-card .card-title { font-size: 0.85rem; }
.product-card .card-subtitle { font-size: 0.7rem; }
.product-card .card-description { font-size: 0.62rem; }
.product-card .card-text { font-size: 0.8rem; }
.product-card .ajouteraupanier { font-size: 0.66rem; }

/* Mobile (téléphones standards, 576–767px) */
@media (min-width: 576px) {
  .product-card .card-title { font-size: 0.92rem; }
  .product-card .card-subtitle { font-size: 0.76rem; }
  .product-card .card-description { font-size: 0.66rem; }
  .product-card .card-text { font-size: 0.86rem; }
  .product-card .ajouteraupanier { font-size: 0.72rem; }
}

/* Tablette (768–1199px) */
@media (min-width: 768px) {
  .product-card .card-title { font-size: 1.1rem; }
  .product-card .card-subtitle { font-size: 0.82rem; }
  .product-card .card-description { font-size: 0.74rem; }
  .product-card .card-text { font-size: 1rem; }
  .product-card .stars-row { font-size: 0.8em; }
  .product-card .ajouteraupanier { font-size: 0.78rem; }
}

/* Grand écran / desktop (≥ 1200px) : nom du vin et prix nettement mis en avant. */
@media (min-width: 1200px) {
  .product-card .card-title {
    font-size: 1.3rem;
  }

  .product-card .card-subtitle {
    font-size: 0.88rem;
  }

  .product-card .card-description {
    font-size: 0.8rem;
  }

  .product-card .card-text {
    font-size: 1.15rem;
  }

  .product-card .stars-row {
    font-size: 0.85em;
  }

  .product-card .ajouteraupanier {
    font-size: 0.82rem;
  }
}

/* Fiche produit : nom du vin (h2.fiche-nom) et prix (.fiche-prix) mis en
   avant, avec la même échelle par palier d'écran que les cartes produit. */
.fiche-nom {
  font-size: 1.3rem;
  line-height: 1.25;
}

.fiche-info-block { font-size: 1rem; }
.fiche-notes-mini { font-size: 0.75em; }
.fiche-prix { font-size: 1.5rem; }

/* #prix_vente est un <span>, ciblé sitewide par la règle générique
   "small, .small-text, span" (plus bas dans ce fichier) qui lui impose
   14px gris quelle que soit la taille voulue par son parent .fiche-prix :
   un id l'emporte sur ce sélecteur span pour rétablir le même style
   (taille + couleur) que le "FCFA" à côté, qui n'est lui pas dans un span. */
#prix_vente {
  font-size: inherit;
  color: inherit;
}

/* Montant barré (prix avant remise) : légèrement plus grand sur la fiche
   produit que sur les cartes (qui utilisent aussi .price-old, mais pour un
   contexte plus compact) — un id prend le pas sur .price-old sans changer
   la taille utilisée ailleurs. */
#prixBarre {
  font-size: 1.1em;
}

@media (min-width: 576px) {
  .fiche-nom { font-size: 1.55rem; }
  .fiche-prix { font-size: 1.7rem; }
}

@media (min-width: 768px) {
  .fiche-nom { font-size: 1.85rem; }
  .fiche-prix { font-size: 1.9rem; }
}

@media (min-width: 1200px) {
  .fiche-nom { font-size: 2.2rem; }
  .fiche-prix { font-size: 2.1rem; }
}

.product-card img {
  width: 100%;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-badge.promo { background-color: var(--vm-bordeaux); }
.product-badge.populaire { background-color: var(--vm-gold); color: var(--vm-ink); }

.price-old {
  /* Discret par nature : c'est le prix qui ne s'applique plus, il ne doit
     pas capter l'œil avant le prix réel (voir .price-new). */
  text-decoration: line-through;
  color: var(--vm-ink-soft);
  font-weight: 400;
  font-size: 0.65em;
  margin-right: 0.4em;
}

.price-new {
  /* Le prix que le client va réellement payer : toujours l'élément le
     plus marquant du bloc prix, remise ou non. Couleur fixée explicitement
     (pas seulement héritée de .card-text / .fiche-prix) : sans ça, la règle
     générique "span{color:#666}" plus bas dans ce fichier l'emporterait,
     un match direct battant toujours une couleur seulement héritée. */
  font-weight: 800;
  color: var(--vm-bordeaux);
}

/* Badge de disponibilité de la fiche produit : mêmes couleurs que le
   bouton PANIER (fond doré, texte encre foncée) plutôt que le vert/blanc
   Bootstrap par défaut, qui ne correspondait plus vraiment une fois que ce
   badge affiche aussi "STOCK" (rupture) et pas seulement "Disponible". */
.disponibilite-badge {
  background-color: var(--vm-gold);
  color: #fff;
  font-weight: 700;
  padding: 0.15em 0.6em;
  border-radius: 4px;
}
.disponibilite-badge.rupture {
  background-color: #a8452e;
  color: #fff;
}

.zoom-image {
  width: 100%;
  display: block;
  border-radius: 0.5rem;
}

.zoom-lens {
  position: absolute;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 300%;
  transition: opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 10;
}

.zoom-lens.visible {
  opacity: 1;
}

.thumbnail-row {
  margin-top: 20px;
}

.thumbnail-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.2s;
}

.thumbnail-image.active {
  border-color: darkred;
}
.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.quantity-selector button {
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.quantity-display {
  font-size: 20px;
  min-width: 40px;
  text-align: center;
}

.dropdown-cart {
  width: 320px;
  max-width: calc(100vw - 24px);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.dropdown-cart .list-group-item {
  padding: 0.6rem 0.4rem;
}

.cart-item-row {
  gap: 0.5rem;
}

.cart-item-img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Indispensable en flexbox : sans min-width:0, cet enfant flex-grow refuse
   de descendre sous la largeur naturelle de son contenu (le nom du vin),
   ce qui empêchait le troncage et écrasait/repoussait le reste de la ligne
   (boutons de quantité, prix) au lieu de laisser le nom se couper proprement. */
.cart-item-info {
  min-width: 0;
}

/* Menu déroulant du panier : échelle de tailles par palier d'écran, comme
   pour les cartes produit (voir plus bas), au lieu de tailles fixes en
   "em!important" qui ne s'adaptaient pas d'un écran à l'autre. */
.cart-item-name {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.15rem;
  color: #000;
}
/* Couleur fixée explicitement : sans ça, la règle générique "span{color:#666}"
   plus bas dans ce fichier grise .cart-item-qty/.cart-item-price malgré le
   fw-bold déjà présent (un match direct sur le span bat une valeur héritée). */
.cart-item-qty, .cart-item-price { font-size: 0.72rem; color: #000; }
.cart-remove-btn { font-size: 0.75rem !important; flex-shrink: 0; }
.cart-total { font-size: 0.95rem; color: var(--vm-bordeaux); }
.cart-open-link { font-size: 0.8rem !important; }
.cart-order-btn {
  background-color: var(--vm-gold);
  color: var(--vm-ink) !important;
  font-size: 0.8rem !important;
  border: none;
  transition: background-color .2s;
}
.cart-order-btn:hover { background-color: var(--vm-gold-light); }

.cart-qty-controls { gap: 0.3rem; row-gap: 0.25rem; flex-wrap: wrap; }
.cart-qty-btn {
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1;
  padding: 0;
  font-weight: bold;
  font-size: 0.85rem;
  flex-shrink: 0;
}

@media (min-width: 576px) {
  .dropdown-cart { width: 340px; }
  .cart-item-img { width: 46px; height: 46px; }
  .cart-item-name { font-size: 0.85rem; }
  .cart-item-qty, .cart-item-price { font-size: 0.76rem; }
  .cart-remove-btn { font-size: 0.8rem !important; }
  .cart-total { font-size: 1rem; }
  .cart-open-link { font-size: 0.85rem !important; }
  .cart-order-btn { font-size: 0.85rem !important; }
  .cart-qty-btn { width: 1.6rem; height: 1.6rem; font-size: 0.9rem; }
}

@media (min-width: 768px) {
  .dropdown-cart { width: 360px; }
  .cart-item-img { width: 48px; height: 48px; }
  .cart-item-name { font-size: 0.95rem; }
  .cart-item-qty, .cart-item-price { font-size: 0.82rem; }
  .cart-remove-btn { font-size: 0.85rem !important; }
  .cart-total { font-size: 1.1rem; }
  .cart-open-link { font-size: 0.9rem !important; }
  .cart-order-btn { font-size: 0.9rem !important; }
  .cart-qty-btn { width: 1.7rem; height: 1.7rem; font-size: 0.95rem; }
}

@media (min-width: 1200px) {
  .dropdown-cart { width: 380px; }
  .cart-item-img { width: 50px; height: 50px; }
  .cart-item-name { font-size: 1rem; }
  .cart-item-qty, .cart-item-price { font-size: 0.85rem; }
  .cart-remove-btn { font-size: 0.9rem !important; }
  .cart-total { font-size: 1.2rem; }
  .cart-open-link { font-size: 0.95rem !important; }
  .cart-order-btn { font-size: 0.95rem !important; }
  .cart-qty-btn { width: 1.8rem; height: 1.8rem; font-size: 1rem; }
}


.product-card { transition: 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--vm-shadow-hover); transition: 0.3s; }

.couleur-dot {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  margin-right: 0.4em;
  border: 1px solid rgba(0,0,0,0.15);
  vertical-align: middle;
}

.card-subtitle {
  font-size: 0.75em;
  color: var(--vm-ink-soft);
  margin: 0.1em 0 0.3em;
}

.stock-urgence {
  font-size: 0.72em;
  color: var(--vm-bordeaux);
  font-weight: 700;
  margin: 0.2em 0;
}

.card-stock-badge {
  display: inline-block;
  align-self: center; /* .card-body est en colonne flex : sans ça, le badge s'étire en pleine largeur comme un bouton */
  width: fit-content;
  font-size: 0.68em;
  margin: 0.15em 0 0.5em;
}

.product-card:hover  .dropdown-menu {
  display: block;
  margin-top: 0;
}

.pull-left{
  margin-right: 200px!important;
}

.list-group-item-action.active {
background-color: var(--vm-bordeaux) !important;
color: white;
border-color: var(--vm-bordeaux);
}

.list-group-item-action:hover {
background-color: var(--vm-bordeaux-light) !important;
color: white;
border-color: var(--vm-bordeaux);
}

.card-body{
background-color: #fff;
border-color: var(--vm-cream-dark);
color: var(--vm-ink);
}

.product-card{
border-color: var(--vm-cream-dark);
box-shadow: var(--vm-shadow);
}

.product-card .card-title { font-family: var(--font-heading); }
.product-card .card-text { color: var(--vm-bordeaux); }




/* Effets au survol */
.dropdown-item {
transition: all 0.3s ease;
}
.dropdown-item:hover {
background-color: #f8f9fa;
padding-left: 1.5rem;
}

/* Menu horizontal & sous-menus */
.navbar-nav .dropdown-menu {
display: none;
margin-top: 0;
border-radius: 0.5rem;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Inclut #cartBox (classe .dropdown) : le menu PANIER doit aussi s'ouvrir
   au survol comme CATALOGUE. Comme ce survol ne passe pas par l'évènement
   Bootstrap shown.bs.dropdown (déclenché seulement au clic), le recalage
   anti-débordement de #cartMenu est aussi déclenché sur mouseenter/#cartBox
   dans ecommerce.js (voir clampCartDropdown). */
.navbar-nav .dropdown:hover > .dropdown-menu {
display: block;
animation: fadeIn 0.3s ease-in-out;
}

/* Le menu CATALOGUE s'ouvre au survol (règle ci-dessus), mais le menu du
   panier (#cartMenu) est un dropdown Bootstrap classique piloté au clic :
   Bootstrap ajoute la classe .show au bouton ET au menu lui-même (pas au
   conteneur .dropdown parent). Sans cette règle, la règle générale
   ".navbar-nav .dropdown-menu{display:none}" au-dessus le rendait invisible
   dès que la fenêtre atteint la largeur "desktop" (>=992px, où le panier
   est déplacé dans .navbar-nav) : le clic ajoutait bien la classe .show,
   mais rien ne la faisait passer en display:block à ces largeurs. */
.navbar-nav .dropdown-menu.show {
display: block;
}

.dropdown-submenu {
position: relative;
}

.dropdown-submenu > .dropdown-menu {
top: 0;
left: 100%;
margin-top: -1px;
display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
display: block;
animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
from {opacity: 0; transform: translateY(5px);}
to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 991.98px) {
.navbar-nav .dropdown-menu {
  position: static;
  float: none;
  display: none;
}
/* La taille des liens du menu (.nav-link, .dropdown-item) est gérée plus
   bas par paliers d'écran (voir "MENU DU SITE — tailles par écran"), pas
   ici : elle doit rester grande tant que le menu est replié en liste
   verticale (jusqu'à 991.98px), puis redevenir compacte une fois affichée
   en barre horizontale (dès 992px). */


/* Attention : ne jamais cibler ".row div"/".row span" ici — ces sélecteurs
   correspondent à toute div/span imbriquée dans une ".row" (donc aussi les
   cartes produit, leurs sous-éléments, etc.) et la taille de police se
   cumule à chaque niveau d'imbrication (ligne > colonne > carte > contenu...),
   ce qui a déjà fait grimper des textes jusqu'à ~27px sans qu'on s'en
   aperçoive. On ne bump que des éléments non-imbriqués/text de contenu. */
.row .nom, p, .lead {
  font-size:1.3em;
}

.voirPanier , .addToCart{
 font-size:1.3em!important;
 font-weight:bold;
}

.dropdown-submenu > .dropdown-menu {
  margin-left: 1rem;
}


}

/*css pour bannier */
.banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 30vh;
    position: relative;
  }

  @media (max-width: 768px) {
    .banner {
      height: 40vh;
    }

    .banner h1 {
      font-size: 2rem;
    }
  }



/*Menu de navigation*/

nav .nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* aligne les <li> horizontalement */
    gap: 20px;
  }

 nav .nav-links li {
    display: inline;
  }

 nav .nav-links a ,.menu-categorie{
    text-decoration: none;
    color: white;
    font-weight: bold;
  }

 nav .nav-links a:hover,.menu-categorie:hover {
    /*text-decoration: underline;*/
    color:yellow;
  }



  body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--vm-ink);
  background-color: var(--vm-cream);
  margin: 0;
  padding: 0;
}

/* Titres */
h1, h2, h3, .fw-heading {
  font-family: var(--font-heading);
}

h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0.5em;
}

/* Paragraphes */
p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 1em;
}

/* Petits textes ou mentions */
small, .small-text ,span{
  font-size: 14px;
  color: #666;
}

/* Responsive ajustement (mobile) */
@media screen and (max-width: 576px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  p {
    font-size: 15px;
  }

  

}

.description-detail ul li, .description-detail span{
    font-size:1.1em!important;
  }

/* ============================================
   NAVBAR
   ============================================ */
#mainNavbar {
  background: linear-gradient(120deg, var(--vm-bordeaux-dark), var(--vm-bordeaux)) !important;
}

/* Le groupe de liens doit occuper toute la largeur disponible pour que
   le ms-auto du panier le pousse jusqu'au bord droit réel de la navbar,
   au lieu de rester centré sur lui-même avec un vide à droite. */
#navbarCollapse.navbar-collapse {
  flex-grow: 1;
}

#navbarCollapse .navbar-nav {
  width: 100%;
}

/* Taille fixe (rem) pour ne pas hériter du grossissement du menu
   mobile/tablette (nav button{font-size:1.5em}) qui rendait ce bouton
   disproportionné (~49px de haut). */
.navbar-toggler {
  font-size: 1rem !important;
  padding: 0.3rem 0.55rem !important;
  line-height: 1 !important;
}

.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
}

/* ============================================
   BARRE SUPERIEURE (logo + nom)
   ============================================ */
.top-header {
  background-color: var(--vm-cream);
  text-align: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--vm-cream-dark);
}

.top-header .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.top-header img {
  border-radius: 0.4rem;
  flex-shrink: 0;
}

.top-header .brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.top-header .brand-vigno { color: var(--vm-gold); }
.top-header .brand-market { color: var(--vm-bordeaux); }

@media (max-width: 576px) {
  .top-header .brand-name { font-size: 1.25rem; }
  .top-header img { width: 36px; height: 36px; }
}

.nav-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  margin-left: 0.5rem;
  color: var(--vm-gold-light) !important;
  opacity: 0.85;
  text-decoration: none;
  /* rem + !important : ce lien est un <a> dans <nav>, protégé ici contre
     nav a{font-size:1.5em!important} qui le ferait sinon culminer à 52px. */
  font-size: 1.3rem !important;
}

.nav-back:hover {
  opacity: 1;
  color: #fff !important;
}

/* Libellé "Retour" masqué sur mobile (flèche seule, place limitée dans la
   nav à côté de la recherche) ; affiché à partir de la largeur tablette où
   la flèche isolée gagne à être identifiée sans ambiguïté. */
.nav-back-label {
  display: none;
  margin-left: 0.4em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .nav-back {
    width: auto;
    padding: 0 0.6em;
    border-radius: 999px;
  }
  .nav-back-label {
    display: inline;
  }
}

/* Quand la barre de nav se fixe en haut au scroll (.fixed-scroll, voir
   entetes.blade.php), la flèche "page précédente" laisse place au logo :
   le nom du site n'est plus visible (.top-header a défilé hors champ), le
   logo dans la nav prend le relais pour garder la marque à l'écran. Les
   deux bascules (flèche/logo) sont pilotées par la même classe, changées
   dans le même toggle JS, donc l'échange est atomique. */
.nav-logo-scroll {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  margin-left: 0.5rem;
  border-radius: 50%;
  overflow: hidden;
}
.nav-logo-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mainNavbar.fixed-scroll .nav-back {
  display: none;
}
#mainNavbar.fixed-scroll .nav-logo-scroll {
  display: inline-flex;
}

nav a {
  color: var(--vm-gold-light) !important;
}

nav a:hover, .menu-categorie:hover {
  color: #fff !important;
}

/* ============================================
   MENU DU SITE — tailles par écran
   (ACCUEIL / CATALOGUE / COMPTE / A PROPOS + sous-menu catégories)
   ============================================ */

/* Petit écran (< 576px) : liste verticale repliée, grand pour rester
   facile à toucher. */
.nav-link, nav .dropdown-item {
  font-size: 1.3rem !important;
}

/* Mobile (576–767px) : toujours en liste repliée. */
@media (min-width: 576px) {
  .nav-link, nav .dropdown-item {
    font-size: 1.35rem !important;
  }
}

/* Tablette (768–991px) : encore repliée (le seuil d'affichage en barre
   horizontale de Bootstrap est 992px). */
@media (min-width: 768px) {
  .nav-link, nav .dropdown-item {
    font-size: 1.4rem !important;
  }
}

/* À partir de 992px, le menu passe en barre horizontale : il faut
   redevenir compact pour que tous les liens + la recherche + le panier
   tiennent sur une seule ligne. */
@media (min-width: 992px) {
  .nav-link, nav .dropdown-item {
    font-size: 0.95rem !important;
  }
}

/* Grand écran (≥ 1200px) : un peu plus confortable. */
@media (min-width: 1200px) {
  .nav-link, nav .dropdown-item {
    font-size: 1rem !important;
  }
}

nav .dropdown-submenu, .dropdown-menu {
  background-color: var(--vm-bordeaux-dark) !important;
}

.dropdown-item:hover {
  background-color: var(--vm-cream) !important;
  color: var(--vm-bordeaux) !important;
}

#cartDropdown {
  background-color: var(--vm-gold) !important;
  border-color: var(--vm-gold) !important;
  color: var(--vm-ink) !important;
  display: inline-flex !important;
  align-items: center;
  padding: 0.45rem 0.9rem !important;
  line-height: 1.2;
  white-space: nowrap;
}

/* "PANIER (", la quantité et le total partagent exactement la même taille
   (rem, pas em, pour ne pas hériter du grossissement du menu mobile/tablette
   — nav button{font-size:1.5em}) et la même couleur blanche, avec une
   échelle qui grandit un peu par palier d'écran (voir les media queries
   plus bas). */
#cartDropdown strong,
#cartDropdown #cart-count,
#cartDropdown .totalPanier {
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem !important;
}

#cartDropdown .totalPanier {
  display: inline;
  margin-left: 0.35em;
}

@media (min-width: 576px) {
  #cartDropdown strong, #cartDropdown #cart-count, #cartDropdown .totalPanier { font-size: 1rem !important; }
}
@media (min-width: 768px) {
  #cartDropdown strong, #cartDropdown #cart-count, #cartDropdown .totalPanier { font-size: 1.05rem !important; }
}
@media (min-width: 1200px) {
  #cartDropdown strong, #cartDropdown #cart-count, #cartDropdown .totalPanier { font-size: 1.15rem !important; }
}

#cartDropdown .totalPanier:not(:empty)::before {
  content: "· ";
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-warning, .addToCart, .ajouteraupanier {
  background-color: var(--vm-gold) !important;
  border-color: var(--vm-gold) !important;
  color: var(--vm-ink) !important;
}

.btn-warning:hover, .addToCart:hover, .ajouteraupanier:hover {
  background-color: var(--vm-gold-light) !important;
  border-color: var(--vm-gold-light) !important;
}

.btn-dark, .voirPanier {
  background-color: var(--vm-bordeaux) !important;
  border-color: var(--vm-bordeaux) !important;
}

.btn-dark:hover, .voirPanier:hover {
  background-color: var(--vm-bordeaux-light) !important;
  border-color: var(--vm-bordeaux-light) !important;
}

.btn-outline-danger, .quantity-selector button {
  color: var(--vm-bordeaux) !important;
  border-color: var(--vm-bordeaux) !important;
}

.btn-outline-danger:hover {
  background-color: var(--vm-bordeaux) !important;
  color: #fff !important;
}

/* ============================================
   RECHERCHE INSTANTANEE
   ============================================ */
.vm-search {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0.5rem 1rem;
}

.vm-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.vm-search-input-wrap i.fa-search {
  position: absolute;
  left: 12px;
  color: var(--vm-ink-soft);
  pointer-events: none;
}

#siteSearch {
  width: 100%;
  padding: 0.5rem 2.2rem 0.5rem 2.2rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  background-color: #fff;
  color: var(--vm-ink);
}

#siteSearch:focus {
  outline: 2px solid var(--vm-gold);
}

#searchClear {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--vm-ink-soft);
  cursor: pointer;
  display: none;
  /* rem + !important : ce <button> est dans <nav>, protégé ici contre
     nav button{font-size:1.5em!important}. */
  font-size: 1.2rem !important;
}

#searchResults {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow-hover);
  max-height: 420px;
  overflow-y: auto;
  z-index: 2000;
  display: none;
  color: var(--vm-ink);
  text-align: left;
}

#searchResults.show { display: block; }

#searchResults .search-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  border-bottom: 1px solid var(--vm-cream-dark);
}

#searchResults .search-item:hover { background-color: var(--vm-cream); }

#searchResults .search-item img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 0.3rem;
  flex-shrink: 0;
}

#searchResults .search-item .search-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--vm-ink);
}

#searchResults .search-item .search-price {
  font-size: 0.85rem;
  color: var(--vm-bordeaux);
  font-weight: 700;
}

#searchResults .search-viewall {
  display: block;
  text-align: center;
  padding: 0.6rem;
  font-weight: 700;
  color: var(--vm-bordeaux);
  text-decoration: none;
  background-color: var(--vm-cream);
  /* rem + !important : ce <a> est dans <nav>, protégé contre
     nav a{font-size:1.5em!important}. */
  font-size: 0.9rem !important;
}

#searchResults .search-empty {
  padding: 0.9rem;
  text-align: center;
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 991.98px) {
  .vm-search {
    max-width: 100%;
    flex-basis: 100%;
    order: 3;
    margin: 0.4rem 1rem 0.6rem;
  }
  #mainNavbar { flex-wrap: wrap; }
}

/* ============================================
   HERO / BANNIERE
   ============================================ */
.banner {
  position: relative;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,16,20,0.55), rgba(36,16,20,0.75));
}

.banner .container {
  position: relative;
  z-index: 1;
}

.banner h1 {
  font-family: var(--font-heading);
}

.banner .btn-hero {
  background-color: var(--vm-gold);
  color: var(--vm-ink);
  border: none;
  padding: 0.7em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.8em;
  transition: 0.2s;
}

.banner .btn-hero:hover {
  background-color: var(--vm-gold-light);
  transform: translateY(-2px);
}

/* ============================================
   SECTION COUPS DE COEUR
   ============================================ */
.section-title {
  font-family: var(--font-heading);
  color: var(--vm-bordeaux);
  border-bottom: 2px solid var(--vm-gold);
  display: inline-block;
  padding-bottom: 0.3em;
  margin-bottom: 1.2em;
}

/* ============================================
   FOOTER
   ============================================ */
footer.bg-dark {
  background: linear-gradient(180deg, var(--vm-ink), var(--vm-bordeaux-dark)) !important;
}

footer h5 {
  color: var(--vm-gold);
  font-family: var(--font-heading);
}

footer a.text-white:hover {
  color: var(--vm-gold-light) !important;
}

.footer-brand-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
  text-decoration: none;
  margin-bottom: 1rem;
  max-width: 100%;
}

.footer-brand-name {
  min-width: 0;
}

.footer-brand-link img {
  border-radius: 0.35rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-brand-name .brand-vigno { color: var(--vm-gold); }
.footer-brand-name .brand-market { color: var(--vm-cream); }

.scrolltop {
  background-color: var(--vm-bordeaux) !important;
}

/* ============================================
   FICHE PRODUIT
   ============================================ */

.breadcrumb-vm {
  font-size: .82rem;
  color: var(--vm-ink-soft);
  margin-bottom: 1rem;
}
.breadcrumb-vm a {
  color: var(--vm-ink-soft);
  text-decoration: none;
}
.breadcrumb-vm a:hover {
  color: var(--vm-bordeaux);
  text-decoration: underline;
}
.breadcrumb-vm .separateur {
  margin: 0 .4em;
  color: var(--vm-cream-dark);
}
.breadcrumb-vm .courant {
  color: var(--vm-ink);
  font-weight: 600;
}
.description-detail {
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  overflow: hidden;
  box-shadow: var(--vm-shadow);
}

.description-detail .list-group-item.header-fiche {
  background-color: var(--vm-bordeaux) !important;
  color: var(--vm-gold-light) !important;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

.produit-info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.produit-info-row .label {
  color: var(--vm-ink-soft);
  font-weight: 600;
}

.produit-info-row .value {
  text-align: right;
  font-weight: 600;
  color: var(--vm-ink);
}

.produit-extra-card {
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  background-color: #fff;
  box-shadow: var(--vm-shadow);
  padding: 1.2rem;
  margin-top: 1.5rem;
  text-align: left;
}

.produit-extra-card h5 {
  font-family: var(--font-heading);
  color: var(--vm-bordeaux);
  border-bottom: 2px solid var(--vm-gold);
  display: inline-block;
  padding-bottom: 0.25em;
  margin-bottom: 0.6em;
}

.produit-extra-card-recompenses {
  border-color: var(--vm-gold);
  background-color: var(--vm-cream);
}
.produit-extra-card-recompenses h5 {
  color: var(--vm-bordeaux);
}
.produit-extra-card-recompenses h5 i {
  color: var(--vm-gold);
  margin-right: 0.35em;
}

/* ============================================
   ÉTOILES / NOTES
   ============================================ */
.stars {
  color: var(--vm-gold);
  letter-spacing: 1px;
  font-size: 0.95em;
  white-space: nowrap;
}

.product-card .stars-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15em;
  font-size: 0.72em;
}

.stars .star-empty {
  color: #d9cfc2;
}

.stars-count {
  color: var(--vm-ink-soft);
  font-size: 0.85em;
  margin-left: 0.3em;
  white-space: nowrap;
}

.product-card .stars-row {
  margin: 0.15em 0;
}

.stars-picker {
  font-size: 1.8em;
  cursor: pointer;
  color: #d9cfc2;
  user-select: none;
}

.stars-picker .star-pick {
  transition: color 0.15s ease, transform 0.1s ease;
}

.stars-picker .star-pick:hover {
  transform: scale(1.1);
}

.stars-picker .star-pick.active {
  color: var(--vm-gold);
}

/* ============================================
   AVIS CLIENTS
   ============================================ */
.avis-card {
  border-bottom: 1px solid var(--vm-cream-dark);
  padding: 0.9rem 0;
  text-align: left;
}

.avis-card:last-child {
  border-bottom: none;
}

.avis-card .avis-auteur {
  font-weight: 700;
  color: var(--vm-ink);
  margin-right: 0.5em;
}

.avis-card .avis-date {
  color: var(--vm-ink-soft);
  font-size: 0.8em;
}

.avis-card .avis-commentaire {
  margin-top: 0.3em;
  margin-bottom: 0;
  color: var(--vm-ink);
}

.avis-empty {
  color: var(--vm-ink-soft);
  font-style: italic;
  padding: 0.5rem 0;
}

.avis-form label {
  font-weight: 600;
  color: var(--vm-ink);
  display: block;
  margin-bottom: 0.3em;
}

.avis-form .form-control {
  margin-bottom: 0.8rem;
}

/* ============================================
   BANDEAU DE RÉASSURANCE
   ============================================ */
.reassurance-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  background-color: #fff;
  border-top: 1px solid var(--vm-cream-dark);
  border-bottom: 1px solid var(--vm-cream-dark);
  padding: 1.1rem 1rem;
  text-align: center;
}

.reassurance-strip .reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  color: var(--vm-ink);
  font-weight: 600;
  font-size: 0.95em;
}

.reassurance-strip .reassurance-item i {
  color: var(--vm-bordeaux);
  font-size: 1.3em;
}

.reassurance-strip.compact {
  padding: 0.7rem 1rem;
  gap: 0.8rem 1.8rem;
}

.reassurance-strip.compact .reassurance-item {
  font-size: 0.85em;
}

@media (max-width: 576px) {
  .reassurance-strip {
    gap: 0.8rem 1.5rem;
  }
  .reassurance-strip .reassurance-item {
    font-size: 0.85em;
  }
}

/* ============================================
   ANNONCES (diapositives du carrousel du haut) : contrairement aux 3
   diapositives fixes (photo pleine largeur + texte centré en surimpression),
   une annonce publicitaire s'affiche en deux colonnes sur fond bordeaux —
   image à gauche, texte à droite — pour se distinguer visuellement comme un
   vrai encart promo plutôt qu'une simple photo d'ambiance.
   ============================================ */
.banner-annonce {
  height: 30vh;
  background-color: var(--vm-bordeaux);
  overflow: hidden;
}

.banner-annonce-image {
  flex: 0 0 42%;
  max-width: 42%;
  height: 100%;
}

.banner-annonce-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-annonce-content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem 3rem;
  text-align: left;
  /* Voile cream translucide (laisse deviner la photo de vigne en dessous)
     superposé à l'image en arrière-plan : le dégradé plat au-dessus de
     l'image, plutôt qu'une simple couleur, est ce qui permet à la photo de
     transparaître au lieu d'être simplement masquée dessous. */
  background-image: linear-gradient(rgba(250, 246, 239, 0.87), rgba(250, 246, 239, 0.87)), url("../images/champs vins.jpg");
  background-size: cover;
  background-position: center;
  color: var(--vm-ink);
  border-left: 4px solid var(--vm-gold);
  border-radius: 0;
}

.banner-annonce-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--vm-ink);
}

.banner-annonce-content p {
  color: var(--vm-ink);
}

@media (max-width: 768px) {
  .banner-annonce {
    height: auto;
    flex-direction: column;
  }
  .banner-annonce-image {
    flex: none;
    max-width: 100%;
    height: 40vh;
  }
  .banner-annonce-content {
    text-align: center;
    padding: 1.2rem 1.5rem;
    border-left: none;
    border-top: 4px solid var(--vm-gold);
  }
  .banner-annonce-content h1 {
    font-size: 1.4rem;
  }
}

/* ============================================
   FORMULAIRE DE COMMANDE (modale panier)
   Tailles par palier d'écran, comme le reste du site — remplace l'ancien
   bloc <style> qui imposait 2.2em partout, y compris sur mobile.
   ============================================ */
#formulairePanier .modal-title {
  font-size: 1.1rem !important;
  font-weight: bold;
}

#formulairePanier form input,
#formulairePanier form select,
#formulairePanier form textarea {
  font-size: 0.85rem !important;
  font-weight: bold;
}

#formulairePanier #validerCommande {
  font-size: 0.95rem !important;
}

#formulairePanier .mobile-money-notice {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--vm-ink);
  margin: 0;
}

@media (min-width: 576px) {
  #formulairePanier .modal-title { font-size: 1.2rem !important; }
  #formulairePanier form input,
  #formulairePanier form select,
  #formulairePanier form textarea { font-size: 0.9rem !important; }
  #formulairePanier #validerCommande { font-size: 1rem !important; }
  #formulairePanier .mobile-money-notice { font-size: 0.8rem; }
}

@media (min-width: 768px) {
  #formulairePanier .modal-title { font-size: 1.3rem !important; }
  #formulairePanier form input,
  #formulairePanier form select,
  #formulairePanier form textarea { font-size: 0.95rem !important; }
  #formulairePanier #validerCommande { font-size: 1.05rem !important; }
  #formulairePanier .mobile-money-notice { font-size: 0.85rem; }
}

@media (min-width: 1200px) {
  #formulairePanier .modal-title { font-size: 1.4rem !important; }
  #formulairePanier form input,
  #formulairePanier form select,
  #formulairePanier form textarea { font-size: 1rem !important; }
  #formulairePanier #validerCommande { font-size: 1.1rem !important; }
  #formulairePanier .mobile-money-notice { font-size: 0.9rem; }
}

/* Carrousels (fiche produit "Autres suggestions", accueil "Nos coups de
   cœur") : défilement horizontal au clic sur les flèches, plutôt qu'une
   grille paginée. Classes génériques réutilisées par les deux sections. */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  flex: 1 1 auto;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
}

/* "Nos coups de cœur" et "Autres suggestions" défilent tout seuls en continu :
   le snap et le smooth scroll de .carousel-track (pensés pour les flèches
   précédent/suivant) figent ou saccadent un défilement automatique piloté
   image par image, donc on les désactive ici. Les flèches restent douces :
   leur JS déclare `behavior: "smooth"` sur chaque appel, ce qui l'emporte sur
   cette règle. */
#highlightsList,
#suggestionsList {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
#highlightsList .carousel-slide,
#suggestionsList .carousel-slide {
  scroll-snap-align: none;
}

/* Cartes de carrousel ("Nos coups de cœur", "Autres suggestions") : un peu
   moins de padding, les slides étant plus étroites que les colonnes du
   catalogue. La hauteur réduite (description masquée, image 4:3) vient
   maintenant des règles générales .product-card ci-dessus, appliquées
   partout sur demande. */
.carousel-slide .product-card .card-body {
  padding: 0.65rem;
}

@media (min-width: 576px) {
  .carousel-slide { width: 180px; }
}
@media (min-width: 768px) {
  .carousel-slide { width: 200px; }
}
@media (min-width: 1200px) {
  .carousel-slide { width: 220px; }
}

.carousel-arrow {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--vm-bordeaux);
  background: #fff;
  color: var(--vm-bordeaux);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.carousel-arrow:hover {
  background: var(--vm-bordeaux);
  color: #fff;
}

/* ============================================
   BLOG
   ============================================ */
.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card {
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  overflow: hidden;
  transition: 0.3s;
  box-shadow: var(--vm-shadow);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vm-shadow-hover);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vm-cream);
  color: var(--vm-gold);
  font-size: 2.5rem;
}

.blog-card-date {
  color: var(--vm-ink-soft);
  font-size: 0.8rem;
  margin-bottom: 0.3em;
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vm-ink);
  margin-bottom: 0.4em;
}

.blog-card-excerpt {
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.6em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-readmore {
  color: var(--vm-bordeaux);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-page {
  max-width: 820px;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vm-ink);
}

.article-meta {
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
}
.article-meta span {
  margin: 0 0.6em;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--vm-radius);
  margin-bottom: 2rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--vm-ink);
}

.article-contact-block h5 {
  color: var(--vm-bordeaux);
  letter-spacing: 0.05em;
}
.article-contact-block p {
  color: var(--vm-ink-soft);
  margin-bottom: 0.4em;
}
.article-contact-block i {
  color: var(--vm-gold);
}

/* ============================================
   À PROPOS (accueil)
   ============================================ */
.apropos-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--vm-shadow);
}

.apropos-text {
  color: var(--vm-ink-soft);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.apropos-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.apropos-value {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.apropos-value i {
  color: var(--vm-gold);
  font-size: 1.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.5em;
  text-align: center;
}

.apropos-value strong {
  display: block;
  color: var(--vm-ink);
  font-family: var(--font-heading);
}

.apropos-value span {
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .apropos-text { font-size: 1.05rem; }
  .apropos-values { flex-direction: row; flex-wrap: wrap; }
  .apropos-value { flex: 1 1 45%; }
}

@media (min-width: 576px) {
  .blog-card-title { font-size: 1.2rem; }
  .article-title { font-size: 2.1rem; }
}

@media (min-width: 768px) {
  .blog-card-title { font-size: 1.3rem; }
  .article-title { font-size: 2.4rem; }
  .article-content { font-size: 1.1rem; }
}

@media (min-width: 1200px) {
  .blog-card-title { font-size: 1.4rem; }
  .article-title { font-size: 2.7rem; }
}

/* ============================================
   PAGINATION DU CATALOGUE (accueil)
   ============================================ */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pagination-btn,
.pagination-arrow {
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.5rem;
  border: 1px solid var(--vm-cream-dark);
  background: #fff;
  color: var(--vm-ink);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.pagination-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

.pagination-btn:hover,
.pagination-arrow:hover:not(:disabled) {
  border-color: var(--vm-bordeaux);
  color: var(--vm-bordeaux);
}

.pagination-btn.active {
  background: var(--vm-bordeaux);
  border-color: var(--vm-bordeaux);
  color: #fff;
}

.pagination-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pagination-ellipsis {
  min-width: 1.5rem;
  text-align: center;
  color: var(--vm-ink-soft);
}

/* ============================================
   COMPTE CLIENT (inscription, connexion, mon compte)
   ============================================ */
.compte-page {
  max-width: 480px;
}
.compte-page-large {
  max-width: 1100px;
}

.compte-card {
  background: #fff;
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow);
  padding: 1.75rem;
}

.compte-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vm-ink);
  margin-bottom: 1rem;
}

.coupon-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--vm-gold), var(--vm-gold-light));
  color: var(--vm-ink);
  border-radius: var(--vm-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.coupon-banner i {
  font-size: 1.8rem;
}
.coupon-banner strong {
  display: block;
  font-family: var(--font-heading);
}
.coupon-banner span {
  font-size: 0.9rem;
}
.coupon-banner-muted {
  background: var(--vm-cream);
  color: var(--vm-ink-soft);
}

.compte-commandes-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--vm-ink-soft);
}

@media (min-width: 768px) {
  .compte-card { padding: 2rem; }
}

/* ===== Modale de confirmation partagee (#reponse) ===== */
.reponse-modal {
  position: relative;
  border: none;
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow-hover);
  padding: 2.25rem 1.5rem 1.75rem;
}
.reponse-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
}
.reponse-icon {
  font-size: 2.6rem;
  margin-bottom: .6rem;
  color: #3f7a52;
}
.reponse-modal.is-error .reponse-icon { color: #a8452e; }
.reponse-modal .message {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--vm-ink);
  margin: 0;
}

/* ===== Barre latérale de filtres (fiche produit + accueil) ===== */
.filtre-sidebar {
  background: #fff;
  border: 1px solid var(--vm-cream-dark);
  border-radius: var(--vm-radius);
  box-shadow: var(--vm-shadow);
  padding: 1.25rem;
  /* Reste accessible pendant le défilement, comme la barre de navigation :
     "colle" sous elle une fois qu'elle passe en position fixe au scroll
     (voir .fixed-scroll dans entetes.blade.php), puis s'arrête au bas de
     sa colonne pour ne jamais recouvrir le pied de page. */
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
/* Bouton "titre repliable" générique, réutilisé par Couleur et Régions dans
   la sidebar : mêmes classes, même comportement, seuls l'id et le libellé
   changent d'une section à l'autre. */
.filtre-toggle {
  display: flex;
  align-items: center;
  gap: .5em;
  width: 100%;
  background: none;
  border: none;
  margin-top: 1.1rem;
  padding: 0 0 .9rem;
  font-family: var(--font-heading);
  color: var(--vm-bordeaux);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}
.filtre-sidebar > .filtre-toggle:first-child {
  margin-top: 0;
}
.filtre-toggle-chevron {
  margin-left: auto;
  font-size: .8rem;
  transition: transform .2s ease;
}
.filtre-toggle[aria-expanded="true"] .filtre-toggle-chevron {
  transform: rotate(180deg);
}
.filtre-toggle-liste {
  display: none;
  margin-bottom: 1rem;
}
.filtre-toggle-liste.ouverte {
  display: block;
}
.couleur-filter.list-group-item:hover {
  background: var(--vm-bordeaux);
  border-color: var(--vm-bordeaux);
  color: #fff;
}
.couleur-filter.list-group-item:hover .couleur-dot {
  border-color: rgba(255,255,255,.6);
}
.filtre-sidebar-heading {
  font-family: var(--font-heading);
  color: var(--vm-bordeaux);
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--vm-gold);
  display: inline-block;
  padding-bottom: .25em;
  margin: 0 0 .9rem;
}
.filtre-sidebar-titre {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vm-ink-soft);
  font-weight: 700;
  margin: 1.1rem 0 .4rem;
}
/* Même police/couleur que le lien "Couleur" (.filtre-toggle), sans reprendre
   sa mise en page (garde la taille, l'espacement et la casse d'un titre de
   liste classique). */
.filtre-sidebar-titre-accent {
  display: flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-heading);
  color: var(--vm-bordeaux);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: normal;
}
.filtre-sidebar-titre-accent::first-letter {
  text-transform: uppercase;
}
.filtre-sidebar .list-group:first-of-type .filtre-sidebar-titre,
.filtre-sidebar > .filtre-sidebar-titre:first-child {
  margin-top: 0;
}
.origine-pill.list-group-item:hover {
  background: var(--vm-bordeaux);
  border-color: var(--vm-bordeaux);
  color: #fff;
}
.filtre-sidebar-image {
  display: block;
  width: 100%;
  border-radius: calc(var(--vm-radius) - 2px);
  margin-top: 1.25rem;
}

/* Média promo sous "Parcourir", à la place de la photo boutique codée en
   dur : vidéo active seule (même gabarit que .filtre-sidebar-image), ou
   carrousel des affiches actives en repli. */
video.filtre-sidebar-image {
  background: var(--vm-ink);
  max-height: 220px;
}

.filtre-sidebar-video-wrap {
  position: relative;
}
.filtre-sidebar-video-sound {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: rgba(36, 16, 20, 0.6);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s;
}
.filtre-sidebar-video-sound:hover {
  background: rgba(36, 16, 20, 0.85);
}
.filtre-sidebar-video-sound.actif {
  background: var(--vm-gold);
  color: var(--vm-ink);
}

.filtre-sidebar-carousel {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: calc(var(--vm-radius) - 2px);
  overflow: hidden;
  margin-top: 1.25rem;
}
.filtre-sidebar-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.filtre-sidebar-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.filtre-sidebar-carousel-slide.active {
  opacity: 1;
}
.filtre-sidebar-carousel-slide a,
.filtre-sidebar-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.filtre-sidebar-carousel-slide img {
  object-fit: cover;
}
.filtre-sidebar-carousel-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 1;
}
.filtre-sidebar-carousel-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.filtre-sidebar-carousel-dot.active {
  background: #fff;
}

