/* ==========================================================================
   EXP NAVIGATION - CSS
   Design System: Express Échafaudage
   Colors: Bleu #001866, Orange #E94F1A, Blanc #FBFBFB, Textes #484848
   Font: Poppins
   ========================================================================== */

:root {
    --exp-bleu: #001866;
    --exp-orange: #E94F1A;
    --exp-orange-light: rgba(233, 79, 26, 0.08);
    --exp-orange-border: rgba(233, 79, 26, 0.35);
    --exp-orange-pale: #FFF3EE;
    --exp-orange-salmon: #FFDCD0;
    --exp-blanc: #FBFBFB;
    --exp-textes: #484848;
    --exp-gris: #818181;
    --exp-gris-light: #F5F5F5;
    --exp-radius: 12px;
    --exp-radius-sm: 8px;
    --exp-radius-pill: 30px;
    --exp-shadow: 0 20px 60px rgba(0, 24, 102, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
    --exp-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   DESKTOP — MEGA MENU (unchanged)
   ========================================================================== */

.exp-mega-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.exp-mega-trigger-wrapper {
    position: relative;
}

.exp-mega-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: none !important;
    background-color: transparent !important;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #484848;
    transition: color var(--exp-transition);
    white-space: nowrap;
    position: relative;
}

.exp-mega-trigger:hover,
.exp-mega-trigger:active,
.exp-mega-trigger:focus,
.exp-mega-trigger:focus-visible,
.exp-mega-trigger[aria-expanded="true"],
.exp-mega-trigger:visited {
    color: var(--exp-orange);
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
}

.exp-mega-trigger-arrow {
    flex-shrink: 0;
    transition: transform var(--exp-transition);
}

.exp-mega-trigger[aria-expanded="true"] .exp-mega-trigger-arrow {
    transform: rotate(180deg);
}

/* Panel dropdown */
.exp-mega-panel {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 900px;
    max-width: 95vw;
    background: var(--exp-blanc);
    border-radius: var(--exp-radius);
    box-shadow: var(--exp-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--exp-transition), transform var(--exp-transition), visibility 0s 0.3s;
    transform: translateY(8px);
    z-index: 9998;
    overflow: hidden;
    border: 1px solid rgba(0, 24, 102, 0.08);
}

.exp-mega-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity var(--exp-transition), transform var(--exp-transition), visibility 0s;
}

.exp-mega-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 420px;
}

/* Left panel */
.exp-mega-left {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid rgba(0, 24, 102, 0.06);
}

.exp-mega-left-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--exp-gris);
    margin: 0 0 4px 8px;
    letter-spacing: 0.02em;
}

.exp-mega-gamme {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 18px;
    text-decoration: none;
    background: #FFF3EE;
    border: 1px solid #FFDCD0;
    transition: all var(--exp-transition);
    cursor: pointer;
}

.exp-mega-gamme:hover,
.exp-mega-gamme.is-active {
    background: var(--exp-orange);
    border-color: var(--exp-orange);
    box-shadow: 0px 4px 22px rgba(224, 224, 224, 0.25);
}

.exp-mega-gamme-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 43px;
    overflow: hidden;
    background: #FBFBFB;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.exp-mega-gamme-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.exp-mega-gamme-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.exp-mega-gamme-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--exp-bleu);
    transition: color var(--exp-transition);
}

.exp-mega-gamme-desc {
    font-size: 12px;
    font-weight: 600;
    color: #B1B0B0;
    transition: color var(--exp-transition);
}

.exp-mega-gamme:hover .exp-mega-gamme-name,
.exp-mega-gamme.is-active .exp-mega-gamme-name {
    color: #FBFBFB;
}

.exp-mega-gamme:hover .exp-mega-gamme-desc,
.exp-mega-gamme.is-active .exp-mega-gamme-desc {
    color: #FFBBA4;
}

.exp-mega-gamme-arrow {
    flex-shrink: 0;
    color: var(--exp-orange);
    transition: all var(--exp-transition);
}

.exp-mega-gamme:hover .exp-mega-gamme-arrow,
.exp-mega-gamme.is-active .exp-mega-gamme-arrow {
    color: #FBFBFB;
}

.exp-mega-gamme-arrow svg { display: block; }

/* Right panel */
.exp-mega-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-mega-featured { flex: none; }

.exp-mega-featured-img {
    position: relative;
    width: 100%;
    height: 160px;
    border-radius: 30px;
    overflow: hidden;
    background: var(--exp-bleu);
}

.exp-mega-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.exp-mega-featured-overlay {
    position: absolute;
    inset: 0;
    padding: 24px;
    background: linear-gradient(12deg, #001866 0%, rgba(0, 19, 80, 0.20) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0;
}

.exp-mega-featured-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.exp-mega-featured-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    transition: opacity 0.3s ease;
}

/* Quick links grid */
.exp-mega-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    transition: opacity 0.2s ease;
}

.exp-mega-quicklink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 18px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--exp-transition);
}

.exp-mega-quicklink:hover,
.exp-mega-quicklink:active {
    background: #FFF3EE;
    border-color: #E94F1A;
    padding: 22px 10px;
}

.exp-mega-quicklink:hover .exp-mega-quicklink-name,
.exp-mega-quicklink:active .exp-mega-quicklink-name {
    font-size: 14px;
    color: var(--exp-orange);
}

.exp-mega-quicklink-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 43px;
    background: #FFDCD0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--exp-orange);
}

.exp-mega-quicklink-icon img { width: 16px; height: 16px; object-fit: contain; }
.exp-mega-quicklink-icon svg { width: 14px; height: 14px; }

.exp-mega-quicklink-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.exp-mega-quicklink-name {
    font-size: 13px;
    font-weight: 600;
    color: #484848;
    line-height: 1.3;
    transition: all var(--exp-transition);
}

.exp-mega-quicklink-arrow {
    color: #484848;
    font-weight: 700;
    margin-left: 4px;
    transition: color var(--exp-transition);
}

.exp-mega-quicklink:hover .exp-mega-quicklink-arrow,
.exp-mega-quicklink:active .exp-mega-quicklink-arrow { color: var(--exp-orange); }

.exp-mega-quicklink-desc {
    font-size: 11px;
    font-weight: 500;
    color: #B1B0B0;
    line-height: 1.3;
}

/* Desktop overlay — starts below header (top set by JS) */
.exp-mega-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
    background: rgba(0, 24, 102, 0.75);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--exp-transition), visibility 0s 0.3s;
}

/* Desktop header ABOVE overlay */
.elementor-location-header {
    position: relative;
    z-index: 9999 !important;
}
.elementor-location-header > .e-con.e-parent {
    position: relative;
    z-index: 9999 !important;
}

.exp-mega-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--exp-transition), visibility 0s;
}

/* Search clear/close from search modal */
.exp-search-clear {
    background: none; border: none; cursor: pointer;
    color: var(--exp-gris); padding: 4px; border-radius: 50%;
    transition: all var(--exp-transition);
}
.exp-search-clear:hover { background: var(--exp-gris-light); color: var(--exp-bleu); }

.exp-search-close {
    background: none; border: none; cursor: pointer;
    color: var(--exp-gris); padding: 6px; border-radius: 50%;
    transition: all var(--exp-transition); flex-shrink: 0;
}
.exp-search-close:hover { background: var(--exp-gris-light); color: var(--exp-bleu); }

.exp-search-spinner {
    width: 32px; height: 32px;
    border: 3px solid var(--exp-gris-light);
    border-top-color: var(--exp-orange);
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: exp-spin 0.7s linear infinite;
}

@keyframes exp-spin { to { transform: rotate(360deg); } }

.exp-search-items { display: flex; flex-direction: column; gap: 8px; }

/* ==========================================================================
   MOBILE — BURGER BUTTON
   ========================================================================== */

.exm-burger {
    display: none; /* Hidden on desktop */
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--exp-orange);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

/* Swap hamburger icon → close icon when drawer is open */
.exm-burger .exm-burger-open { display: block; }
.exm-burger .exm-burger-close { display: none; }
/* ==========================================================================
   MOBILE — CART BUTTON (header)
   ========================================================================== */

.exm-cart {
    display: inline-flex;
    position: relative;
    width: var(--exm-cart-size, 42px);
    height: var(--exm-cart-size, 42px);
    border-radius: 50%;
    background: var(--exp-bleu, #001866);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.exm-cart:hover,
.exm-cart:active,
.exm-cart:focus {
    background: var(--exp-bleu, #001866) !important;
    background-color: var(--exp-bleu, #001866) !important;
    outline: none;
}

.exm-cart svg {
    width: 16px;
    height: 16px;
}

.exm-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #fff;
    color: var(--exp-bleu, #001866);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-sizing: border-box;
}

/* Burger open/close toggle */
body.exm-open .exm-burger .exm-burger-open { display: none; }
body.exm-open .exm-burger .exm-burger-close { display: block; }

/* ── Kill ALL hover/active/focus effects on mobile elements ── */
.exm-burger, .exm-close, .exm-back, .exm-group-btn,
.exm-gamme-btn, .exm-subcat, .exm-search-submit, .exm-page-link,
.exm-account, .exm-devis-btn, .exm-phone-icon, .exm-carsat,
.exm-contact, .exm-search-result, .exm-search-bar,
[class^="exm-"], [class*=" exm-"] {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
}

/* ── Drawer hover/active states ── */

/* Group buttons (Échafaudages pro / Équipements): text orange + underline on hover */
.exm-group-btn:hover .exm-group-label,
.exm-group-btn:active .exm-group-label {
    color: var(--exp-orange) !important;
    text-decoration: underline;
}

/* Gamme buttons (categories): hover = same as is-active */
.exm-gamme-btn:hover {
    background: var(--exp-orange) !important;
    border-color: var(--exp-orange) !important;
}
.exm-gamme-btn:hover .exm-gamme-name {
    color: #fff;
}
.exm-gamme-btn:hover .exm-gamme-desc {
    color: rgba(255,255,255,0.8);
}

/* Subcategory links: hover = same as is-active */
.exm-subcat:hover {
    background: var(--exp-orange-pale) !important;
    border-color: var(--exp-orange-salmon) !important;
}

/* Burger specific — force orange bg on ALL states */
.exm-burger,
.exm-burger:hover,
.exm-burger:active,
.exm-burger:focus,
.exm-burger:focus-visible,
.exm-burger:focus-within {
    background: var(--exp-orange) !important;
    background-color: var(--exp-orange) !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-appearance: none;
}



/* ==========================================================================
   MOBILE — OVERLAY
   ========================================================================== */

.exm-overlay {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: var(--exm-header-h, 60px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 24, 102, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.exm-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0s;
    touch-action: none;
}

/* ==========================================================================
   MOBILE — DRAWER
   ========================================================================== */

.exm-drawer {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: var(--exm-header-h, 60px);
    left: 0;
    width: 100%;
    max-width: 420px;
    height: calc(100dvh - var(--exm-header-h, 60px));
    background: #F7F7F7;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

/* Close button hidden — burger handles toggle */
.exm-close { display: none !important; }

.exm-drawer.is-open {
    transform: translateX(0);
}

.exm-drawer-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Close button */
.exm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--exp-gris-light);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--exp-textes);
    z-index: 10;
    transition: background 0.2s ease;
    
}



/* ==========================================================================
   MOBILE — LEVELS (sliding navigation)
   ========================================================================== */

.exm-level {
    position: absolute;
    inset: 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.25s ease;
}

.exm-level.is-active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* Exiting left when going deeper */
.exm-level.exit-left {
    transform: translateX(-30%);
    opacity: 0;
    pointer-events: none;
}

.exm-level-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 24px 32px;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   MOBILE — BACK BUTTON
   ========================================================================== */

.exm-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-orange);
    -webkit-tap-highlight-color: transparent;
}

.exm-back:hover,
.exm-back:active,
.exm-back:focus {
    background: none !important;
    background-color: transparent !important;
    outline: none;
}



/* ==========================================================================
   MOBILE — SECTION TITLE
   ========================================================================== */

.exm-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #818181;
    margin: 0 0 16px;
    line-height: 1.3;
    font-family: 'Poppins', sans-serif;
}

.exm-title-arrow {
    color: var(--exp-textes);
    font-size: 14px;
}

/* ==========================================================================
   MOBILE — LEVEL 1: MENU GROUPS
   ========================================================================== */

.exm-groups {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.exm-group-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--exp-orange-salmon);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--exp-textes);
    
    transition: color 0.2s ease;
}

.exm-group-btn:first-child { border-top: 1px solid var(--exp-orange-salmon); }

.exm-group-btn:hover,
.exm-group-btn:active {
    background: none !important;
    background-color: transparent !important;
}

/* ==========================================================================
   MOBILE — LEVEL 2: GAMME CARDS
   ========================================================================== */

.exm-gammes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.exm-gamme-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--exp-orange-pale);
    border: 1px solid var(--exp-orange-salmon);
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: all var(--exp-transition);
    
}

.exm-gamme-btn.is-active {
    background: var(--exp-orange);
    border-color: var(--exp-orange);
}

.exm-gamme-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--exp-blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.exm-gamme-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.exm-gamme-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.exm-gamme-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-bleu);
    line-height: 1.3;
    transition: color var(--exp-transition);
}

.exm-gamme-desc {
    font-size: 12px;
    font-weight: 600;
    color: #B1B0B0;
    transition: color var(--exp-transition);
}

.exm-gamme-btn.is-active .exm-gamme-name { color: var(--exp-blanc); }
.exm-gamme-btn.is-active .exm-gamme-desc { color: #FFBBA4; }

.exm-gamme-btn .exm-arrow-right { color: var(--exp-orange); transition: color var(--exp-transition); }
.exm-gamme-btn.is-active .exm-arrow-right { color: var(--exp-blanc); }

/* ==========================================================================
   MOBILE — LEVEL 3: SUB-CATEGORIES
   ========================================================================== */

.exm-subcats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.exm-subcat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: 18px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--exp-transition);
    
}

.exm-subcat.is-active {
    background: var(--exp-orange-pale);
    border-color: var(--exp-orange-salmon);
}

.exm-subcat-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--exp-orange-salmon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--exp-orange);
}

.exm-subcat-icon img { width: 18px; height: 18px; object-fit: contain; }
.exm-subcat-icon svg { width: 16px; height: 16px; }

.exm-subcat-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }

.exm-subcat-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-textes);
    line-height: 1.3;
}

.exm-subcat.is-active .exm-subcat-name { color: var(--exp-orange); }

.exm-subcat-arrow {
    color: var(--exp-orange);
    font-weight: 700;
    margin-left: 6px;
}

.exm-subcat-desc {
    font-size: 12px;
    font-weight: 500;
    color: #B1B0B0;
    line-height: 1.3;
}

/* Featured image (level 3) */
.exm-featured-img {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--exp-bleu);
    margin-top: 8px;
}

.exm-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exm-featured-overlay {
    position: absolute;
    inset: 0;
    padding: 20px;
    background: linear-gradient(12deg, #001866 0%, rgba(0, 19, 80, 0.20) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0;
}

.exm-featured-label {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    opacity: 0.8;
}

.exm-featured-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

/* ==========================================================================
   MOBILE — SEARCH FORM (inline AJAX)
   ========================================================================== */

.exm-search-form {
    position: relative;
    margin-bottom: 24px;
}

.exm-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 30px;
    background: var(--exp-blanc, #FBFBFB);
    box-shadow: 0px 4px 15.5px rgba(208, 208, 208, 0.26);
    outline: 1px solid var(--exp-orange-salmon, #FFDCD0);
    outline-offset: -1px;
    transition: outline-color 0.2s ease;
}

.exm-search-bar:focus-within {
    outline-color: var(--exp-orange);
}

/* Loupe button — LEFT side with gradient orange circle */
.exm-search-submit {
    order: -1;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    background: linear-gradient(90deg, var(--exp-orange, #E94F1A) 0%, #E93C00 100%) !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
    overflow: hidden;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent;
}

.exm-search-submit svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    pointer-events: none;
}

/* Input — completely invisible, only text */
.exm-search-input {
    flex: 1;
    border: none !important;
    border-radius: 0;
    background: transparent;
    padding: 8px 10px 8px 0;
    font-size: 16px;
    font-weight: 500;
    font-style: italic;
    color: var(--exp-textes);
    font-family: 'Poppins', sans-serif;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    min-width: 0;
}

.exm-search-input::placeholder {
    color: var(--exp-gris, #B1B0B0);
    font-size: 12px;
    font-style: italic;
    font-weight: 500;
}

.exm-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 280px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--exp-orange-salmon);
    border-top: none;
    border-radius: 0 0 16px 16px;
    z-index: 5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.exm-search-results.is-visible {
    display: block;
}

.exm-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.exm-search-result:last-child {
    border-bottom: none;
}

.exm-search-result-img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.exm-search-result-info {
    flex: 1;
    min-width: 0;
}

.exm-search-result-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--exp-textes);
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exm-search-result-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--exp-orange);
    font-family: 'Poppins', sans-serif;
}

.exm-search-loading {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--exp-gris);
    font-family: 'Poppins', sans-serif;
}

.exm-search-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--exp-gris);
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   MOBILE — PAGE LINKS
   ========================================================================== */

.exm-pages {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.exm-page-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    text-decoration: none;
    border-bottom: 1px solid var(--exp-orange-salmon);
    
    transition: opacity 0.2s ease;
}



.exm-page-link .exm-page-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-gris);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exm-page-label img.exm-page-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Highlight style (for "Financement LOA" type links) */
.exm-page-link--highlight {
    border-bottom: none;
    padding-bottom: 8px;
}

.exm-page-link--highlight .exm-page-label {
    color: var(--exp-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   MOBILE — BOTTOM SECTION
   ========================================================================== */

.exm-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    padding-top: 4px;
    margin-left: 4px;
    margin-right: 4px;
}

/* Separator (same style as page links border) */
.exm-separator {
    border-bottom: 1px solid var(--exp-orange-salmon);
    margin: 0 -4px;
}

/* CARSAT banner */
.exm-carsat {
    display: block;
    padding: 12px 15px;
    background: var(--exp-orange-salmon);
    border-radius: var(--exp-radius-pill);
    text-decoration: none;
    font-size: 14px;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--exp-textes);
    line-height: 1.4;
    text-align: left;
    align-self: flex-start;
}

.exm-carsat strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Account */
.exm-account {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    align-self: flex-start;
}



.exm-account-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--exp-radius-pill);
    background: var(--exp-bleu);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exm-account-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-textes);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: 'Poppins', sans-serif;
}

/* Contact section (phone card only — Figma specs) */
.exm-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 6px 10px 20px;
    background: #fff;
    border: 1px solid var(--exp-orange);
    border-radius: 30px;
    min-height: 60px;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
}

.exm-phone-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.exm-phone-line {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.exm-phone-prefix {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-orange);
    font-family: 'Poppins', sans-serif;
}

.exm-phone-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--exp-orange);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.exm-phone-hours {
    font-size: 12px;
    font-weight: 600;
    color: var(--exp-orange);
    font-family: 'Poppins', sans-serif;
}

.exm-phone-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--exp-orange) 0%, #E93C00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

/* Devis button (separate — Figma specs) */
.exm-devis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 10px 5px 10px 20px;
    min-height: 50px;
    background: linear-gradient(90deg, var(--exp-orange) 0%, #E93C00 100%);
    border-radius: 30px;
    text-decoration: none;
    align-self: center;
}

.exm-devis-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-blanc);
    font-family: 'Poppins', sans-serif;
}

.exm-devis-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 20px;
    background: linear-gradient(60deg, white 0%, #FFBCA4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MOBILE — ARROW REUSABLE
   ========================================================================== */

.exm-arrow-right {
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
    /* Show mobile elements */
    .exm-burger { display: flex; }
    .exm-drawer { display: block; }
    .exm-overlay { display: block; }
    
    /* Hide desktop mega menu */
    .exp-mega-menu-wrapper { display: none; }
    .exp-mega-overlay { display: none; }
    
    /* Legacy mobile overrides (from previous version) */
    .exp-mega-inner { grid-template-columns: 1fr; }
    .exp-mega-right { display: none; }
    .exp-mega-panel { width: 360px; }
    .exp-mega-left { border-right: none; }
    .exp-mega-trigger-label { font-size: 13px; }
}

@media (max-width: 640px) {
    .exm-drawer { max-width: 100%; }
    
    .exm-level-scroll { padding: 16px 20px 28px; }
    
    .exm-bottom { margin-left: 8px; margin-right: 8px; }
    .exm-separator { margin: 0 -8px; }
}

/* ==========================================================================
   ACCESSIBILITY & UTILITIES
   ========================================================================== */

.exp-mega-trigger:focus-visible,
.exp-mega-gamme:focus-visible,
.exp-mega-quicklink:focus-visible,
/* Focus visible — disabled for mobile */

/* Body scroll lock when mobile menu open */
body.exm-open {
    overflow: hidden;
}

html.exm-open {
    overflow: hidden;
}

/* Header ABOVE drawer+overlay when open */
body.exm-open .elementor-sticky--active,
body.exm-open .e-con[data-settings*="sticky"] {
    z-index: 10005 !important;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   MENU ICON — Standard WordPress menus (widgets, wp_nav_menu)
   ========================================================================== */

.exp-menu-icon {
    height: 5px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    object-fit: contain;
}

.exp-menu-label {
    vertical-align: middle;
}
