.footer-container {
    background-color: white;
    width: 100%;
    padding: 36px 40px 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    margin-top: auto;
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h3 {
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: var(--font-weight-bold, 500);
}

/* Medios de pago: cada logo va en una "chapita" del mismo tamaño para que
   logos de proporciones distintas se vean parejos. */
.payment-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.payment-icons + .payment-icons {
    margin-top: 10px;
}
.payment-icons img {
    box-sizing: border-box;
    width: 56px;
    height: 34px;
    padding: 4px 6px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
}
.payment-icons i {
    line-height: 1; /* fa-xl trae un line-height mínimo y el glifo se sale de su caja */
}

/* Insignia de sitio seguro: SVG en línea con currentColor para que respete
   los colores del footer de cada tienda (incluidos fondos oscuros). */
.footer-secure {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.75;
}
.footer-secure-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    color: var(--color-success, #188731);
}
.footer-secure-shield {
    fill: currentColor;
    fill-opacity: 0.12;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linejoin: round;
}
.footer-secure-shackle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
}
.footer-secure-icon rect {
    fill: currentColor;
}
.footer-secure-text strong {
    font-weight: var(--font-weight-bold, 500);
}
.footer-secure-text small {
    font-size: inherit;
}
.footer-secure-text small::before {
    content: " · ";
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.contact-links {
    display: flex;
    align-items: center;
}
.contact-links img {
    height: 20px;
    margin-right: 10px;
}
.contact-links i {
    margin-right: 10px;
    color: black;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--color-light-300, #e2e2e2);
}
.footer-bottom .created-with {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--color-dark-300, #737373);
}
.footer-bottom .created-with img {
    height: 22px;
    margin-left: 5px;
}
.footer-bottom img {
    height: 30px;
}
.footer-terms-link {
    font-size: 12px;
    color: var(--color-dark-600, #999);
    text-decoration: none;
    white-space: nowrap;
}
.footer-terms-link:hover {
    color: var(--color-dark-200, #666);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .footer-container {
        padding: 28px 16px 16px;
    }
    .footer-top {
        gap: 28px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
