/* Vendor Top Bar — matches Angular header-menu.component.css */

/* ── Desktop nav ─────────────────────────────────────────────── */

.vtb-inner-nav {
    text-align: center;
}

.vtb-inner-nav ul {
    padding: 0;
    margin: 0;
    background: #ececec;
    border: #dddddd 1px solid;
    list-style: none;
    display: flex;
    width: 100%;
}

.vtb-inner-nav ul li {
    list-style: none;
    flex: 1;
}

.vtb-inner-nav ul li a {
    display: block;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    border-right: #cacaca 1px solid;
    text-decoration: none !important;
    transition: 0.7s;
    padding: 1rem;
    text-align: center;
    box-sizing: border-box;
    height: 100%;
}

.vtb-inner-nav ul li:last-child > a {
    border-right: none;
}

.vtb-inner-nav ul li a:hover {
    background: #ffd700;
    color: #000000;
}

.vtb-inner-nav ul li a:focus {
    background: none;
}

.vtb-inner-nav ul li a.active {
    background: #ffd700 !important;
    color: #000000;
}


/* ── Mobile nav (hidden on desktop) ──────────────────────────── */

.vtb-m-inner-nav {
    display: none;
}

/* Bar that holds the toggle button — flush right */
.vtb-mob-bar {
    display: flex;
    justify-content: flex-end;
    padding: 4px 0;
}

/* Hamburger button — yellow, no background bar behind it */
.vtb-mob-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: #ffd700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
}

.vtb-mob-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    border-radius: 2px;
}

/* Full-width stacked menu */
.vtb-mob-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ececec;
    border: 1px solid #dddddd;
}

.vtb-mob-menu > li {
    list-style: none;
}

.vtb-mob-link {
    display: block;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none !important;
    border-bottom: 1px solid #dddddd;
    text-align: left;
    box-sizing: border-box;
    cursor: pointer;
}

.vtb-mob-link:hover,
.vtb-mob-link.active {
    background: #ffd700 !important;
    color: #000;
}

/* Submenu items — indented */
.vtb-mob-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f5f5f5;
}

.vtb-mob-sub li {
    list-style: none;
}

.vtb-mob-sub .vtb-mob-link {
    padding-left: 24px;
    font-size: 13px;
    font-weight: 500;
    border-bottom-color: #e8e8e8;
}

/* ── Hide sidebar on mobile when topbar submenus replace it ───── */

@media only screen and (max-width: 767px) {
    body.vtb-active .vp-sidebar {
        display: none !important;
    }

    body.vtb-active .vp-content-area,
    body.vtb-active .vp-sidebar + .col-sm-9,
    body.vtb-active .col-sm-3.vp-sidebar ~ .col-sm-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ── Responsive ───────────────────────────────────────────────── */

@media only screen and (max-width: 767px) {
    .vtb-inner-nav {
        display: none;
    }
    .vtb-m-inner-nav {
        display: block;
    }
}
