/*
 * Sélecteur unique pays · langue · devise et bandeau de suggestion (projet international, phase 2).
 * Maquettes « Sélecteur … desktop / mobile » et « Arrivée sur le site » validées le 16/11/2026.
 * Chargé seulement quand l'interrupteur Global Market est allumé.
 */
.az-mk-trigger { height: 46px; padding: 0 12px; border: 1px solid #E2E8F0; border-radius: 8px; background: #FFFFFF; display: inline-flex; align-items: center; gap: 10px; font-family: 'Inter', system-ui, sans-serif; color: #0F172A; cursor: pointer; flex-shrink: 0; }
.az-mk-trigger:hover, .az-mk-trigger[aria-expanded="true"] { border-color: #000080; }
.az-mk-trigger[aria-expanded="true"] { box-shadow: 0 0 0 3px #EAF2FF; }
.az-mk-trigger:focus-visible, .az-mk-bar:focus-visible, .az-mk-panel button:focus-visible, .az-mk-banner button:focus-visible, .az-mk-banner a:focus-visible { outline: 2px solid #0376EA; outline-offset: 2px; }
.az-mk-flag { font-size: 20px; line-height: 1; }
.az-mk-trigger-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; text-align: left; }
.az-mk-trigger-text small { font-size: 11px; color: #64748B; }
.az-mk-trigger-text strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.az-mk-chevron { color: #475569; flex-shrink: 0; }

/* Barre mobile et tablette (remplace « Livrer au … » et les menus devise / langue) */
.az-mk-bar { width: 100%; min-height: 44px; border: 0; background: #EAF2FF; padding: 0 16px; display: flex; align-items: center; gap: 8px; font: 500 13px 'Inter', system-ui, sans-serif; color: #1E293B; cursor: pointer; text-align: left; }
.az-mk-bar strong { font-weight: 600; }
.az-mk-bar .az-mk-chevron { margin-left: auto; }

/* Panneau : menu sous le bouton sur grand écran, feuille en bas de l'écran sinon */
.az-mk-backdrop { position: fixed; inset: 0; z-index: 1055; background: rgba(15, 23, 42, 0.32); }
.az-mk-panel { position: fixed; z-index: 1056; width: 400px; max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); overflow: auto; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16); font-family: 'Inter', system-ui, sans-serif; color: #0F172A; }
.az-mk-panel[hidden], .az-mk-backdrop[hidden] { display: none; }
.az-mk-grip { display: none; }
.az-mk-head { padding: 16px 10px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.az-mk-head h2 { margin: 0; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 700; font-size: 17px; color: #0F172A; }
.az-mk-close { width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #475569; display: inline-flex; align-items: center; justify-content: center; }
.az-mk-close:hover { background: #F1F5F9; }
.az-mk-label { display: block; padding: 0 18px 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #64748B; }
.az-mk-section { border-top: 1px solid #E2E8F0; padding: 14px 0 14px; }
.az-mk-countries { padding: 0 12px; display: flex; flex-direction: column; gap: 4px; }
.az-mk-country { width: 100%; min-height: 48px; padding: 0 10px; border-radius: 8px; border: 1.5px solid transparent; background: #FFFFFF; display: flex; align-items: center; gap: 12px; font: 500 14px 'Inter', system-ui, sans-serif; color: #0F172A; text-align: left; cursor: pointer; }
.az-mk-country:hover { background: #F8FAFC; }
.az-mk-country[aria-checked="true"] { border-color: #000080; background: #EAF2FF; font-weight: 600; }
.az-mk-country-name { flex: 1; }
.az-mk-country-cur { font-size: 13px; font-weight: 500; color: #475569; }
.az-mk-radio { width: 18px; height: 18px; border-radius: 9999px; border: 2px solid #94A3B8; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.az-mk-country[aria-checked="true"] .az-mk-radio { border-color: #000080; }
.az-mk-country[aria-checked="true"] .az-mk-radio::after { content: ''; width: 8px; height: 8px; border-radius: 9999px; background: #000080; }
.az-mk-soon { padding: 6px 22px 0; font-size: 12px; line-height: 1.5; color: #64748B; }
.az-mk-locales { padding: 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.az-mk-locale { height: 36px; padding: 0 14px; border-radius: 9999px; border: 1px solid #CBD5E1; background: #FFFFFF; color: #334155; font: 600 13px 'Inter', system-ui, sans-serif; cursor: pointer; }
.az-mk-locale[aria-checked="true"] { border-color: #000080; background: #000080; color: #FFFFFF; }
.az-mk-hint { padding: 8px 18px 0; font-size: 12px; color: #64748B; }
.az-mk-currency { margin: 0 18px; min-height: 40px; padding: 0 12px; border-radius: 8px; background: #F8FAFC; border: 1px solid #E2E8F0; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.az-mk-currency code { font: 500 12px 'JetBrains Mono', ui-monospace, monospace; color: #334155; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 4px; padding: 2px 6px; }
.az-mk-currency strong { font-weight: 600; }
.az-mk-currency small { margin-left: auto; font-size: 12px; color: #64748B; }
.az-mk-foot { border-top: 1px solid #E2E8F0; padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 12px; background: #FBFDFF; }
.az-mk-reassure { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: #334155; }
.az-mk-reassure svg { flex-shrink: 0; margin-top: 1px; }
.az-mk-submit { height: 44px; border: 0; border-radius: 8px; background: #000080; color: #FFFFFF; font: 600 15px 'Inter', system-ui, sans-serif; cursor: pointer; }
.az-mk-submit:hover { background: #0376EA; }
.az-mk-submit[disabled] { opacity: 0.7; cursor: progress; }

@media (max-width: 1199.98px) {
    .az-mk-backdrop { background: rgba(15, 23, 42, 0.45); }
    .az-mk-panel { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: 88vh; border-radius: 16px 16px 0 0; border: 0; box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.2); }
    .az-mk-grip { display: block; width: 40px; height: 4px; border-radius: 9999px; background: #CBD5E1; margin: 8px auto 0; }
    .az-mk-head h2 { font-size: 18px; }
    .az-mk-country { min-height: 52px; font-size: 15px; }
    .az-mk-locale { height: 40px; padding: 0 16px; font-size: 14px; }
    .az-mk-submit { height: 48px; border-radius: 9999px; }
    .az-mk-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Bandeau « Vous semblez être au … » / « Nous ne livrons pas encore au … » */
.az-mk-banner { font-family: 'Inter', system-ui, sans-serif; color: #0F172A; font-size: 14px; }
.az-mk-banner[hidden] { display: none; }
.az-mk-banner-row { max-width: 1400px; margin: 0 auto; padding: 10px 16px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.az-mk-banner--switch { background: #EAF2FF; border-bottom: 1px solid #BFD4F5; }
.az-mk-banner--unserved { background: #FFFFFF; border-bottom: 1px solid #E2E8F0; }
.az-mk-banner-text { flex: 1 1 320px; line-height: 1.45; }
.az-mk-banner-text strong { font-weight: 600; }
.az-mk-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.az-mk-btn { height: 36px; padding: 0 16px; border-radius: 8px; font: 600 14px 'Inter', system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.az-mk-btn--primary { border: 0; background: #000080; color: #FFFFFF; }
.az-mk-btn--primary:hover { background: #0376EA; }
.az-mk-btn--ghost { border: 1px solid #94A3B8; background: #FFFFFF; color: #334155; }
.az-mk-btn--outline { border: 1px solid #000080; background: #FFFFFF; color: #000080; }
.az-mk-banner-close { width: 36px; height: 36px; border: 0; background: transparent; color: #475569; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
@media (max-width: 575.98px) {
    .az-mk-banner--switch .az-mk-banner-actions { width: 100%; }
    .az-mk-banner--switch .az-mk-btn { flex: 1; height: 40px; border-radius: 9999px; }
}

[theme="dark"] .az-mk-trigger, [theme="dark"] .az-mk-panel, [theme="dark"] .az-mk-country, [theme="dark"] .az-mk-locale, [theme="dark"] .az-mk-banner--unserved { background: #0F172A; color: #F8FAFC; border-color: #334155; }
[theme="dark"] .az-mk-head h2, [theme="dark"] .az-mk-banner { color: #F8FAFC; }
[theme="dark"] .az-mk-country[aria-checked="true"], [theme="dark"] .az-mk-bar, [theme="dark"] .az-mk-banner--switch { background: #1E293B; color: #F8FAFC; }
[theme="dark"] .az-mk-currency, [theme="dark"] .az-mk-foot { background: #111827; border-color: #334155; }
[theme="dark"] .az-mk-reassure, [theme="dark"] .az-mk-country-cur { color: #CBD5E1; }
