body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f5ef;
    color: #222222;
}

header {
    background: #2f5d50;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

header p {
    margin: 10px 0 0 0;
    font-size: 18px;
}

nav {
    background: #d8cbb3;
    padding: 12px;
    text-align: center;
}

nav a {
    color: #222222;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
    display: inline-block;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    width: 85%;
    margin: 20px auto;
}

.hero {
    background: #e7dfd0;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.hero h2 {
    margin-top: 0;
    font-size: 42px;
}

.hero p {
    font-size: 18px;
}

.box {
    background: white;
    border: 1px solid #cccccc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.product {
    width: 30%;
    background: #ffffff;
    border: 1px solid #cccccc;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.product h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.product p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-image-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #eeeeee;
}

.product-img {
width:100%;
height:220px;
object-fit:cover;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

input[type="submit"] {
    width: auto;
    background: #2f5d50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

input[type="submit"]:hover {
    background: #24473d;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #cccccc;
}

th,
td {
    padding: 10px;
    text-align: left;
}

footer {
    background: #2f5d50;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive layout */
@media screen and (max-width: 1000px) {
    .product {
        width: 47%;
    }
}

@media screen and (max-width: 700px) {
    .container {
        width: 92%;
    }

    .product {
        width: 100%;
    }

    nav a {
        display: block;
        margin: 8px 0;
    }

    .hero h2 {
        font-size: 30px;
    }
}