/* ==========================================================
   A58 Product UI — version design-system (variables globales)
   ========================================================== */

/* === 1. Modes d’éclairage [a58_modes_table] === */
.a58-modes__table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--a58-font-body);
    color: var(--a58-text);
  }
  .a58-modes__table thead th {
    font-weight: 700;
    background: var(--a58-accent);
    color: var(--a58-bg-text-on-yellow);
    padding: .6rem .8rem;
    text-align: left;
  }
  .a58-modes__table td {
    border-top: 1px solid var(--a58-border-light);
    padding: .6rem .8rem;
    vertical-align: top;
  }
  .a58-modes__note {
    font-size: .85em;
    opacity: .8;
    margin-top: .25rem;
  }
  @media (max-width: 640px) {
    .a58-modes__table th small { display: none; }
  }
  
  /* === 2. Contenu du coffret [a58_coffret_list] === */
  .a58-coffret__title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--a58-font-title);
  }
  .a58-coffret__list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .a58-coffret__item {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: .3rem;
  }
  .a58-coffret__item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--a58-accent);
    font-weight: 700;
  }
  
 /* === 3. Sections éditoriales [a58_sections] === */
.a58-sections{
    --a58-gap: clamp(24px, 5vw, 56px);
  }
  
  .a58-section{
    padding: 3rem 0;
    color: var(--a58-text);
  }
  
  .a58-section__inner{
    display: flex;
    align-items: center;
    gap: var(--a58-gap);
    max-width: var(--a58-container);
    margin: 0 auto;
  }
  
  /* Alternance desktop : 
     .image-right => image à droite | .image-left => image à gauche */
  .a58-section.image-left  .a58-section__inner{  flex-direction: row-reverse; }
  .a58-section.image-right .a58-section__inner{  flex-direction: row; }
  
  /* Colonnage */
  .a58-section__image{ flex: 0 1 520px; }
  .a58-section__content{ flex: 1 1 520px; }
  
  /* Médias */
  .a58-section__image img{
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--a58-radius);
    box-shadow: var(--a58-shadow-soft);
  }
  
  .a58-section__content h3{
    margin: 0 0 1rem 0;
    font-weight: 700;
    font-family: var(--a58-font-title);
    color: var(--a58-text);
  }
  
  .a58-section__texte{
    line-height: 1.6;
    font-family: var(--a58-font-body);
  }
  
/* === A58 – Sections éditoriales : RESET MOBILE SANS ESPACES === */
@media (max-width: 768px){

  /* 0) on neutralise tout l'espace possible dans la zone .a58-sections */
  .a58-sections .a58-section,
  .a58-sections .a58-section__inner,
  .a58-sections .a58-section__image,
  .a58-sections .a58-section__content,
  .a58-sections .a58-section__texte{
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  /* 1) pas d'espace entre deux sections */
  .a58-sections .a58-section + .a58-section{ margin-top: 50px !important; }

  /* 2) pile stricte et SANS gap interne */
  .a58-sections .a58-section__inner{
    display: block !important;        /* plus de flex/gap */
  }

  /* 3) image bord à bord, aucun effet visuel ajoutant du "blanc" */
  .a58-sections .a58-section__image img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;      /* remet 8px si tu veux des coins */
  }

  /* 4) titres & texte serrés (micro-filet seulement) */
  .a58-sections h3{
    /*margin: 20px 0 4px !important;*/
    margin-top: 20px!important;
    margin-bottom: 20px!important;
    line-height: 1.2 !important;
    /*font-size: clamp(16px, 4vw, 18px);*/
    font-size: 20px;
  }
  .a58-sections .a58-section__texte > *{
    margin: 0 0 6px !important;
  }
  .a58-sections .a58-section__texte > *:last-child{
    margin-bottom: 0 !important;
  }

  /* 5) coupe toutes marges "héritées" possibles */
  .a58-sections .a58-section__content > *:first-child{ margin-top: 10 !important; }
  .a58-sections .a58-section__content > *:last-child{  margin-bottom: 0 !important; }

  /* 6) par sécurité, aucune variable de gap ne s'applique */
  .a58-sections{ --a58-gap: 0 !important; }
}
  
  /* === 4. FAQ [a58_faq] === */
  .a58-faq__title {
    text-align: center;
    font-family: var(--a58-font-title);
    font-weight: 800;
    margin: 0 0 2rem;
    color: var(--a58-text);
  }
  .a58-faq__list {
    max-width: 960px;
    margin: 0 auto;
    font-family: var(--a58-font-body);
  }
  
  .a58-faq__item {
    border-bottom: 1px solid var(--a58-border);
    padding: 1rem 0;
  }
  .a58-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--a58-text);
  }
  .a58-faq__q::-webkit-details-marker { display: none; }
  .a58-faq__q::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 1rem;
    color: var(--a58-accent);
    transition: transform .2s ease, color .2s ease;
  }
  .a58-faq__item[open] .a58-faq__q::after {
    content: "–";
    transform: rotate(180deg);
    color: var(--a58-accent);
  }
  .a58-faq__a {
    margin-top: .8rem;
    color: var(--a58-text);
    line-height: 1.6;
  }
  
  /* === Petits ajustements utilitaires === */
  .a58-hide { display: none !important; }
  .a58-center { text-align: center; }

  /* === A58 – Galerie produit === */
.a58-gallery {
    --a58-gap: 14px;
    --a58-radius: 12px;
    --thumb-h: 86px;    /* hauteur des vignettes */
    --thumb-br: 10px;
    --ring: 2px;
    --ring-color: #232d2e; /* adaptez si besoin (mode sombre/clair) */
  }
  
  .a58-gallery__main {
    border-radius: var(--a58-radius);
    overflow: hidden;
    box-shadow: var(--a58-shadow-soft, 0 8px 24px rgba(0,0,0,.08));
  }
  .a58-gallery__main img {
    display:block;
    width:100%;
    height:auto;
  }
  
  .a58-gallery__thumbs {
    position: relative;
    margin-top: var(--a58-gap);
    display: flex;
    align-items: center;
    gap: var(--a58-gap);
  }
  
  .a58-gallery__viewport {
    overflow: hidden;
    flex: 1 1 auto;
  }
  
  .a58-gallery__track {
    display: flex;
    gap: var(--a58-gap);
    will-change: transform;
    transition: transform .25s ease;
  }
  
  .a58-gallery__thumb {
    flex: 0 0 calc((100% - (var(--a58-gap) * 2)) / 3); /* 3 visibles par défaut */
    height: var(--thumb-h);
    border-radius: var(--thumb-br);
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
    outline: none;
  }
  .a58-gallery[data-visible="4"] .a58-gallery__thumb {
    flex-basis: calc((100% - (var(--a58-gap) * 3)) / 4);
  }
  .a58-gallery__thumb-img {
    display:block;
    width:100%;
    height:100%;
    object-fit: cover;
  }
  
  .a58-gallery__thumb.is-active::after {
    content:"";
    position: absolute;
    inset: 0;
    border: var(--ring) solid var(--ring-color);
    border-radius: var(--thumb-br);
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.4);
    pointer-events: none;
  }
  
  .a58-gallery__nav {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: #ffbd11;
    color: #232d2e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, opacity .15s ease;
  }
  .a58-gallery__nav[disabled] {
    opacity: .4;
    cursor: not-allowed;
  }
  .a58-gallery__nav:active { transform: scale(.97); }
  
  /* Responsive */
  @media (max-width: 768px) {
    .a58-gallery { --thumb-h: 100px; }
  }

  .a58-gallery__track {
    display: flex;
    align-items: center; /* garde les thumbs centrées verticalement */
    gap: var(--a58-gap);
  }

  /* === PATCH UI – Neutraliser les effets de couleur === */

/* Flèches : pas de changement au survol/clic/focus */
.a58-gallery__nav,
.a58-gallery__nav:hover,
.a58-gallery__nav:focus,
.a58-gallery__nav:active {
  background: #ffbd11;   /* couleur fixe */
  color: #232d2e;        /* couleur fixe */
  box-shadow: none;
}

/* Pas d'animation de couleur sur les flèches */
.a58-gallery__nav {
  transition: transform .15s ease, opacity .15s ease; /* on garde juste le micro scale si tu veux */
}

/* Si tu ne veux même pas le petit "scale" au clic : */
/*.a58-gallery__nav:active { transform: none; }*/

/* Vignettes : jamais de fond, même au survol/clic/focus */
.a58-gallery__thumb,
.a58-gallery__thumb:hover,
.a58-gallery__thumb:focus,
.a58-gallery__thumb:active {
  background: transparent;
  box-shadow: none;
}

/* iOS/Android : supprimer la coloration de tap */
.a58-gallery__thumb,
.a58-gallery__nav {
  -webkit-tap-highlight-color: transparent; /* iOS/Android Chrome */
  outline: none; /* évite certains contours par défaut */
}

/* On conserve seulement le liseré de sélection prévu (anneau) */
.a58-gallery__thumb.is-active::after {
  /* tes règles existantes restent actives pour marquer la sélection */
  /* si tu veux un anneau plus discret : */
  /* border-color: #232d2e; box-shadow: none; */
}

/* === A58 – Specs Strip ===================================================== */
.a58-specs-strip { margin: 0 0 12px; }

.a58-specs-strip__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap; /* ❗ bloque le retour à la ligne */
  overflow-x: auto;  /* permet un léger scroll si l’écran est trop petit */
  -webkit-overflow-scrolling: touch;
}

.a58-specs-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto; /* garde la largeur auto, pas de compression */
}

.a58-specs-strip__icon { width: 24px; height: 24px; display: block; }

.a58-specs-strip__text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  white-space: nowrap; /* évite le retour ligne entre valeur + label */
}

.a58-specs-strip__value {
  font-weight: 800;
  font-size: 18px;
  color: var(--a58-text, #232d2e);
}

.a58-specs-strip__label {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  opacity: .9;
}

/* 🟡 Sur mobile : resserre légèrement les espacements */
@media (max-width: 767px) {
  .a58-specs-strip__list { gap: 12px; }
  .a58-specs-strip__value { font-size: 16px; }
  .a58-specs-strip__label { font-size: 11px; }
  .a58-specs-strip__item { gap: 6px; }
}









/* === A58 – Style prix produit (Albert Sans) =============================== */
.a58-price{
  display:inline-flex;
  flex-direction:column;
  gap:2px;
  font-family:"Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- PRIX BARRÉ AU-DESSUS ------------------------------------------------ */
/* Ex: <div class="a58-price"><del>…</del> … */
.a58-price del{
  display:block;
  font-weight:300;
  font-size:16px;              /* plus petit que le prix principal */
  line-height:1.1;
  color:#7d7d7d;
  text-decoration:line-through;
  margin:0 0 2px 0;
}
.a58-price del .woocommerce-Price-currencySymbol{ color:#7d7d7d; font-weight:300; }

/* --- PRIX COURANT (GROS, SANS SOULIGNEMENT) ------------------------------ */
/* Cas promo: le prix courant est dans <ins>… */
/* Cas sans promo: Woo met directement <span class="woocommerce-Price-amount">… */
.a58-price ins,
.a58-price > .woocommerce-Price-amount,
.a58-price > span.woocommerce-Price-amount{
  display:block;
  font-weight:800;
  font-size:35px;               /* maquette */
  line-height:1.05;
  color:#26341b;
  text-decoration:none !important;
  border:0 !important;
}
.a58-price ins *{ text-decoration:none !important; } /* retire le soulignement hérité */
.a58-price ins .woocommerce-Price-currencySymbol,
.a58-price > .woocommerce-Price-amount .woocommerce-Price-currencySymbol{
  font-weight:800;
  color:#26341b;
}

/* --- LIGNE HT SOUS LE PRIX ----------------------------------------------- */
.a58-price__ht{
  display:block;
  font-weight:300;
  font-size:16px;               /* plus petit que le prix principal */
  line-height:1.15;
  color:#7d7d7d;
}
.a58-price__ht .woocommerce-Price-currencySymbol{
  font-weight:300;
  color:#7d7d7d;
}






/* ==========================================================
   A58 – Ajouter au panier (ATC)
   ========================================================== */


/* Wrapper & layout */
.a58-atc{
  display:grid;
  gap:.9rem;
  margin-top:.75rem;
  width:100%;
}
.a58-atc form.cart{
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:1rem;
  width:70% !important;   /* ✅ plein large, plus de 80% / 50% */
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* =========================
   Quantité : –  [val]  +
   ========================= */
.a58-atc form.cart .quantity{
  display:flex;               /* flex pour bien s’étirer */
  align-items:center;
  background:#f9f4e7 !important;
  border:1px solid #26341b !important;
  border-radius:0px !important;
  overflow:hidden;
  box-sizing:border-box;      /* ✅ aligne la largeur avec le bouton */
}

.a58-atc form.cart .a58-qty-btn{
  appearance:none; -webkit-appearance:none;
  border:0; background:transparent;
  color:#26341b !important;
  width:44px; min-height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:22px; line-height:1; font-weight:700;
  cursor:pointer; user-select:none;
  flex:0 0 44px;
}
.a58-atc form.cart .a58-qty-btn:focus{ outline:none; }
.a58-atc form.cart .a58-qty-minus{ border-right:0px solid #26341b !important; }
.a58-atc form.cart .a58-qty-plus{  border-left:0px solid #26341b !important; }

/* Valeur numérique centrée */
.a58-atc form.cart .quantity input.qty{
  flex:1 1 auto;
  min-width:0;
  min-height:44px;
  width:auto;
  padding:0 .25rem;
  text-align:center;
  border:0 !important;
  background:transparent !important;
  color:#26341b !important;
  font-weight:700;
  outline:0;
  box-sizing:border-box;
}
/* supprime les flèches natives */
.a58-atc form.cart .quantity input.qty::-webkit-outer-spin-button,
.a58-atc form.cart .quantity input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.a58-atc form.cart .quantity input[type=number]{ -moz-appearance:textfield; }

/* =========================================
   Bouton AJOUTER AU PANIER (Albert Sans)
   ========================================= */
.a58-atc form.cart .single_add_to_cart_button,
.a58-atc form.cart .single_add_to_cart_button.button,
.a58-atc form.cart .single_add_to_cart_button.button.alt{
  font-family:"Albert Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif !important;
  background:#ffbd11 !important;
  color:#232d2e !important;
  border:0 !important;
  border-radius:0px !important;
  min-height:48px;
  padding:1rem 1.25rem;
  display:inline-flex; align-items:center; justify-content:center;
  text-transform:uppercase; letter-spacing:.02em; font-weight:800;
  box-shadow:none !important;
  transition:none !important;
  width:50%!important;                 /* ✅ plein large */
  box-sizing:border-box;      /* ✅ cohérent avec la quantité */
}

/* neutralise hover/active/focus/loading/added */
.a58-atc form.cart .single_add_to_cart_button:hover,
.a58-atc form.cart .single_add_to_cart_button:active,
.a58-atc form.cart .single_add_to_cart_button:focus,
.a58-atc form.cart .single_add_to_cart_button.loading,
.a58-atc form.cart .single_add_to_cart_button.added{
  background:#ffbd11 !important;
  color:#232d2e !important;
  outline:none !important;
}

/* =========================
   Produits variables (UI)
   ========================= */
.a58-atc .variations_form{ display:grid; gap:.75rem; width:100%; }
.a58-atc table.variations{ margin:0; width:100%; }
.a58-atc table.variations td,
.a58-atc table.variations th{ padding:.25rem 0; border:0; }
.a58-atc table.variations label{
  font-weight:700; font-size:.95rem; color:#26341b; margin-bottom:.25rem; display:inline-block;
}
.a58-atc table.variations select{
  width:100%; min-height:44px;
  border:1px solid var(--a58-border, #e6e6e6);
  border-radius:10px; background:#fff; padding:.5rem .75rem;
  box-sizing:border-box;
}

/* =========================
   Sane defaults Elementor
   ========================= */
.elementor-widget-woocommerce-product-add-to-cart,
.elementor-add-to-cart{
  width:100%;
}
.elementor-widget-woocommerce-product-add-to-cart .elementor-widget-container{
  padding-left:0 !important;
  padding-right:0 !important; /* ✅ supprime les padding latéraux éventuels */
}
.elementor-widget-woocommerce-product-add-to-cart .a58-atc{
  margin-left:0 !important;
  margin-right:0 !important;
}

/* =========================
   Responsive (mobile)
   ========================= */
@media (max-width:768px){
  /* Colonne : quantité AU-DESSUS du bouton */
  .a58-atc form.cart{
    flex-direction:column;
    align-items:stretch;
    gap:.75rem;
    width:100% !important;    /* ✅ plus de 50% */
  }
  .a58-atc form.cart .quantity{
    width:100%;
  }
}

/* === A58 – Patch alignement mobile quantité / bouton ===================== */

/* 1) Les deux enfants dir. du form prennent exactement 100% */
@media (max-width:768px){
  .a58-atc form.cart > *{
    width:100% !important;
    box-sizing:border-box;
  }
}

/* 2) Neutraliser les marges par défaut de Woo/Elementor */
.a58-atc form.cart .quantity{
  margin:0 !important;             /* Woo met parfois une marge droite */
}
.a58-atc form.cart .single_add_to_cart_button,
.a58-atc form.cart .single_add_to_cart_button.button,
.a58-atc form.cart .single_add_to_cart_button.button.alt{
  margin:0 !important;              /* Woo/Elementor ajoutent souvent .5em */
  width:100% !important;            /* ceinture+bretelles */
  box-sizing:border-box;            /* cohérent avec la quantité */
  display:flex;                     /* évite inline-block width weirdness */
}

/* 3) Le conteneur widget Elementor ne doit pas ajouter de padding */
.elementor-widget-woocommerce-product-add-to-cart .elementor-widget-container{
  padding-left:0 !important;
  padding-right:0 !important;
}

/* 4) Si un wrapper interne ajoute un padding horizontal, on le neutralise */
.elementor-add-to-cart,
.elementor-add-to-cart > *{
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* ==========================================================
   FIN A58 – Ajouter au panier (ATC)
   ========================================================== */









/* ==========================================================
   A58 – Badge des lampes compatible avec les accessoires avec fiche produit accessoire
   ========================================================== */

   /* === A58 – Compatible avec (chips) =============================== */
.a58-compat { margin: 1.5rem 0; }
.a58-compat__title {
  margin: 0 0 .75rem 0;
  font-weight: 800;
  font-size: 1rem; /* même hiérarchie que tes autres h3 de bloc */
  color: var(--a58-text, #232d2e);
  text-transform: uppercase;
}

.a58-compat__list {
  display: flex;
  flex-wrap: wrap;            /* wrap sur mobile */
  gap: .5rem .5rem;           /* espacement compact */
  margin: 0;
  padding: 0;
  list-style: none;
}

.a58-compat__chip {
  background: #232d2e;        /* fond sombre A58 */
  color: #fdfcf9;
  border-radius: .25rem;
  padding: .4rem .6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  user-select: none;
}

.a58-compat__label {
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .9rem;           /* lisible mais compact */
  text-transform: uppercase;  /* rendu type maquette */
  white-space: nowrap;
}

/* Pas d’état hover / active (non cliquable) */































/* =======================================================
   A58 – Grille & cartes produits [a58_products_*]
   ======================================================= */

/* Grille générique */
.a58-grid {
  display: grid;
  gap: 2.4rem;
}

/* Home – lampes (4 produits max) */
.a58-grid--home.a58-grid--home_lampes {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .a58-grid--home.a58-grid--home_lampes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Home – accessoires (3 produits) */
.a58-grid--home.a58-grid--home_accessoires {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .a58-grid--home.a58-grid--home_accessoires {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Archives – grille plus large */
.a58-grid--archive {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .a58-grid--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .a58-grid--archive {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.a58-grid--empty .a58-compat-empty {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--a58-text);
  font-style: italic;
  font-family: var(--a58-font-body);
}

/* Carte produit */
.a58-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

/* Vignette */
.a58-card__thumb {
  margin-bottom: 0.75rem;
}

.a58-card__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Titre */
.a58-card__title {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.4;
  font-family: "Inter Tight", Sans-serif;
  color: #232d2e;
  text-align: center;
}

.a58-card__title a {
  color: #171717;          /* on écrase le rose global */
  text-decoration: none;
}

.a58-card__title a:hover {
  color: #f0b400;          /* jaune hover léger */
}

/* Meta (lumens / portée) */
.a58-card__meta {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #232d2e;
  text-align: center;
}

.a58-card__meta span + span::before {
  content: " • ";
}

/* Prix */
.a58-card__price {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
  color: #232d2e;
  font-weight: 800;
  text-align: center;        /* base, on passe en gras sur les archives */
}

/* Bouton */
.a58-card__btn {
  margin-top: auto;
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 0px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  text-align: center;
}

/* === Variantes visuelles ================================== */

/* Homepage – boutons plus soft (beige) */
.a58-card--home_lampes .a58-card__btn,
.a58-card--home_accessoires .a58-card__btn {
  background: transparent;     /* beige Assault58 (à ajuster si besoin) */
  color: #171717;
  border: solid 1px #171717;
}

/* Archives – boutons jaune + prix en gras */
.a58-card--archive_lampes .a58-card__btn,
.a58-card--archive_accessoires .a58-card__btn {
  background: #ffbd11;     /* jaune principal */
  color: #111111;
}

.a58-card--archive_lampes .a58-card__price,
.a58-card--archive_accessoires .a58-card__price {
  font-weight: 700;
}

/* === Grilles depuis ACF (compatibilités) =================== */

/* Accessoires compatibles (lampe depuis accessoire) */
@media (min-width: 768px) {
  .a58-grid--acf.a58-grid--home_lampes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Accessoires compatibles (accessoires depuis lampe) */
@media (min-width: 768px) {
  .a58-grid--acf.a58-grid--home_accessoires {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Marge haute générique pour les blocs ACF */
.a58-grid--acf {
  margin-top: 2.5rem;
}

/* === A58 – Pagination archives produits ==================== */

.a58-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.a58-pagination ul.page-numbers {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.a58-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 0.9rem;
}

.a58-pagination .page-numbers.current {
  background: #ffbd11;
  border-color: #ffbd11;
  color: #000;
  font-weight: 600;
}

.a58-pagination .page-numbers:hover:not(.current) {
  background: rgba(0, 0, 0, 0.04);
}




/* === A58 – Barre de tri (Lampes) ==================================== */

.a58-sort-bar {
  border-top: 1px solid #e3dfd5;
  padding: 1.5rem 0 1rem;
  margin-bottom: 2rem;
  font-family: inherit;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.a58-sort-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Nouveau : wrapper des boutons */
.a58-sort-bar__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;   /* sur desktop, on autorise le retour à la ligne */
}

.a58-sort-bar__label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.a58-sort-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0;
  border: 1px solid #000;      /* bordure noire */
  background: transparent;     /* fond transparent par défaut */
  color: #000;                 /* texte noir */
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
              transform 0.15s ease, box-shadow 0.15s ease;
}

.a58-sort-bar__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 0 rgba(0,0,0,0.12);
  background: #ffbd11;         /* léger hover jaune */
  border-color: #ffbd11;
  color: #000;
}

.a58-sort-bar__btn.is-active {
  background: #ffbd11;
  border-color: #ffbd11;
  color: #000;
}

@media (max-width: 768px) {

  .a58-sort-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .a58-sort-bar__label {
    font-size: 0.8rem;
    margin-right: 0;
  }

  .a58-sort-bar__scroll {
    flex-wrap: nowrap;           /* tous sur une seule ligne */
    overflow-x: auto;            /* scroll horizontal */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
  }

  .a58-sort-bar__scroll::-webkit-scrollbar {
    display: none;               /* scrollbar invisible mais scroll OK */
  }

  .a58-sort-bar__btn {
    flex: 0 0 auto;              /* largeur auto, pas de shrink */
    padding: 0.65rem 1.4rem;     /* un peu plus compact sur mobile */
    font-size: 0.78rem;
    white-space: nowrap;         /* pas de retour à la ligne dans le bouton */
  }
}

/* === A58 – Barre de filtre (Accessoires) ============================ */

.a58-filter-bar {
  border-top: 1px solid #e3dfd5;
  padding: 1.5rem 0 1rem;
  margin-bottom: 2rem;
  font-family: inherit;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.a58-filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.a58-filter-bar__label {
  font-weight: 600;
}

.a58-filter-bar__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .a58-filter-bar__group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: auto;
  }
}

.a58-filter-bar__group-label {
  font-weight: 600;
  white-space: nowrap;
}

.a58-filter-bar__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.75rem 2.5rem 0.75rem 1.25rem;
  border-radius: 0;
  border: 1px solid #000;
  background: transparent;     /* 🔥 fond transparent */
  color: #000;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}































/* =======================================================
 * A58 – Header & menu mobile
 * ===================================================== */

/* --- Header mobile (barre supérieure) ----------------- */

.a58-mobile-header {
  position: relative;       /* base : dans le flux */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Header fixé (activé par le JS en mobile) */
.a58-mobile-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.a58-mobile-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- Burger ------------------------------------------------ */

.a58-mobile-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 0.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.a58-mobile-header__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #000;
}

/* --- Logo -------------------------------------------------- */

.a58-mobile-header__logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.a58-mobile-header__logo-img {
  display: block;
  max-height: 28px;
  width: auto;
  transition: max-height 0.25s ease;
}

.a58-mobile-header.is-scrolled .a58-mobile-header__logo-img {
  max-height: 24px;
}

.a58-mobile-header__logo-text {
  font-weight: 700;
  font-size: 1rem;
}

/* --- Icônes droite (compte / panier) ---------------------- */

.a58-mobile-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.75rem;
}

.a58-mobile-header__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  text-decoration: none;
}

.a58-icon-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Badge panier */

.a58-mobile-header__cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 16px;
  text-align: center;
  background: #f3b51b;
  color: #000;
}

/* Empêcher le scroll lors du menu ouvert */
body.a58-menu-open {
  overflow: hidden;
}

/* =======================================================
 * A58 – Menu off-canvas (mobile) – inchangé
 * ===================================================== */

.a58-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.a58-mobile-menu--open {
  opacity: 1;
  pointer-events: auto;
}

.a58-mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Panneau latéral */

.a58-mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
}

.a58-mobile-menu--open .a58-mobile-menu__panel {
  transform: translateX(0);
}

/* Bouton fermeture */

/*.a58-mobile-menu__close {
  align-self: flex-end;
  margin: 0.75rem 0.75rem 0 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}*/

.a58-mobile-menu__close {
  align-self: flex-end;
  margin: 0.75rem 0.75rem 0 0;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffbd11 !important;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}

/* Croix CSS parfaite, centrée au pixel */
.a58-mobile-menu__close::before,
.a58-mobile-menu__close::after {
  content: "";
  position: absolute;
  width: 20px;       /* longueur de la barre */
  height: 2px;       /* épaisseur */
  background: #fff;  /* couleur des traits */
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.a58-mobile-menu__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.a58-mobile-menu__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Effet tactile */
.a58-mobile-menu__close:hover,
.a58-mobile-menu__close:active {
  transform: scale(1.06);
}


/* Navigation */

.a58-mobile-menu__nav {
  padding: 2rem 1.25rem 1rem;
  overflow-y: auto;
  flex: 1;
}

.a58-mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.a58-mobile-menu__list > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.a58-mobile-menu__list a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
  text-decoration: none;
}

/* Bas du menu */

.a58-mobile-menu__bottom {
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Réseaux sociaux */

.a58-mobile-menu__social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.a58-mobile-menu__social-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.a58-mobile-menu__social-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.a58-mobile-menu__social-links a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffbd11;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.a58-mobile-menu__social-links a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Logo dans le panneau */

.a58-mobile-menu__brand {
  padding: 1.5rem 1.25rem 1rem; /* réduit un peu l'espace en haut */
  display: flex;
  justify-content: center;
}

.a58-mobile-menu__brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.a58-mobile-menu__brand-img {
  height: 45px !important;      /* réduit la hauteur réelle */
  max-height: 45px !important;  /* limite stricte */
  width: auto !important;       /* pas d'étirement */
  object-fit: contain !important;/* affiche proprement */
}

/* =======================================================
 * A58 – Desktop sticky (comme avant)
 * ===================================================== */

.a58-topbar {
  position: relative !important;
  z-index: 900;
}

.a58-sticky-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
}

.a58-desktop-header {
  padding: 1.2rem 0;
}

.a58-desktop-header.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.a58-desktop-header.is-scrolled {
  padding: 0rem 0 !important;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.a58-header__logo img {
  display: block;
  max-width: 190px;
  height: auto;
  transition: max-width 0.25s ease;
}

.a58-desktop-header.is-scrolled .a58-header__logo img {
  max-width: 150px;
}

.a58-desktop-header nav,
.a58-desktop-header .elementor-nav-menu {
  transition: font-size 0.25s ease;
}

.a58-desktop-header.is-scrolled nav,
.a58-desktop-header.is-scrolled .elementor-nav-menu {
  font-size: 0.95rem;
}

/* =======================================================
 * A58 – Nettoyage Elementor (mobile)
 * ===================================================== */

@media (max-width: 1024px) {
  .elementor-location-header .elementor-widget-shortcode .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
  }

  .a58-mobile-header-section.elementor-section {
    padding: 0 !important;
    margin: 0 !important;
  }

  .a58-mobile-header-section .elementor-container,
  .a58-mobile-header-section .elementor-column,
  .a58-mobile-header-section .elementor-widget-wrap {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .a58-mobile-header-section .elementor-widget-shortcode .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .a58-mobile-header__icon--cart {
    display: none;
  }
}















