
/* Custom CSS theme */
@charset "UTF-8";
/* 1. Fiche produit : notes du texte court sur plusieurs lignes */
.product-details__subtitle .product-details-module__content {
  white-space: pre-line;
  line-height: 1.75;
}

/* 2. Fiche produit : famille en petites capitales (1re ligne) */
.product-details__subtitle .product-details-module__content::first-line {
  font-size: .8em;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7a5c5c;
}

/* 3. Fiche produit : « Détails du produit » ouvert d'office */
.ec-store .collapsible-section__content:has(.product-details__general-info) {
  display: block !important;
}

.ec-store .collapsible-section:has(.product-details__general-info) .collapsible-section__icon {
  display: none !important;
}

/* 4. Cartes des catégories : seulement la famille sous le nom, comme Dior */
.ec-store .grid-product__subtitle-inner {
  white-space: pre-line;
  display: block;
  line-height: 1.6em;
  max-height: 1.6em;
  overflow: hidden;
  font-size: .72em;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7a5c5c;
  margin-top: 2px;
}

/* 5. Catégories parentes : pastilles à la place des vignettes de sous-catégories
   (Parfums Dubaï, Parfums France, Coffrets, Brumes, Intérieur, Désodorisant & Spray, Soins, Auto, Déodorants, Reef) */
:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__categories {
  display: none !important;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none !important;
  padding: 0 !important;
  margin: 14px 0 6px !important;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description ul li::before {
  content: none !important;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description ul li a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid #5A1E3A;
  border-radius: 999px;
  text-decoration: none !important;
  color: #5A1E3A !important;
  font-size: .82em;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description ul li a:hover {
  background: #5A1E3A;
  color: #fff !important;
}

:is(.ec-store__category-page--192204761,.ec-store__category-page--192202012,.ec-store__category-page--192206776,.ec-store__category-page--192202013,.ec-store__category-page--192197799,.ec-store__category-page--192201769,.ec-store__category-page--192201767,.ec-store__category-page--192206782,.ec-store__category-page--192197802,.ec-store__category-page--207581272) .grid__description h2:first-of-type {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* 6. Étoiles Société des Avis Garantis sur les cartes : alignées et centrées */
.ec-store .grid-product .grc-widget-category-stars > div {
  justify-content: center !important;
}

.ec-store .grid-product .grc-widget-category-stars-stars {
  position: relative !important;
  font-family: Arial, sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.ec-store .grid-product .grc-widget-category-stars-stars::before, .ec-store .grid-product .grc-widget-category-stars-stars::after {
  font-family: Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.ec-store .grid-product .grc-widget-category-stars-content p {
  letter-spacing: 0;
  margin: 0 0 0 4px !important;
}

/* 7. Pastilles : texte blanc au survol (passe devant la couleur imposée par Ecwid) */
html#ecwid_html body#ecwid_body .ec-store .grid__description ul li a:hover {
  background: #5A1E3A !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

/* 8. Cartes produits : nom sur 2 lignes max, hauteur fixe pour aligner famille et bouton */
html#ecwid_html body#ecwid_body .ec-store .grid-product__title-inner {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  min-height: 2.5em !important;
  line-height: 1.25em !important;
  font-size: 17px !important;
}

html#ecwid_html body#ecwid_body .ec-store .grid-product__subtitle-inner {
  min-height: 1.6em !important;
}

/* 10. Mobile : familles et bouton des cartes sur une ligne */
@media (max-width: 600px) {
  html#ecwid_html body#ecwid_body .ec-store .grid-product__subtitle-inner {
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
  }
  html#ecwid_html body#ecwid_body .ec-store .grid-product__button .form-control__button {
    padding-left: 10px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
  }
  html#ecwid_html body#ecwid_body .ec-store .grid-product__button .form-control__button-text {
    font-size: 10.5px !important;
    letter-spacing: 0.06em !important;
  }
}
