.price-page {
    padding: 32px 0 56px;
}

.price-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 20px;
    background: #fff;
    margin-bottom: 16px;
}

.price-page__head-text {
    max-width: 720px;
}

.price-page__head-text .h1 {
    margin-bottom: 12px;
}

.price-page__head-text p {
    margin: 0;
    color: #696f7d;
    font-size: 16px;
    line-height: 1.45;
}

.price-page__download {
    flex: 0 0 auto;
    text-decoration: none;
}

.price-page__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.price-page__summary span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #fff;
    color: #202438;
    font-size: 14px;
    line-height: 1.2;
}

.price-page__empty {
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    color: #696f7d;
}

.price-page__nav {
    padding: 24px 32px;
    border-radius: 20px;
    background: #fff;
    margin-bottom: 20px;
}

.price-page__nav-title {
    margin: 0 0 14px;
    color: #202438;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
}

.price-page__select-wrap {
    max-width: 560px;
}

.price-page__select {
    width: 100%;
    min-height: 44px;
    padding: 10px 42px 10px 14px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
    background: #fff;
    color: #202438;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}

.price-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-section {
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    scroll-margin-top: 96px;
    transition: box-shadow .2s ease;
}

.price-section.is-highlighted {
    box-shadow: 0 0 0 2px rgba(196, 20, 20, .28);
}

.price-section--group .price-section__top {
    border-bottom: 0;
}

.price-section__body {
    min-height: 58px;
}

.price-section__loading {
    padding: 22px 32px;
    color: #696f7d;
    font-size: 14px;
    line-height: 1.35;
}

.price-section__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 32px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.price-section__caption {
    min-width: 0;
}

.price-section__title {
    margin: 0;
    color: #202438;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

.price-section__path {
    margin-top: 6px;
    color: #8a8f9f;
    font-size: 13px;
    line-height: 1.3;
}

.price-section__link {
    flex: 0 0 auto;
}

.price-section__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 14px;
    max-width: 420px;
}

.price-section__count {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 8px;
    background: #f6f6f7;
    color: #696f7d;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.price-table {
    width: 100%;
}

.price-table__head,
.price-row {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(260px, 1fr) minmax(320px, .9fr);
    gap: 20px;
    align-items: center;
}

.price-table__head {
    padding: 12px 32px;
    background: #fafafa;
    color: #8a8f9f;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
}

.price-row {
    padding: 12px 32px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.price-row:first-of-type {
    border-top: 0;
}

.price-row__name {
    display: inline-flex;
    color: #202438;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
}

.price-row__name:hover {
    color: var(--color-main-red);
}

.price-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 6px;
    color: #8a8f9f;
    font-size: 12px;
    line-height: 1.2;
}

.price-row__props {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.price-row__prop {
    display: inline-flex;
    gap: 4px;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 6px;
    background: #f6f6f7;
    color: #202438;
    font-size: 12px;
    line-height: 1.25;
}

.price-row__prop span {
    color: #8a8f9f;
}

.price-row__muted {
    color: #8a8f9f;
    font-size: 13px;
}

.price-row__cart,
.price-row__mode,
.price-row__request {
    width: 100%;
}

.price-row__unit-switch {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border-radius: 8px;
    background: #f6f6f7;
    margin-bottom: 8px;
}

.price-row__unit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 26px;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #696f7d;
    font: inherit;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.price-row__unit-btn.is-active {
    background: var(--color-main-red);
    color: #fff;
}

.price-row__mode,
.price-row__request {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.price-row__price {
    color: #202438;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.price-row__total {
    min-height: 16px;
    margin-top: 3px;
    color: #8a8f9f;
    font-size: 12px;
    line-height: 1.2;
}

.price-row__added {
    display: flex;
    justify-content: flex-end;
}

.price-row__button .button,
.price-row__request .button {
    min-width: 104px;
}

.price-row__counter .counter {
    width: 132px;
}

@media (max-width: 1100px) {
    .price-table__head {
        display: none;
    }

    .price-row {
        grid-template-columns: minmax(260px, 1fr) minmax(300px, auto);
        gap: 10px 18px;
    }

    .price-row__props {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 768px) {
    .price-page {
        padding: 20px 0 40px;
    }

    .price-page__head,
    .price-page__nav,
    .price-section__top {
        padding: 20px 16px;
    }

    .price-page__head {
        flex-direction: column;
    }

    .price-page__download {
        width: 100%;
        justify-content: center;
    }

    .price-page__select-wrap {
        max-width: none;
    }

    .price-section__top {
        flex-direction: column;
        gap: 14px;
    }

    .price-section__actions {
        width: 100%;
        max-width: none;
        justify-content: flex-start;
    }

    .price-section__title {
        font-size: 20px;
    }

    .price-row {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }

    .price-row__props {
        grid-column: auto;
        order: 0;
    }
}

@media (max-width: 520px) {
    .price-section__actions,
    .price-row__mode,
    .price-row__request {
        grid-template-columns: 1fr;
    }

    .price-section__actions {
        display: grid;
        gap: 10px;
    }

    .price-row__added,
    .price-row__button .button,
    .price-row__request .button,
    .price-row__counter .counter {
        width: 100%;
    }
}
