/* Boutique Lambi Connect : éléments ajoutés au thème WoodMart (langue, compte, pied de page) */
.lv-lang,.lv-account,.lv-footer{--lv-primary:#1E63FF;--lv-navy:#0E1B6B;--lv-bg:#EEF2F9;--lv-muted:#6B7A99;font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif}
.lv-lang *,.lv-account *,.lv-footer *{box-sizing:border-box}
.lv-lang svg,.lv-account svg,.lv-footer svg{flex:none}

/* [lambi_langue] */
.lv-lang{display:inline-flex;gap:2px;padding:3px;border-radius:12px;background:var(--lv-bg);vertical-align:middle}
.lv-lang a{min-width:38px;height:32px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;font-size:12px;font-weight:800;letter-spacing:.03em;line-height:1;color:var(--lv-muted);text-decoration:none;transition:background-color .15s,color .15s}
.lv-lang a:hover{color:var(--lv-navy)}
.lv-lang a.is-on{background:var(--lv-navy);color:#fff}
.lv-lang.is-dark{background:rgba(255,255,255,.08)}
.lv-lang.is-dark a{color:#A9B6E8}
.lv-lang.is-dark a:hover{color:#fff}
.lv-lang.is-dark a.is-on{background:#fff;color:var(--lv-navy)}

/* [lambi_compte] */
.lv-account{position:relative;display:inline-flex;vertical-align:middle;color:var(--lv-navy);text-decoration:none}
.lv-account>summary{list-style:none}
.lv-account>summary::-webkit-details-marker{display:none}
.lv-account.is-guest,.lv-account>summary{display:inline-flex;align-items:center;gap:10px;padding:6px 12px 6px 6px;border-radius:14px;cursor:pointer;transition:background-color .15s}
.lv-account.is-guest:hover,.lv-account>summary:hover,.lv-account[open]>summary{background:var(--lv-bg);color:var(--lv-navy)}
.lv-account-icon,.lv-account-avatar{width:38px;height:38px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:var(--lv-bg);color:var(--lv-navy);font-size:13px;font-weight:800}
.lv-account-avatar{background:var(--lv-primary);color:#fff}
.lv-account-text{display:flex;flex-direction:column;line-height:1.2;text-align:left;max-width:160px}
.lv-account-text small{font-size:11px;font-weight:600;color:var(--lv-muted)}
.lv-account-text b{font-size:13px;font-weight:800;color:var(--lv-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-account-caret{display:inline-flex;color:var(--lv-muted);transform:rotate(90deg);transition:transform .15s}
.lv-account[open] .lv-account-caret{transform:rotate(-90deg)}
.lv-account-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:1000;min-width:230px;padding:8px;border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(14,27,107,.16);border:1px solid #E6ECF7;display:flex;flex-direction:column;gap:2px}
.lv-account-menu a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:600;color:#1E293B;text-decoration:none}
.lv-account-menu a svg{color:var(--lv-primary)}
.lv-account-menu a:hover{background:#F5F8FF;color:var(--lv-navy)}
.lv-account-menu a.is-out{margin-top:4px;border-top:1px solid #EEF2F9;border-radius:0 0 12px 12px;color:#B91C1C}
.lv-account-menu a.is-out svg{color:#B91C1C}
@media (max-width:768px){.lv-account-text{display:none}.lv-account.is-guest,.lv-account>summary{padding:4px}.lv-account-caret{display:none}}

/* [lambi_footer] */
.lv-footer{margin:0;background:var(--lv-navy);color:#C9D3F5;border-radius:32px 32px 0 0}
.lv-footer-in{max-width:1240px;margin:0 auto;padding:56px 24px 40px;display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px}
.lv-footer-logo{display:inline-flex;text-decoration:none}
.lv-footer-logo{padding:10px 16px;border-radius:16px;background:#fff}
.lv-footer-logo:has(span){padding:0;background:none}
.lv-footer-logo img{display:block;max-height:44px;max-width:200px;width:auto;height:auto}
.lv-footer-logo span{font-size:24px;font-weight:800;letter-spacing:-.02em;color:#fff}
.lv-footer-logo span b{color:#8FD3FF}
.lv-footer-brand p{margin:16px 0 20px;max-width:360px;font-size:14px;line-height:1.65;color:#A9B6E8}
.lv-footer-wa{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:14px;background:#22C55E;color:#fff;font-size:14px;font-weight:700;text-decoration:none;transition:filter .15s}
.lv-footer-wa:hover{filter:brightness(1.08);color:#fff}
.lv-footer-col{display:flex;flex-direction:column;gap:10px;min-width:0}
.lv-footer-col h3{margin:0 0 6px;font-size:14px;font-weight:800;letter-spacing:.02em;color:#fff}
.lv-footer-col a,.lv-footer-col span{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#C9D3F5;text-decoration:none;line-height:1.45}
.lv-footer-col a:hover{color:#fff}
.lv-footer-col a.is-strong{color:#8FD3FF;font-weight:700}
.lv-footer-col svg{color:#8FD3FF}
.lv-footer-trust{list-style:none;margin:10px 0 0;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:8px}
.lv-footer-trust li{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:#A9B6E8}
.lv-footer-bottom{max-width:1240px;margin:0 auto;padding:18px 24px 28px;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:#8A97C9}
@media (max-width:1024px){.lv-footer-in{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.lv-footer-brand{grid-column:1/-1}}
@media (max-width:600px){.lv-footer{border-radius:24px 24px 0 0}.lv-footer-in{grid-template-columns:1fr;padding:40px 20px 28px;gap:28px}.lv-footer-bottom{padding:16px 20px 24px;justify-content:center;text-align:center}}

/* Pied de page Lambi placé dans un widget du pied WoodMart : on retire le cadre du thème */
.footer-container:has(.lv-footer),.footer-container:has(.lv-footer) .main-footer{background:transparent!important;padding:0!important;border:0!important;margin:0!important}
.footer-container:has(.lv-footer) .container{max-width:100%!important;width:100%!important;padding:0!important}
.footer-container:has(.lv-footer) .row{margin:0!important}
.footer-container:has(.lv-footer) .footer-column,.footer-container:has(.lv-footer) .widget,.footer-container:has(.lv-footer) .textwidget{flex:0 0 100%!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.footer-container:has(.lv-footer) .footer-column:not(:has(.lv-footer)){display:none!important}
.footer-container:has(.lv-footer) .copyrights-wrapper{display:none!important}
.whb-column .lv-lang,.whb-column .lv-account{margin:0 4px}

/* Header et footer Lambi ajoutés automatiquement sur toutes les pages */
.lv-head-tools{display:inline-flex;align-items:center;gap:10px;margin-right:12px}
.lv-head-tools.is-mobile{gap:6px;margin-right:6px}
/* sélecteur de langue compact : un seul drapeau, la liste s’ouvre au clic */
.lv-lang-sel{position:relative;display:inline-block;vertical-align:middle;font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif}
.lv-lang-sel>summary{list-style:none;display:inline-flex;align-items:center;gap:5px;height:34px;padding:0 8px;border-radius:10px;background:#EEF2F9;color:#6B7A99;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lv-lang-sel>summary::-webkit-details-marker{display:none}
.lv-lang-sel>summary:hover{color:#0E1B6B}
.lv-lang-sel .lv-flag{display:block;flex:none;border-radius:3px;box-shadow:0 0 0 1px rgba(14,27,107,.16)}
.lv-lang-sel .lv-caret{transition:transform .15s}
.lv-lang-sel[open] .lv-caret{transform:rotate(180deg)}
.lv-lang-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:1002;min-width:150px;padding:6px;border-radius:14px;background:#fff;border:1px solid #E6ECF7;box-shadow:0 16px 36px rgba(14,27,107,.16);display:flex;flex-direction:column;gap:2px}
.lv-lang-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;font-size:14px;font-weight:700;color:#1E293B!important;text-decoration:none!important;white-space:nowrap}
.lv-lang-menu a:hover{background:#F5F7FC}
.lv-lang-menu a.is-on{background:#EEF2F9;color:#0E1B6B!important}
.lv-lang-menu .lv-check{margin-left:auto;color:#1D63FF}
.lv-head-tools.is-mobile .lv-lang-sel>summary{height:30px;padding:0 6px;gap:3px}
.lv-head-tools.is-mobile .lv-lang-sel .lv-flag{width:18px;height:12px}
.lv-head-tools.is-mobile .lv-lang a{min-width:30px;height:30px;padding:0 6px;font-size:11px}
/* téléphone et tablette : le logo collé dans le coin gauche */
@media (max-width:1024px){
    .whb-header :is(.whb-mobile-center,.whb-col-mobile.whb-col-center,.whb-mobile-left,.whb-col-mobile.whb-col-left):has(:is(.wd-header-logo,.site-logo,.wd-logo)){order:-1!important;flex:1 1 auto!important;max-width:none!important;justify-content:flex-start!important;padding-left:0!important;margin-left:0!important}
    .whb-header :is(.whb-mobile-left,.whb-col-mobile.whb-col-left):not(:has(:is(.wd-header-logo,.site-logo,.wd-logo))){flex:0 0 auto!important;width:auto!important;min-width:0!important}
    .whb-header :is(.whb-mobile-left,.whb-col-mobile.whb-col-left):not(:has(:is(.wd-header-logo,.site-logo,.wd-logo))):empty{display:none!important}
    .whb-header :is(.whb-mobile-right,.whb-col-mobile.whb-col-right){flex:0 0 auto!important;width:auto!important}
    .whb-header :is(.wd-header-logo,.site-logo,.wd-logo){margin-left:0!important;margin-right:auto!important;padding-left:0!important;text-align:left!important;justify-content:flex-start!important}
    .whb-header :is(.wd-header-logo,.site-logo,.wd-logo) :is(a,img){margin-left:0!important;object-position:left center}
    .whb-header .whb-row .container{padding-left:12px!important}
    /* accueil : le menu du thème est remplacé par ☰ Lambi, sa colonne disparaît */
    .lambi-accueil .whb-header :is(.whb-mobile-left,.whb-col-mobile.whb-col-left):not(:has(:is(.wd-header-logo,.site-logo,.wd-logo))){display:none!important}
}
.lv-head-tools.is-mobile .lv-account-text,.lv-head-tools.is-mobile .lv-account-caret{display:none}
.lv-head-tools.is-mobile .lv-account.is-guest,.lv-head-tools.is-mobile .lv-account>summary{padding:2px}
.lv-head-tools.is-mobile .lv-account-icon,.lv-head-tools.is-mobile .lv-account-avatar{width:34px;height:34px;border-radius:11px}
body.lv-tools-ok .wd-header-my-account,body.lv-tools-ok .my-account-with-text,body.lv-tools-ok .woodmart-header-links{display:none!important}
.lv-head-tools{flex:none}
.lv-head-tools .lv-account-menu{text-align:left}
body.lambi-footer .footer-container,body.lambi-footer .wd-footer{display:none!important}
body.lambi-footer .lv-footer{margin-top:0}

/* Icônes du header WoodMart : tuile bleue #1D63FF, icône blanche */
body.lambi-header .whb-header .wd-tools-element .wd-tools-icon{display:inline-flex!important;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#1D63FF!important;color:#fff!important;transition:background-color .15s,transform .12s}
body.lambi-header .whb-header .wd-tools-element .wd-tools-icon:before,
body.lambi-header .whb-header .wd-tools-element .wd-tools-icon:after,
body.lambi-header .whb-header .wd-tools-element .wd-icon,
body.lambi-header .whb-header .wd-tools-element .wd-tools-icon svg{color:#fff!important}
body.lambi-header .whb-header .wd-tools-element:hover .wd-tools-icon{background:#1450D6!important}
body.lambi-header .whb-header .wd-tools-element:active .wd-tools-icon{transform:scale(.95)}
body.lambi-header .whb-header .searchsubmit{background:#1D63FF!important;color:#fff!important;border-radius:12px!important}
body.lambi-header .whb-header .searchsubmit:before{color:#fff!important}
body.lambi-header .whb-header .searchsubmit:hover{background:#1450D6!important}
body.lambi-header .whb-header .wd-social-icons .wd-icon{color:#1D63FF!important}
body.lambi-header .whb-header .wd-cart-number>span,
body.lambi-header .whb-header .wd-tools-count,
body.lambi-header .whb-header .wd-cart-number{background-color:#0E1B6B!important;color:#fff!important;box-shadow:0 0 0 2px #fff}

/* Panier du header : fond blanc */
body.lambi-header .whb-header .wd-header-cart>a,
body.lambi-header .whb-header .woodmart-shopping-cart>a{background:#fff!important;background-image:none!important;box-shadow:none!important;border:1.5px solid #DCE6F7!important;border-radius:14px!important;color:#0E1B6B!important;padding:4px 12px 4px 4px!important;transition:background-color .15s,border-color .15s}
body.lambi-header .whb-header .wd-header-cart>a:hover,
body.lambi-header .whb-header .woodmart-shopping-cart>a:hover{background:#EAF2FF!important;border-color:#C7D9FF!important}
body.lambi-header .whb-header .wd-header-cart .wd-tools-text,
body.lambi-header .whb-header .wd-header-cart .wd-cart-subtotal,
body.lambi-header .whb-header .wd-header-cart .amount{color:#0E1B6B!important}

/* Bouton « Catégories » (après le logo) : fond bleu Lambi, texte et icône blancs */
body.lambi-header .whb-header .wd-header-cats,
body.lambi-header .whb-header .header-categories-nav,
body.lambi-header .whb-header .header-categories-nav-wrap{background:transparent!important;background-image:none!important}
body.lambi-header .whb-header .menu-opener,
body.lambi-header .whb-header .wd-header-cats .menu-opener,
body.lambi-header .whb-header .header-categories-nav .menu-opener{background:#1D63FF!important;background-image:none!important;border:0!important;border-radius:14px!important;color:#fff!important;box-shadow:none!important;transition:background-color .15s}
body.lambi-header .whb-header .menu-opener:hover,
body.lambi-header .whb-header .wd-header-cats:hover .menu-opener{background:#1450D6!important}
body.lambi-header .whb-header .menu-opener *,
body.lambi-header .whb-header .menu-opener:before,
body.lambi-header .whb-header .menu-opener:after,
body.lambi-header .whb-header .menu-opener .menu-opener-icon,
body.lambi-header .whb-header .menu-opener .menu-opener-icon:before,
body.lambi-header .whb-header .menu-opener .menu-opener-icon:after{color:#fff!important;border-color:#fff!important}
