/*****  FOOTER   *****/
footer {
    position: relative;
}
.footer-wrapper {
    background: #272725;
    padding: 130px 40px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-smooth-logo {
    width: 100%;
    padding-bottom: 80px;
    border-bottom: 1px solid #7d7d7c;
    margin-bottom: 40px;
    position: relative;
}
.footer-smooth-logo img {
    width: 100%;
    height: auto;
}
.footer-smooth-logo::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: calc(100% + 80px);
    height: 100%;
    backdrop-filter: blur(10px);
    transition: 0.2s;
}
.footer-smooth-logo:hover::after {
    backdrop-filter: blur(0);
}
.footer-block {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 56px 0;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    margin-bottom: 80px;
    flex-wrap: wrap;
}
.footer-title {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}
.footer-subscribe {
    margin-bottom: 56px;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-basis: 470px;
    order: 2;
}
.footer-subscribe .footer-title {
    margin-bottom: 24px;
}
.footer-subscribe-form {
    max-width: 458px;
}
.footer-subscribe-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}
.footer-subscribe-input {
    font-size: 0;
    width: 100%;
}
.footer-subscribe-input input {
    background: #fff;
    border: 0;
    padding: 14px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    margin-bottom: 24px;
}
.footer-subscribe-input input::placeholder {
    color: #272725;
    opacity: 0.4;
}
.footer-subscribe-input button {
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    background: #272725;
    border: 1px solid #fff;
    font-weight: 500;
    padding: 14px;
    color: #fff;
    display: block;
    width: 100%;
    cursor: pointer;
}
.footer-subscribe-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0;
    text-align: center;
    color: #b2b2b2;
}
.footer-subscribe-text a {
    color: #fff;
}
.footer-subscribe_privacy .checkbox input + span {
    width: 20px;
    height: 20px;
    top: -2px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #ccc;
}
.footer-subscribe_privacy .checkbox input:checked + span {
    border: none;
}
.footer-subscribe_privacy label {
    cursor: pointer;
    text-align: center;
    display: block;
}
.footer-subscribe_privacy .checkbox {
    margin: 0 10px 0 0;
    transform: scale(0.6) translate(5px, 3px);
}
.footer-subscribe-input button[disabled] {
    cursor: not-allowed;
}
.footer-subscribe_privacy span,
.footer-subscribe_privacy span a {
    letter-spacing: 0;
    font-weight: 100;
    font-size: 12px;
    color: #b2b2b2;

}
.footer-subscribe_privacy span a {
    text-decoration: underline;
}
.footer-menu-wrap,
.footer-qr {
    flex-basis: calc(50% - 235px);
}
.footer-menu-wrap {
    order: 1;
    margin: 0 0 18px;
    max-width: calc(100% - 15px);
    display: flex;
    gap: 75px;
}
.footer-menu > div {
    width: 100%;
}
.footer-menu ul {
    position: static;
    width: 100%;
}
.footer-menu li {
    list-style-type: none;
}
.footer-menu a {
    font-size: 14px;
    line-height: 100%;
    margin-bottom: 12px;
    letter-spacing: 0;
    font-weight: 100;
    text-transform: uppercase;
}
.footer-menu li:first-child div {
    text-align: left;
    font-weight: 400;
    margin-bottom: 32px;
}
.footer-menu a,
.footer-menu a:hover {
    color: #fff;
}
.footer-qr {
    flex-grow: 1;
    text-align: right;
    order: 3;
}
.footer-qr-block {
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
    gap: 24px;
}
.footer-qr-block .footer-title {
    line-height: 20px;
}
.footer-qr-block > .footer-title {
    font-size: 20px;
    max-width: 180px;
    text-align: left;
    line-height: 130%;
    font-weight: 600;
}
.footer-qr-wrap {
    display: flex;
    flex-direction: column;
}
.footer-qr-item {
    background: url('/local/templates/adaptive/sprite.svg') no-repeat;
}
.footer-qr-item.-qrkz {
    background: #fff;
    border-radius: 35px;
    padding: 20px;
    width: 256px;
    height: 256px;
}
.footer-qr-item.-qrtemp {
    background: transparent;
    width: 161px;
    height: 161px;
}
.footer-qr-item.-qrcode {
    width: 161px;
    height: 161px;
    background-position-x: -31px;
    background-position-y: -318px;
}
.footer-qr-item.-tablet {
    width: 116px;
    height: 100px;
}
.footer-qr-item.-mobile {
    width: 152px;
    height: 100px;
}
.footer-qr-item.-tablet.-gplay {
    background-position-x: -643px;
    background-position-y: -317px;
}
.footer-qr-item.-mobile.-gplay {
    background-position-x: -305px;
    background-position-y: -317px;
}
.footer-qr-item.-tablet.-astore {
    background-position-x: -776px;
    background-position-y: -317px;
}
.footer-qr-item.-mobile.-astore {
    background-position-x: -474px;
    background-position-y: -317px;
}
.footer-qr-wrap > a {
    display: none;
}
.footer-qr-wrap > a:first-child {
    margin-right: 20px;
}
.footer-qr-item.-tablet {
    display: block;
}
.footer-qr-item.-mobile {
    display: none;
}
.footer-qr-wrap > a:not(:first-child) {
    margin-right: 40px;
}
.footer-qr-item:last-child {
    margin-right: 0;
}
.footer-qr-button {
    display: none;
}
.footer-qr-text {
    width: 240px;
    color: #fff;
    text-align: left;
    font-weight: 100;
    font-size: 14px;
    letter-spacing: 0;
}
.footer-qr-text span {
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    width: 100%;
    order: 4;
    justify-content: center;
}
.footer-links a {
    margin: 0 20px;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    font-weight: 500;
}
.footer-links a:first-child {
    margin-left: 16px;
}
.footer-copyright-wrap {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.footer-copyright {
    margin: 10px 0;
    opacity: 0.6;
}
.footer-privacy {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
.footer-privacy > *:first-child {
    margin-right: 40px;
}
.footer-copy,
.footer-privacy {
    color: #717171;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
}
.footer-copy {
    max-width: 546px;
}
.footer-privacy a {
    color: #fff;
}

.footer-subscribe-popup .swal2-confirm {
    width: 200px !important;
    font: 14px Manrope !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    text-align: center !important;
    text-transform: uppercase !important;
    border: 1px solid #272725 !important;
    color: #fff !important;
    background: #272725 !important;
}

@media (max-width: 1440px) {
    .footer-subscribe {
        order: 1;
        flex-basis: 100%;
        margin-bottom: 160px;
    }
    .footer-menu-wrap {
        flex-grow: 1;
        max-width: unset;
    }
}

@media (max-width: 1024px) {
    .footer-wrapper {
        padding-top: 0;
        padding-bottom: 80px;
    }
    .footer-menu .orderstatus-show {
        display: none;
    }
    .footer-smooth-logo::after {
        backdrop-filter: none;
    }
    .footer-qr {
        flex-basis: unset;
        flex-grow: 0;
    }
    .footer-block {
        border-bottom: 0;
        margin: 0;
        padding: 60px 0;
    }
    .footer-subscribe {
        margin-bottom: 90px;
    }
    .footer-smooth-logo {
        padding-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .footer-wrapper {
        padding: 130px 40px 80px;
    }
    .footer-subscribe {
        margin-bottom: 40px;
        width: 100%;
    }
    .footer-subscribe-form {
        width: 100%;
        max-width: unset;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-subscribe-text {
        max-width: 328px;
    }
    .footer-menu-wrap {
        flex-direction: column;
        gap: 0;
        padding-top: 40px;
        border-top: 1px solid #7d7d7c;
    }
    .footer-block {
        padding: 40px 0;
        display: block;
        order: 0;
    }
    .footer-menu + .footer-menu {
        margin-left: 0;
        margin-top: 40px;
    }
    .footer-qr-item {
        display: none;
    }
    .footer-qr-item.-mobile {
        display: block;
    }
    .footer-qr-block {
        width: 100%;
        padding: 40px 0;
        border-top: 1px solid rgba(255,255,255,0.4);
        border-bottom: 1px solid rgba(255,255,255,0.4);
        margin-bottom: 40px;
        align-items: center;
    }
    a.footer-qr-button {
        display: block;
        font-weight: 500;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0;
        text-align: center;
        background: #fff;
        padding: 15px;
        width: 100%;
        text-transform: uppercase;
        cursor: pointer;
    }
    .footer-qr .footer-title:not(.footer-button-title) {
        display: none;
    }
    .footer-qr-wrap > a:not(:first-child)  {
        margin: 0;
    }
    .footer-qr-wrap {
        order: 1;
        width: 100%;
    }
    .footer-qr-block > .footer-title {
        order: 0;
        font-size: 14px;
        width: auto;
    }
    .footer-qr-block > .footer-qr-text,
    .footer-qr-block > .footer-title.nowrap {
        display: none;
    }
    .footer-button-title {
        display: block;
    }
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    .footer-links a {
        margin: 0;
        width: fit-content;
    }
    .footer-links a:first-child {
        margin-left: 0;
    }
    .footer-copyright-wrap {
        flex-direction: column;
        gap: 14px;
        order: 1;
        padding-top: 40px;
        border-top: 1px solid #7d7d7c;
    }
    .footer-subscribe_privacy {
        max-width: 410px;
        text-align: center;
        font-size: 12px;
    }
    .footer-subscribe_privacy span,
    .footer-subscribe_privacy span a {
        color: #D6D8D9;
    }
    .footer-privacy {
        flex-direction: column;
        gap: 16px;
    }
    .footer-menu-wrap {
        margin-bottom: 40px;
    }
    .footer-smooth-logo {
        order: 2;
        margin-bottom: 0;
        border-bottom: 0;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 450px) {
    .footer-wrapper {
        padding: 0 16px 80px;
        overflow: hidden;
    }
    .footer-copy {
        color: #a7a7a7;
        max-width: 250px;
    }
    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-links a {
        flex-basis: calc(100% / 3 - 22px);
        flex-shrink: 0;
    }
    .footer-qr-block .footer-title {
        display: none;
    }
    .footer-qr-button::after {
        content: ' приложение';
    }
    .footer-smooth-logo {
        padding-bottom: 0;
    }
}
