* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F4F1EB; /* Blanco hueso */
    color: #3E593C; /* Verde musgo */
}

header {
    background-color: #3E593C; /* Verde musgo */
    color: #F4F1EB; /* Blanco hueso */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #F4F1EB;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
}

nav a:hover {
    color: #A8B5A7; /* Tono más claro para hover */
}

section {
    padding: 2rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: #F4F1EB;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.product-card p {
    font-family: 'Lora', serif;
    color: #3E593C;
}

.product-card button, .payment-options button {
    background-color: #3E593C;
    color: #F4F1EB;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.product-card button:hover, .payment-options button:hover {
    background-color: #2E432C; /* Verde musgo más oscuro */
}

#cart-items {
    margin-bottom: 1rem;
}

#cart-items div {
    background-color: #F4F1EB;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-family: 'Lora', serif;
}

.payment-options {
    margin-top: 1rem;
}

.payment-option {
    background-color: #F4F1EB;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.payment-option h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.payment-option p {
    font-family: 'Lora', serif;
    margin: 0.3rem 0;
}

#product-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#product-form label {
    font-family: 'Lora', serif;
    text-align: left;
}

#product-form input {
    padding: 0.5rem;
    border: 1px solid #3E593C;
    border-radius: 5px;
    font-family: 'Lora', serif;
}

#product-form button {
    background-color: #3E593C;
    color: #F4F1EB;
}

#product-form button:hover {
    background-color: #2E432C;
}

footer {
    background-color: #3E593C;
    color: #F4F1EB;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    font-family: 'Lora', serif;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}