/* ========================================
   THÈME VIOLET FONCÉ HARMONIEUX
   Background blanc + Éléments violet foncé + Textes blancs
   ======================================== */

:root {
  --violet-fonce: #5b21b6;
  --violet-accent: #8b5cf6;
  --violet-clair: #a78bfa;
  --blanc: #ffffff;
}

/* ========================================
   HEADER - Violet foncé
   ======================================== */

.header-top,
.header__bottom {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
}

/* MENU MOBILE NOIR → VIOLET FONCÉ */
.header-menu {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
}

.header-menu li a,
.header-menu .menu li a {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header-menu li a:hover,
.header-menu .menu li a:hover {
  color: #a78bfa !important;
}

/* Boutons du menu mobile */
.header-menu .cmn--btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  color: #ffffff !important;
  border: 2px solid #a78bfa !important;
}

.header-menu-top__title,
.header__bottom-right a {
  color: #ffffff !important;
}

.header-menu li a:hover,
.header__bottom-right a:hover {
  color: #a78bfa !important;
}

/* ========================================
   BARRE D'ANNONCES - Violet foncé
   ======================================== */

.announcement-bar {
  background: linear-gradient(90deg, #5b21b6 0%, #8b5cf6 100%) !important;
}

.announcement-bar__content span {
  color: #ffffff !important;
  font-weight: 700;
}

/* ========================================
   SIDEBAR CATÉGORIES - Violet foncé avec texte BLANC ÉCLATANT
   ======================================== */

.banner__wrapper-category {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
  border: 2px solid #8b5cf6;
  border-radius: 10px;
  position: relative;
  z-index: 100;
}

.banner__wrapper-category-inner-header {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Menu catégories avec z-index élevé pour éviter chevauchement */
.category-link-area {
  position: relative;
  z-index: 150 !important;
}

ul.category-link {
  position: relative;
  z-index: 150 !important;
}

/* TOUS les liens du menu catégories - BLANC ÉCLATANT */
ul.category-link,
ul.category-sublink {
  background: transparent !important;
}

/* FORCE le fond transparent sur TOUS les <li> - APPROCHE RADICALE */
ul.category-link li,
ul.category-sublink li,
ul.category-link > li,
li.cate-icon,
.category-link li.cate-icon,
.category-link-area ul.category-link li,
.category-link-area .category-link li.cate-icon {
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Sélecteur UNIVERSEL pour TOUS les liens - TEXTE BLANC FORCÉ */
ul.category-link li a,
ul.category-link > li > a,
ul.category-sublink li a,
ul.category-sublink > li > a,
.category-link-area ul.category-link li a,
li.cate-icon > a,
.category-link li.cate-icon a,
.category-link li.cate-icon > a,
.category-link-area .category-link li.cate-icon > a {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8) !important;
  opacity: 1 !important;
  font-family: "Josefin Sans", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  padding: 8px 20px !important;
  display: block !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* FORCE ABSOLUE sur les liens directs des catégories principales - FOND VIOLET */
.category-link > li.cate-icon > a,
.category-link-area .category-link > li.cate-icon > a,
.category-link-area .category-link li.cate-icon > a,
div.category-link-area ul.category-link li.cate-icon > a {
  color: #ffffff !important;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 1) !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
  background-color: #5b21b6 !important;
}

/* Icônes flèches (>) - BLANC pour visibilité */
.category-link > li.cate-icon > a i,
.category-link li.cate-icon > a i,
.category-link li.cate-icon > a::after,
.category-link-area .category-link li.cate-icon > a::after {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* SOUS-MENU À DROITE (position absolute) - FOND VIOLET FONCÉ */
@media (min-width: 992px) {
  .category-link li .category-sublink {
    background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
    border: 2px solid #8b5cf6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  }
  
  /* Liens du sous-menu à droite - BLANC ÉCLATANT */
  .category-link li .category-sublink li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 10px 15px !important;
  }
  
  .category-link li .category-sublink li a:hover {
    background: rgba(139, 92, 246, 0.4) !important;
    font-weight: 800 !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 1) !important;
  }
}

/* Hover avec effet plus visible */
ul.category-link li a:hover,
ul.category-sublink li a:hover,
li.cate-icon > a:hover {
  color: #ffffff !important;
  background: rgba(139, 92, 246, 0.5) !important;
  font-weight: 800 !important;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 1) !important;
  transform: translateX(5px);
  transition: all 0.3s ease;
}

/* Texte "Sous-catégorie introuvable" */
ul.category-sublink li.p-2 {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  background: rgba(91, 33, 182, 0.3) !important;
}

/* Contact list dans footer/header - BLANC ÉCLATANT */
.contact-list li,
.contact-list li a,
.contact-list .name {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-list li a:hover {
  color: #a78bfa !important;
}

/* ========================================
   SIDEBAR FILTRES - Violet foncé
   ======================================== */

.filter--sidebar {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
  border: 2px solid #8b5cf6;
  border-radius: 10px;
}

.filter__widget {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%) !important;
  border: 2px solid #8b5cf6;
}

.filter__widget-title,
.filter__widget-body label,
.filter__widget-body span,
.price-range label {
  color: #ffffff !important;
}

/* Slider de prix - Nettoyage du double contour */
.ui-slider {
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
  height: 8px !important;
}

.ui-slider-range {
  background: linear-gradient(90deg, #a78bfa 0%, #c4b5fd 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  outline: none !important;
}

.ui-slider-handle {
  background: #ffffff !important;
  border: 3px solid #8b5cf6 !important;
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  top: -6px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

.ui-slider-handle:hover,
.ui-slider-handle:focus {
  background: #a78bfa !important;
  border-color: #ffffff !important;
}

/* ========================================
   SIDEBAR "PRODUITS VEDETTES" - Textes BLANC ÉCLATANT
   ======================================== */

.product__item--sidebar,
.banner__wrapper-products {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
  border: 2px solid #8b5cf6;
  border-radius: 10px;
}

.banner__wrapper-products-inner-header {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Conteneur des produits vedettes - Violet foncé avec texte BLANC ÉCLATANT */
.banner__wrapper-products-inner-body {
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%) !important;
  padding: 15px;
  border-radius: 8px;
}

/* deal__item - FOND BLANC avec bordure + LARGEUR SUFFISANTE pour prix */
.banner__wrapper-products-inner-body .deal__item {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  min-width: 220px !important;
  width: 100% !important;
}

/* Conteneur des prix - FLEX pour éviter troncature */
.banner__wrapper-products-inner-body .deal__item-cont {
  flex: 1 !important;
  min-width: 0 !important;
  padding-left: 10px !important;
}

/* Prix - BLANC ÉCLATANT avec ombre forte + WRAP pour éviter troncature */
.banner__wrapper-products-inner-body .deal__item-cont,
.banner__wrapper-products-inner-body .deal__item-cont .price,
.banner__wrapper-products-inner-body .deal__item-cont h6.price,
.banner__wrapper-products-inner-body .deal__item-cont del,
.banner__wrapper-products-inner-body h6,
.banner__wrapper-products-inner-body .price,
.banner__wrapper-products-inner-body .old-price,
.banner__wrapper-products-inner-body del {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7) !important;
  opacity: 1 !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* ========================================
   SECTIONS "OFFRES CHAUDES" - Violet foncé
   ======================================== */

.hot-deal-section,
.featured-product-section,
.best-selling-section {
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%) !important;
  border-radius: 15px;
  padding: 40px 20px;
  border: 2px solid #e9d5ff;
}

/* Header de section - Fond violet avec bordure arrondie */
.section__header {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
  padding: 20px 30px !important;
  border-radius: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-shadow: 0 4px 15px rgba(91, 33, 182, 0.3) !important;
  margin-bottom: 30px !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
}

/* Titre "Offres chaudes" - Blanc éclatant SANS troncature */
.section__header .title,
.section__header h5.title {
  color: #ffffff !important;
  background: transparent !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  padding: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  flex: 0 1 auto !important;
  min-width: fit-content !important;
  clip-path: none !important;
  max-width: none !important;
  width: auto !important;
}

/* Bouton "Afficher tout" - Style élégant */
.view-all .view--all,
.section__header .view--all {
  background: linear-gradient(135deg, #a78bfa 0%, #c4b5fd 100%) !important;
  color: #ffffff !important;
  padding: 10px 25px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4) !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.view-all .view--all:hover,
.section__header .view--all:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%) !important;
  color: #5b21b6 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.6) !important;
  border-color: #a78bfa !important;
}

/* Titres avec fond violet - texte blanc */
h5.title[style*="background"],
.banner__wrapper-category-inner-header,
.banner__wrapper-products-inner-header {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
}

/* ========================================
   FOOTER - Accents violets sans altérer le fond
   ======================================== */

/* Conserver le fond d'origine du footer */
.footer {
  background: inherit !important; /* Garde l'image de fond */
}

/* Titres footer - Violet éclatant avec bordure violette */
.footer__widget .title,
.footer__bottom__widget .title {
  color: #a78bfa !important; /* Violet clair pour contraste sur fond noir */
  font-weight: 700 !important;
  border-bottom: 3px solid #8b5cf6 !important;
  padding-bottom: 10px !important;
  margin-bottom: 20px !important;
  text-shadow: 0 2px 4px rgba(139, 92, 246, 0.3) !important;
}

/* Liens footer - Blanc avec hover violet */
.footer__widget ul li a,
.footer__widget p,
.copyright,
.copyright a {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease !important;
}

.footer__widget ul li a:hover {
  color: #a78bfa !important;
  padding-left: 5px !important;
  text-shadow: 0 1px 3px rgba(139, 92, 246, 0.5) !important;
}

/* Icônes sociales - Fond violet au hover */
.social-icons a {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  border-color: #a78bfa !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.5) !important;
}

/* Bouton newsletter - Violet */
.newletter-form .subscribe-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  border: 2px solid #a78bfa !important;
  color: #ffffff !important;
}

.newletter-form .subscribe-btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%) !important;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.6) !important;
}

/* Input newsletter - Bordure violette au focus */
.newletter-form .subscribe-email {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.newletter-form .subscribe-email:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3) !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

.newletter-form .subscribe-email::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Copyright - Liens violet au hover */
.copyright a:hover {
  color: #a78bfa !important;
  text-shadow: 0 1px 3px rgba(139, 92, 246, 0.5) !important;
}

/* ========================================
   BOUTONS - Violet
   ======================================== */

.btn--base,
.cmn--btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
  border: 2px solid #a78bfa !important;
  color: #ffffff !important;
}

.btn--base:hover,
.cmn--btn:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%) !important;
}

/* ========================================
   PAGE PANIER - Prix et textes FONCÉS
   ======================================== */

/* Prix - NOIR au lieu de gris clair */
.price,
span.price,
.subtotal,
span.subtotal {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Titres avec text-muted - GRIS FONCÉ au lieu de gris clair */
h6.text-muted,
.text-muted {
  color: #2d3748 !important;
  font-weight: 600 !important;
}

/* Input coupon - Bordure et texte FONCÉS */
input.coupon,
.form-control.coupon {
  border: 2px solid #4a5568 !important;
  color: #1a1a1a !important;
  background: #ffffff !important;
}

input.coupon::placeholder,
.form-control.coupon::placeholder {
  color: #4a5568 !important;
}

/* ========================================
   PAGE PRODUIT - Textes GRIS FONCÉ / NOIR
   ======================================== */

/* Titre produit */
.product-details-content h5.title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Nom des champs (Prix, Catégories, Résumé, Partager) */
.product-details-content .lists li .name {
  color: #2d3748 !important;
  font-weight: 600 !important;
}

/* Contenu des champs */
.product-details-content .lists li p,
.product-details-content .lists li .summary {
  color: #374151 !important;
}

/* Description produit */
.description__body,
.description__body p,
.description__body h3,
.description__body ul li {
  color: #1a1a1a !important;
}

.description__body h3 {
  font-weight: 700 !important;
}

/* ========================================
   SIDEBAR DASHBOARD UTILISATEUR - Bordure violette et textes gris foncé
   ======================================== */

/* Conteneur principal - Bordure violette légère */
.side__menu__area-inner {
  border: 2px solid #a78bfa !important;
  border-radius: 10px !important;
  padding: 20px !important;
}

/* Section auteur */
.dashboard__author .content h6.title a,
.dashboard__author .content a {
  color: #2d3748 !important;
  font-weight: 500 !important;
}

/* Menu items - Textes gris foncé */
.side__menu li a {
  color: #374151 !important;
  font-weight: 500 !important;
}

.side__menu li a .cont {
  color: #374151 !important;
  font-weight: 500 !important;
}

/* Menu actif - Garde le fond noir mais texte blanc */
.side__menu li a.active {
  color: #ffffff !important;
}

.side__menu li a.active .cont {
  color: #ffffff !important;
}

/* Icônes - Gris foncé */
.side__menu li a i {
  color: #4b5563 !important;
}

/* Icônes actives - Blanc */
.side__menu li a.active i {
  color: #ffffff !important;
}

/* ========================================
   PAGE DASHBOARD - Tous les contenus textes en gris foncé
   ======================================== */

/* Titres généraux */
.dashboard-area h2,
.dashboard-area h3,
.dashboard-area h4,
.dashboard-area h5,
.dashboard-area h6 {
  color: #2d3748 !important;
  font-weight: 600 !important;
}

/* Paragraphes et textes */
.dashboard-area p,
.dashboard-area span,
.dashboard-area div {
  color: #374151 !important;
  font-weight: 500 !important;
}

/* Liens */
.dashboard-area a:not(.btn):not(.cmn--btn) {
  color: #374151 !important;
  font-weight: 500 !important;
}

/* Cartes et widgets */
.dashboard__item h4,
.dashboard__item span,
.dashboard__item p {
  color: #2d3748 !important;
  font-weight: 500 !important;
}

/* ========================================
   TABLEAUX - Header violet foncé avec textes gris foncé
   ======================================== */

/* Header de tableau - Fond violet foncé */
thead,
table thead {
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
}

/* Cellules du header - Textes blancs avec un peu de gras */
thead tr th,
table thead tr th {
  color: #ffffff !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #8b5cf6 !important;
}

/* Corps du tableau - Textes gris foncé */
tbody tr td,
table tbody tr td {
  color: #374151 !important;
  font-weight: 500 !important;
}

/* ========================================
   CARTES PRODUITS - Bordure violette
   ======================================== */

.product__item {
  border: 2px solid #8b5cf6 !important;
  border-radius: 10px;
}

.product__item:hover {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4) !important;
}

/* ========================================
   SCROLLBAR - Violet
   ======================================== */

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}
