/**
 * Pie v2.1 — aislado de los layouts heredados de Astra.
 */

#colophon.site-footer {
    clear: both;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: #0f3224 !important;
}

#colophon .lmr-footer,
#colophon .lmr-footer * {
    box-sizing: border-box;
}

#colophon .lmr-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(216, 231, 178, 0.45);
    background: #0f3224;
    color: #fff;
}

#colophon .lmr-footer__inner {
    display: grid !important;
    float: none !important;
    grid-template-areas: "brand shop help";
    grid-template-columns: minmax(22rem, 1.6fr) minmax(12rem, 0.8fr) minmax(14rem, 0.9fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 6.5rem);
    width: min(100% - 64px, 1180px) !important;
    max-width: 1180px !important;
    min-height: 0;
    margin: 0 auto !important;
    padding: clamp(3.5rem, 6vw, 5rem) 0 !important;
}

#colophon .lmr-footer__intro,
#colophon .lmr-footer__nav {
    display: block;
    float: none !important;
    width: auto !important;
    max-width: none;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

#colophon .lmr-footer__intro {
    grid-area: brand;
    max-width: 31rem;
}

#colophon .lmr-footer__nav--shop {
    grid-area: shop;
}

#colophon .lmr-footer__nav--help {
    grid-area: help;
}

#colophon .lmr-footer :where(h2, p, a) {
    color: #fff !important;
}

#colophon .lmr-footer__eyebrow {
    margin: 0 0 0.8rem !important;
    color: #c8df98 !important;
    font-size: 0.75rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

#colophon .lmr-footer__intro h2 {
    margin: 0 0 1rem !important;
    color: #fff !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4vw, 3.4rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 0.95;
}

#colophon .lmr-footer__intro > p:last-child {
    max-width: 29rem;
    margin: 0 !important;
    color: #dce8e1 !important;
    font-size: 1rem;
    line-height: 1.65;
}

#colophon .lmr-footer__nav h2 {
    margin: 0 0 1rem !important;
    padding: 0 0 0.75rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff !important;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

#colophon .lmr-footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

#colophon .lmr-footer__nav li,
#colophon .lmr-footer__nav li + li {
    margin: 0 !important;
    padding: 0 !important;
}

#colophon .lmr-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.45rem 0 !important;
    color: #fff !important;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

#colophon .lmr-footer__nav a::after {
    margin-left: 0.55rem;
    color: #b9d77f;
    content: "→";
    font-size: 1rem;
    transition: transform 160ms ease;
}

#colophon .lmr-footer__nav a:hover,
#colophon .lmr-footer__nav a:focus-visible {
    color: #d8e7b2 !important;
    text-decoration: underline !important;
    text-underline-offset: 0.2em;
}

#colophon .lmr-footer__nav a:hover::after {
    transform: translateX(3px);
}

#colophon .lmr-footer__legal {
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: #09251a;
}

#colophon .lmr-footer__legal-inner {
    display: flex;
    align-items: center;
    width: min(100% - 64px, 1180px);
    min-height: 64px;
    margin: 0 auto;
    padding: 0;
}

#colophon .lmr-footer__legal p {
    margin: 0 !important;
    color: #d3e0d8 !important;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    #colophon .lmr-footer__inner {
        grid-template-areas:
            "brand brand"
            "shop help";
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 3rem;
    }
}

@media (max-width: 620px) {
    #colophon .lmr-footer__inner {
        grid-template-areas:
            "brand"
            "shop"
            "help";
        grid-template-columns: 1fr;
        gap: 2rem;
        width: min(100% - 32px, 1180px) !important;
        padding: 3rem 0 6rem !important;
    }

    #colophon .lmr-footer__intro h2 {
        font-size: clamp(2.25rem, 12vw, 3rem);
    }

    #colophon .lmr-footer__intro > p:last-child {
        font-size: 1.0625rem;
    }

    #colophon .lmr-footer__nav h2 {
        font-size: 0.875rem;
    }

    #colophon .lmr-footer__nav a {
        width: 100%;
        min-height: 48px;
        font-size: 1.0625rem;
    }

    #colophon .lmr-footer__legal-inner {
        align-items: flex-start;
        width: min(100% - 32px, 1180px);
        min-height: 0;
        padding: 1rem 0 5.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #colophon .lmr-footer__nav a::after {
        transition: none;
    }
}
