/**
 * Unified Product List Layout - Match Homepage Style
 * Image + Brand + Title + Price + Buy Button (Orange Theme)
 */

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: #f9fafb !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    transition: transform .3s !important;
}

.product-card:hover {
    transform: translateY(-4px) !important;
}

.product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
}

/* Info Section */
.product-info {
    padding: 1rem !important;
}

/* Brand - ORANGE */
.product-cat {
    color: #d97706 !important;
    font-size: 0.8rem !important;
    margin-bottom: 0.4rem !important;
    text-transform: capitalize !important;
}

.product-cat a {
    color: inherit !important;
    text-decoration: none !important;
}

.product-cat a:hover {
    color: #d97706 !important;
}

/* Title */
.product-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.product-title a {
    color: #1f2937 !important;
    text-decoration: none !important;
}

.product-title a:hover {
    color: #d97706 !important;
}

/* Price - ORANGE */
.product-price {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #d97706 !important;
}

/* Buy Button - ORANGE */
.product-buy-btn {
    display: inline-block !important;
    margin-top: 0.5rem !important;
    padding: 0.45rem 1rem !important;
    background: #d97706 !important;
    color: #fff !important;
    border-radius: 4px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: background .2s !important;
}

.product-buy-btn:hover {
    background: #b45309 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}
