/* Storefront footer: scoped so campaign and back-office footers retain their layout. */
footer.site-footer {
    --footer-bg: #e9edef;
    --footer-text: #26323a;
    --footer-muted: #44535d;
    --footer-rule: #b9c4c9;
    --footer-hover: #244e5d;
    background: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid var(--footer-rule);
    padding: 64px 0 26px;
}

footer.site-footer.footer-theme-dark {
    --footer-bg: #292d30;
    --footer-text: #f2f4f4;
    --footer-muted: #cad2d4;
    --footer-rule: #596166;
    --footer-hover: #f2f4f4;
}

footer.site-footer.footer-theme-blue {
    --footer-bg: #215861;
    --footer-text: #f2f8f8;
    --footer-muted: #d5e8e9;
    --footer-rule: #719aa0;
    --footer-hover: #f2f8f8;
}

footer.site-footer.footer-theme-sinya {
    --footer-bg: #2b312d;
    --footer-text: #f2f5f1;
    --footer-muted: #ccd7cd;
    --footer-rule: #5d6a5f;
    --footer-hover: #b1eea7;
}

footer.site-footer.pbimg {
    padding-bottom: 90px;
}

.site-footer .container .footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    align-items: start;
    gap: clamp(48px, 7vw, 112px);
}

.site-footer .footer-brand-name {
    margin: 0;
    color: var(--footer-text);
    font-size: clamp(23px, 2.3vw, 29px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}

.site-footer .footer-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    height: 42px;
    border: 1px solid var(--footer-rule);
    border-radius: 8px;
    color: var(--footer-text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s ease;
}

.site-footer .footer-social a i {
    font-size: 18px;
}

.site-footer .footer-social a:hover {
    color: var(--footer-text);
    background: color-mix(in srgb, var(--footer-text) 10%, transparent);
}

.site-footer .footer-social a:active {
    transform: scale(.96);
}

.site-footer .footer-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 30px;
}

.site-footer .footer-group {
    min-width: 0;
}

.site-footer .footer-group h2 {
    margin: 2px 0 19px;
    color: var(--footer-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.site-footer .footer-group ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-group li {
    margin: 0 0 11px;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.site-footer .footer-group li:last-child {
    margin-bottom: 0;
}

.site-footer .footer-group a {
    display: inline-block;
    color: var(--footer-muted);
    font-weight: 400;
    text-decoration: none;
    text-underline-offset: 4px;
}

.site-footer .footer-group a:hover {
    color: var(--footer-hover);
    font-weight: 400;
    text-decoration: underline;
}

.site-footer a:focus-visible {
    outline: 2px solid var(--footer-text);
    outline-offset: 4px;
    border-radius: 2px;
}

.site-footer .copyRight {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 16px 28px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid var(--footer-rule);
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.6;
}

.site-footer .copyRight .footer-credit {
    margin-left: auto;
    text-align: right;
    color: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
}

.site-footer .copyRight .footer-credit:hover {
    color: var(--footer-hover);
    text-decoration: underline;
}

@media (max-width: 991px) {
    .site-footer .container .footer-content {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer .footer-groups {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 767px) {
    footer.site-footer {
        padding: 44px 0 24px;
    }

    .site-footer .footer-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 22px;
    }

    .site-footer .footer-contact {
        grid-column: 1 / -1;
    }

    .site-footer .copyRight {
        flex-direction: column;
        gap: 5px;
        margin-top: 42px;
    }

    .site-footer .copyRight .footer-credit {
        margin-left: 0;
        text-align: left;
    }
}

@media (max-width: 380px) {
    .site-footer .footer-groups {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer .footer-social a {
        transition: none;
    }
}
