.catalog {
    padding: 40px 20px;
}

.catalog-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.catalog-grid {
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.catalog-card {
    display: block;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform .2s ease;
    text-decoration: none;
    color: inherit;
}

.catalog-card:hover {
    transform: translateY(-5px);
}

.catalog-card-img {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.catalog-card-name {
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
}

.catalog {
    padding: 2rem 0;
}

.catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.catalog-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.main-category {
    margin-bottom: 3rem;
}

.main-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #259da8;
}

.main-category-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
}

.main-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.subcategory-section {
    margin-bottom: 2.5rem;
}

.subcategory-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #259da8;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card-img {
    height: 200px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.no-products {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .catalog-title {
        font-size: 2rem;
    }

    .main-category-title {
        font-size: 1.5rem;
    }

    .subcategory-header {
        font-size: 1.3rem;
    }

    .main-category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .main-category-image {
        width: 60px;
        height: 60px;
    }
}