/* ===== Custom Navbar Design ===== */
.navbar {
    background-color: #ffffff !important;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.navbar-nav {
    align-items: center;
    gap: 8px;
}

    /* Nav links - Home, About Us, Contact Us, Legal, Vision, Video */
    .navbar-nav .nav-link {
        position: relative;
        color: #4a2c1e !important;
        font-weight: 600;
        font-size: 15px;
        padding: 8px 14px !important;
        text-transform: capitalize;
        transition: color 0.3s ease;
    }

        /* Hover underline animation */
        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #f7941d, #e8b923);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            width: 70%;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: #f7941d !important;
        }

    /* All Categories dropdown toggle */
    .navbar-nav .dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .navbar-nav .dropdown-toggle::after {
            border-top-color: #4a2c1e;
            transition: transform 0.3s ease;
        }

    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

/* Dropdown menu styling */
.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 10px 0;
    margin-top: 5px;
}

    .navbar .dropdown-menu .dropdown-item {
        padding: 8px 20px;
        font-size: 14px;
        color: #4a2c1e;
        transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
    }

        .navbar .dropdown-menu .dropdown-item:hover {
            background-color: #fff4e0;
            color: #f7941d;
            padding-left: 26px;
        }

    .navbar .dropdown-menu .dropdown-divider {
        margin: 4px 0;
        opacity: 0.3;
    }

/* (00) Items link */
.navbar-nav .nav-link[href*="Cart"] {
    background: #fff4e0;
    border-radius: 20px;
    padding: 6px 16px !important;
    font-weight: 700;
}

/* User icon */
.cus-iconui {
    font-size: 18px;
    background: #f7941d;
    color: #fff !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

    .cus-iconui::after {
        display: none;
    }

/* Responsive - mobile */
@media (max-width: 991px) {
    .navbar-nav {
        align-items: flex-start;
        gap: 2px;
        padding-top: 10px;
    }

        .navbar-nav .nav-link::after {
            display: none;
        }

    .navbar .dropdown-menu {
        box-shadow: none;
        padding-left: 15px;
    }
}


/* Search bar css */


/* ===== Search Bar Design ===== */
.top-search {
    display: flex;
    align-items: center;
    width: 100%;
}

.top-search .d-flex {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border: 1.5px solid #e8b923;
    border-radius: 30px;
    padding: 4px 4px 4px 18px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.top-search .d-flex:hover,
.top-search .d-flex:focus-within {
    box-shadow: 0 4px 16px rgba(247,148,29,0.25);
    border-color: #f7941d;
}

/* Input field */
.top-search #prdId {
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent;
    font-size: 14px;
    color: #4a2c1e;
    padding: 8px 5px !important;
    margin: 0 !important;
}

.top-search #prdId::placeholder {
    color: #a89a90;
    font-size: 13px;
}

/* Search button */
.top-search .search-btn {
    background: linear-gradient(135deg, #f7941d, #e8b923);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-search .search-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(247,148,29,0.4);
}

.top-search .search-btn i {
    font-size: 15px;
    color: #ffffff;
}

/* Autocomplete dropdown (jQuery UI) styling */
.ui-autocomplete {
    border: 1px solid #f0e0c0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    padding: 6px 0 !important;
    z-index: 9999 !important;
}

.ui-autocomplete .ui-menu-item {
    padding: 0 !important;
}

.ui-autocomplete .ui-menu-item-wrapper {
    padding: 8px 16px !important;
    font-size: 14px;
    color: #4a2c1e;
    border: none !important;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
    background: #fff4e0 !important;
    color: #f7941d !important;
    border: none !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
    .top-search .d-flex {
        max-width: 100%;
        margin-top: 12px;
    }
}
