/* Scoped footer layout; Font Awesome assets are hosted with the site. */
.storefront-footer {
    background: #171717;
    color: #b8b8b2;
    scroll-margin-top: 70px;
}

.storefront-footer .footer-inner {
    width: min(1280px, calc(100% - 80px));
    padding: 64px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 40px;
}

.storefront-footer .footer-inner>div {
    min-width: 0;
}

.storefront-footer .footer-inner>div:first-child {
    max-width: 320px;
}

.storefront-footer .footer-logo {
    display: inline-flex;
    width: auto;
    margin: 0 0 20px;
}

.storefront-footer .footer-logo img {
    display: block;
    height: 64px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.storefront-footer .footer-inner p {
    margin: 0 0 12px;
    color: #b8b8b2;
    font-size: 14px;
    line-height: 1.75;
}

.storefront-footer .footer-inner h4 {
    margin: 2px 0 22px;
    color: #c5a16d;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.6;
    text-transform: uppercase;
}

.storefront-footer .footer-inner a {
    color: #b8b8b2;
    font-size: 16px;
    line-height: 1.6;
    display: block;
    margin-bottom: 8px;
}

.storefront-footer .footer-inner a:hover {
    color: #e0bd87;
}

.storefront-footer .footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

/* Override the generic footer anchor rule that compressed these into ovals. */
.storefront-footer .footer-inner .footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid #ffffff26;
    background: #ffffff06;
    color: #c5a16d;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.storefront-footer .footer-social-btn i {
    font-size: 17px;
    line-height: 1;
}

.storefront-footer .footer-inner .footer-social-btn:hover {
    background: #c5a16d;
    color: #171717;
    border-color: #c5a16d;
    transform: translateY(-2px);
    box-shadow: none;
}

.storefront-footer .footer-contact {
    display: block;
}

.storefront-footer .footer-inner .footer-contact-item {
    margin: 0 0 14px;
    display: block;
}

.storefront-footer .footer-contact-item a {
    display: inline-grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    width: auto;
    margin: 0;
    transform: none;
}

.storefront-footer .footer-contact-item a:hover {
    transform: none;
}

.storefront-footer .footer-contact-item i {
    display: inline-block;
    width: 18px;
    margin-top: 4px;
    color: #c5a16d;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
}

.storefront-footer .footer-contact-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Footer Bottom Strip with Copyright & Policy Links */
.storefront-footer .footer-bottom {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
    padding: 24px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #999b96;
    font-size: 12px;
    line-height: 1.6;
}

.storefront-footer .footer-bottom-copy {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.storefront-footer .footer-bottom-policies {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.storefront-footer .footer-bottom-policies a {
    color: #8f918b;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.storefront-footer .footer-bottom-policies a:hover {
    color: #c5a16d;
}

.storefront-footer .footer-sep {
    color: #555753;
}

.storefront-footer a:focus-visible {
    outline: 2px solid #c5a16d;
    outline-offset: 5px;
    border-radius: 3px;
}

.storefront-footer .footer-social-btn:focus-visible {
    border-radius: 50%;
}

@media (max-width: 1100px) {
    .storefront-footer .footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 36px 40px;
    }

    .storefront-footer .footer-inner>div:first-child {
        grid-column: span 3;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .storefront-footer .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 30px;
    }

    .storefront-footer .footer-inner>div:first-child {
        grid-column: span 2;
    }

    .storefront-footer .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .storefront-footer .footer-inner {
        width: calc(100% - 40px);
        padding: 44px 0 32px;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .storefront-footer .footer-inner>div:first-child,
    .storefront-footer .footer-contact {
        grid-column: 1 / -1;
    }

    .storefront-footer .footer-inner h4 {
        margin-bottom: 14px;
    }

    .storefront-footer .footer-bottom {
        width: calc(100% - 40px);
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-footer .footer-inner a {
        transition: none;
        transform: none;
    }
}