* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
    background-color: white;
    display: flex;
    align-items: center;
    padding: 12px 40px;
    color: white;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
}

.search-box {
    flex: 1;
    display: flex;
}

.search-box input {
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
}

.search-box button {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
}

.nav-links a {
    color: black;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

/* ===== CATEGORIES ===== */
.categories {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.category img {
    width: 50px;
    height: 50px;
    margin-bottom: 6px;
}

.category:hover {
    color: #2874f0;
}

/* ===== BANNER ===== */
.banner {
    background: linear-gradient(to right, #2874f0, #4facfe);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.banner h1 {
    font-size: 36px;
}

.banner p {
    margin-top: 10px;
    font-size: 18px;
}

/* ===== PRODUCTS ===== */
.products {
    padding: 40px;
    background-color: #f1f3f6;
}

.products h2 {
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.product-card p {
    color: green;
    font-weight: bold;
}

.product-card button {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #2874f0;
    color: white;
    border: none;
    cursor: pointer;
}

.product-card button:hover {
    background-color: #0b5ed7;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #172337;
    color: white;
    text-align: center;
    padding: 20px;
}