/* Products page and catalogs styling */

.products-hero {
    padding: 30px 0;
}

.catalog-category-card {
    display: block;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.catalog-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.catalog-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.catalog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 42px;
}

.catalog-meta {
    padding: 14px 16px 16px;
}

.catalog-meta h4 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    color: #333;
}

.catalog-meta p {
    margin: 0;
    font-size: .95rem;
    color: #666;
}

/* Products grid cards (catalog look) */
.theme-product-item {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.theme-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.theme-product-image {
    background: #f8f9fa;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.theme-product-content {
    padding: 14px 16px 16px;
}

.product-category-title {
    margin: 16px 0 12px;
}

.products-grid .btn-primary, .theme-product-link.btn.btn-primary {
    padding: 6px 14px;
    font-size: .95rem;
}

@media (max-width: 576px) {
    .catalog-meta { padding: 12px 14px; }
    .theme-product-content { padding: 12px 14px; }
}

