/*===================================== 
CUSTOM CSS - Solis Group
======================================*/

/* ===== HEADER INLINE NAV (replaces Search/Share) ===== */
.header-inline-nav {
    display: flex;
    align-items: center;
    float: left;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 0;
}

.header-inline-nav>li {
    position: relative;
    display: inline-block;
}

.header-inline-nav>li>a {
    display: block;
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-inline-nav>li>a:hover,
.header-inline-nav>li>a:focus {
    color: #e8a829;
    text-decoration: none;
}

/* Dropdown for desktop inline nav */
.header-inline-nav>li>.header-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    text-align: left;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 8px 0;
    list-style: none;
    margin: 0;
}

.header-inline-nav>li:hover>.header-dropdown {
    display: block;
}

.header-inline-nav>li>.header-dropdown>li>a {
    display: block;
    padding: 8px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.25s ease;
}

.header-inline-nav>li>.header-dropdown>li>a:hover {
    color: #e8a829;
    background: #fafafa;
    padding-left: 24px;
}

/* Wrapper for the inline nav inside wt-header-right */
.extra-nav.header-nav-desktop {
    float: left;
    padding: 8px 0;
}

/* ===== RESPONSIVE: Hamburger only on tablet & mobile ===== */

/* Desktop (≥992px): show inline nav, hide hamburger */
@media (min-width: 992px) {
    .extra-nav.header-nav-desktop {
        display: block;
    }

    .extra-nav.header-hamburger-only {
        display: none !important;
    }
}

/* Tablet & Mobile (<992px): hide inline nav, show hamburger */
@media (max-width: 991px) {
    .extra-nav.header-nav-desktop {
        display: none !important;
    }

    .extra-nav.header-hamburger-only {
        display: block;
    }
}

/* ===== NEW HEADER LAYOUT OVERRIDES ===== */
@media (min-width: 1271px) {
    .header-center .wt-header-left {
        width: 20%;
    }

    .header-center .wt-header-center {
        width: 60%;
        text-align: center;
    }

    .header-center .wt-header-center .extra-nav.header-nav-desktop {
        float: none;
        display: inline-block;
    }

    .header-center .wt-header-right {
        width: 20%;
        text-align: right;
    }

    .header-center .wt-header-right .e-p-bx {
        float: right;
        margin-top: 15px;
        /* adjust vertical alignment if necessary */
    }
}

/* ===== TABLET & MOBILE HEADER LAYOUT FIXES ===== */
@media (max-width: 1270px) {
    .header-center {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header-center .wt-header-left {
        display: block !important;
        width: auto !important;
        height: auto !important;
        text-align: left !important;
        flex: 0 0 auto !important;
    }

    .header-center .wt-header-left .logo-header {
        display: table !important;
        height: auto !important;
        margin: 0 !important;
        padding: 5px 0 !important;
    }

    .header-center .wt-header-left .logo-header .logo-header-inner {
        display: table-cell !important;
        vertical-align: middle !important;
    }

    .header-center .wt-header-left .logo-header img {
        display: block !important;
        max-width: 140px !important;
        height: auto !important;
    }

    .header-center .wt-header-center {
        display: block !important;
        width: auto !important;
        text-align: right !important;
        flex: 1 1 auto !important;
    }

    .header-center .wt-header-right {
        display: none !important;
        /* Hide email text to save space for logo and menu */
    }

    .extra-nav.header-hamburger-only {
        float: none !important;
        display: inline-block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .extra-nav.header-hamburger-only .menu-btn {
        padding-top: 25px;
    }
}