/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #333;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 15px;
}

nav ul li {
    padding: 5px 10px;
}

nav ul li a {
    color: #fff;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f09d42;
}

/* Hero Section */
.hero {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSOHabJD5Y43qNwYyPQdbfrDsEDJWWPvjmMFg&s');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.shop-now {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f09d42;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.shop-now:hover {
    background-color: #d08b37;
}

/* Categories Section */
.categories {
    text-align: center;
    margin: 40px 0;
}

.categories h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.categories ul {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.categories ul li {
    padding: 10px 20px;
    background-color: #333;
    border-radius: 25px;
    color: #fff;
    transition: background-color 0.3s;
}

.categories ul li:hover {
    background-color: #f09d42;
}

.categories ul li a {
    color: inherit;
    font-weight: bold;
}

/* Products Section */
.featured-products {
    padding: 20px;
}

.featured-products h2 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.product {
    background-color: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 220px;
    text-align: center;
    transition: transform 0.3s;
}

.product:hover {
    transform: scale(1.05);
}

.product img {
    max-width: 100%;
    border-radius: 10px;
    transition: opacity 0.3s;
}

.product img:hover {
    opacity: 0.8;
}

.product h3 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product p {
    font-size: 1.1em;
    margin: 5px 0;
    color: #f09d42;
}

.add-to-cart {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f09d42;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #d08b37;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: #f09d42;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .categories ul {
        flex-direction: column;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }
}




/* Cart Styles */
#cart-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    background-color: #fff;
}

.cart-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.cart-item-actions input {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

.cart-item-actions button {
    background-color: #f09d42;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cart-item-actions button:hover {
    background-color: #d08b37;
}

.cart-total {
    text-align: center;
    margin-top: 20px;
}

.cart-total h2 {
    font-size: 1.5em;
}

#checkout-button {
    padding: 10px 20px;
    background-color: #f09d42;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}

#checkout-button:hover {
    background-color: #d08b37;
}




