.moscow-tariffs .moscow-scroll-hint,
.moscow-tariffs .moscow-mobile-info {
    display: none;
}

@media only screen and (max-width: 1023px) {
    /* This stylesheet is loaded only on the Moscow tariff page. */
    .main-int {
        width: calc(100% - 32px);
        max-width: 600px;
        left: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .right-main-column {
        width: 100%;
    }

    .inner-text-block {
        margin-left: 0;
    }

    .moscow-tariffs {
        min-width: 0;
        max-width: 100%;
    }

    .moscow-tariffs .head3 {
        margin: 28px 0 16px;
        font-size: 19px;
        line-height: 1.45;
    }

    .moscow-tariffs .moscow-table-scroll {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .moscow-tariffs .moscow-table-scroll:focus-visible {
        outline: 2px solid var(--theme-link);
        outline-offset: 4px;
    }

    .moscow-tariffs .price-list1 {
        width: 100%;
        border-collapse: collapse;
        font-size: 15px;
        line-height: 1.5;
    }

    .moscow-tariffs .price-list1 th,
    .moscow-tariffs .price-list1 td {
        box-sizing: border-box;
        padding: 14px 12px;
        border: 1px solid var(--theme-border);
        vertical-align: top;
    }

    .moscow-tariffs .price-list1 th {
        background: #f2f5f8;
        font-weight: 600;
        text-align: left;
    }

    .moscow-tariffs .price-list1 td {
        background: #f8fbfd;
    }

    .moscow-tariffs .snoska {
        margin: 16px 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.6;
        color: var(--theme-muted);
    }

    .moscow-tariffs [id] {
        scroll-margin-top: 110px;
    }
}

@media only screen and (min-width: 611px) and (max-width: 1023px) {
    .moscow-tariffs .moscow-rate-cards {
        min-width: 740px;
    }

    .moscow-tariffs .moscow-rate-cards .th1,
    .moscow-tariffs .moscow-rate-cards td:first-child {
        width: 220px;
        position: sticky;
        left: 0;
        z-index: 1;
        background: var(--theme-surface-soft);
        box-shadow: 2px 0 var(--theme-border);
    }

    .moscow-tariffs .moscow-pickup-cards {
        min-width: 600px;
    }

    .moscow-tariffs .moscow-scroll-hint {
        display: block;
        margin: 0 0 12px;
        color: var(--theme-muted);
        font-size: 14px;
        line-height: 1.5;
    }
}

@media only screen and (max-width: 610px) {
    .moscow-tariffs .moscow-mobile-info {
        display: block;
        color: var(--theme-muted);
        font-size: 14px;
        line-height: 1.5;
    }

    .moscow-tariffs .moscow-table-scroll {
        overflow: visible;
    }

    .moscow-tariffs .price-list1,
    .moscow-tariffs .price-list1 tbody {
        display: block;
        width: 100%;
    }

    /* Keep column headers available to assistive technology. */
    .moscow-tariffs .moscow-card-header {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .moscow-tariffs .price-list1 tr:not(.moscow-card-header) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 16px;
        overflow: hidden;
        border: 1px solid var(--theme-border);
        border-radius: 12px;
        background: var(--theme-surface-soft);
    }

    .moscow-tariffs table.price-list1 td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 14px 16px;
        border: 0;
        border-top: 1px solid var(--theme-border);
        background: transparent;
        color: var(--theme-text);
        overflow-wrap: anywhere;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.5;
    }

    .moscow-tariffs table.price-list1 td:first-child {
        grid-column: 1 / -1;
        border: 0;
        background: var(--theme-header-chip-bg);
        font-size: 16px;
        font-weight: 600;
    }

    .moscow-tariffs table.price-list1 td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: var(--theme-muted);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .moscow-tariffs table.price-list1 td[colspan],
    .moscow-tariffs .moscow-service-cards td {
        grid-column: 1 / -1;
    }

    .moscow-tariffs .moscow-service-cards td:not(:first-child),
    .moscow-tariffs table.price-list1 td[colspan] {
        font-size: 16px;
    }
}

@media only screen and (max-width: 359px) {
    .footer-block--inner .footer-block-button-int {
        width: calc(100% - 32px);
        margin-left: 16px;
    }
}
