* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    display: grid;
    grid-template-columns: 70% 30%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    background-color: #c7cc19;
    color: #fff;
    padding: 20px;
    text-align: center;
    grid-column: 1 / span 2;
}

nav {
    background-color: ffa486;
    color: #fff;
    padding: 10px;
    text-align: center;
    grid-column: 1 / span 2;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

a {
    color: #c7cc19;
    text-decoration: none;
    font-weight: bold;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    grid-column: 1;
}

.product-card {
    background-color: #f2f2f2;
    border: 4px solid #ddd;
    padding: 10px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card img {
    max-width: 100%;
    height: 200px;
}

.sidebar {
    background-color: #c7cc19;
    color: #fff;
    padding: 10px;
    grid-column: 2; 
}

.social-icon {
    margin-top: 20px;
}

.social-icon a {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

@media (max-width: 576px) {
    .product-card {
        grid-template-columns: 1fr;
    }
    .product-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .sidebar {
        grid-column: 1 / span 2;
    }

    .footer {
        grid-template-columns: 1fr;
    }
}

    .footer {
        background-color: #c7cc19;
        color: #fff;
        padding: 20px;
        text-align: center;
        display: grid;
    }

    .footer-item {
        padding: 10px;
        line-height: 1.5;
    }

    @media (min-width: 768px) {
        .footer {
            grid-template-columns: repeat(3, 1fr);
        }
    }
.buy-btn {
    background-color: #04AA6D;
    padding: 20px;
    border: 1px solid black;
    color: #fff;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.buy-btn:hover {
    background-color: #45a049;
}

.buy-btn1 {
    border-radius: 2px;
}

.buy-btn2 {
    border-radius: 2px;
}

.buy-btn3 {
    border-radius: 2px;
}

.product-link {
    text-decoration: none;
    color: inherit;
  }
.product-detail {
    display: flex;
    gap: 30px;
    padding: 40px;
  }
  
.product-image img {
    width: 300px;
    border-radius: 8px;
  }
  
.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
.price {
    font-weight: bold;
    color: #e53935;
  }
.back {
    margin-top: 20px;
    color: #555;
  }
.buy-btn6 {
    border-radius: 2px;
}

