[x-cloak] {
    display: none !important;
}

.sb_navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
}

.sb_navbar .container {
    max-width: 1320px;
}

.sb-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.navbar {
    background: #fff;
    border-bottom: 1px solid #eef3f9;
    padding: 0.3rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: #0d2b4b;
}

.nav-menu {
    gap: 2px;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 15px;
    color: #1e2f40;
    padding: 8px 13px;
    border-radius: 6px;
    transition: 0.15s ease;
    white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    background: #eef5ff;
    color: #0d6efd;
}

.nav-item.mega-dropdown {
    position: static;
}

.mega-dropdown-menu {
    position: absolute;
    width: 100%;
    max-width: 1320px;
    left: 50%;
    top: 90%;
    transform: translateX(-50%);
    display: none;
    opacity: 0;
    visibility: hidden;
    border: none;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    padding: 0;
    background: #fff;
    margin-top: 5px;
    border-top: 1px solid #f0f5fe;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1055;
}

.mega-dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    width: 100%;
    padding: 22px 24px;
}

.mega-menu-full {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mega-service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mega-service-item {
    border-radius: 12px;
    padding: 9px 13px;
    flex: 1 0 200px;
    border: 1px solid #eef3fa;
    transition: 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    cursor: pointer;
    position: relative;
    min-height: 70px;
}

.mega-service-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.mega-service-item.active-service {
    background: #0d6efd !important;
    outline: 2px solid white;
    outline-offset: -1px;
    box-shadow: 0 8px 24px rgba(13, 110, 253, 0.25);
    border-color: #0d6efd;
}

.mega-service-item .icon-sm {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f3f5;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mega-service-item .info {
    min-width: 0;
}

.mega-service-item .info h6 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.mega-service-item .info small {
    display: block;
    font-size: 12px;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
}

.mega-service-item.service-physical {
    background: #0a2540;
}

.mega-service-item.service-amc {
    background: #2e7d32;
}

.mega-service-item.service-remote {
    background: #7b1fa2;
}

.active-icon {
    margin-left: auto;
    font-size: 18px;
    color: #fff;
}

.mega-tree-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mega-tree-col {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #dce3ec;
    border-radius: 10px;
    padding: 10px;
    background: #fafcff;
}

.mega-tree-col h6 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 700;
    margin-bottom: 7px;
    border-bottom: 2px solid;
    padding-bottom: 5px;
}

.mega-tree-col.level-1 h6 {
    color: #1565c0;
    border-bottom-color: #1565c0;
}

.mega-tree-col.level-2 h6 {
    color: #2e7d32;
    border-bottom-color: #2e7d32;
}

.mega-tree-col.level-3 h6 {
    color: #ef6c00;
    border-bottom-color: #ef6c00;
}

.mega-tree-col.level-4 h6 {
    color: #7b1fa2;
    border-bottom-color: #7b1fa2;
}

.mega-tree-col ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.mega-tree-col ul li {
    padding: 5px 6px;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    color: #1a2a3a;
}

.mega-tree-col ul li:hover {
    background: #f0f5fd;
    border-left-color: #b6cae6;
}

.mega-tree-col.level-1 ul li.active {
    background: #e3f0ff;
    color: #1565c0;
    border-left-color: #1565c0;
    font-weight: 600;
}

.mega-tree-col.level-2 ul li.active {
    background: #e8f5e9;
    color: #2e7d32;
    border-left-color: #2e7d32;
    font-weight: 600;
}

.mega-tree-col.level-3 ul li.active {
    background: #fff3e0;
    color: #ef6c00;
    border-left-color: #ef6c00;
    font-weight: 600;
}

.mega-tree-col.level-4 ul li.active {
    background: #f3e5f5;
    color: #7b1fa2;
    border-left-color: #7b1fa2;
    font-weight: 600;
}

.mega-tree-col ul li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 5px;
    align-items: center;
    width: 100%;
}

.mega-tree-col ul li img {
    object-fit: cover;
    flex-shrink: 0;
}

.mega-see-more {
    margin-top: auto;
    text-align: right;
    background: #f1f3f5;
    border-radius: 6px;
}

.mega-see-more hr {
    margin: 0 4px;
}

.sb_cart-wrapper {
    position: relative;
}

.sb_cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.sb_cart-btn:hover {
    background: #e9ecef;
    color: #0b72b9;
}

.sb_cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
}

.sb_cart-menu {
    min-width: 280px;
    max-width: 320px;
    z-index: 1060;
}

.partner-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    background: #fff;
    border-radius: 2px 2px 16px 16px;
    padding: 12px;
    margin: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 1060;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #212529;
    transition: 0.15s ease;
}

.partner-item:hover {
    background: #f8f9fa;
    transform: translateX(3px);
}

.partner-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.partner-info {
    flex: 1;
}

.partner-info h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.partner-info p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.partner-dropdown .dropdown-divider {
    margin: 8px 0;
}

.arrow {
    font-size: 22px;
    color: #adb5bd;
}

.sb_menu-toggle {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sb_menu-icon {
    width: 25px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
}

.sb_sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    cursor: pointer;
}

.sb_sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 88vw;
    height: 100dvh;
    background: #fff;
    z-index: 1045;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.sb_sidebar-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.sb_sidebar-header {
    min-height: 70px;
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sb-sidebar-logo {
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.sb_sidebar-close {
    background: #f5f7fa;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb_sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    -webkit-overflow-scrolling: touch;
}

.sb_mobile-user {
    text-align: center;
}

.sb_mobile-nav {
    margin: 0;
    padding: 0;
}

.sb_mobile-nav-item {
    margin-bottom: 8px;
}

.sb_mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 11px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.15s ease;
    font-size: 15px;
}

.sb_mobile-nav-link:hover,
.sb_mobile-nav-link.active {
    background: #f0f7ff;
    color: #0b72b9;
}

.sb_mobile-submenu {
    padding-left: 15px;
}

.sb_mobile-subnav-link {
    display: block;
    padding: 9px 12px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
}

.sb_mobile-subnav-link:hover {
    background: #f8f9fa;
    color: #0b72b9;
}

.mobile-category-panel {
    margin: 5px 0 10px;
    padding: 10px;
    background: #f8faff;
    border: 1px solid #edf1f7;
    border-radius: 12px;
}

.mobile-service-types {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.mobile-service-item {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.mobile-service-item img {
    object-fit: cover;
}

.mobile-service-item.service-physical {
    background: #0a2540;
}

.mobile-service-item.service-amc {
    background: #2e7d32;
}

.mobile-service-item.service-remote {
    background: #7b1fa2;
}

.mobile-service-item.active-service {
    background: #0d6efd !important;
}

.mobile-category-tree {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-tree-section {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    padding: 8px;
}

.mobile-tree-section h6 {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1565c0;
}

.mobile-tree-item {
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    text-decoration: none;
    color: #263646;
    padding: 6px 8px;
    border-radius: 5px;
    text-align: left;
    font-size: 13px;
}

.mobile-tree-item:hover,
.mobile-tree-item.active {
    background: #eef5ff;
    color: #0d6efd;
    font-weight: 600;
}

.mobile-see-more {
    width: 100%;
    border: 0;
    background: #f5f7fa;
    color: #0d6efd;
    padding: 5px;
    margin-top: 5px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}

@media (min-width: 992px) {
    .sb_mobile-right,
    .sb_sidebar-menu,
    .sb_sidebar-overlay {
        display: none !important;
    }

    .navbar-actions {
        margin-left: 10px;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .navbar .nav-link {
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .navbar-actions .btn-action {
        font-size: 12px;
        padding-left: 9px;
        padding-right: 9px;
    }

    .navbar-actions .login-btn {
        font-size: 13px;
    }

    .nav-menu {
        gap: 0;
    }
}

@media (max-width: 991.98px) {
    .sb_mobile-right {
        display: flex !important;
    }

    .mega-dropdown-menu {
        display: none !important;
    }

    .navbar-collapse {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .sb_sidebar-menu {
        width: 300px;
    }

    .partner-dropdown {
        width: 300px;
    }

    .sb-logo {
        height: 34px;
    }
}
