/* APC Outdoor — custom footer
   Brand-cohesive footer with reassurance bar, 4 columns, and legal sub-bar. */

.apc-footer {
    --apc-footer-bg: #1F3A2C;        /* deep forest green (palette2) */
    --apc-footer-bg-alt: #142A1F;    /* deeper green for sub-bar */
    --apc-footer-fg: #ECEFEC;        /* off-white text */
    --apc-footer-fg-muted: #98AA9F;  /* muted greenish-gray */
    --apc-footer-border: rgba(255, 255, 255, 0.10);
    --apc-footer-accent: #C7D9CD;    /* mint accent for headings */

    background: var(--apc-footer-bg);
    color: var(--apc-footer-fg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-top: 60px;
}

/* === Reassurance bar === */
.apc-footer__reassurance {
    background: #fafafa;
    color: #1a1a1a;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}
.apc-footer__reassurance-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.apc-reassurance {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #1a1a1a;
}
.apc-reassurance svg {
    flex-shrink: 0;
    color: var(--apc-footer-bg);
    margin-top: 2px;
}
.apc-reassurance__text { display: flex; flex-direction: column; gap: 2px; }
.apc-reassurance__text strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a1a1a;
}
.apc-reassurance__text span {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

/* === Main footer === */
.apc-footer__main {
    border-bottom: 1px solid var(--apc-footer-border);
}
.apc-footer__main-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 32px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: 48px;
}

.apc-footer__col {
    color: var(--apc-footer-fg);
}
.apc-footer__col--brand { padding-right: 24px; }

.apc-footer__logo { display: inline-block; margin-bottom: 18px; max-width: 240px; }
.apc-footer .apc-footer__logo img,
body.woocommerce .apc-footer .apc-footer__logo img,
body.woocommerce-page .apc-footer .apc-footer__logo img {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 100% !important;
    display: block !important;
}
.apc-footer__logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--apc-footer-fg);
    letter-spacing: -0.01em;
}
.apc-footer__pitch {
    font-size: 14px;
    line-height: 1.6;
    color: var(--apc-footer-fg-muted);
    margin: 0 0 22px;
    max-width: 380px;
}
.apc-footer__address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--apc-footer-fg-muted);
}

.apc-footer__heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--apc-footer-accent);
    margin: 0 0 18px;
}
.apc-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.apc-footer__list li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}
.apc-footer__list a {
    color: var(--apc-footer-fg);
    text-decoration: none;
    transition: color .15s, transform .15s;
    display: inline-block;
}
.apc-footer__list a:hover { color: var(--apc-footer-accent); }

.apc-footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--apc-footer-fg);
}
.apc-footer__contact svg {
    color: var(--apc-footer-accent);
    flex-shrink: 0;
}
.apc-footer__contact-cta {
    margin-top: 6px;
    font-weight: 600;
    color: var(--apc-footer-accent) !important;
}
.apc-footer__contact-cta:hover { text-decoration: underline; }

/* === Bottom bar === */
.apc-footer__bottom {
    background: var(--apc-footer-bg-alt);
    color: var(--apc-footer-fg-muted);
}
.apc-footer__bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.apc-footer__legal {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--apc-footer-fg-muted);
    letter-spacing: 0.02em;
}
.apc-footer__legal-sep {
    margin: 0 6px;
    opacity: 0.5;
}

/* === Payment badges === */
.apc-footer__payments {
    display: flex;
    align-items: center;
    gap: 10px;
}
.apc-footer__payments-label {
    font-size: 12px;
    color: var(--apc-footer-fg-muted);
    margin-right: 4px;
}
.apc-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 28px;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.apc-pay--visa {
    background: linear-gradient(180deg, #1A1F71 0%, #0E2884 100%);
    color: #fff;
    font-style: italic;
    letter-spacing: 0.06em;
}
.apc-pay--amex {
    background: linear-gradient(180deg, #2E77BB 0%, #006FCF 100%);
    color: #fff;
}
.apc-pay--mc {
    background: #fff;
    position: relative;
    overflow: hidden;
}
.apc-pay-mc-l, .apc-pay-mc-r {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: absolute;
    top: 6px;
}
.apc-pay-mc-l { background: #EB001B; left: 5px; }
.apc-pay-mc-r { background: #F79E1B; right: 5px; mix-blend-mode: multiply; }

/* === Responsive === */
@media (max-width: 1024px) {
    .apc-footer__reassurance-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .apc-footer__main-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 48px 24px 32px;
    }
}
@media (max-width: 640px) {
    .apc-footer__reassurance-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }
    .apc-footer__main-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 20px 28px;
    }
    .apc-footer__col--brand { padding-right: 0; }
    .apc-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }
    .apc-footer__legal { text-align: left; }
    .apc-footer__legal-sep { display: inline; }
}
