* {
    box-sizing: border-box;
 
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f7f7f7;
}




.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    padding: 25px 15px;
    background-color: black;
}




.logo {
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto 30px;
    object-fit: contain;
}


nav a {
    display: block;
    padding: 13px 10px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #444;
}

nav a:hover,
nav a.active {
    background-color: #f5c400;
    color: black;
}

.content {
    margin-left: 220px;
    padding: 35px;
}



.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 350px;
    padding: 40px;
    background-color: white;
}



.hero h1 {
    margin-top: 0;
    font-size: 42px;
}



.hero p {
    font-size: 18px;
}



.hero img {
    width: 45%;
    max-width: 400px;
    height: 270px;
    object-fit: contain;
    background-color: white;
}


.button {
    display: inline-block;
    padding: 12px 20px;
    color: white;
    background-color: black;
    text-decoration: none;
}

 .button:hover {
    background-color: #f5c400; 
    color: black;              
}


.welcome,
.featured {
    padding: 35px 0;
}



h2 {
    color: black;
}




.product-list {
    display: flex;
    gap: 25px;
}



.product-card {
    width: 300px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
}




.product-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
}

.product-card h3 {
    margin-bottom: 8px;
}





.price {
    font-weight: bold;
    color: goldenrod;
}





footer {
    margin-top: 30px;
    padding: 25px;
    text-align: center;
    color: white;
    background-color: black;
}



.button#addToCart {
    background-color: #f5c400; 
    color: black;              
}




footer a {
    margin: 0 10px;
    color: white;
}


h2 {
    margin-top: 40px;
    padding: 12px;
    color: white;
    background-color: #777;
}



.products {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product {
    display: flex;
    gap: 25px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
}

.product img {
    width: 260px;
    height: 190px;
    object-fit: contain;
    flex-shrink: 0;
}

.product h3 {
    margin-top: 0;
    font-size: 24px;
    color: #222;
}

.product p {
    line-height: 1.5;
}

.product li {
    margin-bottom: 6px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #b18b00;
}

.button#addToCart {
    background-color: #f5c400; 
    color: black;              
}


footer {
    margin-top: 35px;
    padding: 25px;
    text-align: center;
    color: white;
    background-color: black;
}

footer a {
    margin: 0 10px;
    color: white;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


@media (max-width: 700px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        text-align: center;
}

.logo {
        width: 120px;
        height: 120px;
}

.content {
        margin-left: 0;
        padding: 20px;
}
.product-buttons button {
        background-color: black;
        color: white;
        border: 1px solid white;
        padding: 5px 10px;
        cursor: pointer;
    }
.product {
        flex-direction: column;
}

.product img {
        width: 100%;
        height: 220px;
    }

.product-buttons {
        background-color: black;
        padding: 10px;
    }
    
 .product-buttons {
        background-color: black;
        padding: 10px;
    }

