* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    line-height: 1.6;
}

header {
    background-color: #28a745;
    padding: 10px;
    color: white;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
}

h1 {
    margin-top: 20px;
    font-size: 28px;
    text-align: center;
}

.banner img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.productos-destacados, .servicios, .testimonios {
    padding: 20px;
    text-align: center;
}

.productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.producto {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
}

.producto img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.producto h3 {
    font-size: 18px;
    margin: 10px 0;
}

.producto .precio {
    font-weight: bold;
    color: #28a745;
    margin: 5px 0;
}

.producto .comprar {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.producto .comprar:hover {
    background-color: #218838;
}

footer {
    background-color: #28a745;
    padding: 10px;
    color: white;
    text-align: center;
}

.footer-section {
    margin: 10px 0;
}

#carrito-navegacion a {
    display: flex;
    align-items: center;
}

#carrito-contador {
    background-color: white;
    color: #28a745;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    .producto {
        width: 100%;
        max-width: 300px;
    }

    .banner img {
        max-height: 200px;
    }

    .productos-destacados h2, .servicios h2, .testimonios h2 {
        font-size: 20px;
    }
}

