

/* Start:/local/components/micronet/remont-printerov/templates/.default/style.css?17901709429308*/
/* Битрикс подключает css компонента РАНЬШЕ css шаблона, поэтому
   переопределения общих правил (.pricing-heading) усилены до
   h2.pricing-heading — иначе при равной специфичности побеждает шаблон. */

/* ===== Вкладки «Заправка картриджей / Ремонт оргтехники» ===== */
/* На мобильном вкладки не нужны сверху как переключатель — переносим блок
   в самый низ страницы (над футером), он превращается в «Часто заказывают».
   Остальные секции <main> остаются с order: 0 в порядке разметки. */
@media (max-width: 768px) {
    .service-tabs.container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: calc(100% - 32px);
        margin-top: 16px;
        order: 10;
    }

    .service-tabs .hero-top-nav-item {
        justify-content: center;
        text-align: center;
        border-radius: 10px;
    }
}

/* ===== Advantages ===== */

.repair-advantages-section {
    margin-top: var(--large);
}

@media (max-width: 768px) {
    .repair-advantages-section {
        margin-top: var(--large);
    }
}

.repair-advantages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 900px) {
    .repair-advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .repair-advantages {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .repair-advantages {
        grid-template-columns: 1fr;
    }
}

.repair-advantage {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #EAF7FE;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-text);
}

.repair-advantage-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #359FE7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-advantage-icon svg {
    width: 22px;
    height: 22px;
}

/* ===== Pricing section ===== */

.pricing-section {
    margin-top: var(--large);
}

/* Заголовок лежит вне .container (сразу под преимуществами), поэтому
   ширину контейнера задаём ему сами */
h2.pricing-heading {
    width: min(var(--container-width), calc(100% - 33.33px));
    margin-inline: auto;
    font-family: var(--font-heading), sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.4;
    color: var(--color-text);
    margin-top: var(--large);
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 768px) {
    h2.pricing-heading {
        font-size: 22px;
        margin-top: var(--large);
        margin-bottom: 0;
    }
}

/* Без media-обёртки это правило (та же специфичность, что у мобильного
   .pricing-section{margin-bottom:0} выше по файлу) применялось бы и на
   мобильном тоже, перебивая мобильное значение более поздним порядком
   в каскаде — поэтому явно ограничиваем десктопом. */
@media (min-width: 769px) {
    .pricing-section {
        margin-bottom: var(--large);
    }
}

.pricing-table-wrap {
    border-radius: 10px;
    background: #D3EFFC;
    overflow: hidden;
    position: relative;
}

.pricing-panel {
    overflow-x: auto;
    scrollbar-width: none;
}

.pricing-panel::-webkit-scrollbar {
    display: none;
}

.price-table {
    width: 100%;
    min-width: 480px;
    table-layout: fixed;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 20px;
    text-align: left;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
    white-space: normal;
    overflow-wrap: break-word;
}

.price-table th:nth-child(1),
.price-table td:nth-child(1) {
    width: 80%;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2) {
    width: 20%;
    text-align: right;
}

.price-table-row td:nth-child(1) {
    font-weight: 400;
    padding-left: 48px;
}

.price-table thead th {
    background: #359FE7;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.02em;
    border-bottom: none;
}

@media (min-width: 769px) {
    .price-table td {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .price-table tbody tr:last-child td {
        border-bottom: none;
    }
}

.price-table-category td {
    background: #359FE7;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    padding-left: 48px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    border-bottom: none;
}

.price-table-category-title {
    display: block;
}

.price-table-category-price {
    padding-left: 20px;
    text-align: right;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.price-table-category-arrow {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.price-table-category.is-open .price-table-category-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.price-table-row {
    display: none;
}

.price-table-row.is-visible {
    display: table-row;
}

.repair-price-note {
    padding: 0;
    margin: 16px 0px 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text);
    text-align: center;
}

@media (max-width: 768px) {
    .pricing-table-wrap {
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        border-radius: 0;
        overflow-x: hidden;
    }

    .pricing-panel {
        overflow-x: hidden;
    }

    .price-table {
        width: 100%;
        min-width: 0;
        table-layout: auto;
    }

    .price-table thead {
        display: none;
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: auto;
    }

    .price-table td {
        padding: 12px 16px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    /* Цена — напротив услуги, всегда в одной строке с названием
       (flex-wrap:nowrap). Если название длинное, переносится само
       название (внутри своей ячейки), а не цена — цена остаётся
       справа на первой строке названия. */
    .price-table-category.price-table-category {
        position: relative;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px 8px;
        padding: 14px 16px 14px 46px;
        background: #359FE7;
        color: #ffffff;
    }

    .price-table-category td {
        position: static;
        padding: 0;
        min-width: 0;
    }

    .price-table-category td:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }

    .price-table td.price-table-category-price {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        padding-left: 0;
        text-align: right;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    .price-table-row.price-table-row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px 8px;
        padding: 12px 16px 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .price-table-row td {
        padding: 0;
    }

    .price-table tbody tr:last-child.price-table-row {
        border-bottom: none;
    }

    .price-table-row:not(.is-visible) {
        display: none;
    }

    .price-table-category {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .price-table-category-arrow {
        left: 16px;
    }

    .price-table-row td:nth-child(1) {
        flex: 1 1 auto;
        min-width: 0;
        font-weight: 400;
        font-size: 16px;
        color: var(--color-text);
        padding-left: 16px;
    }

    .price-table-row td:nth-child(2) {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        font-size: 16px;
        color: var(--color-text);
        text-align: right;
        white-space: nowrap;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    .repair-price-note {
        padding: 0;
        margin: 16px 0 0 0;
        text-align: center;
    }

    .order-checkout-heading {
        font-size: 28px;
    }
}
/* End */
/* /local/components/micronet/remont-printerov/templates/.default/style.css?17901709429308 */
