body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #fafafa;
    color: #222;
}
header {
    background: #24515c;
    color: #fff;
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    height: 40px;
    margin-left: 1em;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1em;
    font-weight: bold;
}
nav a.active, nav a:hover {
    text-decoration: underline;
}
.hero {
    background: #e8f1f3;
    padding: 3em 0;
    text-align: center;
}
.hero h1 {
    margin: 0 0 1em 0;
}
.btn {
    background: #24515c;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}
.featured, .products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2em 0;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(36,81,92,0.1);
    margin: 1em;
    padding: 1em;
    width: 220px;
    text-align: center;
}
.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}
footer {
    background: #24515c;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    margin-top: 2em;
}
.contact-form {
    max-width: 400px;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
}
.contact-form label {
    margin-top: 1em;
}
.contact-form input, .contact-form textarea {
    padding: 0.7em;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-top: 0.4em;
}
.cart-items, .cart-summary {
    max-width: 600px;
    margin: 2em auto;
}
/* --- Media Query for Mobile Devices (Max Width 600px) --- */
@media (max-width: 600px) {
    /* Adjust Header Layout */
    header {
        /* Stack logo and navigation vertically */
        flex-direction: column;
        text-align: center;
    }
    nav {
        /* Add some space above the navigation links */
        padding-top: 0.5em;
    }
    .logo {
        /* Center the logo on small screens and remove left margin */
        margin: 0 auto;
    }
    
    /* Make Product Cards Full-Width or Near Full-Width */
    .product-card {
        /* Products take up more space on small screens */
        width: 90%; 
        max-width: 300px; /* Optional max to prevent it from getting too wide on tablets */
    }
    
    /* Adjust Call-to-Action button size for better tapping */
    .btn {
        padding: 1em 2em; /* Bigger tap target */
    }
    
    /* Center text in the hero section */
    .hero {
        padding: 2em 1em;
    }
}
}
