/* BOB — Catalogue WooCommerce — carte native Blocksy + extras BoB. Pages Woo uniquement. */

/* --- Chips sous-categories (nav archive) --- */
.bob-subcats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.bob-subcats a{background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:999px;padding:8px 16px;font-weight:700;font-size:.9rem;color:var(--bob-ardoise,#33373B);text-decoration:none;transition:.15s;display:inline-flex;align-items:center;gap:.45em;line-height:1}
.bob-subcats a:hover{border-color:var(--bob-rouge,#E30713);color:var(--bob-rouge,#E30713)}
.bob-subcats a.on{background:var(--bob-rouge,#E30713);color:#fff;border-color:var(--bob-rouge,#E30713)}
.bob-subcats a.up{color:var(--bob-ardoise-doux,#5C6066)}
.bob-subcats a .cnt{font-size:.78em;opacity:.65;font-weight:700}
.bob-subcats a.on .cnt{opacity:.9}

/* --- Toolbar native restylee --- */
.woocommerce .woocommerce-result-count{color:var(--bob-ardoise-doux,#5C6066);font-weight:700;font-size:.92rem}
.woocommerce .woocommerce-ordering select,.woocommerce select.orderby{border:1px solid var(--bob-bordure,#E6E3DF);border-radius:10px;padding:8px 12px;font-family:var(--bob-texte,'Mulish',system-ui,sans-serif);font-weight:700;font-size:.88rem;background:#fff;color:var(--bob-ardoise,#33373B)}

/* --- Attributs produit injectes dans la carte --- */
.bob-pattrs{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0}
.bob-pattrs span{font-size:.74rem;font-weight:700;color:var(--bob-ardoise-doux,#5C6066);background:#FAF8F5;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:6px;padding:2px 7px}

/* --- Bouton "Ajouter a ma selection" (mode catalogue) --- */
.bob-add-devis{display:inline-flex;align-items:center;justify-content:center;gap:.4em;font-family:var(--bob-texte,'Mulish',system-ui,sans-serif);font-weight:800;font-size:.86rem;padding:.62em 1.1em;border-radius:999px;background:#fff;color:var(--bob-rouge,#E30713);border:2px solid var(--bob-rouge,#E30713);cursor:pointer;transition:background .18s,color .18s,transform .18s;line-height:1.15;text-transform:none}
.woocommerce ul.products li.product .bob-add-devis{width:100%;border-radius:999px!important}
.bob-add-devis::before{content:'+';font-weight:800;font-size:1.05em}
.bob-add-devis:hover{background:var(--bob-rouge,#E30713);color:#fff;transform:translateY(-1px)}
.bob-add-devis.added{background:#2e7d32 !important;border-color:#2e7d32 !important;color:#fff}
.bob-add-devis.added::before{content:''}
/* --- Layout 2 colonnes archive (filtres + grille) --- */
.bob-shop{display:grid;grid-template-columns:248px 1fr;gap:28px;align-items:start;margin-top:30px}
.bob-shop-main{min-width:0}
.bob-shop-main ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bob-filters{position:sticky;top:112px;display:flex;flex-direction:column;gap:14px;will-change:transform}body.admin-bar .bob-filters{top:144px}
.bob-fbox{background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:18px;padding:16px 18px}
.bob-fbox-h{font-family:var(--bob-texte,'Mulish',system-ui,sans-serif);font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--bob-ardoise,#33373B);margin:0 0 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}
.bob-filters .woocommerce-widget-layered-nav-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.bob-filters .woocommerce-widget-layered-nav-list li{display:flex;align-items:center;margin:0;padding:4px 0}
.bob-filters .woocommerce-widget-layered-nav-list a{flex:1;display:inline-flex;align-items:center;gap:.4em;color:var(--bob-ardoise,#33373B);text-decoration:none;font-size:.92rem;font-weight:600}
.bob-filters .woocommerce-widget-layered-nav-list a:hover{color:var(--bob-rouge,#E30713)}
.bob-filters .woocommerce-widget-layered-nav-list .count{color:var(--bob-ardoise-doux,#5C6066);font-size:.8rem;font-weight:700}
.bob-filters .woocommerce-widget-layered-nav-list li.chosen>a{color:var(--bob-rouge,#E30713);font-weight:800}
.bob-filters .woocommerce-widget-layered-nav-list li.chosen>a::before{content:'\2713';margin-right:.3em}
.bob-fbox-active .woocommerce-widget-layered-nav-filters ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.bob-fbox-active .woocommerce-widget-layered-nav-filters a{display:inline-flex;align-items:center;gap:.3em;background:#fff;border:1px solid var(--bob-rouge,#E30713);color:var(--bob-rouge,#E30713);border-radius:999px;padding:3px 10px;font-size:.82rem;font-weight:700;text-decoration:none}
@media(max-width:980px){.bob-shop{grid-template-columns:1fr}.bob-filters{position:static;flex-direction:row;flex-wrap:wrap}.bob-filters .bob-fbox{flex:1;min-width:180px}.bob-shop-main ul.products{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.bob-shop-main ul.products{grid-template-columns:1fr}}
/* Rayons dans la sidebar */
.bob-filters .bob-subcats{flex-direction:column;gap:1px;margin:0}
.bob-filters .bob-subcats a{background:none;border:none;border-radius:8px;padding:6px 8px;width:100%;justify-content:flex-start;font-weight:600;font-size:.92rem;gap:.4em}
.bob-filters .bob-subcats a .cnt{margin-left:auto;opacity:.6}
.bob-filters .bob-subcats a:hover{background:var(--bob-casse,#FAF8F5);color:var(--bob-rouge,#E30713)}
.bob-filters .bob-subcats a.on{background:none;color:var(--bob-rouge,#E30713);font-weight:800}
.bob-filters .bob-subcats a.up{font-size:.82rem;color:var(--bob-ardoise-doux,#5C6066);margin-bottom:4px}

/* Image carte : contain sur fond clair (bouteilles entieres, pas de crop) */
.woocommerce ul.products li.product .ct-media-container{display:block;aspect-ratio:3/4;background:linear-gradient(160deg,#fff,#F3EEE7);overflow:hidden}
/* Cartes : prix (+ microcopie devis) ancres en bas, juste au-dessus du bouton -> prix et boutons alignes d'une carte a l'autre malgre les hauteurs de titre/chips variables. */
.woocommerce ul.products li.product .price{margin-top:auto!important}
.woocommerce ul.products li.product .ct-woo-card-actions{margin-top:3px!important;padding-top:8px!important}
.woocommerce ul.products li.product .ct-media-container img{width:100%!important;height:100%!important;object-fit:contain!important;aspect-ratio:auto!important;padding:0;mix-blend-mode:normal}
/* === Carte produit native Blocksy stylee facon BoB (coins arrondis + hover) === */
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;height:100%;text-align:left;transition:transform .18s ease,box-shadow .18s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(51,55,59,.45)}
.woocommerce ul.products li.product figure{margin:0;order:0;width:100%}
.woocommerce ul.products li.product > .entry-meta{order:1}
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title{order:2}
.woocommerce ul.products li.product > .bob-pattrs{order:3}
.woocommerce ul.products li.product > .price{order:4}
.woocommerce ul.products li.product > .ct-woo-card-actions{order:5;margin-top:auto}
.woocommerce ul.products li.product > .entry-meta,
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product > .bob-pattrs,
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .ct-woo-card-actions{padding-left:16px;padding-right:16px}
.woocommerce ul.products li.product > .entry-meta{list-style:none;margin:14px 0 0;padding-top:0;display:flex;gap:.5em}
.woocommerce ul.products li.product > .entry-meta li{list-style:none;margin:0;padding:0}
.woocommerce ul.products li.product .meta-categories a{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--bob-ardoise-doux,#5C6066);text-decoration:none}
.woocommerce ul.products li.product .meta-categories a:hover{color:var(--bob-rouge,#E30713)}
.woocommerce ul.products li.product > h2.woocommerce-loop-product__title{margin:4px 0 6px;font-family:var(--bob-display,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:1.08rem;line-height:1.15;color:var(--bob-ardoise,#33373B)}
.woocommerce ul.products li.product > h2 a{color:inherit;text-decoration:none}
.woocommerce ul.products li.product > h2 a:hover{color:var(--bob-rouge,#E30713)}
.woocommerce ul.products li.product > .price{margin:0 0 2px}
.woocommerce ul.products li.product .price .bob-price-on-request{font-style:normal!important;opacity:1!important;font-weight:800;color:var(--bob-ardoise,#33373B);font-size:.95rem}
.woocommerce ul.products li.product > .ct-woo-card-actions{padding-top:12px;padding-bottom:16px;display:block}
.woocommerce ul.products li.product .bob-add-devis{width:100%;border-radius:999px!important}
/* === Bouton selection : toujours visible (neutralise l auto-hide Blocksy) === */
ul.products li.product .ct-woo-card-actions{ opacity:1!important; visibility:visible!important; transform:none!important; max-height:none!important; pointer-events:auto!important; }
.bob-add-devis{ display:flex!important; }
.bob-add-devis.loading{ opacity:.7; pointer-events:none; }
/* === Barre d outils catalogue : compteur + tri (v2, natif Blocksy) === */
.woo-listing-top{ display:flex!important; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:0 0 18px; }
.woo-listing-top .woocommerce-result-count:not(.bob-count){ display:none!important; }
.woo-listing-top .woocommerce-result-count.bob-count{ float:none!important; margin:0; font-size:.9rem; font-weight:700; color:var(--bob-ardoise-doux,#5C6066); }
.woo-listing-top .woocommerce-ordering{ float:none!important; margin:0; position:relative; }
.woo-listing-top select.orderby{ -webkit-appearance:none; -moz-appearance:none; appearance:none; border:1px solid var(--bob-bordure,#E6E3DF); border-radius:10px; padding:8px 34px 8px 14px; font-size:.88rem; font-weight:600; color:var(--bob-ardoise,#33373B); background-color:#fff; cursor:pointer; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6066' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat:no-repeat; background-position:right 14px center; background-size:12px; }
.woo-listing-top select.orderby:hover{ border-color:var(--bob-ardoise-doux,#5C6066); }
/* === Filtres actifs : puces supprimables === */
.bob-fbox-active ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.bob-fbox-active li{ margin:0; padding:0; }
.bob-fbox-active li a{ display:inline-flex; align-items:center; gap:.4em; background:var(--bob-creme2,#F3EEE7); color:var(--bob-ardoise,#33373B); border:1px solid var(--bob-bordure,#E6E3DF); border-radius:999px; padding:5px 12px; font-size:.82rem; font-weight:700; line-height:1; text-decoration:none; transition:background .15s ease,color .15s ease,border-color .15s ease; }
.bob-fbox-active li a::after{ content:'\00d7'; font-size:1.15em; font-weight:800; color:var(--bob-rouge,#E30713); margin-left:.15em; }
.bob-fbox-active li a:hover{ background:var(--bob-rouge,#E30713); border-color:var(--bob-rouge,#E30713); color:#fff; }
.bob-fbox-active li a:hover::after{ color:#fff; }
/* === Filtres en pills (Contenance, Style) === */
.bob-fbox-pills .woocommerce-widget-layered-nav-list{ flex-direction:row!important; flex-wrap:wrap; gap:6px; }
.bob-fbox-pills .woocommerce-widget-layered-nav-list li{ display:inline-flex!important; width:auto; margin:0; padding:0!important; }
.bob-fbox-pills .woocommerce-widget-layered-nav-list a{ flex:0 0 auto!important; display:inline-flex!important; align-items:center; gap:.3em; border:1px solid var(--bob-bordure,#E6E3DF); border-radius:999px; padding:5px 11px; background:#fff; font-size:.82rem; font-weight:600; color:var(--bob-ardoise,#33373B); }
.bob-fbox-pills .woocommerce-widget-layered-nav-list a:hover{ border-color:var(--bob-rouge,#E30713); color:var(--bob-rouge,#E30713); }
.bob-fbox-pills .woocommerce-widget-layered-nav-list li.chosen>a,
.bob-fbox-pills .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen>a{ background:#fff!important; border-color:var(--bob-rouge,#E30713)!important; color:var(--bob-rouge,#E30713)!important; }
.bob-fbox-pills .woocommerce-widget-layered-nav-list .count{ display:none; }

/* === En-tete archive (cathead maquette) === */
.post-type-archive-product .hero-section, .tax-product_cat .hero-section, .tax-product_tag .hero-section{ display:none!important; }
.woocommerce-products-header{ text-align:left; margin:0; padding:0; }
.bob-cathead{ padding:0 0 6px; }
.bob-crumb{ font-size:.84rem; color:var(--bob-ardoise-doux,#5C6066); font-weight:600; }
.bob-crumb a{ color:inherit; text-decoration:none; }
.bob-crumb a:hover{ color:var(--bob-rouge,#E30713); }
.bob-cathead-title{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:clamp(2rem,4vw,2.9rem); line-height:1.1; color:var(--bob-ardoise,#33373B); margin:12px 0 8px; }
.bob-cathead-intro{ color:var(--bob-ardoise-doux,#5C6066); line-height:1.6; }
.bob-cathead-intro p{ margin:0; }
.bob-cathead .bob-subcats{ margin-top:18px; margin-bottom:0; }

/* === Sidebar : options en cases a cocher (maquette .opt) === */
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list{ gap:0; }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list li{ padding:0; }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list a{ flex:1; display:flex; align-items:center; gap:9px; padding:6px 0; font-size:.92rem; font-weight:600; color:var(--bob-ardoise,#33373B); }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list a::before{ content:''; flex:0 0 auto; width:16px; height:16px; border:1.5px solid var(--bob-bordure,#E6E3DF); border-radius:4px; background:#fff; margin:0; transition:.15s; }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list a:hover{ color:var(--bob-ardoise,#33373B); }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list a:hover::before{ border-color:var(--bob-rouge,#E30713); }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list li.chosen>a{ color:var(--bob-ardoise,#33373B); font-weight:700; }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list li.chosen>a::before{ content:''; background:var(--bob-rouge,#E30713) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/11px no-repeat; border-color:var(--bob-rouge,#E30713); }
.bob-filters .bob-fbox:not(.bob-fbox-pills) .woocommerce-widget-layered-nav-list .count{ margin-left:auto; color:var(--bob-ardoise-doux,#5C6066); font-size:.8rem; font-weight:700; }


.bob-fbox-h small{font-size:.7rem;font-weight:800;color:#fff;background:var(--bob-rouge,#E30713);border-radius:999px;padding:1px 8px;line-height:1.6;text-transform:none;letter-spacing:0}

/* === Badges carte (maquette .pbadges) === */
.woocommerce ul.products li.product{ position:relative; }
.bob-badges{ position:absolute; top:10px; right:10px; z-index:3; display:flex; flex-direction:column; gap:6px; align-items:flex-end; pointer-events:none; }
.bob-b{ font-size:.68rem; font-weight:800; padding:3px 9px; border-radius:999px; letter-spacing:.02em; line-height:1.5; box-shadow:0 2px 6px rgba(0,0,0,.20); }
.bob-b-bio{ background:#e7f5ea; color:#2f7d43; border:1px solid #bfe2c8; }
.bob-b-consig{ background:#eef1f4; color:#46535e; border:1px solid #d4dbe1; }
.bob-b-etui{ background:#1f2226; color:#fff; }
.bob-b-promo{ background:var(--bob-rouge,#E30713); color:#fff; }
/* === Fil d Ariane catalogue : aligne sur le hero === */
.bob-cathead .ct-breadcrumbs{ font-size:.82rem; font-weight:600; color:var(--bob-ardoise-doux,#5C6066); margin-bottom:14px; line-height:1.4; text-transform:none; letter-spacing:0; }
.bob-cathead .ct-breadcrumbs a{ color:inherit; text-decoration:none; }
.bob-cathead .ct-breadcrumbs a:hover{ color:var(--bob-rouge,#E30713); }
.bob-cathead .ct-breadcrumbs .ct-separator{ display:inline-block; width:7px; height:7px; margin:0 7px; vertical-align:middle; opacity:.6; }
.bob-cathead .ct-breadcrumbs .last-item{ color:var(--bob-ardoise,#33373B); }
#bob-devis-fab{align-items:center;gap:8px}
#bob-devis-fab svg{flex:0 0 auto}

/* BOB promo card price (maquette) */
.woocommerce ul.products li.product > .price .sale-price{
  display:inline-flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}
.woocommerce ul.products li.product > .price del,
.woocommerce ul.products li.product > .price .sale-price del{
  color:var(--bob-ardoise-doux,#5C6066);
  text-decoration:line-through;
  font-size:.82rem;
  font-weight:700;
  opacity:1;
}
.woocommerce ul.products li.product > .price ins,
.woocommerce ul.products li.product > .price .sale-price ins{
  color:var(--bob-rouge,#E30713);
  text-decoration:none;
  background:transparent;
  font-weight:800;
  font-size:1.22rem;
  font-family:var(--bob-display,'Fredoka',system-ui,sans-serif);
  line-height:1.1;
}
.woocommerce ul.products li.product > .price del .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product > .price ins .woocommerce-Price-currencySymbol{font-weight:inherit}
/* BOB promo end date (maquette) */
.woocommerce ul.products li.product > .price{display:block}
.bob-promo-end{display:block;font-size:.7rem;color:var(--bob-ardoise-doux,#5C6066);font-weight:700;margin-top:2px;line-height:1.2;text-decoration:none}
/* BOB filtre En promo (sidebar) */
.bob-fbox-offres .bob-promo-pills{display:flex;flex-wrap:wrap;gap:8px}
.bob-promo-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1.5px solid var(--bob-bordure,#E6E3DF);border-radius:999px;font-size:.82rem;font-weight:700;color:var(--bob-ardoise,#33373B);text-decoration:none;line-height:1;transition:border-color .15s,background .15s,color .15s}
.bob-promo-pill:hover{border-color:var(--bob-rouge,#E30713);color:var(--bob-rouge,#E30713)}
.bob-promo-pill .bob-promo-dot{width:8px;height:8px;border-radius:50%;background:var(--bob-rouge,#E30713);flex:0 0 auto}
.bob-promo-pill .bob-promo-cnt{font-size:.72rem;background:var(--bob-creme2,#F3EEE7);color:var(--bob-ardoise-doux,#5C6066);border-radius:999px;padding:1px 7px;font-weight:800}
.bob-promo-pill.on{background:var(--bob-rouge,#E30713);border-color:var(--bob-rouge,#E30713);color:#fff}
.bob-promo-pill.on .bob-promo-dot{background:#fff}
.bob-promo-pill.on .bob-promo-cnt{background:rgba(255,255,255,.22);color:#fff}
.bob-promo-pill .bob-promo-x{font-size:1.05rem;line-height:1;margin-left:2px}
/* BOB une seule pastille promo */
.woocommerce ul.products li.product{position:relative}
.woocommerce ul.products li.product .onsale{display:inline-flex;align-items:center;position:absolute;top:10px;left:10px;right:auto;bottom:auto;margin:0;z-index:4;min-width:0;min-height:0;width:auto;height:auto;background:var(--bob-rouge,#E30713)!important;color:#fff!important;font-size:.68rem;font-weight:800;letter-spacing:.02em;line-height:1.5;padding:3px 9px;border-radius:999px!important;box-shadow:0 2px 6px rgba(0,0,0,.20)}
.woocommerce ul.products li.product .onsale::before,.woocommerce ul.products li.product .onsale::after{display:none!important}
/* BOB pill En promo rouge */
.bob-promo-pill{border-color:var(--bob-rouge,#E30713)!important;color:var(--bob-rouge,#E30713)}
.bob-promo-pill .bob-promo-cnt{background:rgba(227,7,19,.10);color:var(--bob-rouge,#E30713)}
/* BOB pcat eyebrow (maquette .pcat) */
.woocommerce ul.products li.product .bob-pcat{order:1;display:block;margin:14px 0 3px;padding-left:16px;padding-right:16px;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;line-height:1.2;color:var(--bob-ardoise-doux)}
.woocommerce ul.products li.product ul.entry-meta{display:none!important}
/* BOB filtre Marque (select stylise) */
.bob-filters .bob-fbox-dd select{width:100%;-webkit-appearance:none;appearance:none;font-family:var(--bob-texte);font-size:.8rem;color:var(--bob-ardoise);background-color:var(--bob-blanc,#fff);border:1px solid var(--bob-bordure,#E6E3DF);border-radius:12px;padding:9px 34px 9px 12px;line-height:1.25;cursor:pointer;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6066' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right 11px center;background-size:13px}
.bob-filters .bob-fbox-dd select:hover{border-color:var(--bob-ardoise-doux,#5C6066)}
.bob-filters .bob-fbox-dd select:focus{outline:none;border-color:var(--bob-rouge,#E30713);box-shadow:0 0 0 3px rgba(227,7,19,.12)}
/* Filtre Marque : menu deroulant stylise */
.bob-fbox-dd select{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:var(--bob-texte);font-size:.85rem;color:var(--bob-ardoise,#33373B);background-color:var(--bob-blanc,#fff);border:1px solid var(--bob-bordure,#E6E3DF);border-radius:12px;padding:9px 34px 9px 12px;line-height:1.2;cursor:pointer;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%235C6066' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat:no-repeat;background-position:right 12px center;background-size:12px}
.bob-fbox-dd select:hover{border-color:var(--bob-ardoise-doux,#5C6066)}
.bob-fbox-dd select:focus{outline:none;border-color:var(--bob-rouge,#E30713);box-shadow:0 0 0 3px rgba(227,7,19,.12)}

/* ===================== FICHE PRODUIT (Gabarit 2) ===================== */
.single-product div.product .bob-fp-brand{margin:0 0 6px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--bob-ardoise-doux,#5C6066)}
.single-product div.product .product_title{font-family:var(--bob-display,'Fredoka',sans-serif);font-weight:600;line-height:1.1;color:var(--bob-ardoise,#33373B);margin:0 0 12px}
.single-product .bob-fp-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.bob-fp-b{font-size:.72rem;font-weight:800;padding:4px 11px;border-radius:999px;line-height:1.5}
.bob-fp-promo{background:var(--bob-rouge,#E30713);color:#fff}
.bob-fp-bio{background:#e7f5ea;color:#2f7d43;border:1px solid #bfe2c8}
.bob-fp-etui{background:#1f2226;color:#fff}
.bob-fp-consig{background:#eef1f4;color:#46535e;border:1px solid #d4dbe1}
.bob-fp-specs{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin:0 0 20px;padding:0;list-style:none}
.bob-fp-spec{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:14px;padding:7px 0;border:0;border-bottom:0.8px solid var(--bob-bordure,#E6E3DF);border-radius:0;background:none}
.bob-fp-spec b{font-size:.8rem;font-weight:400;text-transform:none;letter-spacing:0;color:var(--bob-ardoise-doux,#5C6066);flex:0 0 auto}
.bob-fp-spec span{font-size:.92rem;font-weight:500;color:var(--bob-ardoise,#33373B);text-align:right}
.bob-fp-buybox{background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:18px;padding:20px 22px;margin:0}
.single-product div.product .bob-fp-buybox .price{margin:0 0 2px;font-family:var(--bob-display,'Fredoka',sans-serif)}
.single-product div.product .bob-fp-buybox .price .bob-price-on-request{font-weight:800;color:var(--bob-ardoise,#33373B);font-size:1.05rem;font-style:normal;opacity:1}
.single-product div.product .bob-fp-buybox del{color:var(--bob-ardoise-doux,#5C6066);font-size:.9rem;font-weight:700}
.single-product div.product .bob-fp-buybox ins{background:none;color:var(--bob-rouge,#E30713);font-weight:800;font-size:1.5rem;text-decoration:none}
.bob-fp-promo-end{font-size:.78rem;color:var(--bob-ardoise-doux,#5C6066);font-weight:700;margin:2px 0 0}
.bob-fp-buybox .bob-devis-single{margin:14px 0 0}
.bob-fp-buybox .bob-add-devis{width:100%;justify-content:center;font-size:.95rem;padding:.8em 1.1em}
.bob-fp-reassure{margin:16px 0 0;display:flex;flex-direction:column;gap:9px;border-top:1px solid var(--bob-bordure,#E6E3DF);padding-top:16px}
.bob-fp-reassure>div{display:flex;align-items:center;gap:10px;font-size:.88rem;font-weight:600;color:var(--bob-ardoise,#33373B);line-height:1.35}
.bob-fp-reassure svg{flex:0 0 auto;color:var(--bob-rouge,#E30713)}
.single-product div.product .woocommerce-product-gallery{border-radius:0;overflow:visible}
/* Onglets natifs Woo en pills (maquette) */
.woocommerce-tabs{margin-top:46px;border-top:1px solid var(--bob-bordure,#E6E3DF);padding-top:30px;clear:both}
.woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:0;list-style:none}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs::after{display:none}
.woocommerce-tabs ul.tabs li{margin:0;padding:0;background:none;border:none}
.woocommerce-tabs ul.tabs li a{display:inline-block;font-family:var(--bob-texte,'Mulish',sans-serif);font-weight:800;font-size:.92rem;padding:10px 18px;border-radius:999px;border:1px solid var(--bob-bordure,#E6E3DF);background:#fff;color:var(--bob-ardoise-doux,#5C6066);text-decoration:none;transition:.15s}
.woocommerce-tabs ul.tabs li a:hover{border-color:var(--bob-rouge,#E30713);color:var(--bob-rouge,#E30713)}
.woocommerce-tabs ul.tabs li.active a{background:var(--bob-ardoise,#33373B);color:#fff;border-color:var(--bob-ardoise,#33373B)}
.woocommerce-tabs .panel{max-width:74ch;color:var(--bob-ardoise,#33373B);line-height:1.7;margin:0}
.woocommerce-tabs .panel h2{font-family:var(--bob-display,'Fredoka',sans-serif);font-size:1.25rem;color:var(--bob-ardoise,#33373B);margin:0 0 8px}
.woocommerce-tabs .panel p{color:var(--bob-ardoise-doux,#5C6066);margin:0 0 10px}
.single-product .related,.single-product .upsells{margin-top:56px}
.single-product .related>h2,.single-product .upsells>h2{font-family:var(--bob-display,'Fredoka',sans-serif);font-weight:600;font-size:1.6rem;color:var(--bob-ardoise,#33373B);margin:0 0 22px}

/* Fil d'Ariane fiche produit : aligne sur le style BoB (supprime les majuscules Blocksy par defaut) */
.single-product .ct-breadcrumbs{font-size:.82rem;font-weight:600;color:var(--bob-ardoise-doux,#5C6066);margin-bottom:14px;line-height:1.4;text-transform:none;letter-spacing:0}
.single-product .ct-breadcrumbs a{color:inherit;text-decoration:none}
.single-product .ct-breadcrumbs a:hover{color:var(--bob-rouge,#E30713)}
.single-product .ct-breadcrumbs .ct-separator{display:inline-block;width:7px;height:7px;margin:0 7px;vertical-align:middle;opacity:.6}
.single-product .ct-breadcrumbs .last-item{color:var(--bob-ardoise,#33373B)}

/* Galerie fiche : bouteille portrait maitrisee (hauteur + largeur capees, fond doux maquette) */
.single-product .product-entry-wrapper{align-items:start}
.single-product .woocommerce-product-gallery{max-width:380px}
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container{height:clamp(340px,44vh,470px);display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#fff,#F3EEE7)}
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container img{width:auto;height:100%;max-width:100%;object-fit:contain;margin:0 auto}
/* Bloc UGS / Categorie (rendu par Blocksy) : masque sur la fiche (la categorie reste dans le fil d'Ariane) */
.single-product .product_meta{display:none}
.single-product .ct-product-divider:has(+ .product_meta){display:none}

/* Fiche : neutraliser les elements Blocksy redondants (prix en double hors buybox, separateurs, panier natif vide) */
.single-product .entry-summary > .price{display:none}
.single-product .ct-product-divider{display:none}
.single-product .ct-product-add-to-cart{display:none}

/* Galerie fiche v2 : image qui REMPLIT le cadre (3/4, cover) + arrondis sur les 4 cotes */
.single-product .woocommerce-product-gallery{max-width:340px;border-radius:0;overflow:visible}
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container{position:relative;height:auto;aspect-ratio:3/4;padding:0;background:none;border-radius:18px;overflow:hidden}
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;margin:0}
.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container{border-radius:10px;overflow:hidden}
/* Vignette active : la piste (ol) est en overflow:hidden et la vignette est calee au bas -> la bordure rouge arrondie etait rognee. Petit padding vertical pour degager (n'affecte ni la largeur ni le defilement). */
.single-product .woocommerce-product-gallery .flexy-pills ol{padding-block:3px}

/* Galerie fiche v3 : image dans le flux, remplit un cadre 3/4 (cover), arrondie 4 cotes */
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container{position:relative;display:block;height:auto;aspect-ratio:3/4;padding:0;background:none;border-radius:18px;overflow:hidden}
.single-product .woocommerce-product-gallery .flexy-view .ct-media-container img{position:static;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;margin:0;display:block;border-radius:18px}
/* Galerie fiche MONO-image (pas de .flexy-view) : pile = .ct-product-gallery-container > figure.ct-media-container > img. Les regles d'arrondi ci-dessus sont scopees .flexy-view -> ne l'atteignent pas. On arrondit ici la pile mono (enfant DIRECT, donc n'attrape ni le stage multi sous .flexy-view ni les vignettes sous .flexy-pills). */
.single-product .woocommerce-product-gallery .ct-product-gallery-container > .ct-media-container{border-radius:18px;overflow:hidden}
.single-product .woocommerce-product-gallery .ct-product-gallery-container > .ct-media-container img.wp-post-image{border-radius:18px}

/* ===== FICHE v4 : corrections fidelite maquette ===== */
.single-product .bob-fp-brand{color:var(--bob-rouge,#E30713);font-size:.8rem}
.single-product .bob-fp-spec{background:none}
/* microcopie devis sous le prix "sur demande" (cf maquette .ondemand small) */
.single-product .bob-devis-note{margin:5px 0 0;font-size:.8rem;line-height:1.3}
.single-product .bob-fp-reassure>div{color:var(--bob-ardoise-doux,#5C6066)}
/* selecteur quantite (maquette .qty) + ligne qty/bouton */
.single-product .bob-fp-row{display:flex;gap:10px;align-items:center;margin-top:14px;flex-wrap:wrap}
.single-product .bob-fp-row .bob-devis-single{margin:0;flex:1 1 auto}
.single-product .bob-fp-row .bob-add-devis{width:100%}
.single-product .bob-fp-qty{display:flex;align-items:center;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:999px;overflow:hidden;flex:0 0 auto}
.single-product .bob-fp-qty button{border:none;background:#fff;font-size:1.1rem;font-weight:800;width:38px;height:46px;cursor:pointer;color:var(--bob-ardoise,#33373B);line-height:1;padding:0}
.single-product .bob-fp-qty button:hover{color:var(--bob-rouge,#E30713)}
.single-product .bob-fp-qty input{width:42px;text-align:center;border:none;font-family:var(--bob-texte,'Mulish',sans-serif);font-weight:800;font-size:1rem;background:#fff;color:var(--bob-ardoise,#33373B);padding:0}
.single-product .bob-fp-qty input:focus{outline:none}
/* sur-titre 'Dans le meme esprit' au-dessus de 'Vous aimerez aussi' */
.single-product .related>h2::before{content:'Dans le m\00eame esprit';display:block;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--bob-rouge,#E30713);margin-bottom:6px}

/* marque en rouge : meme specificite que la regle initiale (.single-product div.product .bob-fp-brand) + posee apres */
.single-product div.product .bob-fp-brand{color:var(--bob-rouge,#E30713)}

/* ===== Onglets : alignement + couleurs (fidelite maquette) ===== */
/* aligne le bloc onglets sur la colonne de contenu (1290px centre, comme .related / .product-entry-wrapper) */
.single-product div.product .woocommerce-tabs{max-width:1290px;margin-left:auto;margin-right:auto}
.single-product .woocommerce-tabs ul.tabs{justify-content:flex-start !important;border-bottom:none !important}
.single-product .woocommerce-tabs ul.tabs li a{border-bottom:none !important;box-shadow:none !important}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover,
.single-product .woocommerce-tabs ul.tabs li.active a:focus{color:#fff !important}

/* onglets : retirer l'indicateur rouge Blocksy (li.active::before) */
.single-product .woocommerce-tabs ul.tabs li.active::before{display:none !important}

/* Fiche en promo : supprimer les doublons (mention promo du mode catalogue dans le prix + pastille -% sur l'image) */
.single-product .bob-fp-buybox .price .bob-promo-end{display:none}
.single-product .onsale{display:none}

/* Fiche mobile : caracteristiques sur 1 colonne (maquette @560), buybox confortable */
@media(max-width:560px){
  .single-product .bob-fp-specs{grid-template-columns:1fr}
  .single-product .woocommerce-product-gallery{max-width:none}
  .single-product .bob-fp-row .bob-devis-single{flex:1 1 100%}
}

/* galerie fiche : un peu plus grande (340 -> 400) */
.single-product .woocommerce-product-gallery{max-width:400px}

/* Buybox bouton devis : taille reduite + survol propre (retrait du pseudo Blocksy) + reassurances remontees */
.single-product .bob-fp-buybox .bob-add-devis{padding:.55em 1.1em !important;font-size:.88rem !important;border:none !important;box-shadow:none !important}
.single-product .bob-fp-buybox .bob-add-devis::before{display:none !important}
.single-product .bob-fp-buybox .bob-add-devis:hover{background:#BD1522 !important;transform:none !important}
.single-product .bob-fp-qty button{height:42px}
.single-product .bob-fp-reassure{margin-top:8px;padding-top:12px}

/* Buybox : resserrer la description courte + la mention promo (remonter le texte) */
.single-product .bob-fp-buybox .woocommerce-product-details__short-description{margin:6px 0 4px;color:var(--bob-ardoise,#33373B);font-size:1rem;line-height:1.55}
.single-product .bob-fp-buybox .woocommerce-product-details__short-description p{margin:0}
.single-product .bob-fp-buybox .bob-fp-promo-end{margin-top:6px}

/* Onglets : remonter le texte du panneau (reduire l'espace barre -> contenu) */
.single-product .woocommerce-tabs ul.tabs{margin-bottom:12px}
.single-product .woocommerce-tabs .panel{padding-top:0 !important}

/* onglets : retirer l'indicateur rouge Blocksy dans TOUS les etats (actif + survol) */
.single-product .woocommerce-tabs ul.tabs li::before{display:none !important}

/* Onglets : survol sobre, sans contour rouge (la maquette n'a pas de hover rouge) */
.single-product .woocommerce-tabs ul.tabs li a:hover{color:var(--bob-ardoise,#33373B) !important;border-color:var(--bob-bordure,#E6E3DF) !important;background:var(--bob-casse,#FAF8F5) !important}

/* Onglets : bordure complete sur les 4 cotes (Blocksy supprimait la bordure du bas -> tronquee) */
.single-product .woocommerce-tabs ul.tabs li a{border:1px solid var(--bob-bordure,#E6E3DF) !important}
.single-product .woocommerce-tabs ul.tabs li a:hover{border-color:var(--bob-bordure,#E6E3DF) !important}
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover{border-color:var(--bob-ardoise,#33373B) !important}

/* ===== Onglets : survols cohérents et lisibles ===== */
.single-product .woocommerce-tabs ul.tabs li a{transition:color .15s ease,border-color .15s ease,background-color .15s ease}
/* inactif au survol : leger fond creme + contour/texte qui foncent (apercu de la selection), pas de rouge */
.single-product .woocommerce-tabs ul.tabs li:not(.active) a:hover{color:var(--bob-ardoise,#33373B) !important;border-color:var(--bob-ardoise,#33373B) !important;background:var(--bob-casse,#FAF8F5) !important}
/* actif : pastille foncee lisible dans tous les etats (jamais fond clair + texte blanc) */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs ul.tabs li.active a:hover,
.single-product .woocommerce-tabs ul.tabs li.active a:focus{background:var(--bob-ardoise,#33373B) !important;color:#fff !important;border-color:var(--bob-ardoise,#33373B) !important}

/* ===== Onglets : remontes + reduits (cf maquette .tabnav) ===== */
.single-product .woocommerce-tabs{margin-top:34px !important;padding-top:28px !important}
.single-product .woocommerce-tabs ul.tabs li a{padding:10px 18px !important;font-size:.92rem !important}
/* ===== Bouton 'Ajouter a ma selection' : meme style que le CTA header 'Devis gratuit' (.ct-button) ===== */
.single-product .bob-fp-buybox .bob-add-devis{background:var(--bob-rouge,#E30713) !important;color:#fff !important;border:none !important;border-radius:999px !important;padding:.85em 1.5em !important;font-size:1rem !important;font-weight:800 !important;box-shadow:none !important}
.single-product .bob-fp-buybox .bob-add-devis:hover{background:#BD1522 !important;transform:none !important}

/* Bouton devis : ombre + decalage au survol, fideles a .btn--cta de la maquette */
.single-product .bob-fp-buybox .bob-add-devis{box-shadow:0 10px 22px -12px rgba(227,7,19,.7) !important;transition:transform .18s,background-color .18s,box-shadow .18s !important;padding:.85em 1.4em !important}
.single-product .bob-fp-buybox .bob-add-devis:hover{background:#BD1522 !important;transform:translateY(-2px) !important;box-shadow:0 14px 26px -10px rgba(227,7,19,.75) !important}

/* Onglets : casse normale (maquette), pas de capitales */
.single-product .woocommerce-tabs ul.tabs li a{text-transform:none !important;letter-spacing:normal !important}

/* Bouton devis fiche : etat 'Ajoute' en vert comme Gabarit 1 (sinon mon fond rouge !important l'ecrasait) */
.single-product .bob-fp-buybox .bob-add-devis.added,
.single-product .bob-fp-buybox .bob-add-devis.added:hover{background:#2e7d32 !important;border-color:#2e7d32 !important;box-shadow:none !important}

/* ===== Selecteur de variantes (swatches) buybox ===== */
.single-product .bob-var-row{margin:0 0 14px}
.single-product .bob-var-head{font-size:.82rem;font-weight:700;color:var(--bob-ardoise-doux,#5C6066);margin-bottom:8px}
.single-product .bob-var-head b{color:var(--bob-ardoise,#33373B);font-weight:800}
.single-product .bob-var-swatches{display:flex;flex-wrap:wrap;gap:8px}
.single-product .bob-var-swatches.is-color .bob-var-swatch{width:34px;height:34px;border-radius:999px;border:1px solid var(--bob-bordure,#E6E3DF);background:#fff;padding:3px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .12s,border-color .12s,box-shadow .12s}
.single-product .bob-var-swatches.is-color .bob-var-dot{width:100%;height:100%;border-radius:999px;display:block}
.single-product .bob-var-swatches.is-color .bob-var-swatch:hover{transform:translateY(-1px)}
.single-product .bob-var-swatches.is-color .bob-var-swatch.is-active{border-color:var(--bob-ardoise,#33373B);box-shadow:0 0 0 1px var(--bob-ardoise,#33373B)}
.single-product .bob-var-swatches.is-button .bob-var-swatch{font-family:inherit;font-weight:700;font-size:.85rem;padding:.4em .9em;border-radius:999px;border:1px solid var(--bob-bordure,#E6E3DF);background:#fff;color:var(--bob-ardoise-doux,#5C6066);cursor:pointer;transition:color .12s,border-color .12s,background-color .12s}
.single-product .bob-var-swatches.is-button .bob-var-swatch:hover{border-color:var(--bob-ardoise,#33373B);color:var(--bob-ardoise,#33373B)}
.single-product .bob-var-swatches.is-button .bob-var-swatch.is-active{background:var(--bob-ardoise,#33373B);color:#fff;border-color:var(--bob-ardoise,#33373B)}

/* Vignette de galerie active : bordure rouge (cf maquette .sthumbs div.on) */
.single-product .flexy-pills[data-type="thumbs"] ol li .ct-media-container{border:2px solid transparent;border-radius:10px;overflow:hidden;transition:border-color .15s ease}
.single-product .flexy-pills[data-type="thumbs"] ol li.active .ct-media-container{border-color:var(--bob-rouge,#E30713)}
.single-product .flexy-pills[data-type="thumbs"] ol li .ct-media-container img{display:block;border-radius:8px}

/* ===== Buybox : aerer la carte (padding + rythme vertical) ===== */
.single-product .bob-fp-buybox{padding:26px 26px}
.single-product .bob-fp-buybox .woocommerce-product-details__short-description{margin-top:8px}
.single-product .bob-var-row{margin:18px 0 0}
.single-product .bob-var-head{margin-bottom:10px}
.single-product .bob-fp-row{margin-top:20px}
.single-product .bob-fp-reassure{margin-top:18px;padding-top:18px;gap:11px}

/* Swatch indisponible avec la selection courante (informatif, reste cliquable) */
.single-product .bob-var-swatch.is-unavailable{opacity:.32}

/* Ajustements : remonter la desc courte + aerer entre selecteur et prix */
.single-product .bob-fp-buybox{padding-top:20px}
.single-product .bob-fp-buybox .woocommerce-product-details__short-description{margin-top:0}
.single-product .bob-fp-buybox p.price{margin-top:18px !important}

/* ============ Filtres : bouton mobile, off-canvas, etat 0 resultat (finitions filtres) ============ */
/* Elements de tiroir : caches sur desktop */
.bob-filters-toggle{display:none}
.bob-filters-drawerhead{display:none}
.bob-filters-apply{display:none}
.bob-filters-backdrop{display:none}
.bob-filters-toggle-cnt[hidden]{display:none}

/* Etat 0 resultat (tous viewports) */
.bob-noresult{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:48px 22px;background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:18px}
.bob-noresult-ic{color:var(--bob-rouge,#E30713);opacity:.92;margin-bottom:2px}
.bob-noresult-t{font-family:var(--bob-titre,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:1.25rem;line-height:1.2;margin:0;color:var(--bob-ardoise,#33373B)}
.bob-noresult-p{margin:0 0 12px;color:var(--bob-ardoise-doux,#5C6066);max-width:44ch;line-height:1.5}
.bob-noresult-reset{display:inline-flex;align-items:center;gap:8px}

@media(max-width:980px){
  /* bouton qui declenche le tiroir */
  .bob-filters-toggle{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;padding:11px 18px;border:1px solid var(--bob-bordure,#E6E3DF);background:#fff;border-radius:999px;font-family:var(--bob-texte,'Mulish',system-ui,sans-serif);font-weight:800;font-size:.84rem;color:var(--bob-ardoise,#33373B);cursor:pointer;line-height:1}
  .bob-filters-toggle svg{flex:none}
  .bob-filters-toggle-cnt{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--bob-rouge,#E30713);color:#fff;font-size:.72rem;font-weight:800}
  /* la sidebar devient un tiroir hors-ecran (override de la regle row-wrap precedente) */
  .bob-filters{position:fixed;top:0;left:0;bottom:0;width:88vw;max-width:360px;flex-direction:column;flex-wrap:nowrap;gap:12px;background:var(--bob-creme,#FBF7F0);border-right:1px solid var(--bob-bordure,#E6E3DF);box-shadow:0 18px 50px rgba(0,0,0,.22);padding:0 16px 16px;overflow-y:auto;-webkit-overflow-scrolling:touch;will-change:auto;transform:translateX(-104%);transition:transform .28s cubic-bezier(.2,.7,.2,1);z-index:100000}
  body.bob-filters-open .bob-filters{transform:translateX(0)}
  .bob-filters .bob-fbox{flex:none;min-width:0}
  /* en-tete collante du tiroir */
  .bob-filters-drawerhead{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;margin:0 -16px 4px;padding:14px 16px;background:var(--bob-creme,#FBF7F0);border-bottom:1px solid var(--bob-bordure,#E6E3DF)}
  .bob-filters-drawertitle{font-family:var(--bob-titre,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:1.05rem;color:var(--bob-ardoise,#33373B)}
  .bob-filters-close{appearance:none;-webkit-appearance:none;border:0;background:none;font-size:1.7rem;line-height:1;color:var(--bob-ardoise,#33373B);cursor:pointer;padding:2px 6px}
  /* bouton voir les resultats, colle en bas */
  .bob-filters-apply{display:block;position:sticky;bottom:0;margin:8px -16px 0;padding:12px 16px;background:var(--bob-creme,#FBF7F0);border-top:1px solid var(--bob-bordure,#E6E3DF)}
  .bob-filters-done{width:100%;padding:13px 18px;border:0;border-radius:999px;background:var(--bob-rouge,#E30713);color:#fff;font-family:var(--bob-texte,'Mulish',system-ui,sans-serif);font-weight:800;font-size:.92rem;cursor:pointer}
  /* fond sombre */
  .bob-filters-backdrop{display:block;position:fixed;inset:0;background:rgba(20,18,16,.5);opacity:0;pointer-events:none;transition:opacity .28s ease;z-index:99999}
  body.bob-filters-open .bob-filters-backdrop{opacity:1;pointer-events:auto}
  body.bob-filters-open{overflow:hidden}
}
@media(max-width:980px){.bob-filters .bob-fbox-active{display:none}}


/* ===== Fiche produit \u2014 onglet En video (click-to-load RGPD) ===== */
.bob-fp-video{margin:4px 0}
.bob-fp-video-load{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;aspect-ratio:16/9;border:0;cursor:pointer;border-radius:18px;background:linear-gradient(160deg,#33373B,#23262a);color:#fff;text-align:center;padding:24px;transition:filter .15s ease}
.bob-fp-video-load:hover{filter:brightness(1.08)}
.bob-fp-video-icon{width:64px;height:64px;border-radius:50%;background:var(--theme-palette-color-1,#b41f24);display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:0 6px 18px rgba(0,0,0,.3)}
.bob-fp-video-icon::before{content:'';display:block;width:0;height:0;border-style:solid;border-width:13px 0 13px 22px;border-color:transparent transparent transparent #fff;margin-left:5px}
.bob-fp-video-label{font-weight:700;font-size:1.15rem}
.bob-fp-video-note{font-size:.8rem;opacity:.75;max-width:34ch;line-height:1.35}
.bob-fp-video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}
.bob-fp-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}


/* v36 — Apparentes/upsells en 2 colonnes sur mobile : libelle court '+ Ma selection' (le libelle complet passait sur 3 lignes). CSS seul : le JS (feedback 'Ajoute ✓') reste intact, l'etat .added affiche le texte reel. */
@media (max-width:689.98px){
.related ul.products li.product .bob-add-devis:not(.added) .bob-add-label,.upsells ul.products li.product .bob-add-devis:not(.added) .bob-add-label{font-size:0}
.related ul.products li.product .bob-add-devis:not(.added) .bob-add-label::after,.upsells ul.products li.product .bob-add-devis:not(.added) .bob-add-label::after{content:'Ma s\E9lection';font-size:13px;white-space:nowrap}
.related ul.products li.product .bob-add-devis,.upsells ul.products li.product .bob-add-devis{padding-left:8px!important;padding-right:8px!important;gap:.3em}
}
/* --- Boites de filtres repliables (page boutique) --- */
.bob-filters details.bob-fbox-collap>summary{margin:0;cursor:pointer;list-style:none}
.bob-filters details.bob-fbox-collap>summary::-webkit-details-marker{display:none}
.bob-filters details.bob-fbox-collap>summary::after{content:"";flex:none;width:7px;height:7px;margin-left:auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .15s}
.bob-filters details.bob-fbox-collap[open]>summary{margin:0 0 10px}
.bob-filters details.bob-fbox-collap[open]>summary::after{transform:rotate(-135deg)}
.bob-filters details.bob-fbox-collap>summary:hover{color:var(--bob-rouge,#E30713)}
/* --- Page carrefour (archive boutique) --- */
.bob-carrefour{margin:6px 0 0}
.bob-rayons-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.bob-rayon{display:flex;flex-direction:column;align-items:flex-start;gap:4px;background:#fff;border:1px solid var(--bob-bordure,#E6E3DF);border-radius:18px;padding:22px 22px 20px;transition:border-color .15s ease,box-shadow .15s ease}
.bob-rayon:hover{border-color:var(--bob-rouge,#E30713);box-shadow:0 8px 26px rgba(0,0,0,.06)}
.bob-rayon-t{font-family:var(--bob-titre,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:1.4rem;line-height:1.1;letter-spacing:-.01em;color:var(--bob-ardoise,#33373B);text-decoration:none}
.bob-rayon:hover .bob-rayon-t{color:var(--bob-rouge,#E30713)}
.bob-rayon-c{font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--bob-ardoise-doux,#5C6066)}
.bob-carrefour .bob-chips{margin-top:12px}
.bob-carrefour .bob-chip-link{padding:0;transition:border-color .15s ease,background .15s ease}
.bob-carrefour .bob-chip-link a{display:block;padding:5px 12px;color:inherit;text-decoration:none;border-radius:999px}
.bob-carrefour .bob-chip-link:hover{border-color:var(--bob-rouge,#E30713);background:#fff}
.bob-carrefour .bob-chip-link:hover a{color:var(--bob-rouge,#E30713)}
.bob-carrefour-promo{display:flex;align-items:baseline;gap:10px;margin-top:18px;padding:16px 22px;border-radius:18px;background:var(--bob-rouge,#E30713);color:#fff;text-decoration:none}
.bob-carrefour-promo strong{font-family:var(--bob-titre,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:1.15rem}
.bob-carrefour-promo span{font-size:.88rem;opacity:.9}
.bob-carrefour-promo:hover{background:var(--bob-rouge-profond,#BD1522);color:#fff}
.bob-carrefour-all{margin:22px 0 0;text-align:center}
.bob-carrefour-all a{font-weight:800;font-size:.95rem;color:var(--bob-ardoise-doux,#5C6066);text-decoration:none;border-bottom:2px solid var(--bob-bordure,#E6E3DF);padding-bottom:3px}
.bob-carrefour-all a:hover{color:var(--bob-rouge,#E30713);border-color:var(--bob-rouge,#E30713)}
@media(max-width:1100px){.bob-rayons-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bob-rayons-grid{grid-template-columns:1fr}.bob-rayon{padding:18px}}
/* --- Carrefour : visuels de tuile --- */
.bob-rayon-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%;margin:0 0 14px}
.bob-rayon-strip img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:var(--bob-casse,#FAF8F5)}
.bob-rayon-mono{position:relative;overflow:hidden;background:linear-gradient(150deg,#fff,var(--bob-casse,#FAF8F5))}
.bob-rayon-mg{position:absolute;right:-14px;top:-34px;font-family:var(--bob-titre,'Fredoka',system-ui,sans-serif);font-weight:600;font-size:8rem;line-height:1;color:var(--bob-rouge,#E30713);opacity:.07;pointer-events:none}
/* --- Images hors format : fond flou tire de la photo --- */
.bob-flou{position:relative;isolation:isolate;background:none!important}
.bob-flou::before{content:"";position:absolute;inset:0;z-index:0;background-image:var(--bob-flou);background-size:cover;background-position:50% 50%;filter:blur(22px) saturate(1.25) brightness(.92);transform:scale(1.25)}
.bob-flou>img{position:relative!important;z-index:1}
