/* Menu : bouton « Boutique privée » (comme sur lalbumduclub.com) qui ouvre le champ du code club (js/ladc-menu-code.js) */
.elementor-location-header .elementor-widget-icon-list { flex: 0 0 auto; }
.elementor-location-header .e-con:has(> .ladc-mcode) {
    display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 22px; flex-wrap: nowrap;
}
.elementor-location-header:has(.ladc-mcode.est-ouvert) { overflow: visible !important; }
/* Logo calé à gauche, boutons à droite */
.elementor-location-header > .e-con:has(.ladc-mcode) { justify-content: space-between !important; }
.elementor-location-header > .e-con:has(.ladc-mcode) > .e-con:not(:has(.ladc-mcode)) { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }

.ladc-mcode { position: relative; font-family: 'Poppins', sans-serif; }
.ladc-mcode .ladc-mcode__ouvrir {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer;
    background: #F39718; color: #fff; font: 700 12px/1 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
}
.ladc-mcode .ladc-mcode__ouvrir:hover, .ladc-mcode.est-ouvert .ladc-mcode__ouvrir { background: #153E75; }
.ladc-mcode__ouvrir svg { width: 13px; height: 13px; fill: currentColor; }
.ladc-mcode__court { display: none; }

.ladc-mcode__form {
    display: none; position: absolute; top: calc(100% + 18px); right: 0; z-index: 999; width: 300px; margin: 0;
    background: #fff; border-radius: 15px; box-shadow: 0 8px 30px rgba(8, 26, 51, .25); padding: 16px;
}
.ladc-mcode.est-ouvert .ladc-mcode__form { display: block; }
.ladc-mcode__label { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #153E75; }
.ladc-mcode__ligne {
    display: flex; align-items: center; background: #F2F5FA; border: 1px solid #D9E1EC; border-radius: 999px; padding: 3px 3px 3px 14px;
}
.ladc-mcode__ligne:focus-within { border-color: #F39718; background: #fff; }
.ladc-mcode #ladc-mcode-champ {
    flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important;
    padding: 7px 4px !important; margin: 0; font: 600 14px/1.2 'Poppins', sans-serif; color: #153E75; text-transform: uppercase; letter-spacing: .04em;
}
.ladc-mcode .ladc-mcode__champ::placeholder { color: #7D8DA6; text-transform: none; letter-spacing: 0; font-weight: 500; }
.ladc-mcode .ladc-mcode__btn {
    flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
    background: #F39718; color: #fff; font: 700 16px/34px 'Poppins', sans-serif; text-align: center;
}
.ladc-mcode .ladc-mcode__btn:hover { background: #153E75; }
.ladc-mcode__aide { margin: 8px 0 0; font-size: 11px; line-height: 1.4; color: #7D8DA6; }
.ladc-mcode__aide sup { font-size: .75em; }

/* « Mon panier » en bouton contour, avec pastille du nombre d'articles */
.elementor-location-header a.ladc-mpanier {
    display: inline-flex !important; align-items: center; gap: 7px; height: 40px; box-sizing: border-box; padding: 0 15px !important;
    border: 2px solid #153E75; border-radius: 10px; transition: background .2s;
}
.elementor-location-header a.ladc-mpanier .elementor-icon-list-icon { padding: 0 !important; margin: 0 !important; }
.elementor-location-header a.ladc-mpanier:hover { background: #153E75; }
.elementor-location-header a.ladc-mpanier:hover, .elementor-location-header a.ladc-mpanier:hover * { color: #fff !important; fill: #fff !important; }
.elementor-location-header a.ladc-mpanier .ladc-mcode__nb {
    min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #F39718;
    color: #fff !important; font: 700 11px/19px 'Poppins', sans-serif !important; text-align: center;
}
.ladc-mcode__nb.est-vide { display: none; }

/* Mobile : bouton plus compact, encart en pleine largeur sous la barre */
@media (max-width: 767px) {
    .elementor-location-header > .e-con:has(.ladc-mcode) { padding-left: 16px !important; padding-right: 16px !important; gap: 10px; flex-wrap: nowrap; }
    .elementor-location-header > .e-con:has(.ladc-mcode) > .e-con:not(:has(.ladc-mcode)) { flex: 0 0 auto; width: auto; }
    .elementor-location-header .e-con:has(> .ladc-mcode) { gap: 12px; min-width: 0; flex: 1 1 auto; width: auto; }
    .elementor-location-header .e-con:has(.ladc-mcode), .ladc-mcode { position: static !important; }
    .elementor-location-header { position: relative; }
    .ladc-charte .elementor-location-header { position: absolute; }
    .elementor-location-header > .e-con:has(.ladc-mcode) > .e-con:not(:has(.ladc-mcode)) { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
    .elementor-location-header > .e-con:has(.ladc-mcode) > .e-con:not(:has(.ladc-mcode)) img { width: auto !important; height: 40px !important; }
    .elementor-location-header .e-con:has(> .ladc-mcode) { flex: 1 1 auto !important; width: auto !important; max-width: none !important; }
    .ladc-mcode .ladc-mcode__ouvrir { height: 34px; padding: 0 10px; font-size: 11px; gap: 5px; }
    .ladc-mcode__long { display: none; }
    .ladc-mcode__court { display: inline; }
    .ladc-mcode__form { left: 0; right: 0; width: auto; top: calc(100% + 10px); }
    .elementor-location-header a.ladc-mpanier { height: 34px; padding: 0 10px !important; }
    .elementor-location-header a.ladc-mpanier .elementor-icon-list-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .elementor-location-header a.ladc-mpanier .ladc-mcode__nb { min-width: 17px; height: 17px; line-height: 17px !important; font-size: 10px !important; }
}
