/* Hand Made storefront footer. */
.hm-footer {
    --hm-text: #f6f3ec;
    --hm-muted: #aaa8a3;
    background: #181a19 !important;
    color: var(--hm-text);
    font-size: 14px;
}

.hm-footer * {
    box-sizing: border-box;
}

.hm-footer__inner {
    width: calc(100% - 48px);
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px 0 0;
}

.hm-footer__main {
    display: grid;
    grid-template-columns: minmax(230px, 1.1fr) minmax(420px, 1.7fr) minmax(280px, .9fr);
    gap: clamp(36px, 5vw, 88px);
    align-items: start;
}

.hm-footer__logo {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    color: #fff !important;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none !important;
}

.hm-footer__logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.hm-footer__description {
    max-width: 330px;
    margin: 22px 0 18px;
    color: var(--hm-muted);
    font-size: 14px;
    line-height: 1.75;
}

.hm-footer__contact-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
}

.hm-footer__contact-link span {
    color: #ffd700;
    transition: transform .2s;
}

.hm-footer__contact-link:hover span {
    transform: translateX(4px);
}

.hm-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: clamp(22px, 3vw, 52px);
}

.hm-footer__column h2,
.hm-footer__newsletter h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.hm-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hm-footer__column li {
    margin: 0 0 12px;
}

.hm-footer__column a {
    color: var(--hm-muted) !important;
    text-decoration: none !important;
    transition: color .2s;
}

.hm-footer__column a:hover {
    color: #fff !important;
}

.hm-footer__newsletter > p:not(.hm-footer__privacy) {
    margin: -8px 0 18px;
    color: var(--hm-muted);
    line-height: 1.65;
}

.hm-footer__subscribe {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 0;
}

.hm-footer__subscribe input {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 1px solid #fff !important;
    border-radius: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    appearance: none;
}

.hm-footer__subscribe input::placeholder {
    color: #858783;
    opacity: 1;
}

.hm-footer__subscribe input:focus {
    box-shadow: none;
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

.hm-footer__subscribe button {
    display: block;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: start;
    text-transform: uppercase;
}

.hm-footer__privacy {
    margin: 10px 0 0;
    color: #777975;
    font-size: 11px;
    line-height: 1.45;
}

.hm-footer__benefits {
    display: flex;
    gap: 18px 44px;
    flex-wrap: wrap;
    margin-top: 58px;
    padding: 22px 0;
    border-top: 1px solid #343635;
    border-bottom: 1px solid #343635;
    color: #cbc9c3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hm-footer__benefits span {
    display: inline-flex;
    gap: 9px;
    align-items: center;
}

.hm-footer__benefits i {
    display: inline-grid;
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    place-items: center;
}

.hm-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0 30px;
    color: #777975;
    font-size: 12px;
}

.hm-footer__bottom p {
    margin: 0;
}

.hm-footer__bottom a {
    color: var(--hm-muted) !important;
    text-decoration: none !important;
    transition: color .2s;
}

.hm-footer__bottom a:hover {
    color: #fff !important;
}

.hm-footer__bottom-links {
    display: flex;
    gap: 26px;
}

.hm-footer__sr-only {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 1px solid #fff;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.page-footer #back-top {
    border: 0;
}

@media only screen and (max-width: 1100px) {
    .hm-footer__main {
        grid-template-columns: minmax(230px, .8fr) minmax(460px, 1.5fr);
    }

    .hm-footer__newsletter {
        grid-column: 1 / -1;
        max-width: 620px;
    }
}

@media only screen and (max-width: 767px) {
    .hm-footer__inner {
        width: calc(100% - 32px);
        max-width: 640px;
        padding-top: 48px;
    }

    .hm-footer__main {
        display: block;
    }

    .hm-footer__brand {
        padding-bottom: 36px;
    }

    .hm-footer__description {
        max-width: 520px;
    }

    .hm-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
        padding: 34px 0;
        border-top: 1px solid #343635;
        border-bottom: 1px solid #343635;
    }

    .hm-footer__column:last-child {
        grid-column: 1 / -1;
    }

    .hm-footer__newsletter {
        padding-top: 36px;
    }

    .hm-footer__benefits {
        margin-top: 40px;
    }

    .hm-footer__bottom {
        flex-direction: column;
        padding-bottom: 26px;
    }
}

@media only screen and (max-width: 420px) {
    .hm-footer__nav {
        grid-template-columns: 1fr;
    }

    .hm-footer__column:last-child {
        grid-column: auto;
    }

    .hm-footer__subscribe {
        grid-template-columns: 1fr;
        border: 0;
    }

    .hm-footer__subscribe input {
        border: 1px solid #fff !important;
    }

    .hm-footer__subscribe button {
        min-height: 48px;
        justify-content: space-between;
    }

    .hm-footer__bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}
