.top-header {
    background-color: var(--brown-light);
    /* height: 34px; */
    padding: 5px 0px 3px 0px;
    /* z-index: 1000 !important; */
}

.top-header a {
    font-size: var(--fs-sm);
    color: black;
    font-weight: 500;
}

.top-header a:hover {
    color: black;
}

.top-header p {
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: var(--fs-md);
}

.top-header-menu {
    white-space: nowrap !important;
}

.login-btn {
    all: unset;
    color: white;
    background-color: red;
    font-family: var(--font-bold);
    font-weight: 700;
    font-size: var(--fs-md);
    padding: 4px 10px;
    border-radius: 10px;
}

.login-btn:hover {
    color: white !important;
}

/* Navbar */

/* .custom-center-dropdown {
    left: 50% !important;
    transform: translateX(-33%) !important;
    width: 100% !important;
    min-width: 0 !important;
} */

.custom-center-dropdown {
    left: 50% !important;
    transform: translateX(-31.5%) !important;
    width: 60vw !important;
    max-width: 100vw !important;
}

.custom-center-dropdown .col li {
    white-space: nowrap !important;
}
/* .custom-center-dropdown .row {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: scroll !important;
} */
.navbar {
    padding: 0px !important;
}

.custom-center-dropdown .nav-link {
    background-color: var(--violet-light) !important;
}

.nav-btn {
    border: 2px solid transparent !important;
    padding: 25px 0px !important;
    /* width: 100%; */
}

.nav-btn:focus,
.nav-btn:active,
.nav-btn.show,
.nav-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.navbar .btn {
    border-radius: 0px !important;
}

.nav-btn.active,
.nav-btn.show,
.nav-btn[aria-expanded="true"] {
    border-bottom: 3px solid #000;
    /* or your custom color */
}

.nav-btn:hover {
    border-bottom: 2px solid var(--violet-darker) !important;
    color: var(--violet-darkest) !important;

    /* Bootstrap's primary blue */
}

.nav-btn:hover a {
    color: var(--violet-darkest);
}

.custom-tab {
    border-radius: 0 !important;
    background-color: #f0f0f0 !important; /* or your desired color */
    color: #333 !important;
    width: 100%;
}

.dropdown-menu {
    padding: 0px !important;
}

.nav-item {
    margin: 0px !important;
}
.custom-tab.active {
    border-radius: 0 !important;
    background-color: var(
        --violet-darkest
    ) !important; /* or your desired color */
    color: #ffffff !important;
}

#pills-tabContent ul {
    list-style-type: none;
    margin-bottom: 0px;
}
#pills-tabContent li {
    margin-bottom: 5px;
}
#pills-tabContent li a {
    font-size: var(--fs-sm);
    white-space: nowrap !important;
}

#pills-tabContent ul:first-of-type li {
    font-weight: bold;
    color: #000; /* dark color */
}

.dropdown-links .dropdown-menu .dropdown-item {
    position: relative;
    padding: 0px !important;
    padding-bottom: 6px;
    display: inline-block; /* shrink width to content */
    width: auto;
    margin-bottom: 10px !important;
    font-size: var(--fs-sm);
}

.dropdown-links .dropdown-menu .dropdown-item:hover,
.dropdown-links .dropdown-menu .dropdown-item:focus {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
}

.dropdown-links .dropdown-menu .dropdown-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: blue;
    transition: width 0.22s ease;
}

.dropdown-links .dropdown-menu .dropdown-item:hover::after,
.dropdown-links .dropdown-menu .dropdown-item:focus::after {
    width: 100%;
}

.dropdown-links .dropdown-menu {
    padding: 35px 40px !important;
}

.custom-header-menu {
    margin-right: 100px !important;
}

@media (max-width: 1000px) {
    .custom-center-dropdown {
        left: 0% !important;
        transform: translateX(0%) !important;
        /* width: 100% !important; */
        width: 100vw !important;
    }

    .custom-center-dropdown .col li {
        white-space: nowrap !important;
    }
    .custom-center-dropdown .row {
        /* flex-wrap: nowrap !important; */
        white-space: nowrap !important;
        /* overflow-x: scroll !important; */
    }
    .custom-header-menu {
        width: 700px !important;
    }
}
@media (max-width: 992px) {
    .discount-text {
        font-size: var(--fs-sm) !important;
    }
}

@media (max-width: 768px) {
    .discount-text {
        font-size: var(--fs-sm) !important;
    }
    .top-header a {
        font-size: var(--fs-sm);
        color: black;
        font-weight: 500;
    }
    .custom-header-menu {
        width: 60% !important;
    }
}
@media (max-width: 550px) {
    .custom-header-menu {
        width: 80% !important;
    }
}
@media (max-width: 400px) {
    .discount-text {
        font-size: 13px !important;
    }
    .top-header a {
        font-size: 13px !important;
        color: black;
        font-weight: 500;
    }
}

/* Main dropdown styling */
.ui-autocomplete {
    max-height: 300px; /* max height */
    overflow-y: auto; /* scroll if too long */
    overflow-x: hidden; /* prevent horizontal scroll */
    background-color: rgb(255, 255, 255) !important; /* background */
    border: 1px solid #ccc; /* border */
    font-size: 14px;
    padding: 0;
    z-index: 9999; /* make sure it's on top */
    scrollbar-width: none !important;
}

/* Each item wrapper */
.ui-autocomplete .ui-menu-item-wrapper {
    padding: 8px 12px;
    cursor: pointer;
    color: #333;
}

/* Hover effect */
.ui-autocomplete .ui-menu-item-wrapper.ui-state-focus {
    background-color: #ffcc00 !important; /* hover background */
    color: #000 !important; /* hover text color */
}

/* Optional: add border between items */
.ui-autocomplete .ui-menu-item-wrapper {
    border-bottom: 1px solid #eee;
}

/* Remove last item border */
.ui-autocomplete .ui-menu-item-wrapper:last-child {
    border-bottom: none;
}
