/* Catalog Specific Styles */

/* Placeholder Images */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    width: 100%;
    height: 200px;
}

.bronze-bg {
    background: linear-gradient(135deg, #cd7f32, #b8732e);
}

.silver-bg {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
}

.gold-bg {
    background: linear-gradient(135deg, #ffd700, #f0c000);
    color: #333 !important;
}

.maintenance-bg {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.seo-bg {
    background: linear-gradient(135deg, #5cb85c, #449d44);
}

.template-bg {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.catalog-header {
    padding: 120px 2rem 3rem;
    background: #f8f9fa;
    text-align: center;
}

.catalog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.catalog-filters {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.catalog-filters select,
.catalog-filters input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.catalog-filters select {
    min-width: 150px;
}

.catalog-filters input {
    flex: 1;
}

/* Products Grid */
.products-grid {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card img,
.product-image {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: white;
    padding: 0.25rem;
    border-radius: 0;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.btn-add-to-cart {
    width: 100%;
    padding: 0.75rem;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-add-to-cart:hover {
    background: #0b5ed7;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .catalog-filters {
        flex-direction: column;
    }

    .catalog-header {
        padding: 100px 1rem 2rem;
    }

    .catalog-header h1 {
        font-size: 2rem;
    }

    .products-grid {
        padding: 2rem 1rem;
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
