body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0; 
    background-color: #f9f9fb;
    color: #444;
    line-height: 1.7;
}

nav {
    background-color: #2d6a4f;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #a8df65;
}

.hero {
    text-align: center;
    background: linear-gradient(to right, #2d6a4f, #95d5b2);
    color: white;
    padding: 80px 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    margin: 20px 0 40px;
}

.hero .btn {
    padding: 15px 35px;
    background-color: #ffffff;
    color: #2d6a4f;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    background-color: #e6ffe6;
    transform: translateY(-3px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    max-height: 450px;
    overflow: hidden;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product img:hover {
    transform: scale(1.05);
}

.product h3 {
    margin: 10px 0;
    color: #2d6a4f;
    font-size: 1.3rem;
    font-weight: 600;
}

.product p {
    color: #666;
    font-size: 1rem;
    margin: 10px 0;
    flex-grow: 1;
    min-height: 50px;
}

.product .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #2d6a4f;
    color: white;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product .btn:hover {
    background-color: #95d5b2;
    transform: translateY(-3px);
}

.cart-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cart-page h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2d6a4f;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.cart-table th {
    background-color: #f4f4f9;
    font-weight: bold;
    color: #333;
}

.cart-table tr:nth-child(even) {
    background-color: #f9f9fb;
}

.cart-summary {
    text-align: right;
    margin-top: 20px;
    font-size: 1.2rem;
}

.cart-summary strong {
    color: #2d6a4f;
}

.btn-checkout {
    display: inline-block;
    padding: 15px 30px;
    background-color: #2d6a4f;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background-color: #95d5b2;
    transform: translateY(-3px);
}

.btn-remove {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-remove:hover {
    background-color: #d62828;
}

footer {
    background-color: #2d6a4f;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.product-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.product-detail h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-detail img {
    width: 250px;
    height: 356px;
    object-fit: cover;
    margin-bottom: 20px;
}

.product-info {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.product-info li {
    margin: 10px 0;
    font-size: 1.1em;
    padding-left: 10px; 
}

.product-info li strong {
    font-weight: bold;
}

.btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    border-radius: 5px;
}

.btn:hover {
    background-color: #45a049;
}
