/* ===== FOND GÉNÉRAL DE LA PAGE ===== */

body {
  background-color: #ffe6f0 !important;
  color: #000;
}

#header {
  background-color: #ffe6f0 !important;
  color: #000 !important;
}

.header-banner,
.header-nav,
#_desktop_contact_link,
#_desktop_user_info {
  background-color: #ffe6f0 !important;
  color: #000 !important;
}

/* === FORÇAGE FOND BLANC SUR header-top SEULEMENT === */
#header .header-top,
#header .header-top *,
#header .header-top .container,
#header .header-top .row,
#header .header-top .col-md-2,
#header .header-top .col-md-10 {
  background-color: #ffffff !important;
  color: #000 !important;
}

#header a,
#contact-link a,
.user-info a,
.blockcart {
  color: #000 !important;
}


/* ===== IMAGES DANS LES COLONNES ===== */

.col-md-4 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ===== BLOC CATÉGORIE – BANNER ===== */

.category-banner {
  position: relative;
  overflow: hidden;
  height: 370px;
  display: flex;
  align-items: stretch;
  margin-bottom: 2rem;
}

.category-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: none;
  z-index: 1;
}

.block-category-inner {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← centre verticalement */
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}


/* ===== TITRE & DESCRIPTION ===== */

.categorienom {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000; /* ← texte en NOIR */
}

#category-description {
  font-size: 1.1rem;
  color: #000; /* ← texte en NOIR */
  max-width: 700px;
  line-height: 1.6;
}


/* ===== BLOC DE CARTE CLASSIQUE ===== */

.card-block {
  padding: 1.25rem;
}

/* ===== CORRECTION BLOC CATEGORY TEXTE CENTRÉ + LISIBILITÉ ===== */

.block-category-inner {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 20px; /* ← réduit l'espace horizontal */
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← centre verticalement */
  align-items: center;     /* ← centre horizontalement */
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Titre bien visible sur image sombre */
.categorienom {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0; /* ← réduit l'espace sous le titre */
  color: #ffffff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

/* Description centrée et lisible aussi */
#category-description {
  font-size: 1.1rem;
  color: #ffffff;
  max-width: 700px;
  line-height: 1.6;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.block-category-inner {
  position: relative;
  z-index: 2;
  color: white;
  padding: 30px 20px 0 20px; /* ← pousse tout un peu vers le bas */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  gap: 1rem; /* ← espace entre le titre et la description */
}

.categorienom {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}
