/* Version B — Studio : sur tout le site. Blanc, tuiles gris clair à grands arrondis, encre pour l'action.
   Onest pour tout. */
body.msp-v-b{
  --msp-h:'Onest',system-ui,sans-serif;--msp-b:'Onest',system-ui,sans-serif;
  --wd-text-font:'Onest',system-ui,sans-serif;--wd-title-font:'Onest',system-ui,sans-serif;--wd-entities-title-font:'Onest',system-ui,sans-serif;
  --wd-alternative-font:'Onest',system-ui,sans-serif;--wd-widget-title-font:'Onest',system-ui,sans-serif;--wd-header-el-font:'Onest',system-ui,sans-serif;
  --wd-title-font-weight:600;--wd-entities-title-font-weight:500;
  --msp-pill:12px;--msp-card:18px;--wd-brd-radius:18px;--btn-default-brd-radius:12px;--btn-accented-brd-radius:12px;--wd-form-brd-radius:12px;
  --msp-sh:none;--msp-soft:#F3F4F6;--msp-line:#E7E8EB;--msp-ink:#0F1115;--msp-mut:#6B7079;--msp-night:#0F1115;
  --btn-accented-bgcolor:#0F1115;--btn-accented-bgcolor-hover:#2A2D33;--wd-form-brd-color:#E3E5E9;--wd-form-brd-color-focus:#0F1115
}
.msp-v-b .main-page-wrapper{background:#fff}
.msp-v-b h1,.msp-v-b .title,.msp-v-b .product_title{letter-spacing:-.025em}

/* En-tête */
.msp-v-b .whb-header .whb-general-header,.msp-v-b .whb-header .whb-header-bottom{background:#fff!important;border-color:#EEF0F2!important}
.msp-v-b .whb-header .wd-header-search-form .searchform input.s{background:#F3F4F6!important;border:0!important;border-radius:12px!important}
.msp-v-b .whb-header .searchform .searchsubmit{background:#0F1115!important;border-radius:10px!important}
.msp-v-b .whb-header .wd-header-cart .wd-tools-icon{background:#0F1115!important}
.msp-v-b .whb-header .wd-header-nav .wd-nav>li>a{font-weight:500}
.msp-v-b .whb-header .wd-header-secondary-nav a{background:#F3F4F6!important;color:#0F1115!important;border-radius:12px!important}

/* En-tête de catégorie : tuile grise, texte encre */
.msp-v-b .elementor-element-3642b68{background:#F3F4F6!important;color:#0F1115!important;border-radius:22px!important}
.msp-v-b .elementor-element-3642b68::after{display:none!important}
.msp-v-b .elementor-element-3642b68 :is(h1,.title,.entry-title,.msp-cat-title,p,.msp-cat-intro,.term-description){color:#0F1115!important}
.msp-v-b .elementor-element-3642b68 .woocommerce-breadcrumb,.msp-v-b .elementor-element-3642b68 .woocommerce-breadcrumb a,.msp-v-b .elementor-element-3642b68 .breadcrumb-last{color:#6B7079!important}
.msp-v-b .msp-chip{background:#fff!important;color:#0F1115!important;border:0!important;border-radius:10px!important}
.msp-v-b .msp-chip small{color:#6B7079!important}
.msp-v-b .msp-chip:hover,.msp-v-b .msp-chip.is-on{background:#0F1115!important;color:#fff!important}
.msp-v-b .msp-chip:hover small,.msp-v-b .msp-chip.is-on small{color:rgba(255,255,255,.7)!important}

/* Filtres */
.msp-v-b .elementor-element-3f032b7{background:#F3F4F6!important;border:0!important;box-shadow:none!important;border-radius:20px!important}
.msp-v-b .widget_price_filter .price_slider_amount .button{background:#0F1115!important;border-radius:10px!important}

/* Vignettes produit */
/* Carte produit (12/11) : une vraie carte, chaque élément a son espace ; le cadre blanc de survol de Woodmart (collé au texte) est retiré */
.msp-v-b .products.elements-grid .product-grid-item .product-wrapper{position:relative;height:100%;display:flex;flex-direction:column;background:#fff!important;border:1px solid #ECEEF1!important;border-radius:22px!important;box-shadow:none!important;padding:10px 10px 20px!important;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s cubic-bezier(.2,.7,.2,1),border-color .25s}
.msp-v-b .products.elements-grid .product-grid-item:hover .product-wrapper{border-color:transparent!important;box-shadow:0 16px 36px rgba(15,17,21,.08),0 2px 6px rgba(15,17,21,.04)!important}
.msp-v-b .product-grid-item .content-product-imagin,.msp-v-b .product-grid-item .wd-product-grid-slider-pagin{display:none!important}
.msp-v-b .products.elements-grid .product-grid-item{margin-bottom:20px}
.msp-v-b .product-grid-item .wd-buttons{border-radius:999px!important;box-shadow:0 4px 14px rgba(15,17,21,.10)!important;overflow:hidden}
.msp-v-b .product-grid-item .product-element-top{background:#F3F4F6!important;border-radius:16px!important;padding:18px!important}
.msp-v-b .product-grid-item .product-element-top img{mix-blend-mode:multiply}
.msp-v-b .product-grid-item .wd-entities-title{font-size:15px!important;font-weight:500!important}
.msp-v-b .product-grid-item .price,.msp-v-b .product-grid-item .price .amount{color:#0F1115!important;font-weight:600!important}
.msp-v-b .product-grid-item .wd-add-btn .button,.msp-v-b .product-grid-item .wd-add-btn .add_to_cart_button{background:#F3F4F6!important;color:#0F1115!important;border-radius:12px!important;box-shadow:none!important}
.msp-v-b .product-grid-item .wd-add-btn .button:hover,.msp-v-b .product-grid-item .wd-add-btn .add_to_cart_button:hover{background:#0F1115!important;color:#fff!important}
.msp-v-b .product-label{border-radius:8px!important}

/* Fiche produit */
.msp-v-b.single-product .woocommerce-product-gallery .product-image-wrap,.msp-v-b.single-product .wd-gallery-thumb .wd-carousel-item{background:#F3F4F6;border-radius:20px}
.msp-v-b.single-product .woocommerce-product-gallery img{mix-blend-mode:multiply}
.msp-v-b .msp-atc .single_add_to_cart_button,.msp-v-b .wd-sticky-btn .single_add_to_cart_button{background:#0F1115!important;border-radius:12px!important;box-shadow:none!important}
.msp-v-b .msp-atc .wd-buy-now-btn{background:#1C61E7!important;border-radius:12px!important;box-shadow:none!important}
.msp-v-b .msp-trust li{background:#F3F4F6!important;border:0!important;border-radius:16px!important}
.msp-v-b.single-product .elementor-element-562428a{background:#fff!important}

/* Texte SEO, pied de page */
.msp-v-b .msp-cat-seo{background:#F3F4F6!important;border:0!important}
body.msp-v-b .mobile-nav.wd-side-hidden{--mn-bg:#fff;--mn-ink:#0F1115;--mn-tile:#F3F4F6;--mn-seg:#F3F4F6;--mn-r:14px}

/* ---------- Vignettes produit des rayons (10/11) ---------- */
.msp-v-b .product-grid-item .product-element-bottom{flex:1;display:flex!important;flex-direction:column;align-items:stretch;gap:0;padding:16px 10px 0!important;text-align:left!important}
.msp-v-b .product-grid-item .wd-add-btn{margin-top:auto!important;padding-top:16px}
.msp-v-b .product-grid-item .wd-product-cats{display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;order:1;margin:0 0 4px!important;font-size:13px!important;line-height:1.3;color:#6B7079!important}
.msp-v-b .product-grid-item .wd-product-cats a{color:#6B7079!important}
.msp-v-b .product-grid-item .wd-entities-title{order:2;margin:0 0 8px!important;line-height:1.38!important;min-height:2.76em;color:#0F1115!important}
.msp-v-b .product-grid-item .wd-entities-title a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#0F1115!important}
.msp-v-b .product-grid-item .wrap-price{order:3;display:flex!important;flex-direction:column;align-items:flex-start;gap:6px;margin:0!important}
.msp-v-b .product-grid-item .wd-add-btn{order:4;width:100%;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important}
.msp-v-b .product-grid-item :is(.wd-star-rating,.wd-product-sku,.fade-in-block,.hover-content-wrap){display:none!important}
.msp-v-b .product-labels .label-with-img{display:none!important}
.msp-v-b .msp-specs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;gap:4px;overflow:hidden}
/* 2 caractéristiques par carte : une seule ligne, cartes alignées */
.msp-v-b .product-grid-item .msp-specs li:nth-child(n+3){display:none}
.msp-v-b .product-grid-item .msp-specs li{flex:0 1 auto;min-width:0}
.msp-v-b .product-grid-item .msp-specs{max-width:100%;min-width:0}
.msp-v-b .product-grid-item .product-element-bottom,.msp-v-b .product-grid-item .product-wrapper{min-width:0}
.msp-v-b .msp-specs li{margin:0;padding:3px 8px;border-radius:7px;background:#F3F4F6;color:#3A3F47;font-size:12.5px;line-height:1.4;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.msp-v-b .msp-stock{margin:2px 0 0;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:500;color:#1F8A4C}
.msp-v-b .msp-stock::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.msp-v-b .msp-stock.is-bo{color:#A15C07}
.msp-v-b .product-grid-item .price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:2px 0 0!important;font-size:18px!important}
.msp-v-b .product-grid-item .price del,.msp-v-b .product-grid-item .price del .amount{color:#8B9099!important;font-weight:400!important;font-size:14px!important;opacity:1!important}
.msp-v-b .product-grid-item .price ins{text-decoration:none!important}
.msp-v-b .msp-save{margin:0;font-size:13px;font-weight:600;color:#C2410C}
.msp-v-b .msp-save .amount{color:inherit!important;font-weight:inherit!important}
.msp-v-b .product-grid-item .wd-add-btn .button,.msp-v-b .product-grid-item .wd-add-btn .add_to_cart_button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:44px!important;height:auto!important;line-height:1.2!important;padding:0 14px!important;font-size:14.5px!important;font-weight:600!important;background:#0F1115!important;color:#fff!important}
.msp-v-b .product-grid-item .wd-add-btn .button:hover,.msp-v-b .product-grid-item .wd-add-btn .add_to_cart_button:hover{background:#2A2D33!important}
.msp-v-b .product-grid-item .wd-add-btn .button span{display:flex!important;align-items:center!important;justify-content:center!important;align-self:stretch!important;position:static!important;transform:none!important;opacity:1!important;visibility:visible!important;width:auto!important;height:auto!important;min-height:0!important;font-size:inherit!important;line-height:1.2!important;color:inherit!important;margin:0!important;padding:0!important}
.msp-v-b .product-grid-item .wd-add-btn .button::before,.msp-v-b .product-grid-item .wd-add-btn .button::after{display:none!important}
.msp-v-b .product-grid-item .wd-add-btn .added_to_cart{display:none!important}
@media (max-width:767px){
  .msp-v-b .product-grid-item .wd-entities-title{font-size:14px!important}
  .msp-v-b .product-grid-item .price{font-size:16px!important}
  .msp-v-b .msp-specs li{font-size:11.5px;padding:2px 6px}
  .msp-v-b .msp-specs li:nth-child(n+3){display:none}
  .msp-v-b .product-grid-item .wd-add-btn .button{min-height:40px!important;font-size:13.5px!important}
  .msp-v-b .products.elements-grid .product-grid-item .product-wrapper{padding:7px 7px 14px!important;border-radius:18px!important}
  .msp-v-b .product-grid-item .product-element-top{padding:12px!important;border-radius:13px!important}
  .msp-v-b .product-grid-item .product-element-bottom{padding:12px 7px 0!important}
  .msp-v-b .product-grid-item .wd-add-btn{padding-top:12px}
  .msp-v-b .products.elements-grid .product-grid-item{margin-bottom:12px}
}

/* 12/11 (3) — bouton des cartes sur petit écran : « Ajouter au panier » était coupé (≈ 92 px utiles à 360 px).
   Sous 480 px : icône panier + « Ajouter » (le texte complet reste lu par les lecteurs d'écran via le span et l'aria-label). */
@media (max-width:480px){
  .msp-v-b .product-grid-item .wd-add-btn .button{padding:0 6px!important;font-size:13px!important;letter-spacing:0!important;white-space:nowrap!important;overflow:hidden}
  .msp-v-b .product-grid-item .wd-add-btn .button span{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;display:block!important}
  .msp-v-b .product-grid-item .wd-add-btn .ajax_add_to_cart span{font-size:0!important;display:flex!important;gap:6px}
  .msp-v-b .product-grid-item .wd-add-btn .ajax_add_to_cart span::before{content:"";display:block;width:16px;height:16px;flex:none;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%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 8H6.1'/%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%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 8H6.1'/%3E%3C/svg%3E") center/contain no-repeat}
  .msp-v-b .product-grid-item .wd-add-btn .ajax_add_to_cart span::after{content:"Ajouter";font-size:13.5px;font-weight:600;line-height:1.2}
  .msp-v-b .product-grid-item .wd-add-btn .ajax_add_to_cart.loading span::after{content:"…"}
  .msp-v-b .product-grid-item .wd-add-btn .ajax_add_to_cart.added span::after{content:"Ajouté"}
}
@media (max-width:480px){
  /* produits à options / non achetables directement : libellé court au lieu de « Choix des options » coupé */
  .msp-v-b .product-grid-item .wd-add-btn .button:not(.ajax_add_to_cart) span{font-size:0!important;display:flex!important}
  .msp-v-b .product-grid-item .wd-add-btn .button:not(.ajax_add_to_cart) span::after{content:"Voir le produit";font-size:13.5px;font-weight:600;line-height:1.2}
  .msp-v-b .product-grid-item .wd-add-btn .product_type_variable span::after{content:"Choisir"}
  /* pagination : tout sur une ligne */
  .woocommerce-pagination ul.page-numbers{display:flex!important;flex-wrap:nowrap!important;justify-content:center;gap:4px}
  .woocommerce-pagination ul.page-numbers li{margin:0!important}
  .woocommerce-pagination ul.page-numbers li .page-numbers{min-width:32px!important;height:32px!important;padding:0 6px!important;font-size:13.5px!important;line-height:32px!important}
}
@media (max-width:480px){ .msp-v-b .msp-save{font-size:12px;letter-spacing:-.01em} }
