/* Navigation Products Button Fix */

/* Products Navigation Fix - Make Products clickable while keeping dropdown */
.nav-item.dropdown {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-item.dropdown .nav-link {
    padding-right: 0.5rem;
    border: none;
    background: none;
    text-decoration: none;
    color: #495057;
    transition: color 0.3s ease;
}

.nav-item.dropdown .nav-link:hover {
    color: #B8860B;
}

.dropdown-toggle-btn {
    background: none;
    border: none;
    color: #495057;
    padding: 0.5rem;
    margin-left: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.dropdown-toggle-btn:hover,
.dropdown-toggle-btn:focus {
    background-color: rgba(184, 134, 11, 0.1);
    color: #B8860B;
    outline: none;
}

.dropdown-toggle-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-toggle-btn[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Ensure dropdown menu positions correctly */
.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.nav-item.dropdown .dropdown-menu.show {
    display: block;
}

/* Mobile Navigation Fix */
@media (max-width: 991.98px) {
    .nav-item.dropdown {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dropdown-toggle-btn {
        margin-left: 0;
        margin-top: 0.25rem;
    }
}