/* Shared storefront directory, loaded after the site theme. */
.footer .footer-brand-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 0 12px;
}
.footer .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding-inline: 4px;
    color: var(--footer-ink);
    font-size: 14px;
    font-weight: 600;
}
.footer-brand-link i {
    width: 18px;
    text-align: center;
    font-size: 18px;
}
.footer .footer-brand-link[aria-disabled="true"] {
    color: var(--footer-muted);
}
.footer a.footer-brand-link:hover {
    color: var(--footer-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.footer .footer-tagline {
    text-wrap: balance;
}
.footer .footer-grid {
    align-items: start;
}
.footer .footer-col-legal {
    border-left: 0;
    padding-left: 0;
}
.footer .footer-fold-toggle .footer-col-title {
    color: var(--footer-ink);
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.025em;
}
.footer .footer-fold-toggle .footer-col-title::after {
    display: none;
}
.footer .footer-links a {
    color: var(--footer-muted);
    text-underline-offset: 4px;
}
.footer .footer-links a:hover,
.footer .footer-store-channels a:hover {
    color: var(--footer-blue);
    text-decoration: underline;
}
.footer .footer-col-contact {
    width: 100%;
    padding: 0;
    border: 1px solid var(--footer-border);
    border-radius: 16px;
    background: var(--surface-card);
    overflow: clip;
}
.footer-store-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    padding-inline-start: 20px;
    gap: 10px;
    background: var(--surface-soft);
}
.footer .footer-store-heading h3 {
    margin: 0 0 5px;
    color: var(--footer-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}
.footer .footer-store-name {
    margin: 0;
    color: var(--footer-ink);
    font: var(--type-heading-weight) var(--type-section)/1.2 var(--font-ui);
    letter-spacing: -.045em;
}
.footer-store-heading img {
    display: block;
    align-self: stretch;
    width: 37%;
    height: 90px;
    object-fit: cover;
    object-position: 50% 40%;
    mask-image: linear-gradient(90deg, transparent, black 45%);
}
.footer-store-body {
    padding: 14px 20px 12px;
    font-size: 14px;
    line-height: 1.5;
}
.footer-store-body address {
    color: var(--footer-ink);
    font-style: normal;
    text-wrap: pretty;
}
.footer a.footer-store-route {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: var(--footer-blue);
    font-weight: 650;
}
.footer-store-route i {
    font-size: 11px;
}
.footer-store-route:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-store-channels {
    display: grid;
    padding-top: 8px;
    border-top: 1px solid var(--footer-border);
}
.footer-store-channels a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    color: var(--footer-muted);
    overflow-wrap: anywhere;
}
.footer-store-channels i {
    width: 15px;
    color: var(--footer-blue);
    text-align: center;
}
@media (min-width: 720px) {
    .footer .footer-fold-toggle .footer-col-title {
        margin: 0 0 9px;
        padding: 5px 0 12px;
        border-bottom: 1px solid var(--footer-border);
    }
    .footer .footer-links {
        gap: 0;
    }
    .footer .footer-links a {
        padding: 7px 0;
        line-height: 1.45;
    }
    .footer .footer-grid {
        grid-template-columns: 1fr 1.1fr 1.4fr;
        gap: 32px clamp(20px, 3vw, 48px);
    }
}
@media (min-width: 1101px) {
    .footer .footer-grid {
        grid-template-columns: minmax(245px, 1.3fr) minmax(150px, .85fr) minmax(175px, 1fr) minmax(250px, 1.2fr);
    }
}
@media (min-width: 720px) and (max-width: 1100px) {
    .footer-brand-links {
        grid-column: 2;
        grid-row: 1 / 3;
    }
    .footer .footer-links a,
    .footer .footer-store-channels a,
    .footer a.footer-store-route {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
@media (max-width: 719px) {
    .footer .footer-grid {
        align-items: stretch;
    }
    .footer .footer-col-contact {
        margin-top: 12px;
    }
    .footer .footer-fold-toggle .footer-col-title {
        font-size: 16px;
    }
    .footer-store-channels a,
    .footer a.footer-store-route {
        min-height: 44px;
    }
}

/* The smallest phones keep the centered stack from the base footer. */
@media (min-width: 360px) and (max-width: 800px) {
    .footer .footer-bottom-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: "payment studio" "copyright copyright";
        align-items: center;
        gap: 16px 10px;
        padding-inline: clamp(12px, 3vw, 22px);
        text-align: center;
    }
    .footer .footer-payment-methods {
        grid-area: payment;
        justify-self: stretch;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    .footer .footer-payment-methods .payment-icon {
        min-height: 34px;
        padding: 5px 6px;
        gap: 4px;
        font-size: 11.5px;
    }
    .footer .footer-payment-methods .payment-icon img {
        height: 15px;
    }
    .footer .footer-payment-methods .payment-icon i {
        font-size: 14px;
    }
    .footer .footer-dev {
        grid-area: studio;
        justify-self: stretch;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 11px;
    }
    .footer .footer-copyright {
        grid-area: copyright;
        text-align: center;
        font-size: 12px;
    }
}

.footer .footer-mobile-info { display: none; }

@media (max-width: 768px) {
    .footer .footer-mobile-info { display: list-item; }
    .footer .footer-links button[data-store-info] {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 7px 0;
        border: 0;
        background: transparent;
        font: inherit;
        font-size: 14px;
        text-align: start;
        color: var(--footer-muted);
        cursor: pointer;
    }
    .footer .footer-links button[data-store-info]:is(:hover, :focus-visible) {
        color: var(--footer-blue);
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}
