/* =============================================================
   YURLED — CSS THÈME CUSTOM
   Version nettoyée — sans dépendances Astra / WordPress
   ─────────────────────────────────────────────────────────────
   Sections :
     1.  Variables globales
     2.  Classe de page de base (.yrl-page)
     3.  Titres de section
     4.  Hero (bannière du haut)
     5.  Slider produits
     6.  Hero slider (slides images)
     7.  Bloc options (.future-card)
     8.  Nouvelles collections (.new-card)
     9.  Détails produit (.detail-card)
    10.  Section personnalisation (.info-custom)
    11.  Section devis (.devis)
    12.  Sections catégories
    13.  Page produit single
    14.  Page boutique
    15.  Cartes info boutique (.shop-info)
    16.  Grille produits catégorie
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   1. VARIABLES GLOBALES
   ───────────────────────────────────────────────────────────── */

:root {

  .home{
    margin: 0px;
  }
  --yrl-color-accent:        #5f10cd;
  --yrl-color-accent-dark:   #200f4e;
  --yrl-color-white:         #ffffff;
  --yrl-color-text:          #ffffff;
  --yrl-color-bg:            #0e0e0e;
  --yrl-color-bg-light:      #3a3a3a;
  --yrl-color-bg-mid:        #181818;
  --yrl-color-green:         #3cbe17;
  --yrl-color-border:        rgba(29, 21, 35, 0.55);

  --yrl-font-heading: 'Archivo Black', sans-serif;
  --yrl-font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                      Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

  --yrl-spacing-xs:  0.5rem;
  --yrl-spacing-sm:  1rem;
  --yrl-spacing-md:  2rem;
  --yrl-spacing-lg:  3rem;
  --yrl-spacing-xl:  5rem;

  --yrl-container-max:    1305px;
  --yrl-container-wide:   1500px;
  --yrl-container-narrow: 750px;
  --yrl-header-height:    41px;
}


/* ─────────────────────────────────────────────────────────────
   2. CLASSE DE PAGE DE BASE
   ───────────────────────────────────────────────────────────── */


.light-background { background-color: var(--yrl-color-bg-mid); }
.dark-background { background-color: var(--yrl-color-bg); }

.yrl-page, .theme-original{
  width: 100%;
  max-width: 100%;
  background-color: var(--yrl-color-bg);
  color: var(--yrl-color-text);
  font-family: var(--yrl-font-body);
  font-size: 16px;
  line-height: 1.65;
  box-sizing: border-box;
  margin: 0;
}

/* Accueil uniquement (.yrl-page.yrl-container, front-page.php) :
   position + z-index pour que ce bloc, en défilant normalement,
   recouvre progressivement le hero fixe ET le header (z-index 1 et
   2 — voir .yrl-hero-fade et .yrl-header--coverable) qui se
   trouvent derrière lui — le fond opaque hérité de .yrl-page ci-
   dessus fait le reste. */
.yrl-page.yrl-container {
  position: relative;
  z-index: 3;
  border-radius: 24px 24px 0 0;
}

/* .home et .single-product : le header y est fixe ET "coverable"
   (.yrl-header--coverable, même palier que le hero), il chevauche le
   hero au lieu de réserver sa propre place — pas de compensation ici,
   sinon ça pousserait le hero vers le bas pour rien. */
body:not(.home):not(.single-product) { padding-top: var(--yrl-header-height); }

/* Le prix "actuel" de WooCommerce est entouré d'un <ins> (et le prix
   barré d'un <del>). Le navigateur souligne <ins> par défaut — ce
   n'est pas une règle du thème, donc invisible dans les CSS du thème,
   d'où la difficulté à la trouver dans l'inspecteur. On la neutralise
   globalement (le <del> garde son barré, lui, volontaire). */
.price ins { text-decoration: none; }

.yrl-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.yrl-container--wide { max-width: var(--yrl-container-wide); }

.yrl-section {
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.yrl-section--dark   { background-color: var(--yrl-color-bg); }
.yrl-section--mid    { background-color: var(--yrl-color-bg-mid); }
.yrl-section--light  { background-color: var(--yrl-color-bg-light); }

.yrl-page h1, .yrl-page h2, .yrl-page h3, .yrl-page h4, .yrl-page h5, .yrl-page h6 {
  color: var(--yrl-color-text);
  line-height: 1.2;
}

.yrl-page h2 { font-family: var(--yrl-font-heading); }

.yrl-page a { text-decoration: none; transition: color 0.2s ease; }

.slider-button{
  display: flex;
  justify-content: center!important;
  background-color: white;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
  border-radius: 5px;
  padding: 5px;
  margin-top: 0.4rem;
}

.slider-button:hover { background: var(--yrl-color-accent); color: #fff!important;; transform: translateY(-2px); }
.slider-button{ color: black!important; font-weight: 600; }

.yrl-page a:hover { color: var(--yrl-color-accent-dark); }

.yrl-btn {
  display: inline-block;
  background: var(--yrl-color-white);
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.yrl-btn:hover { background: var(--yrl-color-accent); color: var(--yrl-color-white); transform: translateY(-2px); }
.yrl-btn--dark { background: #111; color: var(--yrl-color-white); }
.yrl-btn--dark:hover { background: var(--yrl-color-accent); }


/* ─────────────────────────────────────────────────────────────
   2b. TITRES BANNER
   ───────────────────────────────────────────────────────────── */
.banner h1{ text-align: left; max-width: 1600px; margin: auto 0 0 0; font-weight: 600; }
.banner .subtitle{ margin-top: 0px!important;; font-size: 1.4rem; font-weight: 500; margin-right: 3rem }

@media (min-width: 1900px){
  .banner h1{ text-align: left; padding-left: 16%; padding-right: 30%; padding-top: 35rem; }
  .banner .subtitle{ padding-top: 0rem; font-size: 1.5rem; }
}

.banner .banner-btns{ display: flex; justify-content: left; margin-top: 1.5rem; }

@media (min-width: 1900px){
  .banner .banner-btns{ justify-content: left; padding-left: 16%; padding-right: 30%; padding-bottom: 2rem; }
}

@media(max-width: 1899px){
  .banner .banner-btns{ margin-top: 2rem; margin-bottom: 1.5rem; }
  .banner h1{ font-size: 1.5rem; max-width: 800px; }
}

@media(max-width: 730px){
  .banner h1{text-align: center; padding-top: 8rem;padding-right: 2rem;padding-left: 2rem; font-size: 1.3rem; line-height: 1.65rem}
  .banner-btns{margin: 7rem auto 5rem auto !important;}
  .banner .subtitle{margin-right: 0; padding-top: 1rem; font-size: 1.1rem; line-height: 1.25rem}
}

/* ─────────────────────────────────────────────────────────────
   3. TITRES DE SECTION
   ───────────────────────────────────────────────────────────── */

.sectiontitle {
  margin-left: var(--yrl-spacing-md);
  margin-right: var(--yrl-spacing-md);
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.1rem;
}

.sectiontileh {
   font-size: 1.7rem !important;;
   font-weight:  510 !important;;
   text-align: center;
   margin-left: 2rem;
   margin-right: 2rem;
}

@media (min-width: 1600px) {
  .sectiontitle { max-width: var(--yrl-container-wide); margin-left: auto; margin-right: auto; }
}

.prestitle, .pres-title { margin-left: var(--yrl-spacing-md); margin-right: 7rem; }

@media (min-width: 700px) {
  .prestitle, .pres-title { margin-left: 7rem; margin-right: 7rem; }
}


/* ─────────────────────────────────────────────────────────────
   4. HERO (BANNIÈRE DU HAUT)
   ───────────────────────────────────────────────────────────── */

.hero-title-wrap { margin-inline: auto; width: 100%; }

@media (min-width: 1024px) { .hero-title-wrap { max-width: 90ch; } }

.banner{
  background-image: url('assets/pres/front-page/hero.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
}

@media (min-width: 1900px) { .banner{ min-height: var(--yrl-hero-height, 50rem); } }

@media (max-width: 1899px) {
  .banner{ min-height: var(--yrl-hero-height, 33rem); padding: 0rem 2rem 2rem 2rem; width: auto; display: flex; flex-direction: column; }
  .yrl-hero-spacer{min-height: 32rem;}
}

@media(max-width: 730px) {
  .banner{padding: 0rem 0rem 0rem 0rem}
}

/* ─────────────────────────────────────────────────────────────
   4. SLIDER PRODUITS
   ───────────────────────────────────────────────────────────── */

.home-products-section{ padding-top: var(--yrl-spacing-sm); border-radius: 25px 25px;}

.product-slider {
  position: relative;
  overflow: visible;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.product-slider .slider-template {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 2rem;
  scrollbar-width: none;
  margin: auto;
  margin-top: 0;
  max-width: 1360px;
}

.product-slider .slider-template::-webkit-scrollbar { display: none; }

@media (min-width: 1500px) {
  .post-29 .product-slider .slider-template { justify-content: center; }
}

.product-slider.is-overflowing .slider-template { justify-content: flex-start; }

.product-slider .block-slider {
  flex: 0 0 13rem;
  flex-direction: column;
  scroll-snap-align: center;
  position: relative;
  transform-origin: center center;
  transform: scale(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  background-color: #252525;
  border-radius: 6px;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .product-slider .block-slider:hover { transform: scale(1.08); z-index: 5; }
}

.product-slider .block-slider.is-active { transform: scale(1.08); z-index: 5; }

.product-image-center img { display: block; width: 13rem; height: auto; margin-inline: auto; object-fit: cover; }

.product-slider .product-image { object-fit: cover !important; width: 100% !important; height: 100% !important; aspect-ratio: 8 / 6; }
.product-slider .product-image a { display: block !important; height: 100% !important; }
.product-slider .product-image img { object-fit: cover !important; width: 100% !important; height: 100% !important; aspect-ratio: unset !important; }

.product-align .slider-title,
.product-align .woocommerce-loop-product__title {
  min-width: 12rem;
  max-width: 12rem;
  text-align: left;
  line-height: 1.25;
  height: calc(1.25em * 2);
  white-space: normal;
  text-decoration: none;
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  margin-top: 0.4rem;
  margin-bottom: 0px;
}

.product-slider .slider-title a, .product-slider .woocommerce-loop-product__title a { text-decoration: none; color: white; }

.product-slider .block-slider-terms {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  gap: 4px;
  margin-right: 0.4rem;
  margin-left: 0.4rem;
}

.terms-separator { background-color: white; border-style: solid; border-radius: 3px; border-width: 1px; align-self: center; }
.product-slider .block-slider-terms a { color: white; }

.slider-price-group { width: 12.8em; justify-content: space-between; gap: 10px; align-items: center; }
.slider-price { font-size: 1.2rem; margin-left: 20px !important; font-weight: bold; }

.slider-price-regular { font-size: 0.85rem; color: #ff4444; text-decoration: line-through; margin-left: 20px; font-weight: 600; }
.slider-price--sale { margin-left: 0 !important; }
.slider-price-regular + .slider-price { margin-left: 20px; }

@media (max-width: 600px) {
  .slider-price-regular { font-size: 0.8rem; margin-left: 8px; }
  .slider-price-regular + .slider-price { margin-left: 0px !important; }
}

.product-slider .price-from-label { font-size: 0.7rem; font-weight: 600; color: #B8B8B8; }

#slider-add-to-cart-button { min-width: 12.8em !important; margin-bottom: 5px; }

.btn-dynamic-link { position: relative; z-index: 9999 !important; pointer-events: auto !important; }

.slider-dots-container { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 1rem; }

.slider-dots-container .slider-dot.is-active { background: #fff; width: 25px; border-radius: 10px; opacity: 1; }

.slider-dot{
  width: 10px; height: 10px; border-radius: 50%; border: none; background: white;
  opacity: 0.5; cursor: pointer; padding: 0; transition: all 0.3s ease;
}

.slider-dots-container .slider-dot {
  will-change: width, border-radius, background-color;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.product-slider.fade-left::before { opacity: 0 !important; }
.product-slider.fade-right::after { opacity: 0 !important; }

.slider-badge {
  position: absolute; top: 8px; left: 8px; padding: 3px 6px;
  font-size: 0.8rem; font-weight: 700; border-radius: 4px; z-index: 10; line-height: 1;
}

.slider-badge-sale { background: #ff4444; color: #fff; }
.slider-badge-outofstock { background: #383838; color: #fff; }
.slider-badge-lowstock { background: #383838; color: #fff; }
.slider-badge.badge-stacked { top: calc(8px + 1.6em + 6px); }

@media (max-width: 600px) {
  .slider-button{ margin-left: 0rem; margin-right: 0rem; margin-bottom: 0rem; margin-top: 0rem; }
  .block-slider{ flex: 0 0 10rem!important;; }
  .product-slider .slider-template { gap: 0.6rem; padding: 1.2rem 1.2rem; }
  .product-slider .product-image { width: 10rem !important; }
  .product-align .slider-title, .product-align .woocommerce-loop-product__title {
    min-width: 6.5rem; max-width: 10rem; font-size: 0.82rem !important; height: calc(1.25em * 2);
  }
  .slider-price { font-size: 1.1rem !important; margin-left: 4px !important; margin-left: 10px !important; }
  .slider-price-group { width: 10em; }
  .product-slider .price-from-label { font-size: 0.55rem; margin-right: 0; }
  #slider-add-to-cart-button, #slider-add-to-cart-button *, #slider-add-to-cart-button a, #slider-add-to-cart-button .added_to_cart {
    font-size: 0.75rem !important; line-height: 1.3 !important; width: 10rem !important; min-width: unset !important;
  }
  .slider-add-to-cart-button { padding: 0.35em 0.35em !important; }
  .product-slider .block-slider-terms { font-size: 0.75rem !important; gap: 0 !important; flex-wrap: nowrap; }
  .product-slider .block-slider-terms .block-slider-terms__separator { margin: 0 !important; padding: 0 !important; }
  .slider-badge { font-size: 0.66rem; }
}

/* ─────────────────────────────────────────────────────────────
   6. HERO SLIDER (SLIDES IMAGES)
   ───────────────────────────────────────────────────────────── */

/* ── Fondu au scroll partagé (hero accueil + hero fiche produit) ──
   Ratio calculé en JS (yrl-hero-fade.js, un seul fichier pour les
   deux pages) et posé sur --yrl-hero-fade (0 à 1). Le problème du
   fondu précédent n'était pas qu'il aille jusqu'à l'invisible, mais
   qu'il s'y arrêtait D'UN COUP (ancienne classe .is-hidden en
   visibility:hidden, supprimée) — la coupure nette, pas le fondu
   lui-même. Ici : fondu bien visible (jusqu'à 0.2 d'opacité) mais
   entièrement fluide, sans palier ni saut, étalé sur toute la
   hauteur du hero (voir distance dans yrl-hero-fade.js). Pas de
   transition CSS : la valeur est déjà interpolée frame par frame
   en JS via requestAnimationFrame, une transition en plus créerait
   du jank.

   Le hero est fixe à l'écran (position: fixed) pour que le contenu
   suivant, en défilant normalement, vienne le recouvrir/"manger"
   par-dessus (voir .yrlp-layout et .yrl-page.yrl-container plus
   bas — z-index supérieur + fond opaque). L'espace qu'il occupait
   dans le flux est réservé par un wrapper "spacer" (le parent
   direct du hero), dont la hauteur est fixée dynamiquement en JS
   pour correspondre à sa hauteur réelle.

   --yrl-hero-top : décalage du haut, à 0 par défaut (l'accueil a un
   header fixe qui passe par-dessus, transparent). Sur la fiche
   produit, le header est statique (.yrl-header--in-page) et occupe
   sa propre place — le hero doit donc démarrer sous lui, pas derrière
   (voir .yrlp-hero-banner dans product-layout.css). */
.yrl-hero-fade {
  position: fixed;
  top: var(--yrl-hero-top, 0);
  left: 0;
  width: 100%;
  z-index: 1;
  opacity: calc(1 - (var(--yrl-hero-fade, 0) * 0.8));
  transform: scale(calc(1 + var(--yrl-hero-fade, 0) * 0.04))
             translateY(calc(var(--yrl-hero-fade, 0) * -14px));
  will-change: opacity, transform;
}

.hero-slider { position: relative; overflow: visible; padding-block: 4rem; }

/* Réserve la place du hero fixe dans le flux (hauteur posée
   dynamiquement en JS, voir yrl-hero-fade.js). Sans ce spacer, le
   contenu qui suit remonterait immédiatement à la place du hero
   au lieu de démarrer une fois qu'on a scrollé sa hauteur. */
.yrl-hero-spacer { width: 100%; }

/* ── Scrim (ombre en dégradé) partagé — mutualisé avec la fiche
   produit (ex .yrlp-hero-banner__scrim). Assombrit progressivement
   le bas du hero pour que le texte reste lisible sur l'image. */
.yrl-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(14, 14, 14, 0.15) 0%,
    rgba(14, 14, 14, 0.55) 65%,
    rgba(14, 14, 14, 0.92) 100%);
  pointer-events: none;
}

/* Contenu texte au-dessus du scrim (même intention que
   .yrlp-hero-banner__content en produit). Appliqué directement aux
   éléments d'origine plutôt qu'à un wrapper : .banner s'appuie sur
   display:flex + margin:auto sur le h1 pour le pousser en bas, un
   wrapper intermédiaire cassait cette relation flex-parent/enfant. */
.banner > h1,
.banner > .banner-btns {
  position: relative;
  z-index: 1;
}

.slider-track {
  max-width: 1900px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  gap: 2rem;
  padding-inline: 8vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  margin-top: 1rem;
}

.slider-track::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 92vw;
  max-width: 92vw;
  aspect-ratio: 16 / 9;
  position: relative;
  scroll-snap-align: center;
  transform: scale(0.92);
  opacity: 0.55;
  filter: brightness(0.85);
  z-index: 1;
  transition: transform 0.45s cubic-bezier(.22, .61, .36, 1), opacity 0.45s ease, filter 0.45s ease;
}

.slide.is-active { transform: scale(1); opacity: 1; filter: brightness(1); z-index: 5; }
.slide.is-near   { transform: scale(0.96); opacity: 0.8; filter: brightness(0.95); z-index: 3; }

.slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }

.slide-content {
  position: absolute; inset-inline: 0; top: 0; bottom: auto; color: white;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
  border-radius: 1rem 1rem 0 0;
}

.slide-content h2 { margin: 0; font-size: 1rem; line-height: 1.2; }
.slide-content p  { margin-top: 0.4rem; max-width: 28ch; font-size: 0.85rem; }

.slide-btn {
  display: inline-block; margin-top: 0.6rem; padding: 0.45em 1.1em; background: white;
  color: black; border-radius: 19px; text-decoration: none; font-weight: 500; font-size: 0.85rem;
}

.slide-btn:hover { background: var(--yrl-color-accent); color: #fff!important;; transform: translateY(-2px); }

@media (max-width: 767px) {
  .slide { aspect-ratio: 16 / 10; overflow: hidden; max-width: 500px; }
  .slide img { height: 100%; object-fit: cover; object-position: center center; }
  .slide-content { top: 0; bottom: 0; padding: 1rem; background: none; display: flex; flex-direction: column; justify-content: flex-start; }
  .slide-content h2 { font-size: 0.95rem; line-height: 1.2; }
  .slide-content p  { font-size: 0.8rem; max-width: 26ch; opacity: 0.9; }
  .slide-btn { margin-top: auto; align-self: flex-start; font-size: 0.8rem; padding: 0.45em 1.1em; }
}

@media (min-width: 768px) {
  .slider-track { padding-inline: 5vw; gap: 2.5rem; }
  .slide { flex: 0 0 60vw; max-width: 600px; }
  .slide-content {
    top: auto; bottom: 0; padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .slide-content h2 { font-size: 1.2rem; }
  .slide-content p  { font-size: 0.8rem; max-width: 40ch; }
  .slide-btn        { font-size: 0.8rem; padding: 0.6em 1.4em; }
}

@media (min-width: 2000px) {
  .slide { flex: 0 0 50vw; }
  .slider-track { padding-inline: 25em; }
}

.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }

.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: white; opacity: 0.5;
  cursor: pointer; padding: 0; transition: all 0.3s ease;
}

.slider-dots button:hover { opacity: 0.7; }
.slider-dots button.active { opacity: 1; width: 20px; border-radius: 5px; }

.hero-slider, .home-options, .home-explain {
  margin-bottom: 1em; padding-bottom: 0; padding-top: 1em; margin-right: auto; margin-left: auto;
}


/* ─────────────────────────────────────────────────────────────
   7. BLOC OPTIONS (.future-card)
   ───────────────────────────────────────────────────────────── */

.future-card { max-width: var(--yrl-container-wide); margin: 0 auto; padding: 0 var(--yrl-spacing-md) var(--yrl-spacing-md); overflow: hidden; }

.future-card > h2 { text-transform: uppercase; font-weight: 900; margin-bottom: var(--yrl-spacing-md); font-size: 2rem; color: #fff; }

.future-card-box {
  display: flex; gap: 3rem; justify-content: center; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin: 2rem 0 0;
}

.future-card-box::-webkit-scrollbar { display: none; }

.future-card-collection, .future-card-custom {
  position: relative; flex: 0 0 calc(50% - 1.5rem); aspect-ratio: 16 / 9; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  align-items: center; padding: 30px; box-sizing: border-box;
}

.future-card-collection img, .future-card-custom img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; margin: 0; padding: 0;
}

.future-card-collection::after, .future-card-custom::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%); z-index: 2;
}

.future-card-collection > h2, .future-card-collection > .future-card-p, .future-card-collection > a,
.future-card-custom > h2, .future-card-custom > .future-card-p, .future-card-custom > a { position: relative; z-index: 3; }

.future-card-collection h2, .future-card-custom h2 {
  font-size: 1.4rem; font-weight: 800; margin: 0; text-transform: uppercase; text-align: center;
}

.future-card-collection p, .future-card-custom p { font-size: 1rem; margin: 0; text-align: center; }
.future-card-p { flex: 1; display: flex; align-items: flex-start; margin: 0; }
.future-title { color: rgba(255, 255, 255, 0.85); font-size: 1rem; margin: 0; }

.future-card-collection a, .future-card-custom a {
  align-self: center; background: #fff; color: #000; padding: 10px 20px; border-radius: 6px;
  font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 0.85rem; text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.future-card-collection a:hover, .future-card-custom a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.future-dots { display: flex; justify-content: center; gap: 8px; margin: 10px 0 0; }
.future-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #555; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.future-dots button.active { background: #fff; width: 25px; border-radius: 10px; }

@media (min-width: 881px) { .future-dots { display: none; } }

@media (max-width: 880px) {
  .future-card { padding: 1rem 0; overflow: hidden; }
  .future-card-box { justify-content: flex-start; gap: 20px; padding: 1rem var(--yrl-spacing-md) 0; margin: 0; max-height: 17rem; }
  .future-card-collection, .future-card-custom { flex: 0 0 75%; aspect-ratio: 11 / 9; padding: 30px; scroll-snap-align: center; }
  .future-card-collection h2, .future-card-custom h2 { font-size: 1.2rem; }
}

@media (max-width: 500px) {
  .future-card-box { padding: 1rem var(--yrl-spacing-sm) 0; }
  .future-card-collection, .future-card-custom { flex: 0 0 90%; padding: 20px; }
  .future-card-collection p, .future-card-custom p { font-size: 0.8rem; }
  .future-card-collection a, .future-card-custom a { font-size: 0.7rem; }
}


/* ─────────────────────────────────────────────────────────────
   8. NOUVELLES COLLECTIONS (.new-card)
   ───────────────────────────────────────────────────────────── */

.new-card { max-width: var(--yrl-container-wide); margin: 0 auto; padding: 0 var(--yrl-spacing-md) var(--yrl-spacing-lg); display: flex; gap: 3rem; }

@media (max-width: 880px) { .new-card { gap: 20px; padding-right: 0; } }

.new-collec, .new-coming {
  position: relative; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: space-between; padding: 20px; box-sizing: border-box; color: #fff;
}

.new-collec { flex: 0 0 calc(65% - 1.5rem); aspect-ratio: 21 / 9; align-items: flex-start; }
.new-coming { flex: 0 0 calc(35% - 1.5rem); aspect-ratio: 4 / 3; align-items: center; }

.new-collec img, .new-coming img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; margin: 0; padding: 0; }

.new-collec::after, .new-coming::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%); z-index: 2;
}

.new-collec > div, .new-collec > a, .new-coming > div, .new-coming > a { position: relative; z-index: 3; }
.new-collec > div { text-align: left; width: 100%; }
.new-coming > div { text-align: center; width: 100%; }

.new-collec h2, .new-coming h2 { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; margin: 0; }
.new-collec p, .new-coming p { font-size: 1rem; color: rgba(255, 255, 255, 0.85); margin: 0; }

.new-collec a, .new-coming a {
  background: #fff; color: #000; padding: 10px 20px; border-radius: 6px; font-weight: 800;
  text-transform: uppercase; text-decoration: none; font-size: 0.85rem; text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.new-collec a:hover, .new-coming a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

@media (max-width: 600px) {
  .new-card { flex-direction: column; gap: 20px; margin: 0; padding-right: var(--yrl-spacing-sm); padding-left: var(--yrl-spacing-sm);}
  .new-collec, .new-coming { flex: 0 0 100%; width: 100%; padding: 20px; }
  .new-collec { aspect-ratio: 16 / 9; }
  .new-coming { aspect-ratio: 13 / 9; }
}

@media (max-width: 900px) {
  .new-collec h2, .new-coming h2 { font-size: 1rem; }
  .new-collec p,  .new-coming p  { font-size: 0.8rem; padding: 0; }
  .new-collec a,  .new-coming a  { font-size: 0.75rem; padding: 8px 16px; }
}

@media (max-width: 900px) and (min-width: 601px) { .new-collec, .new-coming { padding: 10px; } }


/* ─────────────────────────────────────────────────────────────
   9. DÉTAILS PRODUIT (.detail-card)
   ───────────────────────────────────────────────────────────── */

.detail-card { max-width: 100%; margin: var(--yrl-spacing-md) auto; padding: 0 var(--yrl-spacing-md) var(--yrl-spacing-lg); overflow: hidden; box-sizing: border-box; }

.detail-card-box {
  display: flex; padding-top: var(--yrl-spacing-lg); gap: 3rem; justify-content: center; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; margin: auto; max-width: var(--yrl-container-wide);
}

.detail-card-box::-webkit-scrollbar { display: none; }

.detail-card-fixation, .detail-card-smartphone, .detail-card-accessoire {
  position: relative; flex: 0 0 calc(33.333% - 2rem); aspect-ratio: 10 / 8; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 30px; padding-bottom: 0; box-sizing: border-box;
}

.detail-card-fixation img, .detail-card-smartphone img, .detail-card-accessoire img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; margin: 0; padding: 0;
}

.detail-card-fixation::after, .detail-card-smartphone::after, .detail-card-accessoire::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%); z-index: 2;
}

.detail-card-fixation > h2, .detail-card-fixation > .detail-card-p,
.detail-card-smartphone > h2, .detail-card-smartphone > .detail-card-p,
.detail-card-accessoire > h2, .detail-card-accessoire > .detail-card-p { position: relative; z-index: 3; }

.detail-card-fixation > h2, .detail-card-smartphone > h2, .detail-card-accessoire > h2 {
  font-size: 1rem; font-weight: 800; text-transform: uppercase; text-align: left; color: #fff; margin: 0;
}

.detail-card-p { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; gap: 4px 16px; }

.detail-card-p h2 { grid-column: 1; grid-row: 1; font-size: 0.8rem; font-weight: 800; color: #fff; margin: 0; }

.detail-title {
  grid-column: 1; grid-row: 2; font-size: 0.8rem; color: rgba(255,255,255,0.85);
  margin: 0; line-height: 1.55; margin-bottom: var(--yrl-spacing-xs);
}

.detail-card-p > a {
  grid-column: 2; grid-row: 1 / 3; align-self: end; flex-shrink: 0; width: 8rem;
  background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; font-weight: 800;
  text-transform: uppercase; text-decoration: none; font-size: 0.75rem; text-align: center;
  white-space: normal; margin-bottom: var(--yrl-spacing-md);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.detail-card-p > a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.detail-dots { display: flex; justify-content: center; gap: 8px; margin: 20px 0 0; }
.detail-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #555; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.detail-dots button.active { background: #fff; width: 25px; border-radius: 10px; }

@media (min-width: 1201px) { .detail-dots { display: none; } }

@media (max-width: 1200px) {
  .detail-card { padding: 0 0 1rem; overflow: hidden; }
  .detail-card-p > a { margin-bottom: 1rem; }
  .detail-card-box { justify-content: flex-start; gap: 20px; padding: 2rem 10.5% 0; margin: 0; max-height: 20rem; }
  .detail-card-fixation, .detail-card-smartphone, .detail-card-accessoire { flex: 0 0 60%; padding: 24px; scroll-snap-align: center; }
  .detail-card-fixation > h2, .detail-card-smartphone > h2, .detail-card-accessoire > h2 { font-size: 1rem; }
}

@media (max-width: 700px) {
  .detail-card-box { padding: 0 var(--yrl-spacing-sm); }
  .detail-card-fixation, .detail-card-smartphone, .detail-card-accessoire { flex: 0 0 90%; padding: 20px; }
  .detail-card-p { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 8px; }
  .detail-card-p > a { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; }
}

@media (max-width: 550px) {
  .detail-card { padding: 0 0 1rem; overflow: visible; }
  .detail-card-box { justify-content: flex-start; gap: 20px; margin: 0; max-height: none; }
  .detail-card-fixation, .detail-card-smartphone, .detail-card-accessoire {
    position: relative; flex: 0 0 90%; aspect-ratio: unset; padding: 0;
    scroll-snap-align: center; display: flex; flex-direction: column; gap: 0; background: transparent;
    margin-top: var(--yrl-spacing-lg);
  }
  .detail-card-fixation img, .detail-card-smartphone img, .detail-card-accessoire img {
    position: relative; width: 100%; height: auto; aspect-ratio: 16 / 9;
    object-fit: cover; border-radius: 10px 10px 0 0; z-index: 1;
  }
  .detail-card-fixation::after, .detail-card-smartphone::after, .detail-card-accessoire::after {
    position: absolute; top: 0; left: 0; width: 100%;
    aspect-ratio: 16 / 9; height: auto;
    border-radius: 10px 10px 0 0; z-index: 2; bottom: unset;
  }
  .detail-card-fixation > h2, .detail-card-smartphone > h2, .detail-card-accessoire > h2 {
    position: absolute; top: 16px; left: 16px; z-index: 3; font-size: 1rem; margin: 0;
  }
  .detail-card-p {
    position: relative; z-index: 3; flex: 1;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-top: none; border-radius: 0 0 10px 10px;
    padding: 12px 10px; display: grid; gap: 1px;
  }
  .detail-title { margin-bottom: 8px; }
  .detail-card-p > a { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; margin-bottom: 0; width: auto; white-space: nowrap; font-size: 0.65rem; padding: 5px; }
}


/* ─────────────────────────────────────────────────────────────
   10. SECTION PERSONNALISATION (.info-custom)
   ───────────────────────────────────────────────────────────── */

.info-custom {
  position: relative; margin: 1rem var(--yrl-spacing-md); padding: 0 var(--yrl-spacing-md) var(--yrl-spacing-md);
  border-radius: 10px; overflow: hidden; box-sizing: border-box; display: grid;
  grid-template-columns: 1fr auto; grid-template-rows: auto auto auto 1fr; margin-top: var(--yrl-spacing-lg);
}

.info-custom > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; margin: 0; padding: 0; }

.info-custom::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 100%); z-index: 2;
}

.info-custom > h2, .info-custom > p, .info-custom > a, .info-custom > .svg-group { position: relative; z-index: 3; }

.info-custom > h2 {
  font-size: 1.4rem; font-weight: 800; text-transform: uppercase; color: #fff; margin: var(--yrl-spacing-md) 0 0;
  flex: 1; grid-row: 1; grid-column: 1;
}

.info-custom > p { font-size: 1rem; color: rgba(255,255,255,0.85); margin: 0.4rem 0 0; max-width: 480px; grid-row: 2; grid-column: 1; }

.info-custom > a {
  grid-row: 1 / 3; grid-column: 2; justify-self: end; position: relative; z-index: 3; align-self: flex-start;
  margin-top: var(--yrl-spacing-md); background: #fff; color: #000; padding: 10px 20px; border-radius: 6px;
  font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 0.85rem; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.info-custom > a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.info-custom > .svg-group { grid-row: 3 / 5; grid-column: 1 / 3; margin-top: var(--yrl-spacing-md); }

.svg-group { display: flex; gap: 1.5rem; align-items: stretch; }

.info-1, .info-2, .info-3 {
  flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  padding: 20px; display: flex; flex-direction: row; align-items: flex-start; gap: 16px;
  box-sizing: border-box; backdrop-filter: blur(4px);
}

.info-1 svg, .info-2 svg, .info-3 svg { flex-shrink: 0; width: 40px; height: 40px; fill: #fff; }
.info-1 > div, .info-2 > div, .info-3 > div { display: flex; flex-direction: column; gap: 6px; }
.info-1 h2, .info-2 h2, .info-3 h2 { font-size: 1rem; font-weight: 800; text-transform: uppercase; color: #fff; margin: 0; }
.info-1 p,  .info-2 p,  .info-3 p  { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.5; }

.info-dots { display: flex; justify-content: center; gap: 8px; margin: 16px 0 0; position: relative; z-index: 3; }
.info-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: #555; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.info-dots button.active { background: #fff; width: 25px; border-radius: 10px; }

@media (min-width: 881px) { .info-dots { display: none; } }

@media (max-width: 880px) {
  .info-custom {
    padding: 0 0 1.5rem; margin: 1.5rem var(--yrl-spacing-sm);
    grid-template-columns: 1fr; grid-template-rows: auto auto auto auto;
    min-height: unset; overflow: hidden; margin-top: var(--yrl-spacing-lg);
  }
  .info-custom > h2 { grid-row: 1; grid-column: 1; padding: 1.5rem 20px 0; margin: 0; font-size: 1.2rem; }
  .info-custom > p  { grid-row: 2; grid-column: 1; padding: 0.4rem 20px 0; font-size: 0.9rem; max-width: 90%; }
  .info-dots        { grid-row: 5; justify-self: center; }
  .info-custom > a  { grid-row: 6; grid-column: 1; justify-self: center; margin: 1rem 20px 0; }
  .info-custom > .svg-group {
    grid-row: 4; grid-column: 1; margin-top: 1.5rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; flex-wrap: nowrap;
    padding: 0 5%; gap: 16px;
  }
  .info-custom > .svg-group::-webkit-scrollbar { display: none; }
  .info-1, .info-2, .info-3 { flex: 0 0 75%; scroll-snap-align: center; }
}

@media (max-width: 500px) {
  .info-custom > .svg-group { padding: 0 7.5%; }
  .info-custom h2 { font-size: 1.1rem; }
  .info-custom p  { font-size: 0.9rem; }
  .info-1, .info-2, .info-3 { flex: 0 0 90%; }
  .info-1 h2, .info-2 h2, .info-3 h2 { font-size: 0.9rem; }
  .info-1 p,  .info-2 p,  .info-3 p  { font-size: 0.8rem; }
}

.info-custom-group { max-width: 1350px; margin-left: auto;margin-right: auto;}


/* ─────────────────────────────────────────────────────────────
   11. SECTION DEVIS (.devis)
   ───────────────────────────────────────────────────────────── */

.devis {
  z-index: 1; background: #e8e8e8; border-radius: 10px; margin-top: -50px;
  margin-left: var(--yrl-spacing-md); margin-right: var(--yrl-spacing-md); margin-bottom: var(--yrl-spacing-lg);
  padding: 40px var(--yrl-spacing-md) 0.6rem; display: flex; justify-content: space-between; align-items: center;
  gap: var(--yrl-spacing-md); box-sizing: border-box;
}

.devis-info { flex: 1; }
.devis-info h2 { font-size: 1.1rem; font-weight: 500; text-transform: uppercase; color: #111; margin: 0; }
.devis-info p  { font-size: 1rem; color: #444; margin: 0; }

.devis > a {
  flex-shrink: 0; background: #111; color: #fff; padding: 10px 20px; border-radius: 6px;
  font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 0.85rem; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.devis > a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

@media (max-width: 880px) {
  .devis { margin: var(--yrl-spacing-sm); margin-top: -50px; margin-bottom: var(--yrl-spacing-lg); flex-direction: column; align-items: flex-start; padding: 40px 20px 24px; gap: 1.2rem; }
  .devis-info     { margin: auto; }
  .devis-info h2  { font-size: 1.2rem; text-align: center; }
  .devis-info p   { font-size: 0.9rem; text-align: center; }
  .devis > a      { align-self: center; }
}

@media (max-width: 500px) {
  .devis-info h2 { font-size: 1.1rem; }
  .devis-info p  { font-size: 0.85rem; }
}

/* ─────────────────────────────────────────────────────────────
   12 & 13. PAGE PRODUIT SINGLE
   ─────────────────────────────────────────────────────────────
   Déplacé vers le module PDP v2, autonome, chargé uniquement sur
   is_product() :
     assets/css/product/product-layout.css
     assets/css/product/product-gallery.css
     assets/css/product/product-configurator.css
     assets/css/product/product-mobile.css
     assets/css/product/product-animation.css
   Les règles partagées avec le popup de variation (slider /
   grille catégorie) vivent maintenant dans le composant sitewide :
     assets/css/components/variation-selector.css
   ───────────────────────────────────────────────────────────── */

/* =============================================================
   HEADER YURLED - style 'lelo' (centré, épuré, responsive)
   ============================================================= */
.yrl-header {
  width: 100%;
  left: 0; top: 0;
  z-index: 9999;
  box-sizing: border-box;
  font-family: var(--yrl-font-body);
  /* Fixe à l'écran partout. Sur les pages avec un hero (accueil,
     fiche produit), .yrl-header--coverable le fait redescendre à
     z-index: 2 — AU-DESSUS du hero (z-index: 1, sinon à égalité de
     z-index c'est l'ordre du DOM qui tranche, et le hero, plus bas
     dans le HTML, passerait devant le header) mais toujours EN
     DESSOUS du contenu qui défile par-dessus (z-index: 3) : header
     et hero se comportent comme un seul bloc, recouvert ensemble.
     Ailleurs (boutique, panier, compte...), il reste au z-index par
     défaut, toujours au-dessus, jamais recouvert. */
  position: fixed;
}
.yrl-header--coverable { z-index: 2; }

.yrl-header--stacked { background: rgba(10,10,10,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,0.03); }
.yrl-header--overlay  { background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent); }

.yrl-header-inner {
  position: relative;
  height: 62px;
  width: 90%;
  max-width: var(--yrl-container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.yrl-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  color: var(--yrl-color-white);
  font-family: var(--yrl-font-heading);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.yrl-header--overlay .yrl-logo { font-size: 4rem;  }
.yrl-header--stacked .yrl-logo { font-size: 1.4rem;  }

.yrl-header-group { display: flex; align-items: center; gap: 0.6rem; z-index: 5; }
.yrl-sidebar-toggle { background: transparent; border: none; color: var(--yrl-color-white); font-size: 1.05rem; padding: 8px; border-radius: 8px; cursor: pointer; }
.yrl-sidebar-toggle:hover { background: rgba(255,255,255,0.02); }

.yrl-hamburger { display: inline-block; width: 28px; height: 20px; position: relative; }
.yrl-hamburger span { position: absolute; left: 0; right: 0; height: 3px; background: #fff; display: block; border-radius: 3px; }
.yrl-hamburger span:nth-child(1) { top: 0; }
.yrl-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.yrl-hamburger span:nth-child(3) { bottom: 0; }

.yrl-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.yrl-header .yrl-btn { padding: 8px 12px; font-size: 0.9rem; border-radius: 8px; font-weight: 800; }
.yrl-header .yrl-cart { background: transparent; border: 1px solid rgba(255,255,255,0.06); color: #fff; }
.yrl-header .yrl-account { background: var(--yrl-color-accent); color: #fff; }

.yrl-offcanvas {
  position: fixed; left: -360px; top: 0; height: 100%; width: 320px; max-width: 85%;
  background: linear-gradient(180deg,#0b0b0b,#070707); color: #fff; box-shadow: 20px 0 40px rgba(0,0,0,0.6);
  transition: transform 0.36s cubic-bezier(.2,.9,.3,1); transform: translateX(0);
  z-index: 10000;
}
.yrl-offcanvas[aria-hidden="true"] { transform: translateX(-100%); }
.yrl-offcanvas[aria-hidden="false"] { transform: translateX(0); left: 0; }
.yrl-offcanvas-inner { padding: 1.5rem; }
.yrl-offcanvas-close { background: transparent; border: none; color: #fff; font-size: 1.4rem; float: right; cursor: pointer; }
.yrl-offcanvas-nav { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 0.8rem; }
.yrl-offcanvas-nav a { color: #fff; padding: 12px 14px; background: rgba(255,255,255,0.02); border-radius: 8px; text-decoration: none; font-weight: 700; }

.yrl-icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px; color: #fff; text-decoration: none; border-radius: 8px; }
.yrl-icon-btn svg { display: block; width: 22px; height: 22px; color: #fff; }
.yrl-cart-count { display: inline-block; min-width: 18px; height: 18px; border-radius: 10px; background: var(--yrl-color-accent); color: #fff; font-size: 0.75rem; line-height: 18px; text-align: center; margin-left: 6px; padding: 0 6px; }

.yrl-header-action { position: relative; }

.yrl-header-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 310px;
  padding: 1rem;
  background: rgba(12, 12, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.yrl-header-popover::before {
  content: '';
  position: absolute;
  top: -14px;
  right: 0;
  width: 100%;
  height: 14px;
}

.yrl-header-action:hover .yrl-header-popover,
.yrl-header-action:focus-within .yrl-header-popover,
.yrl-header-action.is-open .yrl-header-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.yrl-popover-title {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.yrl-mini-cart-list { display: flex; flex-direction: column; gap: 0.75rem; }

.yrl-mini-cart-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.yrl-mini-cart-item-link {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.75rem;
  align-items: center;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex: 1;
}

.yrl-mini-cart-item:hover .yrl-mini-cart-name { color: var(--yrl-color-accent); }

.yrl-mini-cart-thumb { width: 48px; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #181818; }
.yrl-mini-cart-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.yrl-mini-cart-info { min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }

.yrl-mini-cart-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.85rem; font-weight: 700; }

.yrl-mini-cart-meta, .yrl-mini-cart-empty { margin: 0; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

.yrl-mini-cart-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.yrl-mini-cart-remove:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.yrl-mini-cart-item.is-removing {
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yrl-mini-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }

.yrl-mini-action, .yrl-mini-login-main, .yrl-mini-social, .yrl-mini-account-nav a {
  display: flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 0.65rem 0.8rem; border-radius: 8px; text-decoration: none; font-size: 0.82rem;
  font-weight: 800; color: #fff; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08);
}

.yrl-mini-action:hover, .yrl-mini-login-main:hover, .yrl-mini-social:hover, .yrl-mini-account-nav a:hover {
  background: rgba(255, 255, 255, 0.1); color: #fff;
}

.yrl-mini-action--primary, .yrl-mini-login-main { background: var(--yrl-color-accent); border-color: transparent; }

.yrl-mini-login-divider {
  display: flex; align-items: center; gap: 0.75rem; margin: 0.9rem 0;
  color: rgba(255, 255, 255, 0.35); font-size: 0.75rem; font-weight: 700;
}

.yrl-mini-login-divider::before, .yrl-mini-login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.12); }

.yrl-mini-socials, .yrl-mini-account-nav { display: flex; flex-direction: column; gap: 0.55rem; }

.yrl-mini-social.is-disabled { cursor: not-allowed; opacity: 0.55; pointer-events: none; }

.yrl-mini-account-logout { color: #ff6b6b !important; }

@media (max-width: 900px) {
  :root { --yrl-header-height: 33px; }
  .yrl-header-inner { padding: 0 1rem; height: 64px; width: 96%; }
  .yrl-header--overlay .yrl-logo { font-size: 1.6rem; }
  .yrl-header--stacked .yrl-logo { font-size: 1.6rem; }
  .yrl-logo { left: 50%; }
  .yrl-sidebar-toggle { padding: 7px 9px; }
  .yrl-header-popover { position: fixed; top: 72px; left: 1rem; right: 1rem; width: auto; }
}

@media (min-width: 1200px) {
  :root { --yrl-header-height: 67px; }
  .yrl-header-inner { height: 85px; width: 80%; }
  .yrl-header--overlay .yrl-logo { font-size: 4rem; }
  .yrl-header--stacked .yrl-logo { font-size: 2.6rem; }
  .yrl-sidebar-toggle { font-size: 1.15rem; }
}

@media (min-width: 1200px) {
  .yrl-left { position: absolute; left: 12px; }
  .yrl-right { position: absolute; right: 12px; }
  .yrl-cart-count { display: none !important; }
}

@media (max-width: 1199px) {
  .yrl-left, .yrl-right { position: relative; left: auto; right: auto; margin-right: 1rem;}
  .yrl-cart-count { display: none; }
}


/* ─────────────────────────────────────────────────────────────
   14. PAGE BOUTIQUE
   ───────────────────────────────────────────────────────────── */

.boutique-page { overflow-x: hidden; max-width: 1540px; margin-left: var(--yrl-spacing-md); margin-right: var(--yrl-spacing-md); }
.boutique-page h1 { text-align: center; font-size: 3rem; margin-bottom: 5rem; margin-top: 3rem; font-weight: 800; }
.boutique-page h2 { margin: 0 0 0 var(--yrl-spacing-md); padding: 0; font-size: 1.8rem; }
.boutique-page p  { margin: 0; font-size: 1.2rem; margin-left: var(--yrl-spacing-md); font-weight: 700; }

.shop-slider h2 { font-size: 1.1rem; text-transform: uppercase; }
.shop-slider p  { font-size: 1rem; font-weight: 600; line-height: 1rem; }

.boutique-page .product-slider .wp-block-post-template { padding-left: 28px; }
.boutique-page .product-slider .wp-block-post { width: auto; min-width: auto; flex: 0 0 auto; padding: 0; }
.product-slider .wp-block-post-template { margin-left: 0; }

@media (max-width: 500px) {
  .shop-slider h2 { font-size: 1rem; margin-left: 1rem; }
  .shop-slider p  { font-size: 0.8rem; line-height: 0.9rem; margin-right: var(--yrl-spacing-md); margin-left: 1rem; }
}

@media (min-width: 1500px) { .boutique-page .product-slider .wp-block-post-template { justify-content: center; } }
@media (min-width: 1600px) { .boutique-page { margin-left: auto; margin-right: auto; } }

@media (max-width: 600px) {
  .boutique-page .shop-collection-slider-bloc h2, .shop-seetoo-div h2 { text-align: center; font-size: 1.5rem; margin: auto; }
  .boutique-page .shop-collection-slider-bloc p,  .shop-seetoo-div p  { text-align: center; font-size: 1em; margin: auto; }
  .boutique-page .product-slider .wp-block-post-template { padding-left: 0.8em; }
}


/* ─────────────────────────────────────────────────────────────
   15. CARTES INFO BOUTIQUE (.shop-info)
   ───────────────────────────────────────────────────────────── */

.shop-info-section { display: flex; flex-wrap: wrap; gap: 1rem; max-width: 1300px; margin: auto; }

.shop-info {
  position: relative; flex: 1 1 calc(50% - 0.5rem); min-width: 280px;
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 20px; padding-bottom: 0; box-sizing: border-box; 
}

.shop-info img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; margin: 0; padding: 0; }

.shop-info::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 100%); z-index: 2; }

.shop-info > *,
.shop-info .more-coming-shop-info,
.shop-info .shop-custom-info,
.shop-info .shop-all-info { position: relative; z-index: 3; height: 100%;}

.shop-info > h2 { font-size: 1rem; font-weight: 800; text-transform: uppercase; color: #fff; margin: 0 var(--yrl-spacing-md) 0 0; }

.more-coming-shop-info,
.shop-custom-info { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: end; gap: 4px 16px; margin-bottom: var(--yrl-spacing-md); }

.shop-all-info h2,
.more-coming-shop-info h2,
.shop-custom-info h2 { grid-column: 1; grid-row: 1; font-size: 0.8rem; font-weight: 800; color: #fff; margin: 0 3rem 0 0; }

.shop-info p { grid-column: 1; grid-row: 2; font-size: 0.8rem; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.55; }

.more-coming-shop-info > a,
.shop-custom-info > a {
  grid-column: 2; grid-row: 1 / 3; align-self: end; width: 8rem;
  background: #fff; color: #000; padding: 8px 12px; border-radius: 6px;
  font-weight: 800; text-transform: uppercase; text-decoration: none;
  font-size: 0.75rem; text-align: center; white-space: normal;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.more-coming-shop-info > a:hover,
.shop-custom-info > a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.shop-mobile { display: none; }

@media (max-width: 700px) {
  .shop-desktop { display: none; }
  .shop-mobile  { display: flex; flex-direction: column; justify-content: flex-end; }
  .shop-info { flex: 1 1 100%; padding: 14px; padding-bottom: 0; }
  .shop-info h2 { margin-bottom: auto; }
}

@media (max-width: 600px) {
  .more-coming-shop-info,
  .shop-custom-info { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 8px; }
  .more-coming-shop-info > a, .shop-custom-info > a { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; width: auto; }
}

@media (max-width: 980px), (max-width: 500px) {
  .shop-info { aspect-ratio: unset; padding: 0; flex-direction: column; background: transparent; }
  .more-coming-shop{margin-top: 2rem;}
  .shop-info img { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 10px 10px 0 0; z-index: 1; }
  .shop-info::after { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 8; height: auto; border-radius: 10px 10px 0 0; bottom: unset; }
  .shop-info > h2 { position: absolute; top: 16px; left: 16px; z-index: 3; }
  .more-coming-shop-info, .shop-custom-info { position: relative; z-index: 3; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-top: none; border-radius: 0 0 10px 10px; padding: 12px 10px; margin-bottom: 0; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 8px; }
  .more-coming-shop-info > a, .shop-custom-info > a { grid-column: 1; grid-row: 3; align-self: start; justify-self: center; width: auto; white-space: nowrap; font-size: 0.75rem; padding: 5px 10px; margin-bottom: 0; }
}

/* ─────────────────────────────────────────────────────────────
   16. SECTIONS CATÉGORIES
   ───────────────────────────────────────────────────────────── */

.shop-collection-slider-bloc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 4rem;
}

.shop-collection-slider-bloc p { margin-bottom: var(--yrl-spacing-md); }

.shop-collection-slider-bloc:has(.shop-cat.is-open) { padding-bottom: 0; }

.shop-cat {
  width: 100%;
  max-width: 1089px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  overflow: hidden;
  max-height: 280px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 0;
  transition: max-height 0.5s ease;
  box-shadow:
    inset -50px 10px 50px 10px var(--yrl-color-bg),
    inset 50px 10px 50px -10px var(--yrl-color-bg),
    inset 0px -50px 60px -5px rgba(0, 0, 0, 1);
  min-width: 0;
}

.light-cat .shop-cat{
  box-shadow: inset -50px 10px 50px 10px var(--yrl-color-bg-mid), inset 50px 10px 50px -10px var(--yrl-color-bg-mid), inset 0px -50px 60px -5px rgb(20, 20, 20);
}

.shop-cat.is-open { max-height: 2000px; box-shadow: inset 0px -50px 27px -11px rgba(0, 0, 0, 0); }

.shop-cat-card {
  flex: 0 0 180px;
  padding: 14px;
  text-align: center;
  border: 1px solid #333;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.shop-cat-card img { width: 80px; }

.shop-cat-card-button { margin-top: 1.5rem; margin-bottom: 0.4rem; }

.shop-cat-card-button a { padding: 0.6rem 1.5rem; background: white; border-radius: 5px; color: black; font-weight: 800; }

.shop-cat-card-button a:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.toggle-cats-btn {
  display: block;
  position: relative;
  z-index: 10;
  margin: -50px auto;
  padding: 8px 20px;
  background: white;
  border: 1px solid #fff;
  border-radius: 20px;
  color: black;
  font-size: 0.9rem;
  cursor: pointer;
}

.toggle-cats-btn:hover { background: var(--yrl-color-accent); color: #fff; transform: translateY(-2px); }

.shop-cat.is-open + #toggleCats { position: static; display: block; margin: 20px auto; }

@media (max-width: 600px) {
  .shop-cat { gap: 0.75rem; min-width: 0; }
  .shop-cat-card { flex: 1 1 calc(50% - 0.75rem); max-width: 180px; min-width: 0; width: calc(50% - 0.75rem); padding: 12px; }
  .shop-cat-card img { width: 64px; }
  .shop-cat-card-button a { padding: 0.6rem 0.56rem; font-size: 0.9rem; }
}

.categorie-cat-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  height: 240px;
  margin: 2rem 1rem 0;
  overflow: hidden;
}

.categorie-cat-container { display: flex; flex-direction: column; justify-content: center; text-align: center; }

.categorie-cat-button-container { margin: var(--yrl-spacing-md) 0; }

.categorie-cat-button {
  padding: 9px; background-color: white; border-radius: 4px; color: black; font-weight: 900;
  box-shadow: 0px 0px 24px 1px rgba(0, 0, 0, 0.7);
}

.other-collec h2 { margin-top: var(--yrl-spacing-md); font-size: 1.5rem; font-weight: 200; }

.see-also-title { text-align: center; font-size: 2rem; }

.shop-cat-card h3{ margin: 0; }

.shop-cat-card.to-come { opacity: 0.4; filter: grayscale(1); }

.shop-cat-card.to-come .shop-cat-button.disabled {
  background: #444; border-radius: 5px; color: #999; font-weight: 800; cursor: not-allowed; pointer-events: none;
}

.shop-collection-slider-bloc h2 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: var(--yrl-spacing-xs);
  margin-top: var(--yrl-spacing-xs);
  text-align: center;
  margin-left: 2rem;
  margin-right: 2rem;
}

.shop-collection-slider-bloc p {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: var(--yrl-spacing-xs);
  margin-top: var(--yrl-spacing-xs);
  margin-left: 2rem;
  margin-right: 2rem;
} 

/* ─────────────────────────────────────────────────────────────
   GRILLE VEDETTE (.yrl-featured-grid)
   ───────────────────────────────────────────────────────────── */

.sectiontitle{ font-size: 1.2rem; font-weight: 500; text-align: left; line-height: 1.1; }

.home-products-section p{ margin-bottom: 1rem; }

.yrl-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 1360px;
    margin: auto;
    box-sizing: border-box;
    padding-top: var(--yrl-spacing-md);
}

@media(max-width: 1440px) {
  .yrl-featured-grid { padding-right: 2rem; padding-left: 2rem; }
  .shop-info-wrapper{ padding: 0 2rem; }
}

.yrl-fg-stack { display: flex; flex-direction: column; gap: 1rem; }

.yrl-fg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    background: #1a1a1a;
    text-decoration: none;
    color: var(--yrl-color-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yrl-fg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); color: var(--yrl-color-text); }

.yrl-fg-card--large { height: 100%; min-height: 500px; }
.yrl-fg-card--large .yrl-fg-img-wrap { flex: 1; min-height: 300px; }

.yrl-fg-card--small { flex: 1; flex-direction: row; min-height: 0; }
.yrl-fg-card--small .yrl-fg-img-wrap { flex: 0 0 45%; min-height: 180px; }
.yrl-fg-card--small .yrl-fg-body {
    padding: var(--yrl-spacing-sm) var(--yrl-spacing-sm) var(--yrl-spacing-sm) var(--yrl-spacing-md);
    justify-content: center;
}

.yrl-fg-img-wrap { overflow: hidden; background: #111; }

.yrl-fg-img-wrap .yrl-fg-img,
.yrl-fg-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }

.yrl-fg-card:hover .yrl-fg-img-wrap img { transform: scale(1.04); }

.yrl-fg-body { display: flex; flex-direction: column; gap: 0.5rem; padding: var(--yrl-spacing-md); background: #1a1a1a; }

.yrl-fg-badge {
    display: inline-block; background: #ff4444; color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; width: fit-content;
}

.yrl-fg-title { font-family: var(--yrl-font-heading); font-size: 1.1rem; font-weight: 800; margin: 0; color: #fff; line-height: 1.2; }
.yrl-fg-card--large .yrl-fg-title { font-size: 1.4rem; }

.yrl-fg-desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin: 0; line-height: 1.5; }

.yrl-fg-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 0.25rem; }
.yrl-fg-price-regular { font-size: 0.85rem; color: #ff4444; text-decoration: line-through; font-weight: 600; }
.yrl-fg-price-current { font-size: 1.1rem; font-weight: 800; color: #fff; }
.yrl-fg-card--large .yrl-fg-price-current { font-size: 1.3rem; }
.yrl-fg-price-current--sale { color: #fff; }

.yrl-fg-cta {
    font-size: 0.8rem; font-weight: 700; color: var(--yrl-color-accent); margin-top: auto;
    padding-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s ease;
}

.yrl-fg-card:hover .yrl-fg-cta { color: #fff; }

.shop-slider-section .sectiontitle { display: block; }

@media (max-width: 900px) {
    .yrl-featured-grid { grid-template-columns: 1fr; }
    .yrl-fg-stack { flex-direction: row; }
    .yrl-fg-card--large { min-height: 380px; }
    .yrl-fg-card--small { flex-direction: column; flex: 1; }
    .yrl-fg-card--small .yrl-fg-img-wrap { flex: 0 0 160px; min-height: 160px; }
}

@media (max-width: 600px) {
    .yrl-featured-grid { padding-right: var(--yrl-spacing-sm); padding-left: var(--yrl-spacing-sm); }
    .yrl-fg-stack { flex-direction: column; }
    .yrl-fg-card--large { min-height: 320px; }
    .yrl-fg-card--small { flex-direction: row; }
    .yrl-fg-card--small .yrl-fg-img-wrap { flex: 0 0 40%; min-height: 130px; }
    .yrl-fg-card--small .yrl-fg-body { padding: var(--yrl-spacing-xs) var(--yrl-spacing-sm); }
    .yrl-fg-title { font-size: 0.95rem; }
    .yrl-fg-card--large .yrl-fg-title { font-size: 1.1rem; }
    .yrl-fg-price-current { font-size: 0.95rem; }
}

.cat-container { padding-top: var(--yrl-spacing-md); padding-bottom: var(--yrl-spacing-xs); padding-left: 1rem; padding-right: 1rem; }

.shop-info-wrapper{ padding-top: var(--yrl-spacing-md); padding-bottom: var(--yrl-spacing-lg); }

.shop-slider-section{ padding-top: var(--yrl-spacing-md); padding-bottom: var(--yrl-spacing-md); }

/* PAGE PANIER YURLED — extrait vers css/cart/cart.css le 24/07/2026 */


/* ─────────────────────────────────────────────────────────────
   PAGE COMPTE YURLED
   ───────────────────────────────────────────────────────────── */

.yrl-account-page { min-height: 100vh; background: var(--yrl-color-bg); }

/* AUTH — LOGIN / INSCRIPTION */

.yrl-auth-page {
  display: flex; flex-direction: column; align-items: center; min-height: 100vh;
  padding: 2rem var(--yrl-spacing-md) 4rem; box-sizing: border-box;
}

.yrl-auth-header { margin-bottom: 2.5rem; }
.yrl-auth-logo img { height: 36px; width: auto; }
.yrl-auth-container { width: 100%; max-width: 440px; }

.yrl-auth-tabs { display: flex; gap: 0; background: #111; border-radius: 12px; padding: 4px; margin-bottom: 2rem; }

.yrl-auth-tab {
  flex: 1; padding: 0.6rem 1rem; background: transparent; border: none; border-radius: 9px;
  color: rgba(255, 255, 255, 0.45); font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.yrl-auth-tab.is-active { background: #222; color: #fff; }

.yrl-auth-panel { display: none; }
.yrl-auth-panel.is-active { display: block; }

.yrl-social-btns { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }

.yrl-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0.75rem 1.25rem;
  border-radius: 10px; font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease; border: 1px solid rgba(255, 255, 255, 0.1);
}

.yrl-social-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.yrl-social-btn.is-disabled { cursor: not-allowed; opacity: 0.55; pointer-events: none; }
.yrl-social-btn.is-disabled:hover { transform: none; }
.yrl-social-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.yrl-social-btn--google { background: #fff; color: #1a1a1a; border-color: transparent; }
.yrl-social-btn--tiktok { background: #111; color: #fff; border-color: rgba(255, 255, 255, 0.15); }

.yrl-auth-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: rgba(255, 255, 255, 0.25); font-size: 0.8rem;
}

.yrl-auth-divider::before, .yrl-auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }

.yrl-auth-form { display: flex; flex-direction: column; gap: 1.1rem; }

.yrl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.yrl-field { display: flex; flex-direction: column; gap: 0.4rem; }

.yrl-field label {
  display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.04em;
}

.yrl-field-link { font-size: 0.8rem; font-weight: 500; color: var(--yrl-color-accent); text-decoration: none; text-transform: none; letter-spacing: 0; }
.yrl-field-link:hover { color: #fff; }

.yrl-field input[type="text"], .yrl-field input[type="email"], .yrl-field input[type="password"] {
  width: 100%; padding: 0.75rem 1rem; background: #111; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px; color: #fff; font-size: 0.95rem; transition: border-color 0.2s ease; box-sizing: border-box; outline: none;
}

.yrl-field input:focus { border-color: var(--yrl-color-accent); }

.yrl-field-password-wrap { position: relative; }
.yrl-field-password-wrap input { padding-right: 3rem; }

.yrl-toggle-password {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: transparent; border: none;
  color: rgba(255, 255, 255, 0.35); cursor: pointer; padding: 0; display: flex; align-items: center; transition: color 0.2s ease;
}

.yrl-toggle-password:hover { color: #fff; }
.yrl-toggle-password svg { width: 18px; height: 18px; }

.yrl-password-strength { display: grid; grid-template-columns: 1fr auto; gap: 0.75rem; margin-top: 0.4rem; align-items: center; }

.yrl-password-strength-bar {
  grid-column: 1; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; position: relative;
}

.yrl-password-strength-bar::after {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0%; border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.yrl-password-strength-bar.strength-1::after { width: 25%; background: #ff4444; }
.yrl-password-strength-bar.strength-2::after { width: 50%; background: #ff9800; }
.yrl-password-strength-bar.strength-3::after { width: 75%; background: #ffc107; }
.yrl-password-strength-bar.strength-4::after { width: 100%; background: var(--yrl-color-green); }

.yrl-password-requirements { grid-column: 1 / -1; min-height: 1rem; font-size: 0.75rem; line-height: 1.35; color: rgba(255, 152, 0, 0.9); }
.yrl-password-requirements.is-valid { color: var(--yrl-color-green); }

.yrl-password-strength-label { grid-column: 2; font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); white-space: nowrap; }

.yrl-field-message { min-height: 1rem; font-size: 0.75rem; line-height: 1.35; color: rgba(255, 68, 68, 0.9); }
.yrl-field-message:empty { display: none; }

.yrl-checkbox {
  display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55); line-height: 1.4;
}

.yrl-checkbox input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; min-width: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 5px; background: #111; cursor: pointer;
  margin-top: 1px; transition: background 0.2s ease, border-color 0.2s ease; position: relative;
}

.yrl-checkbox input[type="checkbox"]:checked { background: var(--yrl-color-accent); border-color: var(--yrl-color-accent); }

.yrl-checkbox input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 6px; height: 10px;
  border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg);
}

.yrl-checkbox a { color: var(--yrl-color-accent); text-decoration: none; }

.yrl-auth-submit {
  width: 100%; padding: 0.85rem; background: var(--yrl-color-accent); color: #fff; border: none;
  border-radius: 10px; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease; margin-top: 0.5rem;
}

.yrl-auth-submit:hover { background: var(--yrl-color-accent-dark); transform: translateY(-1px); }

.yrl-auth-notices { margin-top: 1.5rem; }

.yrl-auth-notices .woocommerce-error, .yrl-auth-notices .woocommerce-message, .yrl-auth-notices .woocommerce-info {
  background: rgba(255, 68, 68, 0.1); border: 1px solid rgba(255, 68, 68, 0.3); border-radius: 10px;
  padding: 0.75rem 1rem; color: #ff6b6b; font-size: 0.85rem; list-style: none; margin: 0;
}

/* DASHBOARD CONNECTÉ */

.yrl-account-dashboard { max-width: 680px; margin: 0 auto; padding: 3rem var(--yrl-spacing-md) 5rem; box-sizing: border-box; }

.yrl-account-hero { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2.5rem; }

.yrl-account-avatar {
  width: 56px; height: 56px; min-width: 56px; border-radius: 50%; background: var(--yrl-color-accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--yrl-font-heading);
  font-size: 1.4rem; font-weight: 800; color: #fff;
}

.yrl-account-name { font-family: var(--yrl-font-heading); font-size: 1.5rem; font-weight: 800; margin: 0; color: #fff; }
.yrl-account-email { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); margin: 0.2rem 0 0; }

.yrl-account-nav { display: flex; flex-direction: column; gap: 0; background: #111; border-radius: 14px; overflow: hidden; margin-bottom: 2rem; }

.yrl-account-nav-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; color: rgba(255, 255, 255, 0.85);
  text-decoration: none; font-size: 0.95rem; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s ease, color 0.15s ease;
}

.yrl-account-nav-item:last-child { border-bottom: none; }
.yrl-account-nav-item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.yrl-account-nav-item svg:first-child { width: 20px; height: 20px; opacity: 0.6; flex-shrink: 0; }
.yrl-account-nav-item span { flex: 1; }
.yrl-account-nav-arrow { width: 16px; height: 16px; opacity: 0.3; }
.yrl-account-nav-item--logout { color: rgba(255, 68, 68, 0.7); }
.yrl-account-nav-item--logout:hover { color: #ff4444; background: rgba(255, 68, 68, 0.05); }

.yrl-account-section-title {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35); margin: 0 0 0.75rem;
}

.yrl-account-orders-list { display: flex; flex-direction: column; background: #111; border-radius: 14px; overflow: hidden; margin-bottom: 0.75rem; }

.yrl-account-order-card {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.15s ease;
}

.yrl-account-order-card:last-child { border-bottom: none; }
.yrl-account-order-card:hover { background: rgba(255, 255, 255, 0.03); }

.yrl-account-order-info { display: flex; flex-direction: column; gap: 0.25rem; }
.yrl-account-order-num { font-size: 0.9rem; font-weight: 600; color: #fff; }
.yrl-account-order-date { font-size: 0.78rem; color: rgba(255, 255, 255, 0.35); }

.yrl-account-order-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }

.yrl-account-order-status {
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}

.yrl-status-completed  { background: rgba(60, 190, 23, 0.15); color: var(--yrl-color-green); }
.yrl-status-processing { background: rgba(95, 16, 205, 0.2);  color: #a78bfa; }
.yrl-status-pending    { background: rgba(255, 152, 0, 0.15); color: #ffb74d; }
.yrl-status-cancelled  { background: rgba(255, 68, 68, 0.1);  color: #ff6b6b; }

.yrl-account-order-total { font-size: 0.9rem; font-weight: 700; color: #fff; }

.yrl-account-see-all { display: inline-block; font-size: 0.82rem; color: var(--yrl-color-accent); text-decoration: none; font-weight: 600; padding: 0.25rem 0; }
.yrl-account-see-all:hover { color: #fff; }

@media (max-width: 500px) {
  .yrl-field-row { grid-template-columns: 1fr; }
  .yrl-auth-page { padding: 1.5rem 1rem 3rem; }
  .yrl-account-dashboard { padding: 2rem 1rem 4rem; }
}

/* ---------------------------------------------------------------
 * Popup de sélection de variation (slider / grille catégorie)
 * ---------------------------------------------------------------
 * Déplacé vers le composant sitewide, chargé sur toutes les pages
 * (boutique, catégories, accueil, produit) qui peuvent afficher ce
 * popup :
 *   assets/css/components/variation-selector.css
 * ------------------------------------------------------------- */