/**
 * Copyright © MaPerruque. All rights reserved.
 * Category Showcase Styles
 */

.category-showcase {
    margin: 40px 0;
}

.category-showcase-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
}

.category-showcase-image {
    flex: 0 0 300px;
}

.category-showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-showcase-info {
    flex: 1;
}

.category-showcase-title {
    font-size: 2rem;
    margin: 0 0 15px 0;
}

.category-showcase-title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-showcase-title a:hover {
    color: #8b7355;
}

.category-showcase-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.category-showcase-link {
    display: inline-block;
    padding: 12px 24px;
    background: #8b7355;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-showcase-link:hover {
    background: #6d5940;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-showcase-products {
    padding: 0 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-item-photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-item-photo img {
    transform: scale(1.05);
}

.product-item-details {
    padding: 20px;
}

.product-item-name {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.product-item-name a {
    color: #2c2c2c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-item-name a:hover {
    color: #8b7355;
}

/* Responsive */
@media (max-width: 768px) {
    .category-showcase-header {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .category-showcase-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .category-showcase-title {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
