/* =============================================================== */
/*  NAV Component - Shared Styles
/* =============================================================== */

.navbar , .mobile-nav-header {
    background-color: #000000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    z-index: 1001;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
}

.nav-item {
    padding: 0 15px;
}

.nav-item a,
.nav-item {
    color: white;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.navbar .social-icon {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar .social-icon li {
    border: none;
    aspect-ratio: 1 / 1;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.navbar .social-icon li a {
    color: #FFF;
    text-decoration: none;
    line-height: 0;
}

.navbar .social-icon ::before {
    transform: translateX(1px);
}

.mega-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: auto;
    background-color: #ffffff;
    border-bottom: 4px solid #D9D9D9;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
    z-index: 1000;
}

.mega-menu.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.menu-column {
    flex: 1;
    text-align: center;
    border-right: 1px solid #E5E5E5;
    padding: 10px 0;
}

.menu-column:last-child {
    border-right: none;
}

.menu-title {
    color: #008888;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    margin-bottom: 6px;
}

.menu-list li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.2s;
}

.menu-list li a:hover {
    color: #008888;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}


.mobile-menu-toggle,
.mobile-nav-overlay,
.mobile-nav-drawer {
    display: none;
}

body.mobile-nav-open {
    overflow: hidden;
}

.mobile-product-title {
    margin: 0;
    padding: 0.75rem 1.5rem 0.5rem;
    color: #008f86;
    font-weight: 700;
    line-height: 1.25;
}

.mobile-product-sublist {
    margin: 0;
    padding-bottom: 0.35rem;
}

.mobile-product-sublist li a {
    display: block;
    padding: 0.55rem 1.25rem 0.55rem 2rem;
    color: #222222;
    line-height: 1.2;
}


@media (max-width: 1199.98px) {
    .navbar-brand {
        padding: 0;
    }
    .navbar-brand img{
        max-width: none;
    }
}

@media (max-width: 991.98px) {

    .mobile-product-toggle,.mobile-product-list,.mobile-quick-links{
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        background: transparent;
        color: #ffffff;
        border: none;
        padding: 0;
        margin-right: -15px;
    }

    .navbar {
        padding: 0 0.75rem;
    }

    .navbar .nav-links,
    .navbar>.social-icon,
    .navbar .mega-menu,
    #overlay {
        display: none !important;
    }

    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
        z-index: 1098;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100dvh;
        background: #ededed;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 1099;

    }

    .mobile-nav-header,
    .mobile-product-toggle,
    .mobile-quick-links,
    .mobile-social-icon {
        flex-shrink: 0;
    }

    .mobile-nav-drawer.active {
        transform: translateX(0);
    }


    .navbar,
    .mobile-nav-header,
    .mobile-product-toggle {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .mobile-menu-close,
    .mobile-product-toggle i,
    .mobile-menu-toggle i {
        font-size: 1.5rem;
    }

    .mobile-menu-close {
        border: none;
        background: transparent;
        color: #ffffff;
        padding: 0;
        line-height: 1;
    }

    .mobile-product-toggle {
        border: none;
        background: #009b8f;
        color: #ffffff;
        min-height: 3.2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        line-height: 1;
        width: 100%;
    }

    .mobile-product-toggle i {
        transition: transform 0.2s ease;
    }

    .mobile-product-toggle:not(.is-open) i {
        transform: rotate(-90deg);
    }

    .mobile-product-list {
        background: #d9d9d9;
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        font-size: 14px;
        flex: 1 1 auto;
        min-height: 0;
    }

    .mobile-product-list.is-open {
        display: block;
        overflow-y: auto;
        text-transform: uppercase;
    }

    .mobile-product-list>li {
        border-bottom: 1px solid #c5c5c5;
    }

    .mobile-product-list li a {
        display: block;
        padding: 0.55rem 1.25rem 0.55rem 2rem;
        color: #212121;
        line-height: 1.25;
        text-decoration: none;
    }

    .mobile-quick-links {
        margin: 1rem 0;
        background: #ededed;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
        /* border: 1px solid; */
    }

    .mobile-quick-links a {
        color: #000;
        border-bottom: 1px solid #e4e4e4;
    }

    .mobile-social-icon {
        display: flex;
        align-items: center;
        gap: 1.15rem;
        margin-top: auto;
        padding: 0 1.3rem;
        min-height: 2.9rem;
        background: #000000;
        list-style: none;
        margin-bottom: 0;
    }

    .mobile-social-icon li a {
        color: #ffffff;
        font-size: 1.35rem;
        line-height: 1;
        text-decoration: none;
    }
}

