/* Products Page Styles */

.products-hero {
    background: linear-gradient(135deg, #ED8DBF 0%, #FFA8D5 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.products-hero h1 {
    font-size: 48px;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.products-hero p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
}

.products-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    width: 100%;
    height: 280px;
    position: relative;
    background: #e9ecef;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, #f5f7fa, #e9ecef);
}

.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.out-of-stock {
    background: #dc3545;
    color: white;
}

.low-stock {
    background: #ffc107;
    color: #000;
}

.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-weight: 600;
}

.product-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 16px 0;
    min-height: 42px;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #ED8DBF;
    margin: 16px 0;
}

.product-stock {
    font-size: 14px;
    margin: 12px 0;
}

.in-stock {
    color: #28a745;
    font-weight: 500;
}

.product-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.empty-state p {
    font-size: 18px;
    color: #6c757d;
    margin: 0 0 24px 0;
}

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