.storefront-footer {
    margin-top: 48px;
    scroll-margin-top: 150px;
    background: #241f1d;
    color: #f7eee7;
    border-top: 4px solid var(--batlohi-red);
}

:is(.cart-page, .review-page, .account-auth, .orders-shell, .account-shell, .status-page, .food-detail) + .storefront-footer {
    margin-top: 0;
}

.storefront-footer a {
    color: inherit;
    text-decoration: none;
}

.storefront-footer a:hover,
.storefront-footer a:focus {
    color: #ffdc72;
}

.storefront-footer strong,
.storefront-footer h2,
.storefront-footer h3 {
    color: #fff;
}

.storefront-footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(18px, 5vw, 76px);
}

.storefront-footer-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.storefront-footer-benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, .11);
}

.storefront-footer-benefit:first-child {
    padding-left: 0;
}

.storefront-footer-benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.storefront-footer-benefit i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 220, 114, .12);
    color: #ffdc72;
    font-size: 20px;
}

.storefront-footer-benefit strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.storefront-footer-benefit span {
    display: block;
    color: #bfb1aa;
    font-size: 12px;
    line-height: 1.4;
}

.storefront-footer-main {
    display: grid;
    grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .72fr));
    gap: clamp(28px, 4vw, 64px);
    padding: 46px 0 40px;
}

.storefront-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 23px;
    font-weight: 700;
}

.storefront-footer-brand img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.storefront-footer-about {
    max-width: 380px;
    margin: 0;
    color: #cdbfb7;
    font-size: 14px;
    line-height: 1.65;
}

.storefront-footer-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #e9ddd6;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
}

.storefront-footer-status i {
    color: #69d393;
}

.storefront-footer-status.is-paused i {
    color: #ffdc72;
}

.storefront-footer-heading {
    margin: 2px 0 17px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.storefront-footer-links {
    display: grid;
    gap: 11px;
}

.storefront-footer-links a,
.storefront-footer-contact-row {
    width: fit-content;
    color: #cdbfb7;
    font-size: 14px;
    line-height: 1.45;
}

.storefront-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.storefront-footer-links a i {
    width: 16px;
    color: #ffdc72;
}

.storefront-footer-contact-row {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    width: 100%;
}

.storefront-footer-contact-row i {
    color: #ffdc72;
}

.storefront-footer-contact-row a {
    color: #cdbfb7;
}

.storefront-footer-bottom {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .11);
    color: #a99b94;
    font-size: 12px;
}

.storefront-footer-payment {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.storefront-footer-payment-label {
    margin-right: 3px;
    color: #cdbfb7;
    font-weight: 700;
}

.storefront-footer-payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: #eee4de;
    padding: 5px 8px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .storefront-footer-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .storefront-footer-benefit:nth-child(2) {
        border-right: 0;
    }

    .storefront-footer-benefit:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, .11);
    }

    .storefront-footer-benefit:first-child,
    .storefront-footer-benefit:nth-child(3) {
        padding-left: 0;
    }

    .storefront-footer-benefit:nth-child(2),
    .storefront-footer-benefit:last-child {
        padding-right: 0;
    }

    .storefront-footer-main {
        grid-template-columns: 1.3fr 1fr 1fr;
    }

    .storefront-footer-brand-column {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .storefront-footer {
        margin-top: 32px;
    }

    .storefront-footer-container {
        padding: 0 18px;
    }

    .storefront-footer-benefits {
        grid-template-columns: 1fr;
    }

    .storefront-footer-benefit,
    .storefront-footer-benefit:first-child,
    .storefront-footer-benefit:nth-child(2),
    .storefront-footer-benefit:nth-child(3),
    .storefront-footer-benefit:last-child {
        min-height: 78px;
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .11);
    }

    .storefront-footer-benefit:last-child {
        border-bottom: 0;
    }

    .storefront-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
        padding: 34px 0;
    }

    .storefront-footer-brand-column,
    .storefront-footer-contact-column {
        grid-column: 1 / -1;
    }

    .storefront-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0 24px;
    }

    .storefront-footer-payment {
        justify-content: flex-start;
    }
}
