/* .page-wrap, main {

  margin-top: 7.5rem;
} */



/* ==========================================================================
   1. Header principal & barre d’action
   ========================================================================== */
   /* .drillnav-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #fff;
    z-index: 1000;
  } */
  .drillnav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 1rem;
    background: #fff;
  }
  .drillnav-logo img {
    max-height: 70px;
    display: block;
  }
  .drillnav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .drillnav-account {
    font-size: 1.6rem;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
  }
  .drillnav-account:hover {
    color: #8c7c6b;
  }
  .drillnav-toggle {
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .drillnav-toggle span {
    display: block;
    height: 3px;
    width: 25px;
    background: #333;
    border-radius: 2px;
  }
  
  /* ==========================================================================
     2. Overlay full-screen & panels
     ========================================================================== */
  .drillnav-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .drillnav-overlay.active {
    transform: translateX(0);
    z-index: 1000;
  }
  .drillnav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
  }
  .drillnav-overlay:not(.active) .drillnav-close {
    display: none;
  }
  .drillnav-panels {
    position: relative;
    flex: 1;
  }
  .drillnav-panel {
    position: absolute;
    inset: 0;
    padding: 4rem 1rem 1rem;
    box-sizing: border-box;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .drillnav-panel.active {
    transform: translateX(0);
  }
  .drillnav-panel--root {
    z-index: 1;
  }
  .drillnav-panel:not(.drillnav-panel--root) {
    z-index: 2;
  }
  .drillnav-back {
    display: inline-block;
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    cursor: pointer;
  }
  .drillnav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .drillnav-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }
  .drillnav-list a {
    color: #333;
    text-decoration: none;
    font-size: 1.25rem;
    flex: 1;
  }
  .drillnav-list li.has-children .arrow {
    font-size: 1.25rem;
    color: #888;
  }
  .body-no-scroll {
    overflow: hidden;
  }
  
  /* Desktop only: overlay sur 1/3 de l’écran à droite */
  @media (min-width: 1024px) {
    .drillnav-overlay {
      width: 33vw;
      left: auto;
      right: 0;
    }
  }
  
  /* ==========================================================================
     3. Category-bar (mobile & tablette)
     ========================================================================== */
     .category-bar {
      position: static; /* ou fixed si tu veux la fixer */
      top: auto;          /* supprime tout top résiduel */
      width: 100%;
      padding: 0.1rem 1rem;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      background: #2d2a23;   /* opacité à 1 pour la lisibilité */
      box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    
      /* indicateur de scroll */
      --scroll-progress: 0%;
    }
    .category-bar::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      height: 3px;
      width: var(--scroll-progress);
      background-color: #8c7c6b;
      border-radius: 2px;
      transition: width 0.15s ease;
      pointer-events: none;
    }
    /* Cacher la scrollbar native */
    .category-bar {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .category-bar::-webkit-scrollbar {
      display: none;
    }

  .category-bar ul {
    display: flex;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .category-bar li {
    flex: 0 0 auto;
  }
  .category-bar a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #eee3ca;
    color: #3b352d !important;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
  }
  .category-bar a.current,
  .category-bar a.current:hover {
    background: #3b352d;
    color: #fff;
  }
  /* =========== Category-Bar : lien actif =========== */
.category-bar a.current,
.category-bar a:active,
.category-bar a:focus,
.category-bar a:hover {
  background: transparent !important;      /* plus de fond */
  color: #3b352d !important;              /* texte en couleur principale */
  border-radius: 0 !important;            /* plus d’arrondi */
  border-bottom: 2px solid #3b352d;       /* ligne droite uniquement en bas */
  padding-bottom: calc(0.4rem - 2px);      /* compense la bordure pour garder la hauteur */
}

/* Optionnel : retirer le focus outline si tu utilises custom styles */
.category-bar a:focus {
  outline: none;
}

.category-bar a {
  background: none;  /* conserve ton hover si tu veux */
  color: #fff;
}

/* Effet de neige légère sur le Hero */
.hero-noel {
  position: relative;
  overflow: hidden;
}

.hero-noel::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: 
      radial-gradient(4px 4px at 100px 50px, #fff, transparent), 
      radial-gradient(6px 6px at 200px 150px, #fff, transparent), 
      radial-gradient(3px 3px at 300px 250px, #fff, transparent), 
      radial-gradient(4px 4px at 400px 350px, #fff, transparent),
      radial-gradient(6px 6px at 500px 100px, #fff, transparent), 
      radial-gradient(3px 3px at 600px 400px, #fff, transparent), 
      radial-gradient(4px 4px at 800px 500px, #fff, transparent);
  background-size: 650px 650px;
  animation: snow 10s linear infinite;
  opacity: 0.8;
}

@keyframes snow {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 50px 650px, 100px 650px, -50px 650px, 150px 650px, 0 650px, 200px 650px, -100px 650px; }
}


/* Effet "Prestige" sur les cartes catégories */
.grid-item__content-wrapper {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.grid-item__content-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); /* Ombre dorée légère */
  border-color: #d4af37; /* Bordure Or */
}

/* Le bouton CTA qu'on a ajouté tout à l'heure */
.ps-offer__overlay-link:hover .ps-offer__cta {
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Lueur blanche */
}


/* --- EFFET "SHINE" SUR LES IMAGES PRODUITS --- */

/* On cible le conteneur de l'image (à adapter si ta classe est différente) */
.grid-item__content-wrapper .ps-offer__overlay-link {
  position: relative;
  overflow: hidden;
  display: block;
}

/* Le faisceau de lumière */
.grid-item__content-wrapper .ps-offer__overlay-link::before {
  position: absolute;
  top: 0;
  left: -75%; /* Départ hors cadre à gauche */
  z-index: 2;
  display: block;
  content: '';
  width: 50%;
  height: 100%;
  /* Un dégradé blanc transparent en biais */
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg); /* On penche la lumière */
}

/* L'animation au survol */
.grid-item__content-wrapper:hover .ps-offer__overlay-link::before {
  /* L'animation : le reflet traverse l'image en 0.75 secondes */
  animation: shine .75s;
}

/* Définition du mouvement */
@keyframes shine {
  100% {
      left: 125%; /* Arrivée hors cadre à droite */
  }
}


/* --- CUSTOMISATION DU SCROLLBAR (Barre de défilement) --- */
/* (Fonctionne sur Chrome, Edge, Safari) */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
  background: #8c7c6b; /* Ton Doré */
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b08d55; /* Doré plus foncé au survol */
}

/* --- CUSTOMISATION DE LA SÉLECTION DE TEXTE --- */
/* Quand on surligne du texte avec la souris */
::selection {
  background: #8c7c6b; /* Fond Doré */
  color: #fff; /* Texte Blanc */
}
::-moz-selection {
  background: #8c7c6b;
  color: #fff;
}


/* --- EFFET POUSSIÈRE D'OR (GOLD DUST) --- */
/* À appliquer sur ton bloc Hero ou Header */
.hero-noel {
  position: relative;
  overflow: hidden;
}

.hero-noel::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none; /* Important pour pouvoir cliquer en dessous */
  z-index: 1;
  background-image: 
      radial-gradient(2px 2px at 10% 10%, #cda45e, transparent),
      radial-gradient(2px 2px at 20% 30%, #fff, transparent),
      radial-gradient(3px 3px at 30% 10%, #cda45e, transparent),
      radial-gradient(2px 2px at 40% 40%, #fff, transparent),
      radial-gradient(2px 2px at 50% 10%, #cda45e, transparent),
      radial-gradient(3px 3px at 60% 30%, #cda45e, transparent),
      radial-gradient(2px 2px at 70% 10%, #fff, transparent),
      radial-gradient(2px 2px at 80% 50%, #cda45e, transparent),
      radial-gradient(2px 2px at 90% 10%, #fff, transparent);
  background-size: 600px 600px;
  opacity: 0.6;
  animation: goldRain 20s linear infinite;
}

@keyframes goldRain {
  0% { transform: translateY(0); }
  100% { transform: translateY(600px); }
}


/* --- BOUTON MAGIQUE --- */
.hero-cta, .ps-offer__cta {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #cda45e;
}

/* Au survol, le bouton se remplit d'or avec une animation fluide */
.hero-cta:hover, .ps-offer__cta:hover {
  background-color: #8c7c6b;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(205, 164, 94, 0.6); /* Halo lumineux doré */
  transform: translateY(-2px);
}
.ps-btn:hover {
  background-color: #8c7c6b;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(205, 164, 94, 0.6); /* Halo lumineux doré */
  transform: translateY(-2px);
}

.ps-btn{
  transition: all 0.4s ease;
  border: 1px solid #cda45e;
}

/* --- TITRES FESTIFS LUXE --- */
/* Cible les titres H3 de tes sections Noël */
.ps-section__title--full {
  background: linear-gradient(45deg, #cda45e, #f2dcb0, #cda45e);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 5s linear infinite;
  text-shadow: 0px 0px 0px rgba(255,255,255,0); /* Hack pour compatibilité */
  font-weight: 700;
}

/* Petite animation de brillance qui passe sur le texte */
@keyframes shineText {
  to {
      background-position: 200% center;
  }
}


/* 1. On applique ton nouveau fond sombre à la barre */
.category-bar {
  background-color: #2d2a23 !important;
}
.category-bar--st-valentin {
  background-color: #3a0f1f !important;
}

/* 2. On applique l'effet OR sur les liens (état normal) */
.category-bar ul li a {
  /* Le dégradé Or */
  background: linear-gradient(45deg, #cda45e, #f2dcb0, #cda45e) !important;
  background-size: 200% auto !important;
  
  /* La magie pour mettre la couleur DANS le texte */
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  
  /* Animation */
  animation: shineText 5s linear infinite;

  /* Style de base */
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform 0.3s ease;
  
  /* On annule les bordures par défaut si besoin */
  border-bottom: 2px solid transparent !important; 
}

/* 3. LE CORRECTIF : On force l'effet même au Survol / Focus / Actif */
/* On cible tous les états qui posaient problème */
.category-bar a:hover,
.category-bar a:focus,
.category-bar a:active,
.category-bar a.current {
  /* On force le maintien du dégradé (sinon il devient transparent à cause du thème) */
  background: linear-gradient(45deg, #cda45e, #fff, #cda45e) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  
  /* On change la couleur de la bordure du bas pour qu'elle soit dorée aussi */
  border-bottom: 2px solid #cda45e !important;
  border-radius: 0 !important;
  
  /* Petit effet de zoom */
  transform: scale(1.05);
  opacity: 1 !important;
}

/* L'animation (à garder si tu ne l'as pas déjà ailleurs) */
@keyframes shineText {
  to {
      background-position: 200% center;
  }
}
