/* salesStyles.css */


/* Sales Page */
.sales-container {
    padding: 50px 20px;
    text-align: center;
}

.sales-container h1 {
    font-size: 36px;
    margin: 50px 0 50px 0;
    color: #333;
    text-transform: uppercase;
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    animation: fadeIn 1s ease-in-out;
}

/* Product Card */
.product-card {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    overflow: hidden;
    border-radius: 12px;
    height: 200px;
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.product-image-wrapper:hover .product-image {
    transform: scale(1.1);
}

.product-card h3 {
    font-size: 24px;
    margin: 10px 0;
}

.product-card p {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.product-price {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
}

.sales-price {
    font-size: 20px;
    color: #ff7f50;
}

.no-sale {
    font-size: 16px;
    color: #888;
}

/* Product Actions - Buttons */
.product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Buttons */
.add-to-cart-btn,
.view-details-btn {
    background-color: #ff7f50;
    padding: 10px 10px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.add-to-cart-btn:hover,
.view-details-btn:hover {
    background-color: #ff6347;
    transform: scale(1.05);
}
