/* ═══════════════════════════════════════
   Footer - Angeles del Hogar v1.2
   Fondo blanco, textos oscuros
   ═══════════════════════════════════════ */

/* Ocultar footer por defecto de Astra */
.site-below-footer-wrap {
    display: none !important;
}

.adh-footer {
    background-color: #ffffff;
    color: #475569;
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e2e8f0;
}

.adh-footer *,
.adh-footer *::before,
.adh-footer *::after {
    box-sizing: border-box;
}

.adh-footer a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.adh-footer a:hover {
    color: #046bd2;
}

/* ── Container ── */

.adh-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Marketplaces Row ── */

.adh-footer__marketplaces {
    padding: 28px 0;
    background: #f8fafc;
}

.adh-footer__marketplaces .adh-footer__container {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.adh-footer__mp-label {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.adh-footer__mp-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.adh-footer__mp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adh-footer__mp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.adh-footer__mp-link img {
    max-width: 96px;
    max-height: 38px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* ── Separator ── */

.adh-footer__separator {
    padding: 0;
}

.adh-footer__separator hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 0;
}

/* ── Main Section ── */

.adh-footer__main {
    padding: 40px 0 36px;
}

.adh-footer__main .adh-footer__container {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1fr 1.2fr;
    gap: 36px;
}

/* ── Brand Column ── */

.adh-footer__logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 16px;
}

.adh-footer__logo-link {
    display: inline-block;
}

.adh-footer__desc {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* ── Social Icons ── */

.adh-footer__social {
    display: flex;
    gap: 10px;
}

.adh-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.adh-footer__social-link:hover {
    background: #046bd2;
    color: #ffffff;
    transform: translateY(-2px);
}

.adh-footer__social-link--wa:hover {
    background: #25D366;
    color: #ffffff;
}

/* ── Column Titles ── */

.adh-footer__title {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 10px;
    position: relative;
}

.adh-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #046bd2;
    border-radius: 1px;
}

/* ── Links List ── */

.adh-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adh-footer__links li {
    margin-bottom: 8px;
}

.adh-footer__links a {
    font-size: 14px;
    color: #64748b;
    position: relative;
    padding-left: 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.adh-footer__links a:hover {
    padding-left: 6px;
    color: #046bd2;
}

/* ── Contact List ── */

.adh-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adh-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #475569;
}

.adh-footer__contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #046bd2;
}

.adh-footer__contact a {
    color: #475569;
}

.adh-footer__contact a:hover {
    color: #046bd2;
}

/* ── WebPay Image ── */

.adh-footer__webpay-img {
    max-width: 180px;
    height: auto;
    border-radius: 4px;
}

/* ── Map ── */

.adh-footer__map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.adh-footer__map iframe {
    display: block;
    width: 100%;
}

/* ── Bottom Bar ── */

.adh-footer__bottom {
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
    background: #f8fafc;
}

.adh-footer__bottom .adh-footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.adh-footer__copy {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

.adh-footer__dev {
    margin: 0;
    font-size: 12px;
}

.adh-footer__dev a {
    color: #64748b;
}

.adh-footer__dev a:hover {
    color: #046bd2;
}

/* ═══════════════════════════════════════
   Responsive
   ═══════════════════════════════════════ */

@media (max-width: 991px) {
    .adh-footer__main .adh-footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .adh-footer__marketplaces {
        padding: 20px 0;
    }

    .adh-footer__mp-logos {
        gap: 12px;
    }

    .adh-footer__mp-link img {
        max-width: 72px;
        max-height: 29px;
    }

    .adh-footer__main {
        padding: 32px 0 24px;
    }

    .adh-footer__main .adh-footer__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .adh-footer__bottom .adh-footer__container {
        flex-direction: column;
        text-align: center;
    }

    .adh-footer__social {
        justify-content: flex-start;
    }
}
