/* featured.css */

/* Featured Products Container */
.featured-products-container {
    background-color: #2c2c2c; /* Matching the existing dark theme */
    padding: 20px;
    border-radius: 10px;
    max-width: 40%;
    margin: 0 auto;
}

/* Featured Products Header */
.featured-products-header {
    text-align: center;
    color: #ffffff; /* Matching the existing text color */
    font-size: 2.5em;
    margin: 20px 0;
}

/* Product Grid */
.products-grid {
    display: grid;
    gap: 20px;
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Product Card */
.product-card {
    background-color: #333; /* Matching the existing card background */
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Product Image */
.product-card img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

/* Product Title */
.product-card h2 {
    font-size: 1.25em;
    color: #fff; /* Matching the existing text color */
    margin: 10px 0;
}

/* Product Description */
.product-card p {
    font-size: 0.9em;
    color: #bbb; /* Matching the existing text color */
    margin: 10px 0;
}

/* Product Price */
.price {
    font-size: 1.5em;
    color: #ffcc00; /* Matching the existing price color */
    margin: 20px 0;
}

/* Buy Button */
.btn-buy {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #007bff; /* Matching the existing button color */
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-buy:hover {
    background-color: #0056b3; /* Matching the existing button hover color */
}
