/* KOZE-W — sélecteur de langue compact (FR / HT / EN / ES) */
.kwm-lang{position:relative;display:inline-flex;flex:0 0 auto;font:inherit;line-height:1}
.kwm-lang-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 8px 0 7px;border:1px solid rgba(33,92,70,.22);border-radius:999px;background:rgba(255,255,255,.82);color:#1c3a2f;font:700 11px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.04em;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,border-color .15s,box-shadow .15s}
.kwm-lang-btn:hover{background:#fff;border-color:rgba(33,92,70,.4)}
.kwm-lang-btn:focus-visible{outline:2px solid #ceb16d;outline-offset:2px}
.kwm-lang-btn svg{width:13px;height:13px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.kwm-lang-btn .kwm-lang-caret{width:9px;height:9px;opacity:.6;transition:transform .15s}
.kwm-lang.is-open .kwm-lang-caret{transform:rotate(180deg)}
.kwm-lang-menu{position:fixed;z-index:100000;min-width:148px;margin:0;padding:5px;list-style:none;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(14,29,24,.18),0 2px 6px rgba(14,29,24,.08);opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top right;pointer-events:none;transition:opacity .14s,transform .14s}
.kwm-lang.is-open .kwm-lang-menu{opacity:1;transform:none;pointer-events:auto}
.kwm-lang-menu button{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:36px;padding:0 10px;border-radius:10px;color:#1c3a2f;font:600 13px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;cursor:pointer}
.kwm-lang-menu button i{font-style:normal;font-size:10px;font-weight:800;letter-spacing:.06em;opacity:.55}
.kwm-lang-menu button:hover,.kwm-lang-menu button:focus-visible{background:#f3efe2;outline:0}
.kwm-lang-menu button[aria-selected="true"]{background:#e8f1ec;color:#215C46}
.kwm-lang-menu button[aria-selected="true"] i{opacity:1}
.kwm-lang-menu button[aria-selected="true"]::after{content:"";width:6px;height:6px;border-radius:50%;background:#215C46;margin-left:-4px}
.kwm .kwm-global-tools{min-height:0;padding:2px 0;margin:0 0 6px;gap:0}
.kwm .kwm-home-tools .kwm-global-tools{display:inline-flex;margin:0;padding:0}
.kwm-vitrine-preferences .kwm-lang-btn{height:30px}
.kwm-vitrine-preferences #kwmVitrineLanguage{display:none!important}
@media(max-width:600px){.kwm-lang-btn{height:26px;padding:0 7px 0 6px;font-size:10px;gap:4px}.kwm-lang-btn svg{width:12px;height:12px}.kwm-lang-menu{min-width:140px}}
@media (prefers-color-scheme:dark) and (min-width:99999px){.kwm-lang-btn{background:rgba(20,28,25,.7);color:#e9efe9;border-color:rgba(255,255,255,.2)}.kwm-lang-btn:hover{background:rgba(30,42,37,.9)}.kwm-lang-menu{background:#18221d;border-color:rgba(255,255,255,.1)}.kwm-lang-menu button{color:#e9efe9}.kwm-lang-menu button:hover,.kwm-lang-menu button:focus-visible{background:#243229}.kwm-lang-menu button[aria-selected="true"]{background:#1f3a2e;color:#9fd6b9}.kwm-lang-menu button[aria-selected="true"]::after{background:#9fd6b9}}
@media(prefers-reduced-motion:reduce){.kwm-lang-btn,.kwm-lang-menu,.kwm-lang-caret{transition:none}}

/* v2.12.9.201 — devise automatique */
.kwm-cur{font:700 11px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;height:28px;margin-inline-start:6px;padding:0 6px;border:1px solid rgba(33,92,70,.22);border-radius:999px;background:rgba(255,255,255,.82);color:#1c3a2f;max-width:120px;cursor:pointer}
.kwm-cur:focus-visible{outline:2px solid #ceb16d;outline-offset:2px}
.kwm-fx{font-variant-numeric:tabular-nums;border-bottom:1px dotted currentColor;cursor:help}
.kwm-fx-note{font-size:.85em;opacity:.8;white-space:nowrap}
.kwm[dir="rtl"] .kwm-lang-menu{text-align:right}

/* ===== v2.12.9.223 — Langue + devise : émeraude luxe, filet doré, crème ===== */
.kwm-lang-btn:not(#_wp),.kwm-cur:not(#_wp){
  background:linear-gradient(135deg,#073d2e 0%,#0b5d45 100%)!important;color:#fff8e6!important;
  border:1px solid #c9a45c!important;
  box-shadow:0 4px 12px rgba(7,61,46,.28),inset 0 1px 0 rgba(255,248,230,.22)!important;
  letter-spacing:.06em;text-transform:uppercase;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
.kwm-lang-btn:not(#_wp):hover,.kwm-cur:not(#_wp):hover{filter:brightness(1.08);box-shadow:0 6px 16px rgba(7,61,46,.34),0 0 0 2px rgba(201,164,92,.35)!important}
.kwm-lang-btn:not(#_wp):active{transform:scale(.95)}
.kwm-lang-btn svg{color:#e6cd93}
.kwm-lang-btn .kwm-lang-caret{opacity:.85;color:#e6cd93}
.kwm-cur:not(#_wp){-webkit-appearance:none;appearance:none;padding:0 22px 0 10px;cursor:pointer;
  background-image:linear-gradient(135deg,#073d2e 0%,#0b5d45 100%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23e6cd93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>")!important;
  background-repeat:no-repeat,no-repeat!important;background-position:0 0,right 8px center!important;background-size:auto,9px 6px!important}
.kwm-cur option{background:#faf3e0;color:#073d2e;text-transform:none;letter-spacing:0}
.kwm-lang-btn:focus-visible,.kwm-cur:focus-visible{outline:2px solid #e6cd93!important;outline-offset:2px}
/* menu déroulant : crème, filet doré, ombre émeraude */
.kwm-lang-menu:not(#_wp){
  background:linear-gradient(160deg,#fffaf0,#faf3e0 60%,#f3e7c6)!important;
  border:1px solid #c9a45c!important;border-radius:16px;padding:6px;
  box-shadow:0 18px 44px rgba(7,61,46,.3),0 0 0 1px rgba(255,248,230,.7) inset!important}
.kwm-lang-menu:not(#_wp) button{color:#073d2e!important;font-weight:700;min-height:40px;border-radius:11px;transition:background .15s ease,transform .15s ease}
.kwm-lang-menu:not(#_wp) button i{color:#8a6d2c;opacity:.9}
.kwm-lang-menu:not(#_wp) button:hover,.kwm-lang-menu:not(#_wp) button:focus-visible{background:rgba(201,164,92,.2)!important;transform:translateX(2px)}
.kwm-lang-menu:not(#_wp) button[aria-selected="true"]{background:linear-gradient(135deg,#073d2e,#0b5d45)!important;color:#fff8e6!important;box-shadow:0 0 0 1px #c9a45c inset}
.kwm-lang-menu:not(#_wp) button[aria-selected="true"] i{color:#e6cd93;opacity:1}
.kwm-lang-menu:not(#_wp) button[aria-selected="true"]::after{background:#e6cd93}

/* ===== v2.12.9.224 — Antèt : langue + devise (dashicon) + panier + recherche, toujours côte à côte ===== */
.kwm .kwm-home-tools .kwm-global-tools,.kwm .kwm-standalone-tools .kwm-global-tools{display:inline-flex!important;flex-wrap:nowrap!important;align-items:center;flex-direction:row;margin:0!important;padding:0!important}
.kwm .kwm-standalone-tools{flex-wrap:nowrap;flex-direction:row;white-space:nowrap}
.kwm .kwm-cur-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:28px;height:28px;margin-inline-start:6px;border-radius:999px;background:linear-gradient(135deg,#073d2e 0%,#0b5d45 100%);border:1px solid #c9a45c;box-shadow:0 4px 12px rgba(7,61,46,.28),inset 0 1px 0 rgba(255,248,230,.22);color:#e6cd93;cursor:pointer}
.kwm .kwm-cur-wrap .kwm-cur:not(#_wp){position:absolute!important;inset:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;opacity:0;background:none!important;box-shadow:none!important;font-size:16px!important;cursor:pointer}
@media(max-width:600px){.kwm .kwm-cur-wrap{width:26px;height:26px}}

/* ===== v2.12.9.226 — Akèy : sélecteur de langue et devise plus petits ===== */
.kwm .kwm-home-tools .kwm-lang-btn:not(#_wp){height:24px;padding:0 6px 0 5px;gap:3px;font-size:9px}
.kwm .kwm-home-tools .kwm-lang-btn svg{width:11px;height:11px}
.kwm .kwm-home-tools .kwm-lang-btn .kwm-lang-caret{display:none}
.kwm .kwm-home-tools .kwm-cur-wrap{width:24px;height:24px;margin-inline-start:4px}

/* ===== v2.12.9.227 — Flèche de l'antèt = fenêtre « Langue et devise » (la déconnexion reste dans l'onglet Profil) ===== */
.kwm .kwm-prefs-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.kwm .kwm-prefs-btn[aria-expanded="true"]{background:#0f4d3a!important;color:#fff8e6!important;border-color:#c9a45c!important}
.kwm-prefs-pop{position:fixed;z-index:100001;width:min(300px,calc(100vw - 16px));box-sizing:border-box;padding:14px;border:1px solid #c9a45c;border-radius:18px;background:linear-gradient(160deg,#fffaf0,#faf3e0 60%,#f3e7c6);box-shadow:0 18px 44px rgba(7,61,46,.3),0 0 0 1px rgba(255,248,230,.7) inset;color:#073d2e;font-family:inherit}
.kwm-prefs-pop[hidden]{display:none!important}
.kwm-prefs-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.kwm-prefs-head strong{font-size:14px;font-weight:800;letter-spacing:.01em;color:#073d2e}
.kwm-prefs-close{all:unset;box-sizing:border-box;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(7,61,46,.08);color:#073d2e;font-size:20px;line-height:1;cursor:pointer}
.kwm-prefs-close:focus-visible{outline:2px solid #c9a45c;outline-offset:2px}
.kwm-prefs-body{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
/* contrôles à taille normale dans la fenêtre (annule la version compacte de l'antèt) */
.kwm .kwm-prefs-pop .kwm-lang-btn:not(#_wp){height:38px;padding:0 12px 0 10px;gap:6px;font-size:12px}
.kwm .kwm-prefs-pop .kwm-lang-btn svg{width:15px;height:15px}
.kwm .kwm-prefs-pop .kwm-lang-btn .kwm-lang-caret{display:inline-block;width:10px;height:10px}
.kwm .kwm-prefs-pop .kwm-cur-wrap{width:auto;height:38px;margin:0;padding:0 14px 0 10px;gap:6px;border-radius:999px}
.kwm .kwm-cur-val{display:none}
.kwm .kwm-prefs-pop .kwm-cur-val{display:inline;font:700 12px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff8e6;pointer-events:none}
.kwm .kwm-prefs-pop .kwm-global-tools,.kwm .kwm-prefs-pop .kwm-prefs-body{margin:0;padding:0}

/* ===== v2.12.9.277 — pastille de devise sans icône (code de la devise seulement) + fenêtre « Langue et devise » moins haute ===== */
.kwm .kwm-cur-wrap{width:auto!important;min-width:34px;padding:0 9px!important}
.kwm .kwm-cur-val{display:inline!important;font:800 10px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff8e6;pointer-events:none}
.kwm .kwm-home-tools .kwm-cur-wrap{height:24px;padding:0 8px!important}
.kwm-fx.is-same{border-bottom:0!important;cursor:inherit!important}
.kwm-prefs-pop{padding:10px 12px!important;border-radius:14px!important}
.kwm-prefs-head{margin:0 0 8px!important}
.kwm-prefs-head strong{font-size:13px!important}
.kwm-prefs-close{width:26px!important;height:26px!important;font-size:18px!important}
.kwm-prefs-body{gap:8px!important}
.kwm .kwm-prefs-pop .kwm-lang-btn:not(#_wp){height:32px!important}
.kwm .kwm-prefs-pop .kwm-cur-wrap{height:32px!important;padding:0 12px!important}
.kwm .kwm-prefs-pop .kwm-cur-val{font-size:11px}

/* ===== v2.12.9.279 — sélecteur de devise séparé de la langue : sa propre ligne sous l'en-tête ===== */
.kwm .kwm-cur-bar{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:6px 4px 10px;font:700 12px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#073d2e}
.kwm .kwm-cur-bar .kwm-cur{margin:0;max-width:220px;height:30px;color:#fff8e6}
