.top-nav {
    border-bottom: 1px solid var(--border-color);
    padding: 0 2.125rem 0 0;
}

.top-nav .nav-language-picker {
    font-size: 14px;
    color: rgba(55, 55, 55, 0.9);
}

.top-nav .navbar-nav .nav-link {
    /* font-size: 14px; */
    text-transform: uppercase;
    color: rgba(55, 55, 55, 0.9);
}

.top-nav .navbar-nav .nav-link:hover {
    color: var(--secondary-color);
}

.bottom-nav {
    border-bottom: 1px solid var(--border-color);
}

.swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-bullet {
    background-color: var(--secondary-color);
    transition: all .3s ease;
    transform: scale(.90);
    margin: 0 7px !important;
}

.swiper-pagination-bullet-active {
    transform: scale(1.1);
}


/* Mobile Navigation Styles - Only for XS to MD screens */
@media (max-width: 1199.98px) {
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        /* Lower than modals */
        pointer-events: none;
        /* Allow clicks to pass through when not active */
    }

    /* Add padding to body to prevent content from being hidden under fixed header */
    body {
        padding-top: 75px;
        /* Adjust based on your header height */
    }

    /* Header structure with consistent spacing */
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #e0e0e0;
        background-color: white;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 75px;
        /* Set a fixed height */
        pointer-events: auto;
        z-index: 1002;
        box-sizing: border-box;

    }

    .mobile-nav-logo {
        position: relative;
        flex-grow: 1;
        display: flex;
        justify-content: flex-start;
        border-right: 1px solid #e0e0e0;
        align-items: center;
        height: 75px;
        margin-top: -15px;
        margin-bottom: -15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mobile-nav-logo img {
        height: 61px;
        width: auto;
        max-width: 180px;
        object-fit: contain;
    }


    .mobile-nav-toggle {
        background: none;
        border: none;
        cursor: pointer;
        width: 20px;
        height: 20px;
        position: relative;
        z-index: 1002;
        padding-left: 20px;
        margin-left: 20px;
    }

    .mobile-nav-toggle-icon {
        display: block;
        width: 20px;
        height: 2px;
        background-color: black;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

    .mobile-nav-toggle-icon::before,
    .mobile-nav-toggle-icon::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: black;
        left: 0;
        transition: all 0.3s ease;
    }

    .mobile-nav-toggle-icon::before {
        top: -8px;
    }

    .mobile-nav-toggle-icon::after {
        bottom: -8px;
    }

    .mobile-nav-menu {
        background-color: white;
        height: calc(100vh - 75px);
        /* Account for header height */
        padding: 0;
        position: fixed;
        top: 75px;
        /* Position below header */
        right: -100%;
        /* Start offscreen to the right */
        width: 100%;
        z-index: 999;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        pointer-events: none;
    }

    /* Main menu and submenu styles */
    .mobile-nav-list {
        list-style: none;
        padding: 25px;
        margin: 0;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: white;
    }

    /* Submenu specific styles */
    .mobile-nav-list.submenu {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        height: 100%;
    }

    /* Active submenu */
    .mobile-nav-list.submenu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Main menu when submenu is active */
    .mobile-nav-list.main-menu.inactive {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    /* Any submenu acting as a parent should also slide left when a child submenu opens */
    .mobile-nav-list.submenu.inactive {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    .mobile-nav-item {
        margin-bottom: 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-nav-link {
        text-decoration: none;
        color: black;
        font-size: 18px;
        font-weight: 500;
        text-transform: uppercase;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        background-color: white;
    }

    .mobile-nav-chevron {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 15px 0;
        width: 25%;
        text-decoration: none;
    }

    /* Set visited color to be the same as default color, to avoid purple links */
    .mobile-nav-link:visited {
        color: black;
    }

    /* For links that should be active (current page) */
    .mobile-nav-link.active {
        color: #CAA260;
    }

    /* Make tapped/selected items appear gold */
    .mobile-nav-link:hover,
    .mobile-nav-link:active,
    .mobile-nav-link:focus {
        color: #CAA260;
    }

    /* Also color the chevron when the corresponding link is interacted */
    .mobile-nav-link:hover+.mobile-nav-chevron .nav-chevron,
    .mobile-nav-link:active+.mobile-nav-chevron .nav-chevron,
    .mobile-nav-link:focus+.mobile-nav-chevron .nav-chevron {
        stroke: #CAA260;
    }


    /* Remove default tap highlight on mobile */
    .mobile-nav-link,
    .mobile-nav-chevron {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

    /* Back button styling */
    .mobile-nav-item.back-item {
        border-bottom: 1px solid #e0e0e0;
    }

    .mobile-nav-link.back-link {
        color: #333;
        justify-content: center;
    }

    .mobile-nav-link.back-link:active,
    .mobile-nav-link.back-link:focus {
        color: #CAA260;
    }

    .back-chevron {
        margin-right: 10px;
    }

    .nav-chevron {
        width: 18px;
        height: 18px;
        stroke: #888;
    }

    .mobile-nav-link:last-child {
        border-bottom: none;
    }

    .mobile-nav-footer {
        position: sticky;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: white;
        margin-top: auto;
    }

    .footer-top-line,
    .footer-bottom-line {
        height: 1px;
        background-color: #e0e0e0;
        border: none;
    }

    .mobile-nav-bottom-row {
        display: flex;
        align-items: center;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-nav-language {
        display: flex;
        align-items: center;
        margin-right: 15px;
    }

    .current-language {
        color: #888;
        margin-right: 5px;
    }

    .language-separator {
        color: #888;
        margin-right: 10px;
    }

    .language-dropdown {
        position: relative;
    }

    .language-dropdown-icon {
        width: 16px;
        height: 16px;
        stroke: #888;
        cursor: pointer;
    }

    .language-options {
        display: none;
        position: absolute;
        top: -40px;
        left: -10px;
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: white;
        border: 1px solid #e0e0e0;
    }

    .language-options li {
        padding: 5px 10px;
    }

    .language-options a {
        text-decoration: none;
        color: #888;
    }

    .language-options a:active,
    .language-options a:focus {
        color: #CAA260;
    }

    .language-options.is-active {
        display: block;
    }

    .mobile-nav-logo-footer {
        position: relative;
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-left: 15px;
        border-left: 1px solid #e0e0e0;
        margin-top: -15px;
        margin-bottom: -15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .mobile-nav-logo-footer img {
        max-width: 120px;
        max-height: 60px;
        object-fit: contain;
    }

    /* JavaScript Toggle State */
    .mobile-nav-menu.is-active {
        right: 0;
        /* Slide in from right to left */
        pointer-events: auto;
    }

    /* Hamburger Menu Animation */
    .mobile-nav-toggle.is-active .mobile-nav-toggle-icon {
        background-color: transparent;
    }

    .mobile-nav-toggle.is-active .mobile-nav-toggle-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .mobile-nav-toggle.is-active .mobile-nav-toggle-icon::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    /* Hide desktop navigation on mobile */
    .navbar.navbar-expand-lg.navbar-light.py-0.d-none.d-xl-block {
        display: none !important;
    }
}

/* Ensure mobile nav is hidden on desktop */
@media (min-width: 1200px) {
    .mobile-nav {
        display: none !important;
    }

    /* Reset body padding on desktop */
    body {
        padding-top: 0;
    }
}