/* Simple Category Navigation - No Dropdowns */

.shop-category-nav {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.category-nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    flex-wrap: nowrap;
}

.category-item {
    position: relative;
    flex: 1;
    min-width: 0;
}

.category-link {
    display: block;
    padding: 1rem 0.3rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-link:hover {
    color: #4a7c59;
    border-bottom-color: #4a7c59;
    background: #f9f9f9;
}

.category-link.active {
    color: #4a7c59;
    border-bottom-color: #4a7c59;
    background: #f9f9f9;
}

/* Hide all dropdown elements */
.category-dropdown,
.subcategory-item {
    display: none !important;
}

/* Ensure no dropdown behavior */
.category-item:hover .category-dropdown {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .category-link {
        font-size: 0.8rem;
        padding: 1rem 0.2rem;
    }
}

@media (max-width: 1024px) {
    .category-link {
        font-size: 0.75rem;
        padding: 1rem 0.1rem;
    }
}

@media (max-width: 768px) {
    .category-nav-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .category-item {
        flex: 0 0 auto;
        margin: 2px;
    }
    
    .category-link {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 15px;
        border: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
    }
    
    .category-link:hover,
    .category-link.active {
        background: #4a7c59;
        color: white;
        border-color: #4a7c59;
    }
}

/* Ensure container doesn't overflow */
.shop-category-nav .container {
    overflow: visible;
    max-width: 100%;
}