/* Product listing and card styles */

.products-section {
    margin-bottom: 4rem;
}

.products-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.products-section-subtitle {
    color: #7f8c8d;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #ecf0f1;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #bdc3c7;
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 3rem;
}

.product-image.tables {
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 100%);
}

.product-image.chairs {
    background: linear-gradient(135deg, #fef5e7 0%, #f9e79f 100%);
}

.product-image.glassware {
    background: linear-gradient(135deg, #f0f4f8 0%, #d0e8f2 100%);
}

.product-image.linens {
    background: linear-gradient(135deg, #f5e6f1 0%, #e8d5f2 100%);
}

.product-content {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.product-description {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

.product-price {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 700;
}

.product-price-label {
    font-size: 0.8rem;
    color: #95a5a6;
    font-weight: normal;
    display: block;
}

.product-stock {
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-stock.in-stock {
    background-color: #d5f4e6;
    color: #27ae60;
}

.product-stock.low-stock {
    background-color: #fdeaa8;
    color: #d68910;
}

.product-stock.out-of-stock {
    background-color: #fadbd8;
    color: #c0392b;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #7f8c8d;
}

.empty-state h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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