/* Ecig Header Boutique Mega Menu - scoped CSS */
#ecig-shop-header,
#ecig-shop-header * {
    box-sizing: border-box;
}

#ecig-shop-header {
    --ecig-purple: #2b0b5f;
    --ecig-purple-dark: #210749;
    --ecig-pink: #f000ff;
    --ecig-hot-pink: #ff2f72;
    --ecig-white: #ffffff;
    --ecig-soft: rgba(255,255,255,.13);
    width: 100%;
    position: relative;
    z-index: 9998;
    background: var(--ecig-purple);
    color: var(--ecig-white);
    border-top: 5px solid var(--ecig-pink);
    font-family: inherit;
}

#ecig-shop-header .ecig-shop-container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

#ecig-shop-header .ecig-shop-header-top {
    background: var(--ecig-purple);
}

#ecig-shop-header .ecig-shop-top-inner {
    min-height: 106px;
    display: grid;
    grid-template-columns: 180px minmax(240px, 1fr) 360px;
    align-items: center;
    gap: 26px;
}

#ecig-shop-header .ecig-shop-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    text-decoration: none !important;
    color: #fff !important;
}

#ecig-shop-header .ecig-shop-logo img {
    display: block;
    width: auto;
    max-width: 176px;
    max-height: 92px;
    object-fit: contain;
}

#ecig-shop-header .ecig-logo-text {
    display: inline-flex;
    flex-direction: column;
    color: #fff;
    font-weight: 900;
    line-height: .84;
    font-size: 38px;
    letter-spacing: -1.4px;
    text-transform: uppercase;
}

#ecig-shop-header .ecig-logo-text em {
    font-style: normal;
}

#ecig-shop-header .ecig-shop-search {
    position: relative;
    width: 100%;
    margin: 0;
}

#ecig-shop-header .ecig-search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 20px;
    color: var(--ecig-purple);
    z-index: 2;
}

#ecig-shop-header .ecig-shop-search input[type="search"] {
    width: 100%;
    height: 44px;
    min-height: 44px;
    display: block;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: var(--ecig-purple) !important;
    padding: 0 16px 0 48px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 44px !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 8px 20px rgba(0,0,0,.12) !important;
}

#ecig-shop-header .ecig-shop-search input[type="search"]::placeholder {
    color: var(--ecig-purple);
    opacity: .92;
    font-style: italic;
}

#ecig-shop-header .ecig-shop-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

#ecig-shop-header .ecig-shop-action {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 86px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    transition: transform .18s ease, opacity .18s ease;
}

#ecig-shop-header .ecig-shop-action:hover {
    transform: translateY(-1px);
    opacity: .92;
}

#ecig-shop-header .ecig-shop-action .dashicons {
    width: 25px;
    height: 25px;
    font-size: 25px;
    line-height: 25px;
}

#ecig-shop-header .ecig-shop-header-bottom {
    background: var(--ecig-purple);
}

#ecig-shop-header .ecig-shop-menu-row {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ecig-shop-header .ecig-shop-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 7px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 12px 14px;
    cursor: pointer;
}

#ecig-shop-header .ecig-shop-mega-menu {
    width: 100%;
}

/* Menu WordPress classique */
#ecig-shop-header ul.ecig-shop-nav,
#ecig-shop-header .ecig-shop-nav ul {
    list-style: none;
}

#ecig-shop-header ul.ecig-shop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 !important;
    padding: 0 !important;
}

#ecig-shop-header ul.ecig-shop-nav > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}

#ecig-shop-header ul.ecig-shop-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 22px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.2px;
    text-transform: uppercase;
    line-height: 38px;
    transition: background .18s ease, transform .18s ease;
}

#ecig-shop-header ul.ecig-shop-nav > li > a:hover,
#ecig-shop-header ul.ecig-shop-nav > li.current-menu-item > a {
    background: var(--ecig-soft);
}

#ecig-shop-header ul.ecig-shop-nav > li.menu-anti-gaspi > a {
    background: var(--ecig-hot-pink) !important;
    color: #fff !important;
    margin-left: 10px;
    padding-left: 16px;
    padding-right: 16px;
}

#ecig-shop-header ul.ecig-shop-nav > li.menu-je-debute > a {
    background: #fff !important;
    color: var(--ecig-purple) !important;
    margin-left: 10px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Sous-menu classique */
#ecig-shop-header ul.ecig-shop-nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    color: var(--ecig-purple);
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
    border-radius: 0 0 10px 10px;
    margin: 0 !important;
    padding: 10px !important;
    z-index: 99999;
}

#ecig-shop-header ul.ecig-shop-nav li:hover > ul {
    display: block;
}

#ecig-shop-header ul.ecig-shop-nav li ul a {
    display: block;
    color: var(--ecig-purple) !important;
    padding: 9px 12px;
    border-radius: 7px;
    text-decoration: none !important;
    font-weight: 700;
}

#ecig-shop-header ul.ecig-shop-nav li ul a:hover {
    background: #f3eaff;
}

/* Compatibilité Max Mega Menu : location ecig_shop_header_menu */
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu,
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu {
    background: transparent !important;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.mega-menu-item > a.mega-menu-link {
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 22px !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.mega-menu-item > a.mega-menu-link:hover,
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.mega-current-menu-item > a.mega-menu-link {
    background: var(--ecig-soft) !important;
    color: #fff !important;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.menu-anti-gaspi > a.mega-menu-link {
    background: var(--ecig-hot-pink) !important;
    color: #fff !important;
    margin-left: 10px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.menu-je-debute > a.mega-menu-link {
    background: #fff !important;
    color: var(--ecig-purple) !important;
    margin-left: 10px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.mega-menu-megamenu > ul.mega-sub-menu {
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 16px 35px rgba(0,0,0,.18) !important;
}

/* Nettoyage Divi autour du shortcode */
.et_pb_code_inner #ecig-shop-header {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

@media (max-width: 1100px) {
    #ecig-shop-header .ecig-shop-top-inner {
        grid-template-columns: 155px minmax(220px, 1fr) 330px;
        gap: 18px;
    }

    #ecig-shop-header ul.ecig-shop-nav > li > a,
    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu > li.mega-menu-item > a.mega-menu-link {
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 980px) {
    #ecig-shop-header .ecig-shop-top-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 12px;
    }

    #ecig-shop-header .ecig-shop-logo {
        justify-content: center;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-height: 86px;
    }

    #ecig-shop-header .ecig-logo-text {
        align-items: center;
        font-size: 34px;
        text-align: center;
    }

    #ecig-shop-header .ecig-shop-actions {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    #ecig-shop-header .ecig-shop-action {
        min-width: 74px;
    }

    #ecig-shop-header .ecig-shop-header-bottom {
        padding-bottom: 10px;
    }

    #ecig-shop-header .ecig-shop-menu-row {
        display: block;
        min-height: 0;
    }

    #ecig-shop-header .ecig-shop-mobile-toggle {
        display: flex;
    }

    #ecig-shop-header .ecig-shop-mega-menu {
        display: none;
        padding-top: 9px;
    }

    #ecig-shop-header.ecig-mobile-open .ecig-shop-mega-menu {
        display: block;
    }

    #ecig-shop-header ul.ecig-shop-nav {
        display: block;
        background: rgba(255,255,255,.08);
        border-radius: 9px;
        overflow: hidden;
    }

    #ecig-shop-header ul.ecig-shop-nav > li > a {
        justify-content: flex-start;
        border-radius: 0;
        min-height: 44px;
        line-height: 44px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    #ecig-shop-header ul.ecig-shop-nav > li.menu-anti-gaspi > a,
    #ecig-shop-header ul.ecig-shop-nav > li.menu-je-debute > a {
        margin-left: 0;
        border-radius: 0;
    }

    #ecig-shop-header ul.ecig-shop-nav li ul {
        position: static;
        display: block;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 8px 18px !important;
        background: rgba(255,255,255,.08);
    }

    /* Si Max Mega Menu est actif, on laisse son bouton mobile gérer l'ouverture */
    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu {
        display: block !important;
    }

    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu .mega-menu-toggle {
        background: rgba(255,255,255,.12) !important;
        border-radius: 7px !important;
        min-height: 44px !important;
    }

    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu {
        display: block !important;
        background: rgba(255,255,255,.08) !important;
        border-radius: 9px !important;
        overflow: hidden;
    }
}

@media (max-width: 520px) {
    #ecig-shop-header .ecig-shop-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    #ecig-shop-header .ecig-shop-actions {
        gap: 10px;
    }

    #ecig-shop-header .ecig-shop-action {
        min-width: 62px;
        font-size: 11px;
    }

    #ecig-shop-header .ecig-shop-search input[type="search"] {
        font-size: 13px !important;
    }
}

/* v1.0.1 - Désactivation du menu boutique sur mobile */
@media (max-width: 980px) {
    #ecig-shop-header .ecig-shop-header-bottom,
    #ecig-shop-header .ecig-shop-menu-row,
    #ecig-shop-header .ecig-shop-mobile-toggle,
    #ecig-shop-header .ecig-shop-mega-menu,
    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu,
    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu .mega-menu-toggle,
    #ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
    }
}

/* v1.0.3 - Sous-menu catégories retiré sur ordinateur et mobile */
#ecig-shop-header .ecig-shop-header-bottom,
#ecig-shop-header .ecig-shop-menu-row,
#ecig-shop-header .ecig-shop-mobile-toggle,
#ecig-shop-header .ecig-shop-mega-menu,
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu,
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu .mega-menu-toggle,
#ecig-shop-header #mega-menu-wrap-ecig_shop_header_menu #mega-menu-ecig_shop_header_menu {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

/* v1.0.4 - Design mobile compact et plus premium */
#ecig-shop-header .ecig-shop-header-top {
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 0, 255, .20) 0, rgba(255, 0, 255, 0) 34%),
        radial-gradient(circle at 84% 15%, rgba(0, 206, 255, .12) 0, rgba(0, 206, 255, 0) 32%),
        linear-gradient(135deg, #2a075f 0%, #210044 55%, #16002d 100%);
}

#ecig-shop-header .ecig-shop-action-publish {
    border-radius: 12px;
}

@media (max-width: 980px) {
    #ecig-shop-header {
        border-top: 4px solid #f000ff;
        box-shadow: 0 12px 28px rgba(26, 0, 58, .22);
    }

    #ecig-shop-header .ecig-shop-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    #ecig-shop-header .ecig-shop-top-inner {
        display: grid !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-areas:
            "logo actions"
            "search search" !important;
        align-items: center !important;
        gap: 10px 12px !important;
        min-height: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 13px !important;
    }

    #ecig-shop-header .ecig-shop-logo {
        grid-area: logo;
        justify-content: flex-start !important;
        align-self: center;
        min-height: 58px;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-width: 78px !important;
        max-height: 58px !important;
        filter: drop-shadow(0 8px 14px rgba(0,0,0,.28));
    }

    #ecig-shop-header .ecig-shop-search {
        grid-area: search;
    }

    #ecig-shop-header .ecig-shop-search input[type="search"] {
        height: 50px !important;
        min-height: 50px !important;
        line-height: 50px !important;
        border-radius: 15px !important;
        padding-left: 48px !important;
        padding-right: 14px !important;
        font-size: 15px !important;
        font-weight: 850 !important;
        box-shadow: 0 9px 26px rgba(0,0,0,.18), inset 0 0 0 1px rgba(52, 12, 99, .16) !important;
    }

    #ecig-shop-header .ecig-search-icon {
        left: 16px !important;
        font-size: 22px !important;
        width: 22px !important;
        height: 22px !important;
        line-height: 22px !important;
    }

    #ecig-shop-header .ecig-shop-actions {
        grid-area: actions;
        justify-content: flex-end !important;
        align-items: stretch !important;
        gap: 7px !important;
        flex-wrap: nowrap !important;
        min-width: 0 !important;
    }

    #ecig-shop-header .ecig-shop-action {
        width: 62px !important;
        min-width: 0 !important;
        height: 58px !important;
        padding: 6px 4px 5px !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,.105) !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.10) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #ecig-shop-header .ecig-shop-action-publish {
        background: linear-gradient(135deg, #ff1fd8 0%, #8328ff 100%) !important;
        border-color: rgba(255,255,255,.22) !important;
    }

    #ecig-shop-header .ecig-shop-action .dashicons {
        width: 24px !important;
        height: 24px !important;
        font-size: 24px !important;
        line-height: 24px !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label {
        display: block;
        max-width: 100%;
        overflow: hidden;
        color: #fff;
        font-size: 0 !important;
        font-weight: 900 !important;
        line-height: 1.05 !important;
        text-align: center;
        white-space: nowrap;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label::after {
        content: attr(data-mobile-label);
        font-size: 10.5px;
        letter-spacing: -.15px;
    }

    /* Harmonise le menu mobile principal existant sous le nouveau header, sans le masquer. */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu .mega-menu-toggle {
        background: linear-gradient(135deg, #240060 0%, #5620d5 58%, #b900ff 100%) !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
    }
}

@media (max-width: 430px) {
    #ecig-shop-header .ecig-shop-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    #ecig-shop-header .ecig-shop-top-inner {
        grid-template-columns: 74px minmax(0, 1fr) !important;
        gap: 9px 8px !important;
        padding-top: 9px !important;
        padding-bottom: 12px !important;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-width: 70px !important;
        max-height: 54px !important;
    }

    #ecig-shop-header .ecig-shop-actions {
        gap: 6px !important;
    }

    #ecig-shop-header .ecig-shop-action {
        width: 58px !important;
        height: 56px !important;
        border-radius: 14px !important;
    }

    #ecig-shop-header .ecig-shop-action .dashicons {
        width: 22px !important;
        height: 22px !important;
        font-size: 22px !important;
        line-height: 22px !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label::after {
        font-size: 10px;
    }

    #ecig-shop-header .ecig-shop-search input[type="search"] {
        height: 48px !important;
        min-height: 48px !important;
        line-height: 48px !important;
        border-radius: 14px !important;
    }
}

/* v1.0.5 - Recherche compatible WPAdverts : /annonces/?query=... */
#ecig-shop-header .ecig-shop-search-wpadverts input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}

/* v1.0.6 - Actions rapides adaptées annonces */
#ecig-shop-header .ecig-shop-action-listings .dashicons,
#ecig-shop-header .ecig-shop-action-manage .dashicons {
    color: #fff;
}

#ecig-shop-header .ecig-shop-action-manage {
    border-radius: 12px;
}

@media (max-width: 980px) {
    #ecig-shop-header .ecig-shop-action {
        width: 68px !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label {
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.02 !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label::after {
        display: block;
        max-width: 100%;
        white-space: normal;
        line-height: 1.02;
    }
}

@media (max-width: 430px) {
    #ecig-shop-header .ecig-shop-top-inner {
        grid-template-columns: 64px minmax(0, 1fr) !important;
        gap: 8px 7px !important;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-width: 62px !important;
        max-height: 50px !important;
    }

    #ecig-shop-header .ecig-shop-action {
        width: 64px !important;
        height: 56px !important;
    }

    #ecig-shop-header .ecig-shop-actions {
        gap: 5px !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label::after {
        font-size: 9.4px !important;
        letter-spacing: -0.25px;
    }
}


/* v1.0.7 - Compteur total d'annonces sur le bouton Les annonces */
#ecig-shop-header .ecig-shop-action-listings {
    padding-left: 4px;
    padding-right: 4px;
}

#ecig-shop-header .ecig-ads-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 18px;
    padding: 0 7px;
    margin-top: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff1fd8 0%, #8328ff 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 950;
    line-height: 18px;
    box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.22);
}

@media (min-width: 981px) {
    #ecig-shop-header .ecig-shop-action-listings {
        min-width: 98px;
    }
}

@media (max-width: 980px) {
    #ecig-shop-header .ecig-shop-action-listings {
        position: relative;
    }

    #ecig-shop-header .ecig-shop-action-listings .ecig-ads-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 21px;
        height: 17px;
        padding: 0 5px;
        margin-top: 0;
        border: 1px solid rgba(255,255,255,.34);
        font-size: 9.5px;
        line-height: 16px;
    }
}

@media (max-width: 430px) {
    #ecig-shop-header .ecig-shop-action-listings .ecig-ads-count {
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 16px;
        font-size: 9px;
        line-height: 15px;
    }
}

/* v1.0.8 - Petits carrés aussi sur ordinateur */
@media (min-width: 981px) {
    #ecig-shop-header .ecig-shop-top-inner {
        grid-template-columns: minmax(125px, 155px) minmax(300px, 1fr) 360px !important;
        gap: 20px !important;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-width: 148px !important;
        max-height: 82px !important;
    }

    #ecig-shop-header .ecig-shop-actions {
        gap: 10px !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
    }

    #ecig-shop-header .ecig-shop-action {
        width: 106px !important;
        min-width: 106px !important;
        min-height: 64px !important;
        padding: 8px 8px 7px !important;
        border-radius: 18px !important;
        background: rgba(255,255,255,.105) !important;
        border: 1px solid rgba(255,255,255,.17) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 22px rgba(0,0,0,.14) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #ecig-shop-header .ecig-shop-action:hover {
        transform: translateY(-2px) !important;
        background: rgba(255,255,255,.15) !important;
        opacity: 1 !important;
    }

    #ecig-shop-header .ecig-shop-action-publish {
        background: linear-gradient(135deg, #ff1fd8 0%, #8328ff 100%) !important;
        border-color: rgba(255,255,255,.26) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 12px 26px rgba(132,40,255,.25) !important;
    }

    #ecig-shop-header .ecig-shop-action .dashicons {
        width: 25px !important;
        height: 25px !important;
        font-size: 25px !important;
        line-height: 25px !important;
    }

    #ecig-shop-header .ecig-shop-action .ecig-action-label {
        display: block !important;
        max-width: 100% !important;
        color: #fff !important;
        font-size: 11.5px !important;
        font-weight: 900 !important;
        line-height: 1.05 !important;
        letter-spacing: -.15px !important;
        white-space: normal !important;
    }

    #ecig-shop-header .ecig-shop-action-listings .ecig-ads-count {
        position: absolute !important;
        top: -7px !important;
        right: -7px !important;
        min-width: 24px !important;
        height: 18px !important;
        padding: 0 6px !important;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.34) !important;
        font-size: 10px !important;
        line-height: 17px !important;
    }
}

@media (min-width: 981px) and (max-width: 1100px) {
    #ecig-shop-header .ecig-shop-top-inner {
        grid-template-columns: minmax(105px, 132px) minmax(260px, 1fr) 340px !important;
        gap: 14px !important;
    }

    #ecig-shop-header .ecig-shop-logo img {
        max-width: 128px !important;
        max-height: 76px !important;
    }

    #ecig-shop-header .ecig-shop-action {
        width: 100px !important;
        min-width: 100px !important;
    }

    #ecig-shop-header .ecig-shop-search input[type="search"] {
        font-size: 13.2px !important;
    }
}


/* v1.0.9 - Menu mobile principal sous le header : version compacte et harmonisée */
@media (max-width: 980px) {
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu {
        background: linear-gradient(135deg, #190036 0%, #2a075f 48%, #5b12bc 100%) !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        border-bottom: 1px solid rgba(255,255,255,.10) !important;
        box-shadow: 0 10px 22px rgba(24,0,56,.18) !important;
        min-height: 58px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu .mega-menu-toggle {
        min-height: 58px !important;
        height: 58px !important;
        line-height: 58px !important;
        background: transparent !important;
        padding: 0 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        display: flex !important;
        align-items: center !important;
        height: 58px !important;
        line-height: 58px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-block span {
        line-height: normal !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        color: #fff !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        letter-spacing: -.3px !important;
        text-transform: uppercase !important;
        opacity: .96 !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner::before,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner::after {
        color: #fff !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        gap: 10px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block button,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block .mega-search-wrap {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        background: linear-gradient(135deg, rgba(255,31,216,.96) 0%, rgba(94,41,255,.96) 100%) !important;
        box-shadow: 0 8px 16px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.22) !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block i,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block .dashicons,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block svg {
        color: #fff !important;
        fill: #fff !important;
        font-size: 20px !important;
        width: 20px !important;
        height: 20px !important;
        line-height: 20px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        background: #1f064b !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 16px 32px rgba(0,0,0,.22) !important;
        overflow: hidden !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        min-height: 48px !important;
        line-height: 48px !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
    }
}

@media (max-width: 430px) {
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        min-height: 54px !important;
        height: 54px !important;
        line-height: 54px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        height: 54px !important;
        line-height: 54px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        font-size: 20px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        gap: 8px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block button,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block .mega-search-wrap {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
}


/* v1.1.0 - Fix menu mobile qui s'ouvrait derrière + bouton MENU plus propre */
@media (max-width: 980px) {
    /* Laisse le menu sortir du header Divi et le place au-dessus du contenu */
    body.ecig-header-boutique-ready header.et-l--header,
    body.ecig-header-boutique-ready header.et-l--header .et_builder_inner_content,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_section,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_row,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_column,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_module,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_code,
    body.ecig-header-boutique-ready header.et-l--header .et_pb_code_inner {
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready header.et-l--header {
        position: relative !important;
        z-index: 999990 !important;
    }

    body.ecig-header-boutique-ready #page-container,
    body.ecig-header-boutique-ready #et-boc,
    body.ecig-header-boutique-ready #et-main-area,
    body.ecig-header-boutique-ready #main-content {
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready #main-content,
    body.ecig-header-boutique-ready #et-main-area {
        position: relative !important;
        z-index: 1 !important;
    }

    /* Wrapper Max Mega Menu mobile */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu {
        position: relative !important;
        z-index: 999999 !important;
        overflow: visible !important;
        isolation: isolate;
        min-height: 56px !important;
        background:
            radial-gradient(circle at 82% 0%, rgba(255, 35, 216, .36) 0, rgba(255, 35, 216, 0) 38%),
            linear-gradient(135deg, #17002f 0%, #260060 48%, #6300d9 100%) !important;
    }

    /* Barre du bouton MENU */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        position: relative !important;
        z-index: 1000001 !important;
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 12px !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        border-bottom: 1px solid rgba(255,255,255,.10) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(18,0,44,.22) !important;
    }

    /* Bloc gauche : transforme le hamburger + texte en vrai bouton */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        height: 56px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        min-width: 126px !important;
        padding: 0 14px !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.12) !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 16px rgba(0,0,0,.14) !important;
        height: 42px !important;
        align-self: center !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 950 !important;
        letter-spacing: .3px !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
    }

    /* Hamburger plus net */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated {
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner::before,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-animated-inner::after {
        background-color: #fff !important;
        height: 3px !important;
        border-radius: 999px !important;
        box-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
    }

    /* Quand le menu est ouvert */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle.mega-menu-open .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu.mega-menu-open .mega-toggle-blocks-left {
        background: rgba(255,255,255,.18) !important;
        border-color: rgba(255,255,255,.24) !important;
    }

    /* Liste déroulante au-dessus de la page */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        position: absolute !important;
        top: 100% !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        z-index: 1000000 !important;
        margin-top: 8px !important;
        padding: 8px !important;
        background: rgba(31, 6, 75, .98) !important;
        border: 1px solid rgba(255,255,255,.13) !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 38px rgba(0,0,0,.34), 0 0 0 9999px rgba(20,0,45,.10) !important;
        overflow: visible !important;
        max-height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item {
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        border-radius: 13px !important;
        margin: 2px 0 !important;
        padding: 0 14px !important;
        background: rgba(255,255,255,.06) !important;
        border-bottom: 0 !important;
        min-height: 46px !important;
        line-height: 46px !important;
        color: #fff !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-current-menu-item > a.mega-menu-link {
        background: linear-gradient(135deg, rgba(255,31,216,.28), rgba(132,40,255,.28)) !important;
    }

    /* Sous-menus Max Mega Menu également au-dessus */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu {
        position: relative !important;
        z-index: 1000002 !important;
        background: rgba(255,255,255,.06) !important;
        border-radius: 14px !important;
        margin: 4px 0 8px !important;
        overflow: visible !important;
    }
}

@media (max-width: 430px) {
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        height: 54px !important;
        min-height: 54px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        min-width: 112px !important;
        height: 40px !important;
        padding: 0 12px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        font-size: 17px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        left: 8px !important;
        right: 8px !important;
        margin-top: 7px !important;
        border-radius: 16px !important;
    }
}


/* v1.1.1 - Finition menu mobile : panneau opaque, plus compact et plus propre */
@media (max-width: 980px) {
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu {
        min-height: 52px !important;
        background:
            radial-gradient(circle at 88% 0%, rgba(255, 35, 216, .30) 0, rgba(255, 35, 216, 0) 34%),
            linear-gradient(135deg, #15002d 0%, #260057 52%, #5d0cc7 100%) !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 12px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        height: 52px !important;
        line-height: 52px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        min-width: 122px !important;
        height: 38px !important;
        padding: 0 13px !important;
        background: rgba(255,255,255,.145) !important;
        border-color: rgba(255,255,255,.21) !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        font-size: 17px !important;
        letter-spacing: .15px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        gap: 8px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block button,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block .mega-search-wrap {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    /* Le panneau est maintenant vraiment opaque : on ne voit plus la page derrière */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        left: 12px !important;
        right: 12px !important;
        margin-top: 7px !important;
        padding: 8px !important;
        background: #22084f !important;
        background-image:
            radial-gradient(circle at 50% 120%, rgba(255, 31, 216, .16) 0, rgba(255, 31, 216, 0) 44%),
            linear-gradient(180deg, #2b0b5f 0%, #1a043e 100%) !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 18px !important;
        box-shadow: 0 18px 34px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.04) inset !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        min-height: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
        margin: 3px 0 !important;
        padding: 0 14px !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,.08) !important;
        border: 1px solid rgba(255,255,255,.05) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
        font-size: 15px !important;
        font-weight: 850 !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link::before {
        opacity: .95 !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link .mega-indicator {
        opacity: .9 !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-current-menu-item > a.mega-menu-link {
        background: linear-gradient(135deg, rgba(255,31,216,.22), rgba(132,40,255,.20)) !important;
        border-color: rgba(255,255,255,.10) !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu {
        background: #170333 !important;
        border: 1px solid rgba(255,255,255,.08) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
    }
}

@media (max-width: 430px) {
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        min-height: 50px !important;
        height: 50px !important;
        line-height: 50px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right {
        height: 50px !important;
        line-height: 50px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        min-width: 104px !important;
        height: 36px !important;
        padding: 0 11px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label {
        font-size: 16px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block button,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-right .mega-toggle-block .mega-search-wrap {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu {
        left: 9px !important;
        right: 9px !important;
        margin-top: 6px !important;
        padding: 7px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link {
        min-height: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
        font-size: 14.5px !important;
    }
}


/* v1.1.6 - Nettoyage CSS menu mobile Max Mega Menu
   Objectif : un seul libellé MENU, vrai hamburger visible, clic non décalé. */
#ecig-shop-header .ecig-shop-action-manage {
    position: relative;
    padding-left: 4px;
    padding-right: 4px;
}

#ecig-shop-header .ecig-user-ads-count {
    background: linear-gradient(135deg, #8f35ff 0%, #ff3bc7 100%);
}

@media (min-width: 981px) {
    #ecig-shop-header .ecig-shop-action-manage {
        min-width: 98px;
    }

    #ecig-shop-header .ecig-shop-action-manage .ecig-user-ads-count {
        position: absolute !important;
        top: -7px !important;
        right: -7px !important;
        min-width: 24px !important;
        height: 18px !important;
        padding: 0 6px !important;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.34) !important;
        font-size: 10px !important;
        line-height: 17px !important;
    }
}

@media (max-width: 980px) {
    #ecig-shop-header .ecig-shop-action-manage {
        position: relative;
    }

    #ecig-shop-header .ecig-shop-action-manage .ecig-user-ads-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 21px;
        height: 17px;
        padding: 0 5px;
        margin-top: 0;
        border: 1px solid rgba(255,255,255,.34);
        font-size: 9.5px;
        line-height: 16px;
    }

    /* La ligne Max Mega Menu sous le header */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu,
    body.ecig-header-boutique-ready .mega-menu-primary-menu #mega-menu-wrap-primary-menu {
        position: relative !important;
        z-index: 1000000 !important;
        overflow: visible !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-menu-toggle {
        position: relative !important;
        z-index: 1000001 !important;
        cursor: pointer !important;
        overflow: visible !important;
    }

    /* On masque tous les libellés MENU générés par Max Mega Menu */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-label,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-center *,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .ecig-mm-single-label {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        max-width: 0 !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
        pointer-events: none !important;
    }

    /* Le bouton gauche garde le vrai hamburger, et on ajoute un seul MENU en CSS */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        min-width: 128px !important;
        height: 38px !important;
        padding: 0 16px !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.145) !important;
        border: 1px solid rgba(255,255,255,.21) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 16px rgba(0,0,0,.14) !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left::after {
        content: "MENU";
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #fff !important;
        font-size: 17px !important;
        font-weight: 950 !important;
        letter-spacing: .15px !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
        margin-top: 1px !important;
        padding: 0 !important;
        text-shadow: 0 1px 2px rgba(0,0,0,.18) !important;
        pointer-events: none !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-block,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-block a,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-block button,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-block span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        margin: 0 !important;
        pointer-events: none !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-animated,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-animated-box {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
        pointer-events: none !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-animated-inner,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-animated-inner::before,
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left .mega-toggle-animated-inner::after {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background-color: #fff !important;
        height: 3px !important;
        border-radius: 999px !important;
    }

    /* Sous-menus arrondis et cohérents avec le panneau violet */
    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu {
        position: relative !important;
        z-index: 1000002 !important;
        padding: 8px !important;
        margin: 4px 0 8px !important;
        background: linear-gradient(180deg, rgba(34,8,79,.98) 0%, rgba(24,5,58,.98) 100%) !important;
        border: 1px solid rgba(255,255,255,.09) !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
        overflow: hidden !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
        min-height: 42px !important;
        height: auto !important;
        line-height: 1.25 !important;
        padding: 11px 14px !important;
        margin: 0 0 6px 0 !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,.07) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255,255,255,.06) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
        white-space: normal !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item > ul.mega-sub-menu > li.mega-menu-item:last-child > a.mega-menu-link {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 430px) {
    #ecig-shop-header .ecig-shop-action-manage .ecig-user-ads-count {
        top: -5px;
        right: -5px;
        min-width: 20px;
        height: 16px;
        font-size: 9px;
        line-height: 15px;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left {
        min-width: 118px !important;
        height: 36px !important;
        padding: 0 14px !important;
    }

    body.ecig-header-boutique-ready #mega-menu-wrap-primary-menu .mega-toggle-blocks-left::after {
        font-size: 16px !important;
    }
}
