.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: #19a14d;
    padding: 30px 20px;
    border-top: 2px solid #ccc;
    text-align: center;
}

/* Estilo general para las secciones */
.footer-section {
    flex: 1 1 300px;
    margin: 20px;
    max-width: 400px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #ffffff;
}

/* Redes sociales */
.social-icons a img {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.2);
}

/* Productos */
.footer-center ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-center ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.footer-center ul li img {
    width: 24px;
    height: 24px;
    margin-left: 10px;
}

/* Mensaje derecho */
.footer-right p {
    font-style: italic;
    color: #ffffff;
}

/* Derechos de autor */
.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    font-size: 14px;
    color: #ffffff;
    margin-top: 20px;
}

/* ===== Estilos para íconos Font Awesome en el footer ===== */

/* Íconos de redes sociales */
.social-icons a i {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
    border: solid 1px rgb(255, 255, 255);
}

.social-icons a:hover i {
    transform: scale(1.2);
}

/* Contenedor de íconos sociales */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Ítem individual */
.social-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

/* Íconos sociales */
.social-item i {
    font-size: 2.5rem;
    border-radius: 50%;
    padding: 18px;
    margin-bottom: 8px;
    transition: background-color 0.3s, transform 0.3s;
    color: white;
}

/* Texto debajo del ícono */
.social-item span {
    font-size: 0.95rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}

/* Colores base por red */
.fa-whatsapp {
    background-color: #25D366;
}

.fa-envelope {
    background-color: #D44638;
}

.fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 10%, #fd5949 40%, #d6249f 60%, #285AEB 90%);
}

/* Hover con versión más clara */
.social-item a:hover .fa-whatsapp {
    background-color: #3fe27b;
}

.social-item a:hover .fa-envelope {
    background-color: #e05d4f;
}

.social-item a:hover .fa-instagram {
    opacity: 0.95;
}

/* Hover sutil sin escalar demasiado */
.social-item a:hover i {
    transform: scale(1.08);
}

/* Estilos mejorados para la lista de productos en el footer */
.footer-productos {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-product-link i {
    margin-right: 10px;
    color: #ffffff; 
    font-size: 1.3rem ;
}

.footer-product-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ======================== */
/*    MEDIA QUERIES        */
/* ======================== */

/* Pantallas medianas */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px; /* Reducir padding */
    }
    .footer-section {
        max-width: 100%;
        margin: 10px 0; /* Reducir margen entre secciones */
    }

    .footer-center ul li {
        flex-direction: column;
    }

    .footer-center ul li img {
        margin: 8px 0 0;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {
    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section {
        margin: 8px 0;
        padding: 0 10px;
    }

    .footer-center ul li {
        flex-direction: column;
        margin-bottom: 8px;
    }

    .footer-right p {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 10px;
        padding-top: 10px;
    }

    .social-icons {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .social-item i {
        font-size: 2rem;
        padding: 14px;
    }

    .social-item span {
        font-size: 0.9rem;
    }
}