.site-footer {
    padding: 0;
    border: 0;
    border-top: 2px solid var(--accent-soft-color);
    background: var(--brand-ink);
    color: #fff;
}

.site-footer-inner,
.site-footer-bottom {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 30px 0 24px;
}

.site-footer-inner > nav {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
    min-width: 0;
}

.site-footer h2,
.site-footer h3 {
    margin: 0;
    color: var(--accent-soft-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.site-footer-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0 !important;
    overflow-x: auto;
    list-style: none;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
}

.site-footer-links::-webkit-scrollbar {
    display: none;
}

.site-footer-links > li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.site-footer-links > li::before {
    content: none !important;
}

.site-footer-links a {
    display: block;
    padding: 9px 13px;
    border: 1px solid var(--accent-soft-color);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible {
    border-color: var(--accent-soft-color);
    background: var(--accent-soft-color);
    color: #fff;
    opacity: 1;
}

.site-footer-trust {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-soft-color);
}

.site-footer-trust .secure-shopping-wrapper {
    gap: 11px;
}

.site-footer-trust .secure-shopping-wrapper img {
    width: 28px;
    height: 28px;
    max-height: 28px;
}

.site-footer-trust h2 {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}

.site-footer-trust > img {
    max-width: min(42vw, 220px);
    max-height: 36px;
}

.site-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    padding: 16px 0;
    border-top: 1px solid var(--accent-soft-color);
}

.site-footer-legal {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.7;
    text-align: start;
}

.site-footer-legal a {
    color: #fff;
}

.site-footer-socials {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.site-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: solid 1px var(--accent-soft-color);
    text-decoration: none !important;
    border-radius: 50%;
    color: #fff;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.site-footer-socials a:hover,
.site-footer-socials a:focus-visible {
    border-color: var(--accent-soft-color);
    background: var(--accent-soft-color);
    color: #fff;
}

@media (max-width: 767px) {

    .site-footer-inner,
    .site-footer-bottom {
        width: calc(100% - 32px);
    }

    .site-footer-inner {
        gap: 18px;
        padding: 24px 0 20px;
    }

    .site-footer-inner > nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .site-footer-links {
        margin-inline: -4px;
        padding: 0 4px 4px !important;
        scroll-snap-type: inline proximity;
        flex-wrap: wrap;
    }

    .site-footer-links > li {
        scroll-snap-align: start;
    }

    .site-footer-trust {
        gap: 14px;
        padding-top: 16px;
    }

    .site-footer-bottom {
        align-items: flex-start;
        padding: 14px 0;
    }
}

@media (max-width: 480px) {

    .site-footer-inner,
    .site-footer-bottom {
        width: calc(100% - 28px);
    }

    .site-footer-trust {
        flex-wrap: wrap;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding-bottom: 18px;
        text-align: center;
    }

    .site-footer-legal {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer * {
        transition-duration: .01ms !important;
    }
}
