.footer {

    position:relative;
    flex-shrink:0;
    overflow:hidden;
    background:linear-gradient(135deg, #9b3cff 0%, #7130cc 100%);
    color:rgba(255, 255, 255, 0.78);
    padding:34px 0 28px;

}


.footer.footer-empty {

    min-height:0;
    padding:0;
    opacity:0;
    visibility:hidden;
    transform:translateY(100%);
    transition:
        opacity 0.24s ease,
        visibility 0.24s ease,
        transform 0.24s ease;

}


.footer.footer-empty.footer-visible {

    min-height:18px;
    opacity:1;
    visibility:visible;
    transform:translateY(0);

}


.footer-container {

    position:relative;
    z-index:1;
    width:min(1200px, calc(100% - 40px));
    max-width:1200px;
    margin:0 auto;

}


.footer-benefit,
.footer-logo,
.footer-nav a,
.footer-payments,
.footer-bottom {

    opacity:0;
    transform:translateY(18px);
    transition:opacity 0.45s ease, transform 0.45s ease;

}


.footer.footer-visible .footer-benefit,
.footer.footer-visible .footer-logo,
.footer.footer-visible .footer-nav a,
.footer.footer-visible .footer-payments,
.footer.footer-visible .footer-bottom {

    opacity:1;
    transform:translateY(0);

}


.footer.footer-visible .footer-benefit:nth-child(1) {

    transition-delay:0.05s;

}


.footer.footer-visible .footer-benefit:nth-child(2) {

    transition-delay:0.12s;

}


.footer.footer-visible .footer-benefit:nth-child(3) {

    transition-delay:0.19s;

}


.footer.footer-visible .footer-logo {

    transition-delay:0.24s;

}


.footer.footer-visible .footer-nav a:nth-child(1) {

    transition-delay:0.29s;

}


.footer.footer-visible .footer-nav a:nth-child(2) {

    transition-delay:0.34s;

}


.footer.footer-visible .footer-nav a:nth-child(3) {

    transition-delay:0.39s;

}


.footer.footer-visible .footer-nav a:nth-child(4) {

    transition-delay:0.44s;

}


.footer.footer-visible .footer-nav a:nth-child(5) {

    transition-delay:0.49s;

}


.footer.footer-visible .footer-payments {

    transition-delay:0.54s;

}


.footer.footer-visible .footer-bottom {

    transition-delay:0.6s;

}


.footer-benefits {

    display:flex;
    align-items:center;
    justify-content:center;
    gap:70px;
    padding-bottom:30px;
    border-bottom:1px solid rgba(255, 255, 255, 0.16);
    font-size:17px;
    font-weight:700;

}


.footer-main {

    min-height:116px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
    border-bottom:1px solid rgba(255, 255, 255, 0.16);

}


.footer-logo {

    color:white;
    font-size:24px;
    font-weight:700;
    white-space:nowrap;

}


.footer-nav {

    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;

}


.footer-nav a,
.footer-bottom a {

    color:rgba(255, 255, 255, 0.78);
    text-decoration:none;
    font-weight:700;

}


.footer-nav a:hover,
.footer-bottom a:hover {

    color:white;

}


.footer-payments {

    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
    font-weight:700;

}


.payment-badge {

    padding:8px 12px;
    border:1px solid rgba(255, 255, 255, 0.24);
    border-radius:8px;
    color:white;
    background:rgba(255, 255, 255, 0.08);
    font-size:13px;

}


.footer-bottom {

    padding-top:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    font-weight:700;

}


.footer-bottom p {

    margin:0;

}


@keyframes ripple {

    0% {
        opacity:0.8;
        transform:translate(-50%, -50%) scale(1);
    }

    100% {
        opacity:0;
        transform:translate(-50%, -50%) scale(18);
    }

}


@keyframes authContentIn {

    0% {
        opacity:0;
        transform:translateY(14px);
    }

    100% {
        opacity:1;
        transform:translateY(0);
    }

}


@keyframes authLoadingPulse {

    0% {
        background:#f3ecfb;
    }

    100% {
        background:#e5d2f8;
    }

}


@keyframes authSpin {

    to {
        transform:rotate(360deg);
    }

}


@media (prefers-reduced-motion:reduce) {

    .auth-modal,
    .auth-panel,
    .auth-close,
    .auth-heading,
    .vkid-auth,
    .auth-status {
        animation:none !important;
        transition:none !important;
    }

    .auth-panel,
    .auth-close,
    .auth-heading,
    .vkid-auth,
    .auth-status {
        opacity:1 !important;
        transform:none !important;
    }

}


@keyframes emptyShine {

    0% {
        transform:translateX(-100%);
    }

    100% {
        transform:translateX(100%);
    }

}


@keyframes emptyButtonPulse {

    0% {
        transform:scale(1);
    }

    45% {
        transform:scale(1.04);
    }

    100% {
        transform:scale(1);
    }

}


@keyframes detailEnter {

    0% {
        opacity:0;
        transform:translateY(22px);
    }

    100% {
        opacity:1;
        transform:translateY(0);
    }

}


@keyframes detailEnterMobile {

    0% {
        opacity:0;
    }

    100% {
        opacity:1;
    }

}


@keyframes detailRipple {

    0% {
        opacity:0.75;
        transform:translate(-50%, -50%) scale(1);
    }

    100% {
        opacity:0;
        transform:translate(-50%, -50%) scale(26);
    }

}


@media (max-width:900px) {

    .search-clear {
        right:2px;
        width:44px;
        height:44px;
    }

    .login,
    .detail-back,
    .search-all-catalog {
        min-height:44px;
    }

    :root {

        --header-space:168px;
        --mobile-header-height:88px;

    }

    .header,
    .header.scrolled {

        height:88px;
        padding:0;
        overflow:visible;
        background:white;

    }

    .header.scrolled .container {

        transform:none;

    }

    .container {

        position:relative;
        width:auto;
        max-width:none;
        margin:0 var(--page-side-gap);
        flex:1 1 auto;
        min-width:0;
        height:88px;
        align-items:center;
        flex-direction:row;
        gap:0;

    }

    .search {

        position:absolute;
        left:0;
        right:0;
        top:96px;
        width:auto;
        transition:filter 0.28s ease;

    }

    .search input {

        height:54px;
        border-radius:18px;
        background:#f7f7fb;
        box-shadow:0 0 0 3px rgba(155, 60, 255, 0.24);

    }

    .header.search-detached .search,
    html.boot-scrolled .header .search {

        filter:drop-shadow(0 10px 22px rgba(155, 60, 255, 0.08));

    }

    .header.search-detached .search input,
    html.boot-scrolled .header .search input {

        background:rgba(247, 247, 251, 0.96);
        box-shadow:0 0 0 3px rgba(155, 60, 255, 0.28), 0 12px 26px rgba(31, 31, 41, 0.08);

    }

    .actions {

        width:auto;
        display:flex;
        align-items:center;
        justify-content:flex-end;
        margin-left:auto;

    }

    .login {

        position:static;

    }

    .cards {

        grid-template-columns:repeat(2, 1fr);

    }

    .detail-related-grid {

        grid-template-columns:repeat(2, 1fr);

    }

    .detail-layout {

        grid-template-columns:1fr;

    }

    .detail-preview {

        min-height:0;

    }

    .product-detail.visible {

        animation:detailEnterMobile 0.28s ease;

    }

    .product-detail .detail-animate {

        transform:translateY(0);

    }

    .product-detail .detail-animate-visible {

        transform:translateY(0);
        transition:opacity 0.34s ease, box-shadow 0.22s ease, background 0.22s ease;

    }

}


@media (max-width:560px) {

    .main {

        width:auto;
        max-width:none;
        margin:0 14px;
        padding-top:34px;

    }

    .hero:not(.material-directory) h1 {

        font-size:32px;

    }

    .cards {

        grid-template-columns:1fr;

    }

    .detail-related-grid {

        grid-template-columns:1fr;

    }

    .actions {

        width:auto;
        gap:18px;
        justify-content:flex-start;

    }

    .detail-info h1 {

        font-size:28px;
        line-height:1.15;

    }

    .detail-tabs {

        grid-template-columns:1fr;

    }

    .detail-author {

        grid-template-columns:1fr;
        text-align:center;

    }

    .detail-author-avatar {

        margin:auto;

    }

    .auth-modal {

        align-items:center;
        padding:16px;

    }

    .auth-panel {

        width:100%;
        max-width:400px;
        padding:26px 20px 24px;
        border-radius:18px;
        transform:translateY(26px) scale(0.97);

    }

    .auth-modal.open .auth-panel {

        transform:translateY(0) scale(1);

    }

    .auth-heading {

        padding-right:36px;
        margin-bottom:20px;

    }

    .auth-heading h2 {

        font-size:23px;

    }

    .auth-heading p {

        font-size:14px;

    }

}


@media (max-width:760px) {

    .footer-benefits,
    .footer-main,
    .footer-bottom {

        flex-direction:column;
        align-items:flex-start;

    }

    .footer-benefits {

        gap:16px;

    }

    .footer-main {

        padding:28px 0;

    }

    .footer-nav {

        justify-content:flex-start;
        gap:16px 22px;

    }

    .empty-message {

        flex-direction:column;

    }

    .empty-message button {

        width:100%;

    }

}


@media (max-width:640px) {

    .image-modal {

        padding:18px;

    }

    .modal-close {

        top:12px;
        right:12px;

    }

}


@media (max-width:640px) {

    :root {

        --card-radius:16px;
        --header-space:136px;
        --mobile-header-height:68px;
        --page-side-gap:14px;

    }

    body {

        padding-top:var(--header-space);

    }

    .header,
    .header.scrolled {

        height:68px;

    }

    .container {

        width:auto;
        max-width:none;
        margin:0 var(--page-side-gap);
        height:68px;

    }

    .logo {

        gap:0;
        font-size:22px;

    }

    .search {

        top:78px;
        width:auto;
        max-width:none;

    }

    .search input {

        height:46px;
        border-radius:16px;
        padding-left:16px;
        padding-right:44px;
        font-size:16px;

    }

    input,
    textarea,
    select {

        font-size:16px !important;

    }

    .search-clear {

        right:2px;
        width:44px;
        height:44px;
        font-size:22px;

    }

    .login {

        padding:8px 13px;
        border-radius:11px;
        font-size:13px !important;
        min-height:44px;

    }

    .login.logged-in {

        width:38px;
        height:38px;
        min-height:38px;
        flex:0 0 38px;
        padding:0;

    }

    .login.auth-checking {

        width:38px;
        height:38px;
        min-height:38px;
        flex:0 0 38px;

    }

    .login.auth-checking .login-avatar,
    .login.auth-checking .login-avatar[hidden] {

        width:38px;
        height:38px;

    }

    .login.auth-checking .login-avatar::before {

        top:10px;
        width:7px;
        height:7px;

    }

    .login.auth-checking .login-avatar::after {

        bottom:9px;
        width:16px;
        height:9px;
        border-radius:10px 10px 4px 4px;

    }

    .login.logged-in .login-label {

        display:none;

    }

    .login-avatar {

        width:22px;
        height:22px;
        flex-basis:22px;
        line-height:18px;

    }

    .login.logged-in .login-avatar {

        width:38px;
        height:38px;
        flex-basis:38px;

    }

    .login.logged-in .login-avatar::before {

        top:10px;
        width:7px;
        height:7px;

    }

    .login.logged-in .login-avatar::after {

        bottom:9px;
        width:16px;
        height:9px;
        border-radius:10px 10px 4px 4px;

    }

    .login-avatar::before {

        top:3px;
        width:6px;
        height:6px;

    }

    .login-avatar::after {

        bottom:3px;
        width:11px;
        height:7px;

    }

    .account-menu {

        position:fixed;
        top:144px;
        left:18px;
        right:18px;
        width:auto;
        max-height:calc(100dvh - 162px);
        padding:10px;
        overflow:auto;
        border-radius:18px;
        transform-origin:top center;

    }

    .account-close {

        top:13px;
        right:13px;
        width:28px;
        height:28px;
        font-size:17px !important;

    }

    .account-summary {

        gap:10px;
        padding:10px 40px 10px 10px;
        border-radius:15px;

    }

    .account-avatar {

        width:40px;
        height:40px;
        flex-basis:40px;
        font-size:15px;

    }

    .account-name {

        font-size:15px;

    }

    .account-email {

        font-size:12px;

    }

    .account-nav {

        gap:6px;
        padding:8px 0 7px;

    }

    .account-nav .account-nav-item,
    .account-menu .account-logout {

        min-height:38px;
        padding:7px 9px !important;
        border-radius:12px !important;
        font-size:13px !important;
        grid-template-columns:26px minmax(0, 1fr) auto;
        gap:7px;

    }

    .account-nav-icon {

        width:26px;
        height:26px;
        border-radius:9px;
        font-size:15px;

    }

    .account-nav-value {

        min-width:20px;
        padding:3px 6px;
        font-size:10px;

    }

    .account-note {

        min-height:31px;
        margin-bottom:7px;
        padding:8px 10px 8px 31px;
        border-radius:12px;
        font-size:11px;

    }

    .account-note::before {

        left:11px;
        width:9px;
        height:9px;
        box-shadow:0 0 0 4px rgba(155, 60, 255, 0.1);

    }

    .main {

        width:auto;
        max-width:none;
        margin:0 var(--page-side-gap);
        padding:12px 0 40px;

    }

    .cards,
    .detail-related-grid {

        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:14px;
        max-width:100%;

    }

    .card {

        box-shadow:0 10px 26px rgba(31, 31, 41, 0.08);

    }

    .card:hover {

        transform:translateY(0);
        box-shadow:0 10px 26px rgba(31, 31, 41, 0.08);

    }

    .card:hover::before {

        opacity:0;

    }

    .card-image {

        font-size:44px;

    }

    .card-content {

        min-height:162px;
        padding:14px;

    }

    .card h2,
    .detail-related .card h2 {

        margin-bottom:8px;
        font-size:18px;
        line-height:1.22;

    }

    .card p,
    .detail-related .card p {

        font-size:13px;
        line-height:1.38;

    }

    .card-footer {

        padding-top:10px;
        justify-content:flex-end;

    }

    .card-footer button,
    .detail-related .card-footer button {

        min-width:110px;
        min-height:44px;
        padding:10px 18px;
        border-radius:9px;
        font-size:13px;

    }

    .empty-message {

        margin-top:20px;
        padding:16px 14px;
        border-radius:16px;
        gap:10px;
        box-shadow:0 12px 28px rgba(31, 31, 41, 0.08);

    }

    .empty-icon {

        width:42px;
        height:42px;
        border-radius:12px;
        font-size:22px;

    }

    .empty-content h2 {

        margin-bottom:6px;
        font-size:18px;
        line-height:1.18;

    }

    .empty-content p {

        max-width:310px;
        font-size:13px;
        line-height:1.34;

    }

    .empty-message button {

        width:auto;
        min-height:0;
        padding:9px 14px;
        border-radius:11px;
        font-size:13px;
        line-height:1;

    }

    .detail-back {

        margin-bottom:18px;
        min-height:44px;
        padding:8px 13px;
        border-radius:11px;
        font-size:13px;
        line-height:1;

    }

    .detail-layout {

        gap:24px;

    }

    .detail-preview {

        border-radius:16px;
        box-shadow:0 14px 34px rgba(31, 31, 41, 0.1);
        transform:none;

    }

    .detail-preview:hover {

        box-shadow:0 14px 34px rgba(31, 31, 41, 0.1);

    }

    .detail-preview:hover::before {

        opacity:0;

    }

    .detail-hint {

        bottom:10px;
        max-width:calc(100% - 24px);
        padding:7px 11px;
        font-size:11px;
        line-height:1;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;

    }

    .detail-breadcrumbs {

        margin-bottom:14px;
        font-size:14px;
        line-height:1.35;

    }

    .detail-info h1 {

        margin-bottom:14px;
        font-size:30px;
        line-height:1.14;

    }

    .detail-rating {

        gap:10px;
        margin-bottom:20px;
        font-size:23px;
        flex-wrap:wrap;

    }

    .detail-actions {

        gap:12px;
        margin-bottom:18px;

    }

    .detail-actions button,
    .detail-author button {

        padding:15px 16px;
        border-radius:14px;
        font-size:16px;

    }

    .detail-author {

        grid-template-columns:auto 1fr;
        gap:12px;
        padding:16px;
        text-align:left;

    }

    .detail-author-avatar {

        margin:0;
        width:50px;
        height:50px;
        font-size:24px;

    }

    .detail-author button {

        grid-column:1 / -1;
        width:100%;

    }

    .detail-tabs {

        margin-top:34px;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        border-radius:16px 16px 0 0;

    }

    .detail-tabs button {

        padding:15px 8px;
        font-size:13px;
        line-height:1.2;

    }

    .detail-description {

        padding:22px 18px;
        border-radius:0 0 16px 16px;

    }

    .detail-description h2 {

        font-size:23px;

    }

    .detail-description p,
    .detail-description li {

        font-size:16px;
        line-height:1.55;

    }

    .detail-description ul {

        padding-left:20px;

    }

    .detail-related {

        margin-top:38px;

    }

    .detail-related-title {

        margin-bottom:18px;
        font-size:30px;

    }

    .detail-related-empty {

        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:16px 14px;
        gap:10px;

    }

    .detail-related-empty h3 {

        font-size:22px;

    }

    .detail-related-empty p {

        font-size:15px;

    }

    .detail-related-empty button {

        width:auto;
        min-height:0;
        padding:9px 14px;
        border-radius:11px;
        font-size:13px;
        line-height:1;

    }

    .image-modal {

        padding:14px;

    }

    .modal-image {

        max-width:94vw;
        max-height:82vh;
        border-radius:16px;

    }

    .modal-close {

        top:10px;
        right:10px;
        width:42px;
        height:42px;
        font-size:30px;

    }

    .footer {

        padding:28px 0 24px;

    }

    .footer-container {

        width:auto;
        max-width:none;
        margin:0 var(--page-side-gap);

    }

    .footer-benefits {

        align-items:flex-start;
        padding-bottom:24px;
        font-size:16px;

    }

    .footer-main {

        min-height:0;
        gap:22px;

    }

    .footer-logo {

        font-size:24px;

    }

    .footer-nav {

        display:grid;
        grid-template-columns:1fr;
        gap:14px;

    }

    .footer-payments {

        flex-wrap:wrap;

    }

    .footer-bottom {

        align-items:flex-start;
        font-size:15px;

    }

    .auth-panel {

        max-height:calc(100vh - 36px);
        overflow:auto;

    }

    .auth-close,
    .account-close {
        width:44px;
        height:44px;
    }

    .search-all-catalog {
        min-height:44px;
    }

}

/* Keep more content visible when a phone is turned sideways. */
@media (min-width:641px) and (max-width:900px) and (max-height:500px) {
    :root {
        --header-space:76px;
        --mobile-header-height:68px;
    }
    .header,
    .header.scrolled,
    .container {
        height:68px;
    }
    .header .search {
        position:static;
        flex:1 1 auto;
        min-width:0;
        margin:0 142px 0 20px;
        transform:none;
    }
    .header .search input {
        height:44px;
    }
    .header .actions {
        position:absolute;
        right:0;
    }
    .main {
        padding-top:12px;
    }
}


@media (max-width:520px) {

    .detail-info h1 {

        font-size:26px;
        line-height:1.16;

    }

    .cards,
    .detail-related-grid {

        grid-template-columns:1fr;

    }

    .card-content {

        min-height:auto;

    }

}


@media (max-width:359px) {

    .cards,
    .detail-related-grid {

        grid-template-columns:1fr;

    }

    .card-content {

        min-height:152px;

    }

}


/* Footer and legal documents */

.footer {

    margin-top:64px;
    padding:36px 0 24px;
    overflow:visible;
    background:#24212b;
    border-top:4px solid #9b3cff;
    color:#d8d4df;

}

.footer-container {

    width:min(1680px, calc(100% - 64px));
    max-width:1680px;

}

.footer-main {

    min-height:0;
    display:grid;
    grid-template-columns:minmax(220px, 0.8fr) minmax(420px, 1.6fr) minmax(250px, 0.8fr);
    align-items:start;
    gap:48px;
    padding:0 0 32px;

}

.footer-brand,
.footer-contact {

    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;

}

.footer-brand p,
.footer-contact p {

    max-width:310px;
    margin:0;
    color:#aaa5b2;
    font-size:15px;
    line-height:1.55;

}

.footer-logo,
.footer-nav button,
.footer-contact,
.footer-payments,
.footer-bottom {

    opacity:1;
    transform:none;

}

.footer-logo {

    color:#ffffff;
    font-size:28px;
    letter-spacing:0;

}

.footer-nav {

    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    align-items:start;
    gap:12px 28px;

}

.footer-nav button {

    appearance:none;
    min-width:0;
    padding:4px 0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#d8d4df;
    font:inherit;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
    text-align:left;
    cursor:pointer;
    transition:color 0.18s ease;

}

.footer-nav button:hover,
.footer-nav button:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {

    color:#ffffff;

}

.footer-nav button:focus-visible,
.footer-contact a:focus-visible {

    outline:2px solid #c58bff;
    outline-offset:4px;

}

.footer-contact strong {

    color:#ffffff;
    font-size:15px;

}

.footer-contact a {

    max-width:100%;
    color:#cdb8df;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
    overflow-wrap:anywhere;
    text-decoration:none;
    transition:color 0.18s ease;

}

.footer-bottom {

    padding-top:22px;
    border-top:1px solid rgba(255, 255, 255, 0.13);
    color:#aaa5b2;
    font-size:14px;

}

.footer-payments {

    flex-wrap:wrap;
    justify-content:flex-end;

}

.payment-badge {

    border-color:rgba(255, 255, 255, 0.2);
    background:rgba(255, 255, 255, 0.07);

}

.legal-modal {

    position:fixed;
    z-index:5000;
    inset:0;
    display:grid;
    place-items:center;
    padding:28px;
    background:rgba(22, 20, 27, 0.72);
    opacity:0;
    visibility:hidden;
    transition:opacity 0.2s ease, visibility 0.2s ease;

}

.legal-modal[hidden] {

    display:none;

}

.legal-modal.open {

    opacity:1;
    visibility:visible;

}

.legal-dialog {

    width:min(960px, 100%);
    height:min(820px, calc(100dvh - 56px));
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid #e4d8ef;
    border-radius:8px;
    background:#ffffff;
    box-shadow:0 24px 70px rgba(25, 20, 31, 0.28);
    outline:none;
    transform:translateY(18px);
    transition:transform 0.2s ease;

}

.legal-modal.open .legal-dialog {

    transform:translateY(0);

}

.legal-header {

    min-height:66px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex:0 0 auto;
    padding:0 22px 0 28px;
    border-bottom:1px solid #ece7f0;
    background:#ffffff;
    color:#746d7d;
    font-size:14px;
    font-weight:700;

}

.legal-close {

    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    padding:0;
    border:1px solid #e4d8ef;
    border-radius:50%;
    background:#f8f3fc;
    color:#8131df;
    font-size:28px;
    line-height:1;
    cursor:pointer;

}

.legal-close:hover,
.legal-close:focus-visible {

    background:#efe2fa;

}

.legal-close:focus-visible {

    outline:2px solid #9b3cff;
    outline-offset:2px;

}

.legal-scroll {

    min-height:0;
    flex:1 1 auto;
    overflow:auto;
    padding:32px 40px 44px;
    scrollbar-gutter:stable;

}

.legal-title {

    margin:0 0 28px;
    color:#211e28;
    font-size:30px;
    line-height:1.2;

}

.legal-content {

    color:#4f4957;
    font-size:16px;
    line-height:1.65;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    outline:none;

}

@media (max-width:1100px) {

    .footer-main {

        grid-template-columns:1fr 2fr;

    }

    .footer-contact {

        grid-column:1 / -1;
        display:grid;
        grid-template-columns:auto auto;
        justify-content:start;
        gap:8px 28px;

    }

    .footer-contact strong {

        grid-column:1 / -1;

    }

}

@media (max-width:760px) {

    .footer {

        margin-top:44px;
        padding:30px 0 24px;

    }

    .footer-container {

        width:calc(100% - 32px);

    }

    .footer-main {

        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:28px;
        padding:0 0 28px;

    }

    .footer-nav {

        grid-template-columns:1fr;
        gap:9px;

    }

    .footer-contact {

        display:flex;

    }

    .footer-bottom {

        align-items:flex-start;
        gap:18px;

    }

    .footer-payments {

        justify-content:flex-start;

    }

    .legal-modal {

        padding:0;

    }

    .legal-dialog {

        width:100%;
        height:100dvh;
        max-height:none;
        border:0;
        border-radius:0;

    }

    .legal-header {

        min-height:62px;
        padding:0 14px 0 20px;

    }

    .legal-scroll {

        padding:26px 20px 40px;

    }

    .legal-title {

        margin-bottom:22px;
        font-size:25px;

    }

    .legal-content {

        font-size:15px;
        line-height:1.6;

    }

}

@media (prefers-reduced-motion:reduce) {

    .legal-modal,
    .legal-dialog {

        transition:none;

    }

}
