/* =====================================================================
   LCN – Boutique, catégories et fiche produit (thème Compu Care)
   Plugin « LCN Espace client » — un seul fichier, ordonné par composant.
   1. Couleurs                          5. Pagination et défilement infini
   2. Boutique : mise en page           6. Fiche produit
   3. Menu des catégories et recherche  7. Navigation au clavier
   4. Grille et cartes produit
   ===================================================================== */

/* 1. Couleurs ---------------------------------------------------------- */
:root{
  --lcn-vert:#3daa38;        /* vert de la charte */
  --lcn-vert-fonce:#31912d;  /* menu des catégories, pagination */
  --lcn-vert-pale:#e3f1e2;
  --lcn-noir:#1d1d1b;
  --lcn-focus:#2b7d28;       /* contour clavier (contraste suffisant) */
}

/* 2. Boutique : conteneur, colonnes, menu qui suit --------------------- */
.lcn-shop .container:has(> .row > .left-sidebar-wrap){
  width:100% !important; max-width:1760px !important; box-sizing:border-box;
  padding-left:16px !important; padding-right:16px !important;
}
.lcn-shop .row:has(> .left-sidebar-wrap){
  display:grid; grid-template-columns:minmax(0, 1fr); gap:16px; align-items:start; margin-left:0; margin-right:0;
}
.lcn-shop .row:has(> .left-sidebar-wrap)::before,
.lcn-shop .row:has(> .left-sidebar-wrap)::after{ display:none; }
.lcn-shop .left-sidebar-wrap,
.lcn-shop .pr-content{ width:auto; float:none; min-width:0; padding-left:0; padding-right:0; }
.lcn-shop .left-sidebar-wrap{ position:static; }
@media (min-width:992px){
  .lcn-shop .container:has(> .row > .left-sidebar-wrap){
    padding-left:clamp(20px, 2.5vw, 48px) !important; padding-right:clamp(20px, 2.5vw, 48px) !important;
  }
  .lcn-shop .row:has(> .left-sidebar-wrap){
    grid-template-columns:clamp(270px, 17vw, 330px) minmax(0, 1fr); gap:36px clamp(24px, 2.2vw, 44px);
  }
  /* Le menu suit le défilement, sous l'en-tête fixe éventuel (--lcn-sticky-top : lcn-shop.js). */
  .lcn-shop .row:has(> .left-sidebar-wrap) > .left-sidebar-wrap{
    position:sticky; top:var(--lcn-sticky-top, 20px); align-self:start;
    max-height:calc(100vh - var(--lcn-sticky-top, 20px) - 16px);
    overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; transition:top .2s ease;
  }
}

/* 3. Menu des catégories (widget LCN) ---------------------------------- */
.lcn-shop .left-sidebar-wrap .widget_lcn_catnav{
  margin:0 0 20px; padding:18px 16px 10px; background:#fff; border:1px solid #e6e8e6; border-radius:10px;
}
.lcn-cn{ font-size:14px; line-height:1.35; }
.lcn-cn *{ box-sizing:border-box; }
.lcn-cn .lcn-cn-head{
  display:flex; align-items:center; justify-content:space-between; width:100%; margin:0 0 6px; padding:0 0 12px;
  background:none; border:0; border-bottom:2px solid var(--lcn-vert-fonce); border-radius:0; box-shadow:none; cursor:default;
  font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; text-align:left; color:var(--lcn-noir);
}
.lcn-cn .lcn-cn-head .lcn-cn-chev{ display:none; color:var(--lcn-vert-fonce); transition:transform .2s; }
.lcn-cn .lcn-cn-item{ margin:0; padding:0; border-top:1px solid #eef0ee; }
.lcn-cn .lcn-cn-body > .lcn-cn-item:first-child{ border-top:0; }
.lcn-cn .lcn-cn-row{ display:flex; align-items:center; gap:8px; min-height:42px; }
/* Noms jamais tronqués : retour à la ligne si besoin */
.lcn-cn .lcn-cn-row a{
  flex:1 1 auto; min-width:0; margin:0; padding:8px 0; background:none; white-space:normal; overflow:visible;
  font-size:14.5px; font-weight:600; line-height:1.35; color:var(--lcn-noir) !important; text-decoration:none !important;
}
.lcn-cn .lcn-cn-row a:has(> .lcn-cn-ico){ display:flex; align-items:center; gap:10px; }
.lcn-cn .lcn-cn-row a::before,
.lcn-cn .lcn-cn-row a::after{ display:none !important; content:none !important; }
.lcn-cn .lcn-cn-row a:hover{ color:var(--lcn-vert-fonce) !important; }
.lcn-cn-ico{ display:inline-flex; flex:0 0 20px; width:20px; height:20px; color:var(--lcn-vert); }
.lcn-cn-ico svg{ display:block; width:20px; height:20px; }
.lcn-cn .lcn-cn-count{
  flex:0 0 auto; min-width:28px; padding:2px 8px; border-radius:10px; background:#f1f3f1; color:#6b6d6a;
  font-size:12px; font-weight:600; line-height:1.4; text-align:center; white-space:nowrap;
}
.lcn-cn .lcn-cn-tog{
  flex:0 0 28px; width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center;
  margin:0; padding:0; border:0; border-radius:6px; background:none; box-shadow:none; color:#6b6d6a; cursor:pointer;
}
.lcn-cn .lcn-cn-tog:hover{ background:#f1f3f1; color:var(--lcn-vert-fonce); }
.lcn-cn .lcn-cn-tog svg{ transition:transform .2s; }
.lcn-cn .lcn-cn-item.is-open > .lcn-cn-row .lcn-cn-tog svg{ transform:rotate(90deg); }
.lcn-cn .lcn-cn-sub{ display:none; margin:0 0 8px 4px; padding:0 0 0 12px; border-left:2px solid var(--lcn-vert-pale); }
.lcn-cn .lcn-cn-item.is-open > .lcn-cn-sub{ display:block; }
.lcn-cn .lcn-cn-sub .lcn-cn-item{ border-top:0; }
.lcn-cn .lcn-cn-sub .lcn-cn-row{ min-height:34px; }
.lcn-cn .lcn-cn-sub .lcn-cn-row a{ padding:5px 0; font-size:13.5px; font-weight:500; color:#3a3c39 !important; }
.lcn-cn .lcn-cn-sub .lcn-cn-count{ min-width:0; padding:0 4px; background:none; font-weight:500; }
.lcn-cn .lcn-cn-item.is-current > .lcn-cn-row a{ color:var(--lcn-vert-fonce) !important; font-weight:700; }
.lcn-cn .lcn-cn-item.is-current > .lcn-cn-row .lcn-cn-count{ background:var(--lcn-vert-pale); color:var(--lcn-vert-fonce); }

/* Tablette et téléphone : menu replié par défaut (ouvert par lcn-shop.js), la recherche reste visible */
@media (max-width:991px){
  .lcn-shop .left-sidebar-wrap .widget_lcn_catnav{ margin-bottom:4px; padding:14px 14px 6px; }
  .lcn-cn .lcn-cn-head{ cursor:pointer; }
  .lcn-cn .lcn-cn-head .lcn-cn-chev{ display:inline-flex; }
  .lcn-cn.is-expanded .lcn-cn-head .lcn-cn-chev{ transform:rotate(180deg); }
  .lcn-cn:not(.is-expanded) .lcn-cn-head{ margin-bottom:0; padding-bottom:8px; border-bottom-color:transparent; }
  .lcn-cn:not(.is-expanded) .lcn-cn-body{ display:none; }
}

/* Recherche */
.lcn-sr-only{ position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0, 0, 0, 0); white-space:nowrap; border:0; }
.lcn-cn-search{ position:relative; margin:0 0 18px; }
.lcn-cn-search input[type="search"]{
  width:100% !important; height:44px !important; margin:0 !important; padding:0 44px 0 14px !important;
  border:1px solid #dfe2dd !important; border-radius:10px !important; background:#f7f8f6 !important; box-shadow:none !important;
  font-size:16px !important; color:var(--lcn-noir) !important; -webkit-appearance:none; appearance:none;
  transition:border-color .2s, background .2s, box-shadow .2s;
}
.lcn-cn-search input[type="search"]::-webkit-search-cancel-button{ -webkit-appearance:none; }
.lcn-cn-search input[type="search"]:focus{
  outline:none; border-color:var(--lcn-vert) !important; background:#fff !important; box-shadow:0 0 0 3px rgba(61, 170, 56, .18) !important;
}
.lcn-cn-search button[type="submit"]{
  position:absolute; top:4px; right:4px; width:36px !important; height:36px !important; min-width:0 !important; margin:0 !important; padding:0 !important;
  display:flex !important; align-items:center; justify-content:center; border:0 !important; border-radius:8px !important;
  background:transparent !important; box-shadow:none !important; color:var(--lcn-vert) !important; cursor:pointer;
}
.lcn-cn-search button[type="submit"]:hover{ background:#eef6ed !important; }
.lcn-sr{
  margin-top:8px; padding:6px; max-height:min(60vh, 480px); overflow-y:auto;
  background:#fff; border:1px solid #e3e5e2; border-radius:12px; box-shadow:0 10px 28px rgba(0, 0, 0, .10);
}
.lcn-sr[hidden]{ display:none; }
.lcn-sr-item{
  display:grid; grid-template-columns:48px minmax(0, 1fr); column-gap:12px; align-items:center; padding:8px; border-radius:8px;
  color:var(--lcn-noir) !important; text-decoration:none !important;
}
.lcn-sr-item img{ grid-row:1 / span 2; width:48px; height:48px; object-fit:contain; background:#fff; border:1px solid #eef0ec; border-radius:6px; }
.lcn-sr-item:hover,
.lcn-sr-item[aria-selected="true"]{ background:#f2f7f1; }
.lcn-sr-name{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14px; font-weight:600; line-height:1.3; }
.lcn-sr-price{ font-size:13px; font-weight:700; color:var(--lcn-noir); }
.lcn-sr-price del{ margin-right:4px; font-weight:400; color:#8a8d88; }
.lcn-sr-price ins{ text-decoration:none; }
.lcn-sr-out{ margin-left:6px; font-size:12px; font-weight:600; color:#b3261e; }
.lcn-sr-all{
  display:block; margin-top:4px; padding:10px 8px; border-top:1px solid #eee; text-align:center;
  font-size:14px; font-weight:600; color:var(--lcn-vert) !important; text-decoration:none !important;
}
.lcn-sr-all:hover{ text-decoration:underline !important; }
.lcn-sr-empty{ padding:14px 8px; text-align:center; font-size:14px; color:#6b6e69; }

/* 4. Grille et cartes produit (boutique, catégories, carrousels) ------- */
.lcn-shop:not(.lcn-list) ul.products{
  display:grid !important; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:24px;
  position:relative; height:auto !important; margin:24px 0 0 !important; padding:0 !important;
}
.lcn-shop:not(.lcn-list) ul.products::before,
.lcn-shop:not(.lcn-list) ul.products::after{ display:none !important; }
.lcn-shop:not(.lcn-list) ul.products li.product{
  position:relative !important; display:flex !important; flex-direction:column; box-sizing:border-box;
  width:auto !important; min-width:0; float:none !important; clear:none !important; margin:0 !important; padding:0 0 6px !important;
  background:transparent !important; border:0 !important; border-radius:0; box-shadow:none !important;
}
.lcn-shop:not(.lcn-list) ul.products li.product > *{ max-width:100%; }
.lcn-shop:not(.lcn-list) ul.products li.product *:has(> img){ overflow:visible !important; max-width:100% !important; width:auto !important; }
/* Photo entière dans une case grise : fond blanc + luminosité 96,1 % => le blanc des photos (255) devient le gris (245). */
.lcn-shop:not(.lcn-list) ul.products li.product img{
  display:block; position:static !important; left:auto !important; box-sizing:border-box;
  width:100% !important; max-width:100% !important; height:auto !important; aspect-ratio:1 / 1;
  object-fit:contain !important; object-position:center; margin:0 0 12px !important; padding:16px; border-radius:12px;
  background:#fff !important; filter:brightness(.961) !important; transform:none !important; transition:transform .25s ease;
}
.lcn-shop:not(.lcn-list) ul.products li.product:hover img{ transform:scale(1.03) !important; }
.lcn-shop:not(.lcn-list) ul.products li.product :is(h2, h3, .woocommerce-loop-product__title){
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.7em;
  margin:0 0 8px !important; padding:0 2px !important; font-size:15px !important; line-height:1.35 !important;
}
.lcn-shop:not(.lcn-list) ul.products li.product .price{ margin-top:auto !important; padding:0 2px; font-size:17px !important; font-weight:700; }

/* Rupture de stock */
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock::before{
  content:"Rupture de stock"; position:absolute; top:10px; left:10px; z-index:3; pointer-events:none;
  padding:4px 10px; border-radius:6px; background:rgba(29, 29, 27, .88); color:#fff;
  font-size:11.5px; font-weight:700; letter-spacing:.02em; line-height:1.3;
}
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock img{ opacity:.55; filter:grayscale(1) brightness(.961) !important; }
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock:hover img{ opacity:.8; }
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock .price,
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock .price *{ color:#8a8d89 !important; }

/* « Comparer » : icône dans le coin de la photo (le texte reste lu par les lecteurs d'écran) */
.lcn-shop:not(.lcn-list) ul.products li.product :has(.woosc-btn){ position:static !important; }
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn{
  position:absolute !important; top:10px !important; right:10px !important; left:auto !important; bottom:auto !important; z-index:4;
  width:36px !important; height:36px !important; min-width:0 !important; margin:0 !important; padding:0 !important;
  display:flex !important; align-items:center; justify-content:center;
  border:1px solid #e3e5e2 !important; border-radius:50% !important; background:#fff !important; color:var(--lcn-noir) !important;
  box-shadow:0 2px 6px rgba(0, 0, 0, .08) !important; font-size:0 !important; line-height:0 !important; text-decoration:none !important;
  opacity:.92; transition:background .2s, color .2s, border-color .2s, opacity .2s;
}
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn .woosc-btn-icon{ display:none !important; }
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn .woosc-btn-text{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn::before{
  content:"" !important; display:block !important; width:18px; height:18px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14 4l4 4-4 4'/%3E%3Cpath d='M20 16H6M10 12l-4 4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14 4l4 4-4 4'/%3E%3Cpath d='M20 16H6M10 12l-4 4 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn::after{ display:none !important; }
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn:hover,
.lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn:is(.woosc-added, .woosc-btn-added){
  opacity:1; background:var(--lcn-vert) !important; border-color:var(--lcn-vert) !important; color:#fff !important;
}

/* Titres sans majuscules forcées (i7 et non I7), police du site pour la recherche et le tri */
.lcn-shop:not(.lcn-list) ul.products li.product :is(h2, h3, .woocommerce-loop-product__title){ text-transform:none !important; letter-spacing:0 !important; }
.lcn-cn-search input[type="search"],
.lcn-shop .woocommerce-ordering select{ font-family:inherit !important; }

/* Vue en liste (thème) : titres sans majuscules forcées */
.lcn-shop.lcn-list ul.products li.product :is(h2, h3, .woocommerce-loop-product__title){ text-transform:none !important; letter-spacing:0 !important; }

/* Téléphone : 2 produits par ligne */
@media (max-width:600px){
  .lcn-shop:not(.lcn-list) ul.products{ grid-template-columns:repeat(2, minmax(0, 1fr)) !important; gap:20px 12px !important; }
  .lcn-shop:not(.lcn-list) ul.products li.product img{ padding:10px; border-radius:10px; }
  .lcn-shop:not(.lcn-list) ul.products li.product :is(h2, h3, .woocommerce-loop-product__title){
    -webkit-line-clamp:3; margin:8px 0 4px !important; font-size:13.5px !important;
  }
  .lcn-shop:not(.lcn-list) ul.products li.product .price{ font-size:15px !important; }
  .lcn-shop:not(.lcn-list) ul.products li.product.outofstock::before{ top:6px; left:6px; padding:3px 8px; font-size:10.5px; }
  .lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn{ top:8px !important; right:8px !important; width:32px !important; height:32px !important; }
  .lcn-shop:not(.lcn-list) ul.products li.product .woosc-btn::before{ width:16px; height:16px; }
}

/* 4b. Vue en liste (?mode=list) : cartes horizontales --------------- */
.lcn-shop .product-quick-view{ display:none !important; } /* « Zoom » du thème : aperçu cassé */
.lcn-shop.lcn-list ul.products{ display:flex !important; flex-direction:column; gap:16px; margin:24px 0 0 !important; padding:0 !important; list-style:none; }
.lcn-shop.lcn-list ul.products::before,
.lcn-shop.lcn-list ul.products::after{ display:none !important; }
.lcn-shop.lcn-list ul.products li.product{
  position:relative; width:100% !important; float:none !important; clear:none !important; margin:0 !important; padding:0 !important;
  background:#fff !important; border:1px solid #e6e8e6 !important; border-radius:14px; box-shadow:none; transition:box-shadow .2s, border-color .2s;
}
.lcn-shop.lcn-list ul.products li.product:hover{ border-color:#d6dbd6 !important; box-shadow:0 8px 24px rgba(0, 0, 0, .07); }
.lcn-shop.lcn-list ul.products li.product :is(.cshere-woo-item-wrap, .cshero-woo-inner){ margin:0 !important; padding:0 !important; background:none !important; border:0 !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-woo-inner{
  display:grid !important; grid-template-columns:200px minmax(0, 1fr); gap:24px; align-items:center; padding:16px 20px 16px 16px !important;
}

/* Photo */
.lcn-shop.lcn-list ul.products li.product .cshero-woo-image{ position:relative; width:auto !important; float:none !important; margin:0 !important; padding:0 !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-woo-image .cshero-add-to-cart{ display:none !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-woo-image img{
  display:block; width:100% !important; max-width:100% !important; height:auto !important; aspect-ratio:4 / 3; margin:0 !important;
  padding:12px; box-sizing:border-box; object-fit:contain; border-radius:10px; background:#fff !important; filter:brightness(.961);
  transform:none !important; transition:transform .25s ease;
}
.lcn-shop.lcn-list ul.products li.product:hover .cshero-woo-image img{ transform:scale(1.03) !important; }

/* Texte à gauche, prix + bouton à droite (colonne séparée par un filet) */
.lcn-shop.lcn-list ul.products li.product .cshero-woo-meta{
  display:grid !important; grid-template-columns:minmax(0, 1fr) 210px;
  grid-template-areas:"title price" "desc actions" "comp actions";
  column-gap:24px; row-gap:0; align-items:start;
  width:auto !important; float:none !important; margin:0 !important; padding:0 !important; text-align:left !important;
}
.lcn-shop.lcn-list ul.products li.product .cshero-product-title{ grid-area:title; margin:0 !important; padding:0 0 6px !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-product-title .line{ display:none !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-product-title h3{
  margin:0 !important; padding:0 !important; font-size:17px !important; line-height:1.35 !important; font-weight:600 !important;
  letter-spacing:0 !important; text-transform:none !important;
}
.lcn-shop.lcn-list ul.products li.product .cshero-product-title a{ color:var(--lcn-noir) !important; text-decoration:none !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-product-title a:hover{ color:var(--lcn-vert-fonce) !important; }
.lcn-shop.lcn-list ul.products li.product .content{ grid-area:desc; margin:0 !important; padding:0 0 10px !important; }
.lcn-shop.lcn-list ul.products li.product .content p{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:0 !important;
  font-size:13.5px !important; line-height:1.55 !important; color:#5f625e !important;
}
.lcn-shop.lcn-list ul.products li.product .woosc-btn{
  grid-area:comp; justify-self:start; position:static !important; display:inline-flex !important; align-items:center; gap:6px;
  margin:0 !important; padding:0 !important; background:none !important; border:0 !important; box-shadow:none !important;
  font-size:13px !important; font-weight:500 !important; color:#6b6d6a !important; text-decoration:none !important;
}
.lcn-shop.lcn-list ul.products li.product .woosc-btn:hover{ color:var(--lcn-vert-fonce) !important; }
.lcn-shop.lcn-list ul.products li.product .cshero-product-price{
  grid-area:price; align-self:end; justify-self:stretch; position:static !important; margin:0 !important; padding:0 0 10px 24px !important;
  border-left:1px solid #eef0ee; text-align:right; white-space:nowrap;
  font-size:24px !important; font-weight:700 !important; line-height:1.2 !important; color:var(--lcn-noir) !important;
}
.lcn-shop.lcn-list ul.products li.product .cshero-product-price *{ font-size:inherit !important; color:inherit !important; }
.lcn-shop.lcn-list ul.products li.product .bottom-product{
  grid-area:actions; align-self:stretch; display:flex !important; flex-direction:column; justify-content:flex-start; gap:6px;
  position:static !important; margin:0 !important; padding:0 0 0 24px !important; border-left:1px solid #eef0ee;
  opacity:1 !important; visibility:visible !important; transform:none !important;
}
.lcn-shop.lcn-list ul.products li.product .bottom-product .cshero-add-to-cart{
  display:block !important; position:static !important; width:100% !important; float:none !important; margin:0 !important; padding:0 !important;
  opacity:1 !important; visibility:visible !important; transform:none !important;
}
.lcn-shop.lcn-list ul.products li.product .bottom-product .button{
  display:flex !important; align-items:center; justify-content:center; width:100% !important; min-width:0 !important; max-width:none !important;
  height:44px !important; margin:0 !important; padding:0 14px !important; overflow:visible !important; text-indent:0 !important;
  border:0 !important; border-radius:8px !important; background:var(--lcn-vert-fonce) !important; color:#fff !important; box-shadow:none !important;
  font-family:inherit !important; font-size:14px !important; font-weight:600 !important; line-height:1.2 !important; letter-spacing:0 !important;
  text-transform:none !important; text-align:center; white-space:nowrap; transition:background .2s;
}
.lcn-shop.lcn-list ul.products li.product .bottom-product .button::before,
.lcn-shop.lcn-list ul.products li.product .bottom-product .button::after{ content:none !important; display:none !important; }
.lcn-shop.lcn-list ul.products li.product .bottom-product .button:hover{ background:#277a24 !important; }
.lcn-shop.lcn-list ul.products li.product .bottom-product a.added_to_cart{ display:block; text-align:center; font-size:13px; font-weight:600; color:var(--lcn-vert-fonce) !important; }

/* Rupture de stock */
.lcn-shop.lcn-list ul.products li.product.outofstock .cshero-woo-image::before{
  content:"Rupture de stock"; position:absolute; top:8px; left:8px; z-index:3; pointer-events:none;
  padding:4px 10px; border-radius:6px; background:rgba(29, 29, 27, .88); color:#fff; font-size:11.5px; font-weight:700; line-height:1.3;
}
.lcn-shop.lcn-list ul.products li.product.outofstock .cshero-woo-image img{ opacity:.55; filter:grayscale(1) brightness(.961); }
.lcn-shop.lcn-list ul.products li.product.outofstock .cshero-product-price{ color:#8a8d89 !important; }

/* Tablette */
@media (max-width:991px){
  .lcn-shop.lcn-list ul.products li.product .cshero-woo-inner{ grid-template-columns:160px minmax(0, 1fr); gap:18px; }
  .lcn-shop.lcn-list ul.products li.product .cshero-woo-meta{ grid-template-columns:minmax(0, 1fr) 180px; column-gap:18px; }
  .lcn-shop.lcn-list ul.products li.product :is(.cshero-product-price, .bottom-product){ padding-left:18px !important; }
  .lcn-shop.lcn-list ul.products li.product .cshero-product-price{ font-size:21px !important; }
}
/* Smartphone : photo carrée à gauche ; titre, prix, bouton empilés */
@media (max-width:767px){
  .lcn-shop.lcn-list ul.products li.product .cshero-woo-inner{ grid-template-columns:112px minmax(0, 1fr); gap:14px; align-items:start; padding:12px !important; }
  .lcn-shop.lcn-list ul.products li.product .cshero-woo-image img{ padding:6px; aspect-ratio:1 / 1; }
  .lcn-shop.lcn-list ul.products li.product .cshero-woo-meta{ grid-template-columns:minmax(0, 1fr); grid-template-areas:"title" "price" "actions"; row-gap:8px; }
  .lcn-shop.lcn-list ul.products li.product :is(.content, .woosc-btn){ display:none !important; }
  .lcn-shop.lcn-list ul.products li.product .cshero-product-title{ padding:0 !important; }
  .lcn-shop.lcn-list ul.products li.product .cshero-product-title h3{ font-size:14.5px !important; }
  .lcn-shop.lcn-list ul.products li.product :is(.cshero-product-price, .bottom-product){ padding:0 !important; border-left:0; }
  .lcn-shop.lcn-list ul.products li.product .cshero-product-price{ align-self:start; text-align:left; font-size:18px !important; }
  .lcn-shop.lcn-list ul.products li.product .bottom-product .button{ height:40px !important; font-size:13px !important; }
  .lcn-shop.lcn-list ul.products li.product.outofstock .cshero-woo-image::before{ top:4px; left:4px; padding:2px 6px; font-size:10px; }
}

/* 4c. État du produit : bandeau « Reconditionné · Grade A/B/C » sur la photo (seulement si un attribut contient le grade) */
.lcn-grade-a{ --lcn-etat:"Reconditionné · Grade A"; --lcn-etat-bg:#2b7d28; }
.lcn-grade-b{ --lcn-etat:"Reconditionné · Grade B"; --lcn-etat-bg:#b7791f; }
.lcn-grade-c{ --lcn-etat:"Reconditionné · Grade C"; --lcn-etat-bg:#c05621; }
.lcn-shop:not(.lcn-list) ul.products li.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c)::after,
.lcn-shop.lcn-list ul.products li.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) .cshero-woo-image::after,
.lcn-product div.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) :is(.woo-variation-product-gallery, .woocommerce-product-gallery)::before{
  content:var(--lcn-etat); position:absolute; top:10px; left:10px; z-index:5; pointer-events:none;
  padding:4px 10px; border-radius:6px; background:var(--lcn-etat-bg); color:#fff; box-shadow:0 2px 6px rgba(0, 0, 0, .12);
  font-size:11.5px; font-weight:700; letter-spacing:.02em; line-height:1.3; white-space:nowrap;
}
.lcn-product div.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) :is(.woo-variation-product-gallery, .woocommerce-product-gallery){ position:relative; }
.lcn-product div.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) :is(.woo-variation-product-gallery, .woocommerce-product-gallery)::before{ top:12px; left:12px; padding:5px 12px; font-size:13px; }
/* Avec « Rupture de stock » : les deux bandeaux s'empilent */
.lcn-shop:not(.lcn-list) ul.products li.product.outofstock:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c)::after{ top:38px; }
.lcn-shop.lcn-list ul.products li.product.outofstock:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) .cshero-woo-image::after{ top:36px; }
@media (max-width:600px){
  .lcn-grade-a{ --lcn-etat:"Grade A"; }
  .lcn-grade-b{ --lcn-etat:"Grade B"; }
  .lcn-grade-c{ --lcn-etat:"Grade C"; }
  .lcn-shop ul.products li.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c)::after,
  .lcn-shop ul.products li.product:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) .cshero-woo-image::after{ top:6px; left:6px; padding:3px 8px; font-size:10.5px; }
  .lcn-shop:not(.lcn-list) ul.products li.product.outofstock:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c)::after{ top:30px; }
  .lcn-shop.lcn-list ul.products li.product.outofstock:is(.lcn-grade-a, .lcn-grade-b, .lcn-grade-c) .cshero-woo-image::after{ top:26px; }
}

/* 5. Pagination et défilement infini ----------------------------------- */
.lcn-shop .pr-content :is(nav.woocommerce-pagination, .woocommerce-pagination){
  position:static !important; float:none !important; clear:both; width:100%; transform:none !important;
  margin:44px 0 10px !important; padding:0 !important; text-align:center; border:0 !important; background:none !important;
}
.lcn-shop .pr-content .woocommerce-pagination ul.page-numbers{
  display:inline-flex !important; flex-wrap:wrap; justify-content:center; gap:6px; position:static !important;
  margin:0 !important; padding:0 !important; border:0 !important; list-style:none; white-space:normal;
}
.lcn-shop .pr-content .woocommerce-pagination ul.page-numbers li{
  display:block !important; float:none !important; margin:0 !important; padding:0 !important; border:0 !important; overflow:visible !important;
}
.lcn-shop .pr-content .woocommerce-pagination .page-numbers :is(a, span),
.lcn-shop .pr-content .woocommerce-pagination a.page-numbers,
.lcn-shop .pr-content .woocommerce-pagination span.page-numbers{
  display:inline-flex !important; align-items:center; justify-content:center; gap:4px;
  min-width:40px; height:40px; margin:0 !important; padding:0 12px !important;
  border:1px solid #e2e5e2 !important; border-radius:8px !important; background:#fff !important; box-shadow:none !important;
  font-size:14px !important; font-weight:600 !important; line-height:1 !important; color:var(--lcn-noir) !important;
  text-decoration:none !important; text-indent:0 !important; opacity:1 !important; visibility:visible !important;
}
.lcn-shop .pr-content .woocommerce-pagination a.page-numbers:hover{ border-color:var(--lcn-vert-fonce) !important; color:var(--lcn-vert-fonce) !important; }
.lcn-shop .pr-content .woocommerce-pagination span.page-numbers.current{
  background:var(--lcn-vert-fonce) !important; border-color:var(--lcn-vert-fonce) !important; color:#fff !important;
}
.lcn-shop .pr-content .woocommerce-pagination span.page-numbers.dots{ min-width:24px; padding:0 !important; border-color:transparent !important; background:none !important; }
.lcn-shop .pr-content .woocommerce-pagination .page-numbers svg{ display:block; }
.lcn-shop .pr-content .woocommerce-pagination .page-numbers :is(a, span)::before,
.lcn-shop .pr-content .woocommerce-pagination .page-numbers :is(a, span)::after{ display:none !important; content:none !important; }
@media (max-width:600px){
  .lcn-shop .pr-content .woocommerce-pagination .page-numbers :is(a, span),
  .lcn-shop .pr-content .woocommerce-pagination a.page-numbers,
  .lcn-shop .pr-content .woocommerce-pagination span.page-numbers{ min-width:36px; height:36px; padding:0 8px !important; font-size:13px !important; }
}

/* Défilement infini (lcn-shop.js) */
.lcn-shop .woocommerce-pagination.lcn-inf-hidden{ display:none !important; }
.lcn-inf{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:52px; margin:36px 0 12px; }
.lcn-inf .lcn-inf-btn{
  padding:11px 22px; border:1px solid var(--lcn-vert-fonce); border-radius:8px; background:#fff; color:var(--lcn-vert-fonce);
  font-size:14px; font-weight:600; cursor:pointer; transition:background .2s, color .2s;
}
.lcn-inf .lcn-inf-btn:hover{ background:var(--lcn-vert-fonce); color:#fff; }
.lcn-inf .lcn-inf-spin{
  display:none; width:30px; height:30px; border:3px solid var(--lcn-vert-pale); border-top-color:var(--lcn-vert-fonce); border-radius:50%;
  animation:lcn-spin .8s linear infinite;
}
.lcn-inf.is-loading .lcn-inf-spin{ display:block; }
.lcn-inf.is-loading .lcn-inf-btn{ display:none; }
.lcn-inf .lcn-inf-end{ font-size:13px; color:#8a8d89; }
@keyframes lcn-spin{ to{ transform:rotate(360deg); } }

/* 6. Fiche produit ------------------------------------------------------ */
/* Photo à taille raisonnable */
.lcn-product div.product :is(.woocommerce-product-gallery, .woo-variation-gallery-wrapper){ max-width:640px; margin-left:auto; margin-right:auto; }
.lcn-product div.product :is(.woocommerce-product-gallery__image, .woo-variation-gallery-slider) img,
.lcn-product div.product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper img{
  display:block; width:auto !important; max-width:100% !important; height:auto !important; max-height:520px;
  margin:0 auto; object-fit:contain; background:#fff;
}
.lcn-product div.product :is(.flex-control-thumbs, .woo-variation-gallery-thumbnail-wrapper) img{ max-height:90px; object-fit:contain; background:#fff; }

/* Description (sous la photo) */
.lcn-product .cshero-product-extra{ margin-top:28px; }
.lcn-product .wc-tab-description,
.lcn-product .wc-tab-description *{ text-align:left !important; font-family:inherit !important; }
.lcn-product .wc-tab-description{ font-size:15px; line-height:1.65; color:#3a3c39; }
.lcn-product .wc-tab-description h2{ margin:18px 0 10px !important; font-size:18px !important; line-height:1.35 !important; }
.lcn-product .wc-tab-description ul{ margin:0 0 14px !important; padding-left:20px !important; list-style:disc !important; }
.lcn-product .wc-tab-description li{ margin:4px 0 !important; }

/* Tableau « Caractéristiques » : carte, libellés sur une ligne, ligne survolée mise en avant */
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes){
  display:block; width:100%; margin:4px 0 0 !important; overflow:hidden; font-size:14.5px;
  background:#fff !important; border:1px solid #e6e8e6 !important; border-radius:12px; box-shadow:0 4px 16px rgba(0, 0, 0, .04);
}
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tbody{ display:block; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tr{
  display:grid; grid-template-columns:minmax(170px, 40%) minmax(0, 1fr); align-items:stretch;
  border-bottom:1px solid #eef0ee; background:#fff !important; transition:background .15s;
}
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tr:last-child{ border-bottom:0; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) :is(th, td){
  display:flex; align-items:center; padding:13px 18px !important; border:0 !important; background:none !important;
  text-align:left !important; line-height:1.45; letter-spacing:0 !important; text-transform:none !important;
}
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) th{
  width:auto !important; background:#f7f8f6 !important; border-right:1px solid #eef0ee !important; box-shadow:inset 3px 0 0 transparent;
  font-size:13.5px !important; font-weight:500 !important; color:#5f625e !important; transition:background .15s, color .15s, box-shadow .15s;
}
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) td{ font-size:15px !important; font-weight:600 !important; color:var(--lcn-noir) !important; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) :is(td, td *){ font-style:normal !important; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) td p{ margin:0 !important; padding:0 !important; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tr:hover{ background:#f4faf3 !important; }
.lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tr:hover th{ background:#eaf5e8 !important; color:var(--lcn-vert-fonce) !important; box-shadow:inset 3px 0 0 var(--lcn-vert); }
/* Plusieurs valeurs : pastilles */
.lcn-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.lcn-or{ font-size:12.5px; font-weight:500; color:#8a8d89; }
.lcn-chip{
  display:inline-block; padding:3px 10px; border:1px solid #d7ead5; border-radius:999px; background:#eef6ed;
  font-size:13px; font-weight:600; line-height:1.5; color:#1f6a1c;
}
/* Smartphone : libellé au-dessus de la valeur */
@media (max-width:480px){
  .lcn-product :is(.woocommerce-product-attributes, .shop_attributes) tr{ grid-template-columns:minmax(0, 1fr); }
  .lcn-product :is(.woocommerce-product-attributes, .shop_attributes) th{ padding:10px 14px 2px !important; border-right:0 !important; background:none !important; font-size:12.5px !important; }
  .lcn-product :is(.woocommerce-product-attributes, .shop_attributes) td{ padding:0 14px 10px !important; }
}

/* Prix au comptoir (sous le prix) */
.lcn-counter{ display:block; margin-top:6px; font-size:14px !important; font-weight:400 !important; line-height:1.4 !important; color:#4a4d48 !important; }
.lcn-counter strong,
.lcn-counter strong *{ font-size:14px !important; font-weight:700 !important; color:var(--lcn-noir) !important; }
.lcn-counter::before{
  content:""; display:inline-block; width:16px; height:16px; margin-right:6px; vertical-align:-3px; background:var(--lcn-vert);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bloc avis : supprimé */
.lcn-product .product-review-box{ display:none !important; }

/* Carrousels « Complétez votre achat » / « Produits similaires » (cartes de la boutique) */
.lcn-reco-wrap{ clear:both; width:100%; margin:40px 0 10px; }
.lcn-reco{ padding-top:24px; border-top:1px solid #eee; }
.lcn-reco + .lcn-reco{ margin-top:36px; }
.lcn-reco-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 18px; }
.lcn-reco-head .lcn-reco-title{ margin:0 !important; padding:0 !important; border:0 !important; }
.lcn-reco-nav{ display:flex; flex-shrink:0; gap:8px; }
.lcn-reco-static .lcn-reco-nav{ display:none; }
.lcn-reco-nav button{
  width:40px !important; height:40px !important; min-width:0 !important; margin:0 !important; padding:0 !important;
  display:inline-flex !important; align-items:center; justify-content:center; line-height:1 !important;
  border:1px solid #e3e5e2 !important; border-radius:50% !important; background:#fff !important; box-shadow:none !important;
  color:var(--lcn-noir) !important; cursor:pointer; transition:background .2s, border-color .2s, color .2s;
}
.lcn-reco-nav button:hover:not(:disabled){ background:var(--lcn-vert) !important; border-color:var(--lcn-vert) !important; color:#fff !important; }
.lcn-reco-nav button:disabled{ opacity:.35; cursor:default; }
.lcn-reco-wrap.lcn-shop .lcn-reco .products{
  display:flex !important; flex-wrap:nowrap !important; gap:24px !important; grid-template-columns:none !important;
  overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none;
  margin:0 !important; padding:0 0 4px !important;
}
.lcn-reco-wrap.lcn-shop .lcn-reco .products::-webkit-scrollbar{ display:none; }
.lcn-reco-wrap.lcn-shop .lcn-reco .products::before,
.lcn-reco-wrap.lcn-shop .lcn-reco .products::after{ content:none !important; display:none !important; }
.lcn-reco-wrap.lcn-shop .lcn-reco .products > *{
  flex:0 0 calc((100% - 72px) / 4) !important; width:auto !important; max-width:none !important; min-width:0;
  float:none !important; clear:none !important; margin:0 !important; scroll-snap-align:start;
}

@media (max-width:991px){
  .lcn-reco-wrap.lcn-shop .lcn-reco .products > *{ flex-basis:calc((100% - 48px) / 3) !important; }
}
/* Tablette et smartphone : photo, puis titre / prix / bouton, puis description */
@media (max-width:991px){
  .lcn-product div.product :is(.woocommerce-product-gallery__image, .woo-variation-gallery-slider) img{ max-height:360px; }
  .lcn-product .cs-product-wrap > .row{ display:flex; flex-direction:column; }
  .lcn-product .cs-product-wrap > .row::before,
  .lcn-product .cs-product-wrap > .row::after{ display:none; }
  .lcn-product .cs-product-wrap > .row > .cshero-product-images-wrap,
  .lcn-product .cs-product-wrap > .row > .summary{ display:contents; }
  .lcn-product .cshero-product-images-wrap > *,
  .lcn-product .cs-product-wrap .summary > *{ width:100%; padding-left:15px; padding-right:15px; box-sizing:border-box; }
  .lcn-product .cshero-product-images-wrap > *{ order:1; }
  .lcn-product .cs-product-wrap .summary > *{ order:2; }
  .lcn-product .cshero-product-images-wrap > .cshero-product-extra{ order:3; }
}
@media (max-width:600px){
  .lcn-reco-wrap.lcn-shop .lcn-reco .products{ gap:14px !important; }
  .lcn-reco-wrap.lcn-shop .lcn-reco .products > *{ flex-basis:44% !important; }
  .lcn-reco-nav button{ width:36px !important; height:36px !important; }
}

/* 6b. Fiche produit : mise en page et typographie --------------------- */
.lcn-product .container:has(> .pr-single-product){
  width:100% !important; max-width:1400px !important; box-sizing:border-box;
  padding-left:clamp(16px, 2.5vw, 40px) !important; padding-right:clamp(16px, 2.5vw, 40px) !important;
}
@media (min-width:992px){
  .lcn-product .cs-product-wrap > .row{
    display:grid; grid-template-columns:minmax(0, 1.15fr) minmax(380px, 1fr); gap:clamp(32px, 3vw, 56px); align-items:start; margin:0;
  }
  .lcn-product .cs-product-wrap > .row::before,
  .lcn-product .cs-product-wrap > .row::after{ display:none; }
  .lcn-product .cs-product-wrap > .row > :is(.cshero-product-images-wrap, .summary){
    width:auto !important; max-width:none !important; min-width:0; float:none !important; padding-left:0 !important; padding-right:0 !important;
  }
}

/* Carte d'achat */
.lcn-product .cs-product-wrap .summary{ padding-top:0 !important; padding-bottom:0 !important; background:none !important; border:0 !important; box-shadow:none !important; }
.lcn-product .summary .product-options-box{
  margin:0 !important; padding:clamp(18px, 2vw, 28px) !important; background:#fff !important;
  border:1px solid #e6e8e6 !important; border-radius:14px !important; box-shadow:0 6px 24px rgba(0, 0, 0, .05) !important;
}
.lcn-product .summary :is(button, input, select, textarea){ font-family:inherit !important; }
.lcn-product .summary .product_title{
  margin:0 0 10px !important; font-size:clamp(22px, 1.8vw, 28px) !important; line-height:1.25 !important;
  font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--lcn-noir) !important;
}
.lcn-product .summary p.price,
.lcn-product .summary p.price > .woocommerce-Price-amount,
.lcn-product .summary p.price > :is(ins, del) > .woocommerce-Price-amount{
  margin:0 !important; font-size:26px !important; line-height:1.25 !important; font-weight:700 !important; color:var(--lcn-noir) !important;
}
.lcn-product .summary .woocommerce-product-details__short-description{ margin:14px 0 0 !important; font-size:14px !important; line-height:1.6 !important; color:#3a3c39 !important; }
.lcn-product .summary .woocommerce-product-details__short-description p{ margin:0 !important; }
.lcn-product .summary p.stock{
  display:inline-flex; align-items:center; gap:6px; margin:14px 0 6px !important; padding:4px 12px !important; border-radius:999px;
  background:var(--lcn-vert-pale); font-size:13px !important; font-weight:600 !important; line-height:1.4 !important; color:#2b7d28 !important;
}
.lcn-product .summary p.stock.out-of-stock{ background:#fbe9e7; color:#b3261e !important; }

/* Options YITH (« Personnalisez votre ordinateur… ») */
.lcn-product .summary :is(#yith-wapo-container, .yith-wapo-container){ margin:14px 0 12px !important; padding:0 !important; font-size:14.5px; text-align:left !important; }
.lcn-product .summary .yith-wapo-container :is(.yith-wapo-block, .yith-wapo-addon){
  margin:0 0 14px !important; padding:0 !important; background:none !important; border:0 !important; box-shadow:none !important;
}
.lcn-product .summary .yith-wapo-container :is(h1, h2, h3, h4, h5, h6, .wapo-addon-title){
  margin:0 0 8px !important; padding:0 !important; background:none !important; text-align:left !important;
  font-size:15px !important; line-height:1.35 !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--lcn-noir) !important;
}
.lcn-product .summary .yith-wapo-container :is(.yith-wapo-addon-type-html_heading, .yith-wapo-addon-type-html_text, .block-title) :is(h1, h2, h3, h4, h5, h6, p){
  margin:0 0 4px !important; font-size:17px !important; color:var(--lcn-vert-fonce) !important;
}
.lcn-product .summary .yith-wapo-container .options{ margin:0 !important; padding:0 !important; gap:6px !important; justify-items:start; text-align:left !important; }
.lcn-product .summary .yith-wapo-container .yith-wapo-option{ margin:0 !important; padding:2px 0 !important; text-align:left !important; }
.lcn-product .summary .yith-wapo-container select{
  min-width:100% !important; height:44px !important; margin:0 !important; padding:0 36px 0 12px !important;
  border:1px solid #dfe2dd !important; border-radius:8px !important; background-color:#fff !important; box-shadow:none !important;
  font-size:14.5px !important; color:var(--lcn-noir) !important;
}
.lcn-product .summary .yith-wapo-container :is(.radio-button-container, .checkbox-button-container){ display:flex; align-items:center; gap:10px; }
.lcn-product .summary .yith-wapo-container label{ margin:0 !important; font-size:14.5px !important; font-weight:500 !important; line-height:1.4 !important; text-transform:none !important; }
.lcn-product .summary .yith-wapo-container :is(.option-price, .option-price *){
  font-size:14px !important; font-weight:600 !important; line-height:1.4 !important; color:var(--lcn-vert-fonce) !important;
}
.lcn-product .summary #wapo-total-price-table{ margin:4px 0 16px !important; padding:12px 14px !important; border-radius:10px; background:#f7f8f6; }
.lcn-product .summary #wapo-total-price-table table{ width:100%; margin:0 !important; border:0 !important; }
.lcn-product .summary #wapo-total-price-table :is(th, td){
  padding:3px 0 !important; border:0 !important; background:none !important; vertical-align:middle;
  font-size:14.5px !important; line-height:1.35 !important; letter-spacing:0 !important; text-transform:none !important;
}
.lcn-product .summary #wapo-total-price-table th{ text-align:left !important; font-weight:600 !important; color:#3a3c39 !important; }
.lcn-product .summary #wapo-total-price-table :is(td, td *){ text-align:right !important; font-size:18px !important; font-weight:700 !important; color:var(--lcn-noir) !important; }

/* Ajout au panier et bas de carte */
.lcn-product .summary .single_add_to_cart_button{
  min-height:46px !important; height:auto !important; padding:12px 24px !important; border-radius:8px !important;
  font-size:14px !important; font-weight:700 !important; line-height:1.2 !important; letter-spacing:.03em !important;
}
.lcn-product .summary .product_meta{ margin-top:18px !important; padding-top:14px !important; border-top:1px solid #eef0ee !important; font-size:13px !important; }
.lcn-product .summary .woosc-btn{ font-size:13px !important; }

/* Titres des blocs sous la photo et des carrousels */
.lcn-product .cshero-product-extra .wc-tab-title{
  margin:0 0 12px !important; font-size:18px !important; line-height:1.3 !important; font-weight:600 !important;
  letter-spacing:0 !important; text-transform:none !important; color:var(--lcn-noir) !important;
}
.lcn-product .cshero-product-extra .wc-tab + .wc-tab{ margin-top:28px; }
.lcn-reco-head .lcn-reco-title{
  font-size:22px !important; line-height:1.3 !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:var(--lcn-noir) !important;
}

@media (max-width:600px){
  .lcn-product .summary p.price,
  .lcn-product .summary p.price > .woocommerce-Price-amount,
  .lcn-product .summary p.price > :is(ins, del) > .woocommerce-Price-amount{ font-size:24px !important; }
  .lcn-reco-head .lcn-reco-title{ font-size:19px !important; }
}

/* Quantité : sélecteur « − 1 + » (lcn-shop.js) */
.lcn-product .summary .quantity.lcn-qty{
  display:inline-flex !important; align-items:stretch; height:46px; margin:0 12px 0 0 !important; padding:0 !important; vertical-align:middle;
  overflow:hidden; background:#fff; border:1px solid #dfe2dd; border-radius:8px;
}
.lcn-product .summary .lcn-qty .lcn-qty-in{ display:contents !important; }
.lcn-product .summary .lcn-qty .lcn-qty-hide{ display:none !important; }
.lcn-product .summary .quantity.lcn-qty input.qty{
  width:52px !important; height:100% !important; margin:0 !important; padding:0 !important; box-shadow:none !important;
  border:0 !important; border-left:1px solid #eef0ee !important; border-right:1px solid #eef0ee !important; border-radius:0 !important;
  background:#fff !important; text-align:center; font-size:16px !important; font-weight:700 !important; color:var(--lcn-noir) !important;
  -webkit-appearance:none !important; -moz-appearance:textfield !important; appearance:textfield !important;
}
.lcn-product .summary .quantity.lcn-qty input.qty::-webkit-outer-spin-button,
.lcn-product .summary .quantity.lcn-qty input.qty::-webkit-inner-spin-button{ -webkit-appearance:none !important; appearance:none !important; display:none !important; margin:0 !important; }
.lcn-product .summary .lcn-qty .lcn-qty-btn{
  width:42px; height:100%; display:flex !important; align-items:center; justify-content:center; margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:0 !important; background:#f7f8f6 !important; box-shadow:none !important; cursor:pointer;
  font-size:20px !important; font-weight:500 !important; line-height:1 !important; color:var(--lcn-noir) !important; transition:background .15s, color .15s;
}
.lcn-product .summary .lcn-qty .lcn-qty-btn:hover:not(:disabled){ background:var(--lcn-vert-pale) !important; color:var(--lcn-vert-fonce) !important; }
.lcn-product .summary .lcn-qty .lcn-qty-btn:disabled{ opacity:.35; cursor:default; }
.lcn-product .summary .lcn-qty .lcn-qty-btn:focus-visible{ outline:2px solid var(--lcn-focus) !important; outline-offset:-2px; }

/* 7. Navigation au clavier : contour visible (uniquement au clavier) ---- */
.lcn-cn :is(a, button):focus-visible,
.lcn-sr a:focus-visible,
.lcn-shop:not(.lcn-list) ul.products li.product a:focus-visible,
.lcn-shop .woocommerce-pagination a:focus-visible,
.lcn-inf button:focus-visible,
.lcn-reco-nav button:focus-visible{ outline:2px solid var(--lcn-focus) !important; outline-offset:2px; }
