/* Shared storefront brand and footer navigation. */
.storefront-body .brand-directory-return { margin: 0 0 16px; }

.storefront-body .brand-directory-return a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--p24-muted, #676272);
    font-weight: 700;
}

.storefront-body .catalog-brand-entry { margin: 0 0 20px; }

.storefront-body .catalog-brand-entry a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 66px;
    padding: 12px 18px;
    border: 1px solid var(--p24-line, #e9dfe1);
    border-radius: 12px;
    background: #fff;
}

.storefront-body .footer-support-action span { min-width: 0; }

.storefront-body .footer-trust-row small {
    overflow: visible;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: clip;
    white-space: normal;
}

.storefront-body .footer-back-to-top span {
    font-size: 19px;
    line-height: 1;
}

.storefront-body .catalog-brand-entry a span {
    display: grid;
    flex: 1;
    line-height: 1.35;
}

.storefront-body .catalog-brand-entry a small {
    color: var(--p24-muted, #64606c);
    font-weight: 400;
}

.storefront-body .footer-main { align-items: start; }

.storefront-body .footer-column a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: rgb(255 255 255 / 83%);
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.storefront-body .footer-column h2 {
    font-size: 13px;
    letter-spacing: 0.045em;
}

.storefront-body .footer-column .footer-brands-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 48px;
    margin: 0 0 2px -12px;
    padding: 8px 11px;
    border: 1px solid rgb(255 255 255 / 23%);
    border-left: 3px solid #ff8793;
    border-radius: 9px;
    background: rgb(255 255 255 / 9%);
    color: #fff;
    font-weight: 850;
}

.storefront-body .footer-column .footer-brands-link svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
}

.storefront-body .footer-column .footer-brands-link:hover,
.storefront-body .footer-column .footer-brands-link:focus-visible,
.storefront-body .footer-column .footer-brands-link[aria-current="page"] {
    background: rgb(255 255 255 / 17%);
    color: #fff;
}

.storefront-body .footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.storefront-body .catalog-brand-entry a:hover,
.storefront-body .catalog-brand-entry a:focus-visible {
    border-color: var(--p24-accent, #b51227);
}

.storefront-body .footer-support-action { min-width: 0; }

.storefront-body .footer-support-action strong {
    overflow-wrap: anywhere;
    line-height: 1.35;
    white-space: normal;
}

.storefront-body .footer-trust-row strong {
    font-size: 12px;
    line-height: 1.4;
}

.storefront-body .site-footer a:focus-visible,
.storefront-body .site-footer button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* 58% white keeps footer fine print above 4.5:1 on the dark footer gradient. */
.storefront-body .footer-bottom { color: rgb(255 255 255 / 58%); }

.storefront-body .footer-back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 7px 12px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 9px;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}

.storefront-body .footer-back-to-top:hover { background: rgb(255 255 255 / 12%); }

.storefront-body .brand-directory-return a:hover,
.storefront-body .brand-directory-return a:focus-visible {
    color: var(--p24-accent, #ad172b);
}

@media (width <= 640px) {
    .storefront-body .footer-main { gap: 18px 22px; }

    .storefront-body .footer-column .footer-brands-link { margin-left: 0; }

    .storefront-body .footer-trust-row > span { align-items: flex-start; }

    .storefront-body .footer-bottom { gap: 12px; }
}
