@charset "UTF-8";
/* lbc-product.css - LeBonClavier lot 320 (3 déc. 2026) : CSS des fiches produit, chargé après lbc-common.css.
   Blocs <style> sortis des .tpl, dans l'ordre exact où ils étaient émis dans la page. Sauvegarde et retour arrière : /root/backup-securite/lot320-nettoyage-css-*. */
/* ===== Lot 320 : S5 (origine : catalog/_partials/product-add-to-cart.tpl : alerte stock) ===== */
.stock-alert-custom {
  color: #e53935;
  font-size: 1rem;
  font-weight: normal;
  background: none;
  border: none;
  padding: 0;
  margin: 0.5rem 0 0.5rem 0;
  display: block;
}
/* ===== Lot 320 : S6 (origine : catalog/_partials/product-add-to-cart.tpl : bouton Ajouter au panier (17A, correctifs 17 et 39)) ===== */
/* Correctif 17 : bouton « Ajouter au panier » (commun A/B) */
.product-add-to-cart .btn.add-to-cart{ position:relative; display:inline-flex !important; align-items:center; justify-content:center; gap:.55rem; width:100%; min-height:52px; margin:0; padding:.75rem 1.25rem !important; border:0 !important; border-radius:.5rem !important; background:var(--lbc-fond) !important; color:#fff !important; font-family:inherit; font-size:1.1875rem !important; font-weight:700 !important; line-height:1.2; letter-spacing:.01em; text-transform:none !important; box-shadow:0 2px 6px rgba(154,68,8,.18), 0 1px 2px rgba(0,0,0,.06) !important; transition:background-color .15s ease, box-shadow .15s ease, transform .15s ease; cursor:pointer; opacity:1 !important; }
.product-add-to-cart .btn.add-to-cart:hover{ background:var(--lbc-survol) !important; transform:translateY(-1px); box-shadow:0 6px 14px rgba(154,68,8,.25), 0 2px 4px rgba(0,0,0,.08) !important; }
.product-add-to-cart .btn.add-to-cart:active{ transform:translateY(0); box-shadow:0 1px 3px rgba(154,68,8,.25) !important; }
.product-add-to-cart .btn.add-to-cart:focus{ outline:none; }
.product-add-to-cart .btn.add-to-cart:focus-visible{ outline:none; box-shadow:0 0 0 3px #fff, 0 0 0 5px #7a3606 !important; }
.product-add-to-cart .btn.add-to-cart .lbc-ico{ display:inline-flex; width:1.35rem; height:1.35rem; flex:0 0 auto; }
.product-add-to-cart .btn.add-to-cart .lbc-ico svg{ width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.product-add-to-cart .btn.add-to-cart:disabled, .product-add-to-cart .btn.add-to-cart.disabled{ background:#e9ecef !important; color:#495057 !important; box-shadow:none !important; transform:none; cursor:not-allowed; border:1px solid #ced4da !important; }
.product-add-to-cart .btn.add-to-cart.is-loading{ color:transparent !important; pointer-events:none; }
.product-add-to-cart .btn.add-to-cart.is-loading::after{ content:""; position:absolute; top:50%; left:50%; width:1.35rem; height:1.35rem; margin:-.675rem 0 0 -.675rem; border:2.5px solid rgba(255,255,255,.45); border-top-color:#fff; border-radius:50%; animation:lbc-tourne .7s linear infinite; }
/* 17A-bis : pendant l'ajout, PrestaShop désactive le bouton ; il doit rester orange avec la roue blanche (et non gris « Indisponible ») */
.product-add-to-cart .btn.add-to-cart.is-loading:disabled{ background:var(--lbc-fond) !important; color:transparent !important; border:0 !important; box-shadow:0 2px 6px rgba(154,68,8,.18) !important; cursor:progress; }
@keyframes lbc-tourne{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .product-add-to-cart .btn.add-to-cart{ transition:none; } .product-add-to-cart .btn.add-to-cart:hover{ transform:none; } }
/* Correctif 39 : fiche sans sélecteur de quantité ; disponibilité, bouton pleine largeur, quantité minimale, message */
.product-add-to-cart{ --lbc-fond:#e6721d; --lbc-survol:#c2570c; }
.product-add-to-cart .product-quantity.lbc-fa{ display:flex !important; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0; margin:0 !important; padding:0; color:inherit; font-size:inherit; }
.product-add-to-cart .lbc-fa > *{ flex:none; width:auto; max-width:none; margin:0; padding-left:0 !important; padding-right:0 !important; }
.product-add-to-cart .lbc-fa__dispo{ display:flex !important; align-items:baseline; justify-content:flex-start; gap:.5rem; margin:0 0 .5rem !important; min-width:0 !important; width:100% !important; text-align:left !important; font-size:.875rem !important; color:#6c757d !important; line-height:1.3; }
.product-add-to-cart .lbc-fa__dispo:empty{ display:none !important; }
.product-add-to-cart .lbc-fa__vendus{ margin-left:auto !important; text-align:right !important; white-space:nowrap; }
/* lot75 cache-bust inline style rev */
.product-add-to-cart .lbc-fa__dispo[data-lbc-vendus-align="75"]{ }
.product-add-to-cart .lbc-fa .add{ width:100%; }
.product-add-to-cart .lbc-fa__msg{ margin:.5rem 0 0; font-size:.875rem; line-height:1.35; color:#495057; }
.product-add-to-cart .lbc-fa__msg:empty{ display:none; }
.product-add-to-cart .lbc-fa__msg.is-erreur{ color:#b3261e; }
.product-add-to-cart .lbc-fa__msg a{ color:#9a4408; font-weight:600; text-decoration:underline; }
.product-add-to-cart .lbc-fa .product-minimal-quantity{ margin:0; }
.product-add-to-cart .lbc-fa .product-minimal-quantity:empty{ display:none; }
.product-add-to-cart .lbc-fa__min{ display:block; margin-top:.4rem; font-size:.8125rem; color:#6c757d; }
.product-add-to-cart .lbc-fa__actions:not(:has(.js-product-actions-buttons .row > *)){ display:none; }
.product-add-to-cart .lbc-fa__actions{ margin-top:.5rem; }
.product-add-to-cart .lbc-fa__alerte:not(:has(*)){ display:none; }
.product-add-to-cart .stock-alert-custom{ margin:.5rem 0 0 !important; font-size:.9375rem !important; }
/* Correctif 39 : espacement régulier (16 px) prix / 6 cadres de réassurance / disponibilité et bouton / expédition, en 1280 comme en 360 */
.product-information .product-prices{ margin-bottom:0 !important; }
.product-information > .row{ margin-bottom:1rem !important; }
.product-information > .product-header-mobile-row{ margin-bottom:1rem !important; }
.product-information .lbr-trust{ margin-top:0 !important; margin-bottom:1rem !important; }
.product-additional-info .lb-ship{ margin-top:1rem !important; }
@media (max-width:575.98px){ .product-add-to-cart .btn.add-to-cart{ padding:.75rem .5rem !important; gap:.4rem; letter-spacing:0; white-space:nowrap; } .product-add-to-cart .btn.add-to-cart .lbc-ico{ width:1.2rem; height:1.2rem; } }
/* ===== Lot 320 : S8 (origine : catalog/_partials/lbc-rupture.tpl : bouton rupture de stock) ===== */
body#product .product-flags:has(+ .js-product-images) > .product-flags__flag--out_of_stock{ display:none; }
body#product .product-add-to-cart #product-availability:has(.badge-danger){ display:none !important; }
body#product .product-add-to-cart .btn.add-to-cart.lbc50-rupture,
body#product .product-add-to-cart:has(#product-availability .badge-danger) .btn.add-to-cart:disabled:not(.is-loading){
  background:#fdf1f0 !important; color:#a1251b !important; border:1px dashed #e3a49e !important;
  box-shadow:none !important; transform:none !important; cursor:default !important; opacity:1 !important;
  min-height:2.75rem; font-weight:700; text-transform:none; pointer-events:none;
}
body#product .product-add-to-cart .btn.add-to-cart.lbc50-rupture .lbc50-ico{ display:inline-flex; width:1.25rem; height:1.25rem; flex:0 0 auto; }
body#product .product-add-to-cart .btn.add-to-cart.lbc50-rupture .lbc50-ico svg{ width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
/* ===== Lot 320 : S9 (origine : catalog/_partials/lbc-rupture.tpl : masque .lb-ship en rupture) ===== */
body#product:has(.product-add-to-cart .btn.add-to-cart.lbc50-rupture) .lb-ship,
body#product:has(.product-add-to-cart #product-availability .badge-danger) .lb-ship{
  display:none !important;
}
/* ===== Lot 320 : S10 (origine : modules/icebayavis/.../product-reviews.tpl : onglet avis) ===== */
    .icebayavis-tab__summary {
      display: flex;
      align-items: center;
      gap: 16px;
      margin: 0 0 6px;
      padding: 4px 2px 16px;
      border-bottom: 1px solid #eee;
    }
    .icebayavis-tab__score {
      font-size: 2rem;
      font-weight: 650;
      line-height: 1;
      letter-spacing: -0.03em;
      color: #2c2c2c;
    }
    .icebayavis-tab__score span {
      font-size: 1rem;
      font-weight: 500;
      color: #9a9a9a;
    }
    .icebayavis-tab__stars,
    .icebayavis-tab__note {
      letter-spacing: 1px;
      color: #e4e4e4;
      line-height: 1;
    }
    .icebayavis-tab__stars {
      font-size: 1.15rem;
    }
    .icebayavis-tab__stars .is-on,
    .icebayavis-tab__note .is-on {
      color: #e6721d;
    }
    .icebayavis-tab__count {
      margin-top: 4px;
      font-size: 0.92rem;
      color: #7a7a7a;
    }
    .icebayavis-tab__list {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .icebayavis-tab__item {
      padding: 14px 2px;
      border-bottom: 1px solid #f0f0f0;
    }
    .icebayavis-tab__item:last-child {
      border-bottom: none;
      padding-bottom: 2px;
    }
    .icebayavis-tab__meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }
    .icebayavis-tab__meta strong {
      color: #2c2c2c;
      font-weight: 650;
    }
    .icebayavis-tab__note {
      flex: 0 0 auto;
      font-size: 0.85rem;
    }
    .icebayavis-tab__item p {
      margin: 6px 0 0;
      color: #555;
      line-height: 1.45;
    }
  
/* ===== Lot 320 : S11 (origine : catalog/_partials/product-tabs.tpl : onglets produit (correctif 16)) ===== */
    /* Correctif 16 (proposition) : onglets produit modernes — orange falcon #e6721d, cartes arrondies */
    .product-tabs.lbt {
      margin: 2.5rem 0 2rem;
      border: 1px solid #e3e6ea;
      border-radius: 14px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px -8px rgba(16, 24, 40, 0.08);
    }
    .lbt .lbt__barre {
      background: #fafbfc;
      border-bottom: 1px solid #eceff2;
      padding: 0 1.25rem;
    }
    .lbt .lbt__liste {
      position: relative;
      display: flex;
      flex-wrap: nowrap;
      gap: 0.25rem;
      margin: 0;
      border: 0;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .lbt .lbt__liste::-webkit-scrollbar { display: none; }
    .lbt .lbt__liste .nav-item { flex: 0 0 auto; margin: 0; }
    .lbt .lbt__liste .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin: 0;
      padding: 1.05rem 0.95rem 1rem;
      border: 0 !important;
      border-radius: 0;
      background: none !important;
      color: #5f6b7a;
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.2s ease;
    }
    .lbt .lbt__liste .nav-link i {
      margin: 0 !important;
      color: #a0a9b4;
      opacity: 1;
      font-size: 0.95em;
      transition: color 0.2s ease;
    }
    .lbt .lbt__liste .nav-link::after {
      content: "";
      position: absolute;
      left: 0.95rem;
      right: 0.95rem;
      bottom: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: #e6721d;
      transform: scaleX(0);
      transition: transform 0.25s ease;
    }
    .lbt .lbt__liste .nav-link:hover { color: #212529; }
    .lbt .lbt__liste .nav-link:hover i { color: #6c757d; }
    .lbt .lbt__liste .nav-link.active { color: #e6721d; }
    .lbt .lbt__liste .nav-link.active i { color: #e6721d; }
    .lbt .lbt__liste .nav-link.active::after,
    .lbt .lbt__liste .nav-link:hover::after { transform: scaleX(1); }
    .lbt .lbt__liste .nav-link:hover:not(.active)::after { background: #e3e6ea; }
    .lbt .lbt__liste .nav-link:focus { outline: none; box-shadow: none; }
    .lbt .lbt__liste .nav-link:focus-visible { outline: 2px solid #e6721d; outline-offset: -6px; border-radius: 8px; }
    .lbt .lbt__corps { padding: 1.75rem 2rem 2rem; }
    .lbt .tab-pane {
      max-width: 78ch;
      color: #3d4651;
      font-size: 0.975rem;
      line-height: 1.7;
    }
    .lbt .tab-pane:focus-visible { outline: 2px solid #e6721d; outline-offset: 6px; border-radius: 6px; }
    .lbt .tab-pane#avis-clients { max-width: none; }
    .lbt .tab-pane p { margin: 0 0 0.85rem; }
    .lbt .tab-pane p:last-child { margin-bottom: 0; }
    .lbt .tab-pane strong { color: #212529; font-weight: 700; }
    .lbt .tab-pane[id^="extra-"] > p:first-of-type > strong:only-child {
      display: block;
      margin-bottom: 0.15rem;
      font-size: 1.0625rem;
    }
    .lbt .tab-pane a:not(.btn) { color: #e6721d; text-decoration: underline; text-underline-offset: 2px; }
    .lbt .tab-pane ul:not([class]), .lbt .tab-pane ol:not([class]) { padding-left: 1.25rem; margin: 0 0 0.85rem; }
    .lbt .tab-pane li::marker { color: #e6721d; }
    /* Compatibilités (module lbcompat) : liste en petites cartes */
    .lbt .lbcompat-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
      gap: 0.5rem;
    }
    .lbt .lbcompat-list li {
      position: relative;
      padding: 0.6rem 0.85rem 0.6rem 2.1rem;
      border: 1px solid #e3e6ea;
      border-radius: 10px;
      background: #fff;
      line-height: 1.4;
      font-size: 0.9375rem;
    }
    .lbt .lbcompat-list li::before {
      content: "";
      position: absolute;
      left: 0.8rem;
      top: 50%;
      width: 0.8rem;
      height: 0.8rem;
      margin-top: -0.4rem;
      border-radius: 50%;
      background: #e6721d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5.2' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
    }
    /* Tableaux éventuels (descriptions, fiches techniques) */
    .lbt .tab-pane table {
      width: 100%;
      margin: 0 0 1rem;
      border: 1px solid #e3e6ea;
      border-collapse: separate;
      border-spacing: 0;
      border-radius: 10px;
      overflow: hidden;
      font-size: 0.9375rem;
    }
    .lbt .tab-pane th, .lbt .tab-pane td { padding: 0.6rem 0.85rem; border: 0; border-bottom: 1px solid #eceff2; vertical-align: top; }
    .lbt .tab-pane tr:last-child > th, .lbt .tab-pane tr:last-child > td { border-bottom: 0; }
    .lbt .tab-pane th { background: #f5f6f8; color: #212529; font-weight: 600; text-align: left; }
    .lbt .tab-pane tbody tr:nth-child(even) > td { background: #fafbfc; }
    @media (prefers-reduced-motion: reduce) {
      .lbt .lbt__liste .nav-link, .lbt .lbt__liste .nav-link::after, .lbt .tab-pane.fade { transition: none; }
    }
    /* Mobile/tablette : barre d'onglets en pastilles défilantes */
    @media (max-width: 767.98px) {
      .product-tabs.lbt { margin: 1.75rem 0 1.5rem; border-radius: 12px; }
      .lbt .lbt__barre { padding: 0.6rem 0 0.6rem 0.6rem; }
      .lbt .lbt__liste {
        gap: 0.5rem;
        padding: 0.2rem 2rem 0.2rem 0.2rem;
        scroll-padding-left: 0.2rem;
        scroll-snap-type: x proximity;
        -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
        mask-image: linear-gradient(90deg, #000 85%, transparent);
      }
      .lbt .lbt__liste .nav-item { scroll-snap-align: start; }
      .lbt .lbt__liste .nav-link {
        padding: 0.5rem 0.9rem;
        border: 1px solid #dfe3e8 !important;
        border-radius: 999px;
        background: #fff !important;
        font-size: 0.75rem;
        letter-spacing: 0.04em;
      }
      .lbt .lbt__liste .nav-link::after { display: none; }
      .lbt .lbt__liste .nav-link.active {
        border-color: #e6721d !important;
        background: #fdf1e7 !important;
      }
      .lbt .lbt__liste .nav-link:focus-visible { outline-offset: 2px; border-radius: 999px; }
      .lbt .lbt__corps { padding: 1.25rem 1rem 1.4rem; }
      .lbt .tab-pane { font-size: 0.9375rem; line-height: 1.65; }
    }
    /* Variante B : sur mobile, accordéon (sans dupliquer le contenu : en-têtes insérés devant chaque volet) */
    .lbt .lbt__acc { display: none; }
    @media (max-width: 767.98px) {
      .lbt.lbt--acc { border: 0; box-shadow: none; background: none; overflow: visible; }
      .lbt.lbt--acc .lbt__barre { display: none; }
      .lbt.lbt--acc .lbt__corps { padding: 0; }
      .lbt.lbt--acc .tab-content { display: flex; flex-direction: column; gap: 0.6rem; }
      .lbt .lbt__acc {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        width: 100%;
        padding: 0.9rem 1rem;
        border: 1px solid #e3e6ea;
        border-radius: 12px;
        background: #fff;
        color: #3d4651;
        font: inherit;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-align: left;
        cursor: pointer;
        transition: border-color 0.2s ease, background-color 0.2s ease;
      }
      .lbt .lbt__acc i { color: #a0a9b4; width: 1.1em; text-align: center; }
      .lbt .lbt__acc::after {
        content: "";
        margin-left: auto;
        width: 0.55rem;
        height: 0.55rem;
        border-right: 2px solid #e6721d;
        border-bottom: 2px solid #e6721d;
        transform: translateY(-25%) rotate(45deg);
        transition: transform 0.25s ease;
      }
      .lbt .lbt__acc[aria-expanded="true"] {
        border-color: #e6721d;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        background: #fdf1e7;
        color: #e6721d;
      }
      .lbt .lbt__acc[aria-expanded="true"] i { color: #e6721d; }
      .lbt .lbt__acc[aria-expanded="true"]::after { transform: translateY(25%) rotate(-135deg); }
      .lbt .lbt__acc:focus { outline: none; }
      .lbt .lbt__acc:focus-visible { outline: 2px solid #e6721d; outline-offset: 2px; }
      .lbt.lbt--acc .tab-content > .tab-pane { display: none; }
      .lbt.lbt--acc .tab-content > .tab-pane.lbt-ouvert {
        display: block;
        opacity: 1;
        margin-top: -0.6rem;
        padding: 1.1rem 1rem 1.25rem;
        border: 1px solid #e6721d;
        border-top: 0;
        border-radius: 0 0 12px 12px;
        background: #fff;
      }
    }
  
/* ===== Lot 320 : S12 (origine : catalog/product.tpl : prix, quantité, réassurance (2e bloc)) ===== */
      .product-prices-wrapper {
        padding: 0;
      }
      /* Correctif 25/10/2026 : le prix est rendu dans .current-price > .price.price--lg + small.tax-label */
      .product-prices .current-price {
        display: inline-flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 0.3rem;
      }
      .product-prices .current-price .price--lg {
        font-size: 2.5rem; margin-top: 0.6rem; /* correctif 15 : 34px -> 40px, descendu */
        line-height: 1;
        color: #e6721d;
        font-weight: bold;
      }
      .product-prices .current-price small.tax-label,
      .product-prices .tax-shipping-delivery-label {
        font-size: 1.2rem;
        color: #e6721d !important;
        font-weight: normal;
      }
      .product-quantity-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
      }
      .product-quantity-row .quantity-info {
        margin-left: auto;
        min-width: 120px;
        text-align: right;
      }
      @media (max-width: 576px) {
        .product-quantity-row {
          gap: 0.3rem !important;
          justify-content: flex-start;
        }
        .quantity-info {
          min-width: 90px;
          text-align: right;
          font-size: 1rem;
          color: #212529;
        }
      }
      .product-quantity {
        color: #6c757d;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .quantity-label {
        color: #6c757d;
      }
      .quantity-value {
        color: #212529;
        font-weight: 500;
        margin-left: auto;
      }
      .reassurance-items {
        border-top: 1px solid #dee2e6;
        padding-top: 1rem;
      }
      .reassurance-item {
        color: #495057;
        font-size: 0.95rem;
      }
      .reassurance-item i {
        color: #39a0ff;
      }
      .state-label {
        color: #6c757d;
      }
      .state-value {
        color: #212529;
      }
      .stock-alert, .product-availability .stock.alert {
        background: none !important;
        color: #e53935 !important;
        border: none !important;
        font-size: 1rem !important;
        font-weight: normal !important;
        padding: 0 !important;
        margin: 0.5rem 0 0.5rem 0 !important;
        display: inline-block;
      }
      @media (min-width: 768px) {
        .product-prices-wrapper {
          text-align: right;
        }
      }
    

/* ===== Lot 321 : couleur TTC / livraison, remplace le micro-script qui posait style="color:#e67621 !important" au DOMContentLoaded ===== */
/* L'ancien script visait .tax-shipping-delivery-label et .current-price small sur toute la fiche ; un style en ligne !important l'emportait sur tout.
   Le préfixe body#product donne ici la priorité équivalente (id) sur les règles précédentes (#e6721d). */
body#product .tax-shipping-delivery-label,
body#product .current-price small { color: #e67621 !important; }
