/* Anker Gadgets Footer v1.0.0 — scoped to avoid theme conflicts. */
.ag-site-footer {
    background: var(--ag-footer-bg, #071a2a) !important;
    color: var(--ag-footer-text, #afc0cf);
    padding: var(--ag-footer-top, 48px) 0 var(--ag-footer-bottom, 18px) !important;
    position: relative;
    overflow: hidden;
}

.ag-site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--ag-footer-accent, #ffb000), transparent 72%);
    opacity: .9;
}

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

.ag-site-footer__container {
    width: calc(100% - 32px);
    max-width: min(var(--ag-footer-width, 1300px), var(--ag-storefront-max-width, 1300px));
    margin: 0 auto;
}

.ag-site-footer__main {
    display: grid !important;
    grid-template-columns: minmax(240px, .9fr) minmax(360px, 1.55fr) minmax(280px, 1fr);
    gap: 52px;
    padding: 0 0 34px !important;
    border-bottom: 1px solid var(--ag-footer-border, #23394a) !important;
}

.ag-site-footer__column {
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.ag-site-footer__heading {
    margin: 0 0 24px !important;
    color: var(--ag-footer-heading, #fff) !important;
    font-size: 13px !important;
    line-height: 1.4;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    text-align: left !important;
}

.ag-site-footer__support-card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 74px;
    margin: 0 0 14px;
    padding: 12px 18px;
    border: 1px solid var(--ag-footer-border, #23394a);
    border-radius: 42px;
    color: var(--ag-footer-text, #afc0cf);
    background: rgba(255, 255, 255, .018);
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.ag-site-footer__support-card:hover,
.ag-site-footer__support-card:focus {
    color: var(--ag-footer-text, #afc0cf);
    border-color: var(--ag-footer-accent, #ffb000);
    background: rgba(255, 255, 255, .045);
    transform: translateY(-1px);
    text-decoration: none;
    outline: none;
}

.ag-site-footer__support-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    padding-right: 14px;
    border-right: 1px solid var(--ag-footer-border, #23394a);
    color: var(--ag-footer-heading, #fff);
    font-size: 23px !important;
    line-height: 40px !important;
    text-align: center;
}

.ag-site-footer__support-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
}

.ag-site-footer__support-copy small {
    margin-bottom: 2px;
    color: var(--ag-footer-text, #afc0cf);
    font-size: 10px;
    letter-spacing: .2px;
}

.ag-site-footer__support-copy strong {
    color: var(--ag-footer-accent, #ffb000);
    font-size: 18px;
    font-weight: 600;
    word-break: break-word;
}

.ag-site-footer__support-copy span,
.ag-site-footer__support-copy em {
    margin-top: 3px;
    color: var(--ag-footer-text, #afc0cf);
    font-size: 10px;
    font-style: normal;
}

.ag-site-footer__support-copy em {
    opacity: .82;
}

.ag-site-footer__links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    text-align: left !important;
}

.ag-site-footer__links li {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
    line-height: 1.4 !important;
}

.ag-site-footer__links li::after {
    display: none !important;
}

.ag-site-footer__links a {
    display: inline-flex;
    align-items: center;
    color: var(--ag-footer-text, #afc0cf) !important;
    font-size: 13px !important;
    line-height: 1.45;
    white-space: normal !important;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.ag-site-footer__links a::before {
    content: "";
    width: 0;
    height: 1px;
    margin-right: 0;
    background: var(--ag-footer-accent, #ffb000);
    transition: width .2s ease, margin-right .2s ease;
}

.ag-site-footer__links a:hover,
.ag-site-footer__links a:focus {
    color: var(--ag-footer-heading, #fff) !important;
    text-decoration: none;
    transform: translateX(2px);
    outline: none;
}

.ag-site-footer__links a:hover::before,
.ag-site-footer__links a:focus::before {
    width: 10px;
    margin-right: 7px;
}

.ag-site-footer__contact h3 {
    margin: 0 0 13px;
    color: var(--ag-footer-heading, #fff);
    font-size: 15px;
    font-weight: 600;
}

.ag-site-footer__contact p {
    display: flex;
    align-items: flex-start;
    max-width: none !important;
    margin: 0 0 15px !important;
    color: var(--ag-footer-text, #afc0cf) !important;
    font-size: 13px !important;
    line-height: 1.7;
    text-align: left !important;
}

.ag-site-footer__contact p > .material-icons {
    flex: 0 0 22px;
    margin: 2px 10px 0 0;
    color: var(--ag-footer-accent, #ffb000);
    font-size: 18px !important;
    line-height: 1;
}

.ag-site-footer__email span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ag-site-footer__email small {
    margin-bottom: 2px;
    color: var(--ag-footer-text, #afc0cf);
    font-size: 11px;
}

.ag-site-footer__email a {
    color: var(--ag-footer-accent, #ffb000) !important;
    font-size: 13px;
    word-break: break-word;
}

.ag-site-footer__social-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ag-footer-border, #23394a);
    color: var(--ag-footer-text, #afc0cf);
    font-size: 12px;
}

.ag-site-footer__social-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ag-site-footer__social-links a {
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ag-footer-border, #23394a);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06) !important;
    color: var(--ag-footer-heading, #fff) !important;
    font-size: 12px !important;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.ag-site-footer__social-links a:hover,
.ag-site-footer__social-links a:focus {
    border-color: var(--ag-footer-accent, #ffb000);
    background: var(--ag-footer-accent, #ffb000) !important;
    color: #071a2a !important;
    text-decoration: none;
    outline: none;
}

.ag-site-footer__bottom {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0 0 !important;
}

.ag-site-footer__bottom p {
    margin: 0 !important;
    color: var(--ag-footer-text, #afc0cf) !important;
    font-size: 11px !important;
    line-height: 1.5;
}

.ag-site-footer__credit {
    text-align: right;
}

.ag-site-footer__credit span {
    margin-right: 4px;
}

.ag-site-footer__credit a {
    color: var(--ag-footer-heading, #fff) !important;
    font-weight: 600;
    text-decoration: none;
}

.ag-site-footer__credit a:hover,
.ag-site-footer__credit a:focus {
    color: var(--ag-footer-accent, #ffb000) !important;
    text-decoration: underline;
}

@media (max-width: 1100px) {
    .ag-site-footer__main {
        grid-template-columns: minmax(230px, .85fr) minmax(320px, 1.25fr) minmax(240px, .9fr);
        gap: 32px;
    }

    .ag-site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .ag-site-footer {
        padding-top: 34px !important;
        padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
    }

    .ag-site-footer__container {
        width: calc(100% - 28px);
    }

    .ag-site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 26px;
        padding-bottom: 28px !important;
    }

    .ag-site-footer__contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .ag-site-footer__container {
        width: calc(100% - 24px);
    }

    .ag-site-footer__main {
        display: block !important;
    }

    .ag-site-footer__column {
        margin-bottom: 30px !important;
    }

    .ag-site-footer__column:last-child {
        margin-bottom: 0 !important;
    }

    .ag-site-footer__heading {
        margin-bottom: 16px !important;
        font-size: 12px !important;
        text-align: left !important;
    }

    .ag-site-footer__support-card {
        min-height: 68px;
        padding: 10px 15px;
    }

    .ag-site-footer__support-copy strong {
        font-size: 17px;
    }

    .ag-site-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 18px;
        text-align: left !important;
    }

    .ag-site-footer__links li {
        padding-bottom: 13px !important;
    }

    .ag-site-footer__contact p {
        text-align: left !important;
    }

    .ag-site-footer__social-row,
    .ag-site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ag-site-footer__credit {
        text-align: left;
    }
}
