/* Product Category Tabs */
.category-tabs .nav-item {
    margin: 0.25rem 0.5rem 0.25rem 0;
}

.category-tabs .tab-link {
    display: inline-block;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    background-color: #2c2f4c;
    color: var(--white-color) !important;
    border: 0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-tabs .tab-link:hover {
    background-color: rgba(44, 47, 76, 0.8);
    text-decoration: none;
    color: var(--white-color) !important;
}

.category-tabs .tab-link.active {
    background-color: var(--primary-color);
}

.nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
}

.nav-tabs .nav-item {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
}

/* Product Section Headers */
.intro-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-t-color);
}

/* Product Cards */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px !important;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.product-card .card-body h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-t-color);
    line-height: 1.3;
}

.product-card .card-img-top {
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .category-tabs .tab-link {
        padding: 10px 16px;
        font-size: 13px;
        margin-right: 0.5rem;
    }
    
    .category-tabs .nav-item {
        margin: 0.2rem 0.3rem 0.2rem 0;
    }
    
    .intro-content h3 {
        font-size: 1rem;
        margin: 0.5rem 0 0.25rem 0.5rem !important;
    }
    
    .intro-content img {
        width: 24px !important;
    }
    
    .product-card .card-body {
        padding: 0.75rem 0.5rem !important;
    }
    
    .product-card .card-body h4 {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0 !important;
    }
    
    .product-card .media {
        margin-bottom: 0.5rem;
    }
    
    /* Product grid spacing */
    .product-area .col-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 575px) {
    .category-tabs .tab-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .intro-content h3 {
        font-size: 0.9rem;
    }
    
    .product-card .card-body h4 {
        font-size: 0.75rem;
    }
    
    .product-card {
        padding: 0.75rem !important;
    }
}