/* En-tête Logic Connect — remplace l'en-tête Kadence */
#masthead{display:none!important}
.lcpd-hdr{position:relative;z-index:100;font-family:inherit}
.lcpd-hdr *{box-sizing:border-box}
.lcpd-hdr svg{width:24px;height:24px;flex:none}
.lcpd-hdr-in{display:flex;align-items:center;gap:28px;max-width:1480px;margin:0 auto;padding:0 24px}
.lcpd-hdr a{text-decoration:none!important}

/* Bandeau haut */
.lcpd-hdr-top{background:var(--lc-bleu);color:#fff}
.lcpd-hdr-top .lcpd-hdr-in{min-height:78px}
.lcpd-hdr-logo{display:flex;flex-direction:column;gap:2px;color:#fff!important;flex:none}
.lcpd-hdr-logo img{display:block;height:50px;width:auto;margin:-8px 0 -6px -10px}
.lcpd-hdr-logo span{font-size:13px;opacity:.9;white-space:nowrap}
.lcpd-hdr-search{display:flex;flex:1;max-width:600px;height:44px;margin:0 auto}
.lcpd-hdr-search input[type=search]{flex:1;min-width:0;height:100%;margin:0;padding:0 18px;border:0!important;border-radius:6px 0 0 6px!important;background:#fff;color:var(--lc-bleu);font-size:15px;box-shadow:none}
.lcpd-hdr-search button{display:flex;align-items:center;justify-content:center;width:52px;height:100%;padding:0;border:0;border-radius:0 6px 6px 0;background:var(--lc-vert);color:#fff;cursor:pointer}
.lcpd-hdr-search button:hover{background:var(--lc-vert-fonce)}
/* FiboSearch : on garde son moteur et ses suggestions, on lui donne l'apparence de la barre */
.lcpd-hdr-search--fibo{display:block}
.lcpd-hdr-search--fibo .dgwt-wcas-search-wrapp{width:100%;max-width:none!important;min-width:0;height:100%;margin:0!important}
.lcpd-hdr-search--fibo .dgwt-wcas-search-form{height:100%;margin:0}
.lcpd-hdr-search--fibo .dgwt-wcas-sf-wrapp{display:flex;height:100%;padding:0!important;border-radius:6px;background:#fff!important}
.lcpd-hdr-search--fibo .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input{flex:1;min-width:0;height:100%!important;margin:0;padding:0 18px!important;border:0!important;border-radius:6px 0 0 6px!important;background:#fff!important;color:var(--lc-bleu)!important;font-size:15px!important;line-height:normal!important;box-shadow:none!important}
.lcpd-hdr-search--fibo .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit{position:relative!important;top:auto!important;right:auto!important;left:auto!important;display:flex!important;align-items:center;justify-content:center;flex:0 0 52px;width:52px!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0 6px 6px 0!important;background:var(--lc-vert)!important;color:#fff!important;box-shadow:none!important;text-shadow:none!important}
.lcpd-hdr-search--fibo .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before{display:none!important}
.lcpd-hdr-search--fibo .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover{background:var(--lc-vert-fonce)!important}
.lcpd-hdr-search--fibo .dgwt-wcas-search-submit svg{position:static!important;width:20px!important;height:20px!important;margin:0!important;opacity:1!important}
.lcpd-hdr-search--fibo .dgwt-wcas-search-submit svg path{fill:#fff!important}
.lcpd-hdr-search--fibo .dgwt-wcas-preloader{right:62px!important}
/* Sans bouton de recherche (réglage FiboSearch) : loupe dans le champ */
.lcpd-hdr-search--fibo .dgwt-wcas-search-wrapp:not(.dgwt-wcas-has-submit) .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input{padding-left:46px!important;border-radius:6px!important}
.lcpd-hdr-search--fibo .dgwt-wcas-search-wrapp:not(.dgwt-wcas-has-submit) .dgwt-wcas-ico-magnifier{left:16px!important;opacity:.6}
.lcpd-hdr-search--fibo .dgwt-wcas-search-wrapp:not(.dgwt-wcas-has-submit) .dgwt-wcas-preloader{right:12px!important}
.lcpd-hdr-links{display:flex;align-items:center;gap:26px;flex:none}
.lcpd-hdr-links a{display:flex;align-items:center;gap:10px;color:#fff!important;line-height:1.3}
.lcpd-hdr-links a:hover strong{color:#5fd3c6}
.lcpd-hdr-links svg{width:28px;height:28px}
.lcpd-hdr-links strong{display:block;font-size:14px;font-weight:600}
.lcpd-hdr-links small{display:block;font-size:13px;opacity:.85}
.lcpd-hdr-burger{display:none;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;border-radius:6px;background:transparent;color:#fff;cursor:pointer}

/* Barre catégories */
.lcpd-hdr-nav{background:#fff;border-bottom:1px solid var(--lc-ligne);box-shadow:0 2px 8px rgba(21,22,53,.04)}
.lcpd-hdr-nav .lcpd-hdr-in{min-height:56px;gap:20px}
.lcpd-hdr-all{position:relative;flex:none}
.lcpd-hdr-all>button{display:flex;align-items:center;gap:10px;height:40px;padding:0 16px;border:0;border-radius:6px;background:var(--lc-vert-fonce);color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.lcpd-hdr-all>button svg{width:20px;height:20px}
.lcpd-hdr-all>button .lcpd-hdr-caret{width:16px;height:16px;transition:transform .2s}
.lcpd-hdr-all>button[aria-expanded=true] .lcpd-hdr-caret{transform:rotate(180deg)}
.lcpd-hdr-mega{display:none;position:absolute;top:calc(100% + 8px);left:0;width:min(980px,calc(100vw - 48px));max-height:70vh;overflow:auto;padding:24px;border:1px solid var(--lc-ligne);border-radius:10px;background:#fff;box-shadow:0 18px 40px rgba(21,22,53,.14);grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px}
.lcpd-hdr-mega.is-open{display:grid}
.lcpd-hdr-mega>div{display:flex;flex-direction:column;gap:6px}
.lcpd-hdr-mega a{font-size:14px;color:#3a3f4b!important}
.lcpd-hdr-mega a:hover{color:var(--lc-vert)!important}
.lcpd-hdr-mega .lcpd-hdr-mega-title{margin-bottom:2px;font-size:15px;font-weight:700;color:var(--lc-bleu)!important}
.lcpd-hdr-menu{display:flex;flex:1;justify-content:space-between;gap:6px;margin:0!important;padding:0!important;list-style:none}
.lcpd-hdr-menu li{margin:0}
.lcpd-hdr-menu a{display:flex;align-items:center;height:56px;padding:0 10px;border-bottom:3px solid transparent;color:var(--lc-bleu)!important;font-size:15px;font-weight:500;white-space:nowrap}
.lcpd-hdr-menu a:hover{color:var(--lc-vert)!important}
.lcpd-hdr-menu .current-menu-item>a,.lcpd-hdr-menu .current-menu-ancestor>a{border-bottom-color:var(--lc-vert);font-weight:700}
.lcpd-hdr-promo{display:flex;align-items:center;gap:10px;height:40px;padding:0 18px;border-radius:6px;background:#e6f6f3;color:var(--lc-bleu)!important;font-size:15px;font-weight:700;flex:none}
.lcpd-hdr-promo svg{width:20px;height:20px;color:var(--lc-vert-fonce)}
.lcpd-hdr-promo:hover,.lcpd-hdr-promo.is-active{background:#d2efea}

/* Écrans moyens : liens rapides en icônes seules */
@media(max-width:1280px){
  .lcpd-hdr-links span{display:none}
  .lcpd-hdr-links{gap:16px}
  .lcpd-hdr-menu a{padding:0 6px;font-size:14px}
}
/* Barre catégories plus compacte sous 1360 px (sinon elle dépasse de l'écran) ; « Promotions » en icône seule sous 1180 px */
@media(max-width:1360px){.lcpd-hdr-nav .lcpd-hdr-in{gap:14px}.lcpd-hdr-menu{gap:0}.lcpd-hdr-menu a{padding:0 5px}.lcpd-hdr-all>button{padding:0 12px}}
@media(min-width:1025px) and (max-width:1180px){.lcpd-hdr-promo{gap:0;padding:0 10px;font-size:0}}
@media(min-width:1025px) and (max-width:1140px){.lcpd-hdr-menu a{padding:0 4px;font-size:13px}}
/* Mobile / tablette : recherche sous le logo, catégories dans le menu burger */
@media(max-width:1024px){
  .lcpd-hdr-in{padding:0 16px;gap:12px}
  .lcpd-hdr-top .lcpd-hdr-in{flex-wrap:wrap;min-height:0;padding-top:10px;padding-bottom:12px}
  .lcpd-hdr-logo img{height:40px;margin:-6px 0 -4px -8px}
  .lcpd-hdr-logo span{font-size:11px}
  .lcpd-hdr-links{margin-left:auto}
  .lcpd-hdr-links .lcpd-hdr-store{display:none}
  .lcpd-hdr-burger{display:flex}
  .lcpd-hdr-search{order:3;flex-basis:100%;max-width:none;height:42px}
  .lcpd-hdr-nav{display:none}
  .lcpd-hdr-nav.is-open{display:block}
  .lcpd-hdr-nav .lcpd-hdr-in{flex-direction:column;align-items:stretch;gap:10px;padding-top:12px;padding-bottom:14px}
  .lcpd-hdr-all>button{width:100%;justify-content:flex-start}
  .lcpd-hdr-all>button .lcpd-hdr-caret{margin-left:auto}
  .lcpd-hdr-mega{position:static;width:auto;max-height:none;margin-top:8px;padding:14px;box-shadow:none;grid-template-columns:1fr 1fr}
  .lcpd-hdr-menu{flex-direction:column;gap:0}
  .lcpd-hdr-menu a{height:46px;border-bottom:1px solid var(--lc-ligne)}
  .lcpd-hdr-menu .current-menu-item>a{border-bottom-color:var(--lc-ligne);color:var(--lc-vert)!important}
  .lcpd-hdr-promo{justify-content:center}
}
@media(max-width:480px){.lcpd-hdr-logo span{display:none}.lcpd-hdr-mega{grid-template-columns:1fr}}
.lcpd-hdr-links a.is-current>span{margin-bottom:-7px;padding-bottom:4px;border-bottom:3px solid var(--lc-vert)}
/* FiboSearch porte la classe « woocommerce » : on la protège des règles « .woocommerce-account .woocommerce { padding… } » */
.lcpd-hdr .lcpd-hdr-search--fibo .dgwt-wcas-search-wrapp{padding:0!important;border:0!important;background:none!important}
/* Bandeau cookies Complianz compact sur mobile (≈185 px au lieu de ≈410) : texte défilant, 3 boutons sur une ligne,
   « Refuser » aussi visible qu'« Accepter » (exigence CNIL). header.css est chargé sur tout le site. */
@media (max-width:600px){
  #cmplz-cookiebanner-container .cmplz-cookiebanner{padding:12px 14px 10px!important;row-gap:8px!important;grid-row-gap:8px!important;border-radius:14px 14px 0 0!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header,#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider{display:none!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-body{margin:0!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message{max-height:4.3em;overflow-y:auto;margin:0!important;font-size:12.5px!important;line-height:1.4!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons{flex-direction:row!important;gap:6px!important;margin:0!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn{flex:1 1 0!important;min-width:0!important;width:auto!important;height:auto!important;min-height:40px!important;margin:0!important;padding:6px 4px!important;font-size:13px!important;line-height:1.15!important;white-space:normal!important}
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents{margin:0!important;font-size:12px!important}
}
/* Suggestions FiboSearch : prix en bleu marine comme sur la boutique (promo en rouge) */
.dgwt-wcas-suggestion .dgwt-wcas-sp{color:#151635!important;font-weight:700}
.dgwt-wcas-suggestion .dgwt-wcas-sp ins{color:#d32f2f;text-decoration:none}
.dgwt-wcas-suggestion .dgwt-wcas-sp del{color:#687383;font-weight:400}
