/* Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #28a745;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    font-size: 24px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.header-right input {
    padding: 7px;
    border: none;
    border-radius: 5px;
    margin-right: px;
}

.header-right button {
    padding: 7px 15px;
    background-color: white;
    color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Banner Styling */
.banner {
    background-color: #ffcc00;
    padding: 50px;
    text-align: center;
    color: white;
}

.banner h2 {
    font-size: 36px;
}

.banner p {
    font-size: 18px;
}

/* Product Section Styling */
.products {
    padding: 20px;
    text-align: center;
    background-color: green;
}


.topdiscounts{
    padding: 20px;
    text-align: center;
    background-color:green;
}


.products h3 {
    margin-bottom: 20px;
    font-size: 28px;
}

.product-list {
    display: flex;
    justify-content: space-around;
}

.product {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 30%;
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product .price {
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

.product .discount {
    text-decoration: line-through;
    color: red;
    font-size: 14px;
    margin-left: 10px;
}

.product button {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product button:hover {
    background-color: #218838;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}


/* Section styling */
.top-discounts {
    margin: 40px 0;
}

.top-discounts h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.product {
    width: 200px;
    text-align: center;
    border: 1px solid #e0e0e0;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    /* transition: transform 0.3s ease-in-out; */
}

/* .product:hover {
    transform: scale(1.05);
} */

.product img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.price {
    font-size: 18px;
    color: #555;
    margin-top: 10px;
}

.discount {
    text-decoration: line-through;
    font-size: 14px;
    color: #a0a0a0;
}

.discount-percent {
    font-size: 16px;
    color: #dc3545; 
    margin-top: 5px;
}

button {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background-color: #218838;
}

section{
    background-color: green;
}