/* ============================================================
   OASIS SMART NETWORK – HEADER (ALIGNED WITH style-mytheme.css)
   ============================================================ */


/* ------------------------------------------------------------
   1) TOP BLACK STRIP (PHONE + EMAIL + VISITOR + AVATAR)
------------------------------------------------------------- */

.top-heading {
    background: #000;
    width: 100%;
    color: #fff;
}

.top-heading-inner {
    display: flex;
    align-items: center;          /* left pill + right icons vertical center */
    justify-content: space-between;
    padding: clamp(6px, 0.73vw, 28px) 0;
}

/* Contact pill (left side) */
.top-heading-inner .contact-info {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: #0a0a0a;
    padding: 0 clamp(20px, 2.34vw, 80px);
    border-radius: 40px;
    border: 1px solid #2e2e2e;
    box-shadow: 0 6px 16px rgba(0,0,0,0.7);
}

/* Phone + email links */
.top-heading .contact-info a {
    font-size: clamp(11px, 1.02vw, 36px);
    font-weight: 400;
    font-family: 'OpenSans', sans-serif;
    color: #fff;
    text-decoration: none;
}

.top-heading .contact-info a span {
    margin-right: clamp(3px, 0.44vw, 16px); /* icon-spacing */
}

.top-heading .contact-info a:hover {
    text-decoration: underline;
}

/* Right icons group (Visitor + Cart + Avatar) */
.top-right-icons {
    margin-left: auto;
    margin-right: clamp(10px, 1.46vw, 64px);
    display: flex;
    align-items: center;          /* ⭐ vertical center for whole group */
    list-style: none;
    font-size: clamp(11px, 1.02vw, 36px);
    color: #fff;
    text-shadow: 1px 1px #fff;
    gap: clamp(6px, 0.73vw, 24px);
    height: 100%;                 /* row ke center ke saath lock */
}

.top-right-icons li {
    margin-left: clamp(6px, 0.73vw, 28px);
    display: flex;
    align-items: center;          /* ⭐ each icon + text center */
}

.top-right-icons a,
.top-right-icons span {
    color: #fff;
}

/* Visitor counter pill */
.header-visitor-counter {
    display: inline-flex;         /* flex takki content center rahe */
    align-items: center;          /* text + icon vertical center */

    background: #222;
    color: #fff;
    font-size: clamp(11px, 1.02vw, 36px);
    padding: clamp(2px, 0.3vw, 8px) clamp(6px, 0.73vw, 28px);
    border-radius: 14px;
    font-family: 'OpenSans', sans-serif;
    margin-left: clamp(6px, 0.73vw, 28px);
    letter-spacing: 0.5px;
    line-height: 1;
    border: 1px solid #333;
    box-shadow: 0 0 3px rgba(0,0,0,0.25);
}

.header-visitor-counter i {
    margin-right: clamp(2px, 0.29vw, 12px);
    font-size: clamp(10px, 0.95vw, 34px);
    color: #f2f2f2;
}


/* ------------------------------------------------------------
   2) ACCOUNT AVATAR / LOGIN ICON
------------------------------------------------------------- */

.header-account-item {
    display: inline-block;
    margin-left: clamp(7px, 0.88vw, 32px);
}

.header-account-link {
    display: flex;
    justify-content: center;
    align-items: center;          /* ⭐ vertical center */
    padding: clamp(2px, 0.22vw, 10px) clamp(4px, 0.44vw, 16px);
    height: clamp(20px, 2.05vw, 72px);
    color: #fff;
    text-decoration: none;
}

.header-account-avatar {
    width: clamp(18px, 1.90vw, 68px);
    height: clamp(18px, 1.90vw, 68px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    background: transparent !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;   /* ⭐ FIX */
}

.header-account-icon {
    font-size: clamp(12px, 1.10vw, 40px);
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
}

.header-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


/* ------------------------------------------------------------
   3) MAIN NAVBAR / LOGO / BRAND TEXT (DESKTOP)
------------------------------------------------------------- */

.navbar-default .navbar-brand {
    background-image: url("../images/logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: clamp(42px, 4.40vw, 156px);
    height: clamp(42px, 4.40vw, 156px);
    margin: 0;
    padding: 0;
    display: block;
}

.navbar-left-brand-text h3 {
    font-weight: bold;
    margin: 0;
    line-height: 1;
    font-family: 'ArbutusSlab', serif;
    font-size: clamp(18px, 1.61vw, 56px);
}

.header_main_menu_bgcolor {
    background: #4e5c6d36;
    color: #000;
    font-family: 'OpenSans', sans-serif;
    font-weight: 600;
}

.header_main_menu_bgcolor .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 clamp(12px, 1.46vw, 56px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* desktop-navbar wrapper (desktop only) */
.header_main_menu_bgcolor .desktop-navbar {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

/* LOGO + TOGGLE ROW */
.navbar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.navbar-header .navbar-toggle {
    margin-left: auto;
}

/* COMMON MENU UL (desktop + mobile panel) */
.header_main_menu_bgcolor .navbar-nav,
#main-navbar .navbar-nav {
    display: flex;
    align-items: center;
    font-size: clamp(10px, 0.88vw, 32px);
}

/* li */
.header_main_menu_bgcolor .navbar-nav > li,
#main-navbar .navbar-nav > li {
    margin: 0;
    list-style: none;
    font-family: 'ArbutusSlab', serif;
    text-transform: uppercase;
    font-weight: 600;
    color: #494bc2;
}

/* anchor spacing */
.header_main_menu_bgcolor .navbar-nav > li > a,
#main-navbar .navbar-nav > li > a {
    margin: 0 clamp(3px, 0.36vw, 16px);
    line-height: clamp(14px, 1.46vw, 52px);
    color: #494bc2;
    text-decoration: none;
    font-family: 'ArbutusSlab', serif;
    text-transform: uppercase;
    font-weight: 600;
}

/* active menu */
.current-menu-item a,
.current-menu-item a:hover {
    background: #000;
    color: #fff !important;
    border-radius: 50%;
    padding: 0 clamp(3px, 0.36vw, 16px) 0 clamp(3px, 0.36vw, 16px);
}

.navbar-default .navbar-nav li a span {
    border-bottom: 2px solid #000;
}

/* Desktop par mobile panel hide */
@media (min-width: 1025px) {
    #main-navbar {
        display: none !important;
    }
}


/* ------------------------------------------------------------
   4) ECOMMERCE TOP MENU + BREADCRUMB
------------------------------------------------------------- */

.ecommerce-top-menu {
    background: #000;
    padding-top: clamp(4px, 0.44vw, 20px);
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.ecommerce-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.ecommerce-nav li {
    list-style: none;
    text-transform: uppercase;
    font-family: 'OpenSans', sans-serif;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
}

.ecommerce-nav li a {
    font-weight: bold;
    padding: clamp(6px, 0.73vw, 28px) clamp(8px, 1.02vw, 36px);
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    border-top: 0;
    background: #000;
    color: #fff;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(11px, 1.02vw, 36px);
    font-family: 'OpenSans', sans-serif;
}

.breadcrumb .active {
    font-family: 'OpenSans', sans-serif;
}


/* ============================================================
   MOBILE + TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {

    /* Top strip: email hide */
    .top-heading .contact-info a:last-child {
        display: none;
    }

    /* Header container stacked (logo row + menu panel) */
    .header_main_menu_bgcolor .container {
        display: block;
    }

    /* Logo row */
    .navbar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        flex: 0 0 100%;
        padding: clamp(4px, 0.8vw, 24px) 0;
        position: relative;
        z-index: 30;
    }

    /* Toggle button */
    .navbar-toggle {
        display: block !important;
        position: static;
        margin-right: 0;
        padding: clamp(1px, 0.4vw, 12px);
        background: transparent !important;
        border: none;
        transform: none;
        z-index: 40;
    }

    .navbar-toggle .icon-bar {
        height: clamp(2px, 0.4vw, 8px);
        width: clamp(16px, 3vw, 56px);
        background: #000 !important;
        border-radius: clamp(1px, 0.3vw, 6px);
        display: block;
        margin: clamp(2px, 0.5vw, 12px) 0;
    }

    /* Upar wala desktop menu hide (sirf mobile panel use hoga) */
    .header_main_menu_bgcolor .desktop-navbar {
        display: none;
    }

    /* ===== COLLAPSED MENU PANEL – BREADCRUMB KE NICHE ===== */
    #main-navbar {
        width: 100%;
        margin: 0;                        /* breadcrumb ke just niche */
        padding: clamp(6px, 1vw, 28px) 0;

        display: none !important;
        position: relative;

        background-color: #e1e1e1;
        background-image: url("../images/togle_menu_tower_bg.webp");
        background-repeat: no-repeat;
        background-position: 60% center;
        background-size: clamp(30%, 45%, 120%) auto;
    }

    #main-navbar.in,
    #main-navbar.collapsing {
        display: flex !important;
    }

    /* Left side vertical menu area (sirf mobile panel) */
    #main-navbar .navbar-nav {
        display: block !important;
        width: clamp(45%, 55%, 120%);
        padding-left: clamp(6px, 1.2vw, 36px);
        padding-bottom: clamp(10px, 2vw, 56px);
        margin: 0;
    }

    #main-navbar .navbar-nav > li {
        display: block;
        width: 100%;
        margin: 0;
    }

    #main-navbar .navbar-nav > li > a {
        display: block;
        width: 100%;
        padding: clamp(8px, 1.8vw, 36px) clamp(12px, 2vw, 48px);
        border-top: 1px solid #eee;
        font-size: clamp(10px, 1.17vw, 12px);
    }

    /* Active item – mobile panel */
    #main-navbar .navbar-nav > li.current-menu-item > a,
    #main-navbar .navbar-nav > li.current_page_item > a {
        background: #000 !important;
        color: #fff !important;
        border-radius: clamp(6px, 1.2vw, 24px);
        margin: clamp(3px, 0.8vw, 20px) 0;
    }

    /* Ecommerce menu & breadcrumb visible (header ke niche) */
    .ecommerce-top-menu,
    .breadcrumb {
        display: block;
    }
}
