/* Subcategory Page Specific Styles */
:root {
    --accent-color: <?= $accent_color ?>;
    --accent-dark: <?= $button_bg_color ?>;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-title {
    font-size: 0.95rem;
    line-height: 1.4;
    min-height: 2.8em;
}

/* Responsive adjustments for 5-column grid */
@media (max-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Product card hover effects */
.product-card:hover .product-title {
    color: var(--accent-color);
}

/* Loading state */
.product-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty state */
.no-products {
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(184,135,16,0.05));
}