/*
 * Продукты 1С и сравнение. Подключается из шапки, потому что кнопка
 * «Сравнить» со счётчиком нужна на каждой странице сайта.
 * Webpack не используется: файл лежит в public/static и версионируется вручную.
 */

.pc-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Кнопка сравнения в шапке ---------- */

.header-compare {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    margin-left: 10px;
    padding: 0 14px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-pill);
    background: #fff;
    color: var(--primary-color);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease;
}

.header-compare:hover {
    background: var(--body-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.header-compare:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.header-compare__icon {
    display: inline-flex;
}

.header-compare__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.header-compare__count-wrap {
    display: inline-flex;
    align-items: center;
}

.header-compare__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--ds-r-pill);
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.header-compare[data-compare-count-value="0"] .header-compare__count {
    background: var(--ds-border);
    color: var(--main-text-color);
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-compare {
        padding: 0 10px;
    }

    .header-compare__text {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-compare {
        margin-left: 6px;
        padding: 0 10px;
    }

    .header-compare__text {
        display: none;
    }
}

@media (max-width: 360px) {
    .header-compare {
        margin-left: 4px;
        padding: 0 8px;
    }
}

/* ---------- ServiceDesk в шапке ---------- */

.header-servicedesk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 44px;
    margin-left: 8px;
    padding: 0 14px;
    border: 1px solid var(--primary-color);
    border-radius: var(--ds-r-pill);
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.header-servicedesk:hover {
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.header-servicedesk:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.header-servicedesk__icon {
    display: inline-flex;
}

.header-servicedesk__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .header-servicedesk {
        padding: 0 10px;
    }

    .header-servicedesk__text {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-servicedesk {
        margin-left: 6px;
        padding: 0 10px;
    }

    .header-servicedesk__text {
        display: none;
    }
}

@media (max-width: 360px) {
    .header-servicedesk {
        margin-left: 4px;
        padding: 0 8px;
    }
}

/* ---------- Общие элементы ---------- */

.pp-hero,
.pp-section,
.pc-hero,
.pc-status,
.pc-table-wrap,
.pc-empty {
    color: var(--main-text-color);
    font-family: var(--font);
}

.pp-eyebrow {
    margin: 0 0 14px;
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.pp-title {
    margin: 0;
    color: var(--primary-color);
    font-family: var(--h-font), sans-serif;
    font-size: var(--ds-h1);
    font-weight: 400;
    line-height: .98;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pp-lead {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--main-text-color);
    font-size: var(--ds-lead);
    line-height: 1.55;
}

.pp-breadcrumbs {
    padding: 20px 0 8px;
    color: var(--main-text-color);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.pp-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.pp-breadcrumbs a:hover {
    text-decoration: underline;
}

.pp-breadcrumbs a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pp-breadcrumbs__sep {
    color: var(--ds-muted);
}

@media (max-width: 1199px) {
    .pp-breadcrumbs {
        font-size: 14px;
    }
}

.pp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ds-btn-small-h);
    padding: var(--ds-btn-small-pad);
    border: 2px solid var(--primary-color);
    border-radius: var(--ds-r-pill);
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font);
    font-size: var(--ds-btn-small-font);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
}

.pp-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    filter: brightness(.9);
}

.pp-button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pp-button_outline {
    background: #fff;
    color: var(--primary-color);
}

.pp-button_outline:hover {
    background: var(--body-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    filter: none;
}

.pp-button_small {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
}

.pp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pp-muted {
    color: var(--ds-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- Шапка продукта ---------- */

.pp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 24px 0 56px;
}

.pp-hero__text {
    min-width: 0;
}

.pp-hero__media {
    min-width: 0;
    margin: 0;
    align-self: stretch;
}

.pp-hero__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.pp-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    min-height: 260px;
    padding: 36px;
    border-radius: var(--ds-r-surface);
    background: var(--body-bg);
    text-align: center;
    overflow: hidden;
}

.pp-hero__mark {
    display: block;
    max-width: 100%;
    color: var(--primary-color);
    font-family: var(--h-font), sans-serif;
    font-size: clamp(72px, 10vw, 128px);
    line-height: .9;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

/* Длинные названия издателей (не 1С): меньше кегль и перенос, без переполнения. */
.pp-hero__mark_long {
    font-family: var(--font);
    font-size: clamp(20px, 3.4vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.pp-hero__caption {
    max-width: 100%;
    color: var(--ds-muted);
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pp-compare {
    margin-top: 24px;
}

.pp-compare__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.pp-compare__label input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--primary-color);
    flex: 0 0 auto;
}

.pp-compare__label input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pp-compare__label input:disabled + span {
    color: var(--ds-muted);
}

.pp-compare__hint {
    max-width: 460px;
    margin: 8px 0 0;
    color: var(--ds-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- Секции страницы продукта ---------- */

.product-page {
    padding-bottom: 48px;
}

.pp-section {
    margin: 0 0 64px;
    scroll-margin-top: 112px;
}

.pp-section h2 {
    margin: 0 0 20px;
    color: var(--main-text-color);
    font-family: var(--h-font), sans-serif;
    font-size: var(--ds-h2);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pp-section h3 {
    margin: 0 0 10px;
    color: var(--main-text-color);
    font-family: var(--h-font), sans-serif;
    font-size: var(--ds-h3-card);
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

.pp-section__lead {
    max-width: 880px;
    margin: 0 0 28px;
    color: var(--ds-muted);
    font-size: 16px;
    line-height: 1.65;
}

.pp-text {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.7;
}

.pp-text p {
    margin: 0 0 16px;
}

/* Редакции */

.pp-editions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.pp-edition {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-surface);
    box-shadow: 0 8px 28px rgba(24, 35, 57, .03);
}

.pp-edition__title {
    margin-bottom: 12px !important;
    color: var(--main-text-color);
}

.pp-edition__code {
    margin: 0 0 12px;
    color: var(--ds-muted);
    font-size: 13px;
}

.pp-edition__features {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    color: var(--main-text-color);
    font-size: 14px;
    line-height: 1.55;
}

.pp-edition__features li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.pp-edition__features li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

.pp-edition__price {
    margin: 8px 0 6px;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.pp-edition__price_request {
    font-size: 24px;
}

.pp-edition__meta {
    margin: 0 0 8px;
    color: var(--ds-muted);
    font-size: 13px;
    line-height: 1.5;
}

.pp-edition__status {
    margin: 0 0 20px;
    font-size: 14px;
    font-weight: 600;
}

.pp-edition .pp-button {
    margin-top: auto;
    width: 100%;
}

.pp-edition_empty {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Возможности */

.pp-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pp-advantage {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-surface);
}

.pp-advantage h3 {
    color: var(--main-text-color);
}

.pp-advantage p,
.pp-advantage ul {
    margin: 0;
    color: var(--main-text-color);
    font-size: 15px;
    line-height: 1.6;
}

.pp-advantage ul {
    padding: 0;
    list-style: none;
}

.pp-advantage li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
}

.pp-advantage li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
}

/* Характеристики */

.pp-specs__groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.pp-spec-group {
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-surface);
}

.pp-spec-group h3 {
    color: var(--main-text-color);
}

.pp-spec-list {
    margin: 0;
}

.pp-spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--ds-border);
    font-size: 14px;
    line-height: 1.5;
}

.pp-spec-row:last-child {
    border-bottom: 0;
}

.pp-spec-row dt {
    margin: 0;
    color: var(--ds-muted);
    overflow-wrap: anywhere;
}

.pp-spec-row dd {
    margin: 0;
    color: var(--main-text-color);
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

/* Заявка */

.pp-request {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 40px;
    background: var(--body-bg);
    border-radius: var(--ds-r-surface);
    scroll-margin-top: 112px;
}

.pp-request__text {
    min-width: 0;
}

.pp-request__text h2 {
    margin-bottom: 16px;
}

.pp-request__text > p {
    max-width: 520px;
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.65;
}

.pp-request__points {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.55;
}

.pp-request__points li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 22px;
}

.pp-request__points li::before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.pp-request__form {
    min-width: 0;
}

.pp-form {
    padding: 28px;
    background: #fff;
    border-radius: var(--ds-r-surface);
}

.pp-form > div {
    margin-bottom: 16px;
}

.pp-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.pp-form input:not([type="checkbox"]),
.pp-form textarea,
.pp-form select {
    width: 100%;
    min-height: var(--ds-control-h);
    padding: 14px 16px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-control);
    background: #fff;
    color: var(--main-text-color);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
}

.pp-form input:not([type="checkbox"]):focus,
.pp-form textarea:focus,
.pp-form select:focus {
    border-color: var(--primary-color);
}

.pp-form textarea {
    min-height: 120px;
    resize: vertical;
}

.pp-form input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--primary-color);
    flex: 0 0 auto;
}

.pp-form div:has(> input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}

.pp-form div:has(> input[type="checkbox"]) label {
    margin: 0;
}

.pp-form ul.errors {
    margin: 0 0 16px;
    padding-left: 18px;
    color: var(--ds-error-ink, #b50000);
    font-size: 14px;
    line-height: 1.5;
}

.pp-form .button,
.pp-form button {
    min-height: 48px;
}

.pp-cta {
    padding: 28px;
    background: #fff;
    border-radius: var(--ds-r-surface);
}

.pp-cta > p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
}

.pp-cta .pp-button {
    width: 100%;
}

.pp-cta__phone {
    margin: 16px 0 0 !important;
    font-size: 20px;
    font-weight: 700;
}

.pp-cta__phone a {
    color: var(--primary-color);
    text-decoration: none;
}

.pp-cta__phone a:hover {
    text-decoration: underline;
}

.pp-cta__phone a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* Другие продукты */

.pp-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.pp-related-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-surface);
}

.pp-related-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.pp-related-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.pp-related-card h3 a:hover {
    text-decoration: underline;
}

.pp-related-card h3 a:focus-visible,
.pp-related__link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pp-related-card p {
    margin: 0 0 16px;
    color: var(--main-text-color);
    font-size: 14px;
    line-height: 1.6;
}

.pp-related__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: auto;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pp-related__link::after {
    content: "→";
    margin-left: 8px;
    transition: transform .2s ease;
}

.pp-related__link:hover::after {
    transform: translateX(4px);
}

.pp-related__all {
    margin: 24px 0 0;
}

/* ---------- Страница сравнения ---------- */

.pc-hero {
    padding-bottom: 8px;
}

.pc-status {
    margin: 0 0 20px;
    color: var(--ds-muted);
    font-size: 15px;
    line-height: 1.5;
}

.pc-table-wrap {
    padding-bottom: 48px;
}

.pc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: var(--body-bg);
    border-radius: var(--ds-r-surface);
    margin-bottom: 10px;
}

.pc-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.pc-switch input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--primary-color);
    flex: 0 0 auto;
}

.pc-switch input:focus-visible,
.pc-clear:focus-visible,
.pc-remove:focus-visible,
.pc-scroll:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pc-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-pill);
    background: #fff;
    color: var(--primary-color);
    font: 600 14px/1.4 var(--font);
    cursor: pointer;
}

.pc-clear:hover {
    border-color: var(--primary-color);
    background: var(--body-bg);
}

.pc-hint {
    max-width: 880px;
    margin: 0 0 16px;
    color: var(--ds-muted);
    font-size: 13px;
    line-height: 1.5;
}

.pc-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-r-surface);
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.pc-table {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.pc-table caption {
    padding: 14px 18px;
    color: var(--ds-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    background: #fff;
    border-bottom: 1px solid var(--ds-border);
}

.pc-table th,
.pc-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ds-border);
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}

.pc-table tbody tr:last-child th,
.pc-table tbody tr:last-child td {
    border-bottom: 0;
}

.pc-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    min-width: 190px;
    background: var(--body-bg);
    border-bottom: 2px solid var(--ds-border);
    vertical-align: top;
}

.pc-table__feature {
    left: 0;
    z-index: 3;
    width: 230px;
    min-width: 200px;
}

.pc-table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 230px;
    min-width: 200px;
    background: #fff;
    font-weight: 600;
    box-shadow: 1px 0 0 var(--ds-border);
}

.pc-table__product {
    display: block;
    margin-bottom: 6px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.pc-table__product:hover {
    text-decoration: underline;
}

.pc-table__product:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.pc-table__category {
    display: block;
    margin-bottom: 6px;
    color: var(--ds-muted);
    font-size: 12px;
    line-height: 1.4;
}

.pc-table__price {
    display: block;
    margin-bottom: 10px;
    color: var(--main-text-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pc-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid var(--ds-error-line, #e3b7b7);
    border-radius: var(--ds-r-pill);
    background: #fff;
    color: var(--ds-error-ink, #b50000);
    font: 600 13px/1.3 var(--font);
    cursor: pointer;
}

.pc-remove:hover {
    background: var(--ds-error-bg, #fdeaea);
    border-color: var(--ds-error-ink, #b50000);
}

.pc-group th {
    padding: 12px 16px;
    background: var(--body-bg);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid var(--ds-border);
}

.pc-price {
    display: block;
    color: var(--main-text-color);
    font-weight: 700;
}

.pc-price__date,
.pc-price__note {
    display: block;
    margin-top: 4px;
    color: var(--ds-muted);
    font-size: 12px;
    line-height: 1.45;
}

.pc-table tr[hidden],
.pc-table th[hidden],
.pc-table td[hidden],
.pc-table-wrap[hidden],
.pc-empty[hidden] {
    display: none !important;
}

.pc-empty {
    margin: 0 0 48px;
    padding: 40px;
    background: var(--body-bg);
    border-radius: var(--ds-r-surface);
    scroll-margin-top: 112px;
}

.pc-empty h2 {
    margin: 0 0 16px;
    color: var(--main-text-color);
    font-family: var(--h-font), sans-serif;
    font-size: var(--ds-h2);
    font-weight: 400;
    line-height: 1.03;
    text-transform: uppercase;
}

.pc-empty p {
    max-width: 720px;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.65;
}

.pc-empty a {
    color: var(--primary-color);
}

.pc-empty a.pp-button {
    color: #fff;
}

.pc-empty a.pp-button:hover {
    color: #fff;
}

.pc-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 24px !important;
}

.pc-empty__actions .pc-clear {
    background: transparent;
}

/* ---------- Адаптивность ---------- */

@media (max-width: 1100px) {
    .pp-hero {
        gap: 32px;
    }

    .pp-request {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 28px;
    }
}

@media (max-width: 900px) {
    .pp-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-bottom: 40px;
    }

    .pp-hero__media {
        max-width: 640px;
    }

    .pp-advantages__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .pp-specs__groups {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .pp-section {
        margin-bottom: 48px;
    }

    .pp-title {
        font-size: var(--ds-h1);
    }

    .pp-lead {
        font-size: 16px;
    }

    .pp-hero__actions .pp-button {
        width: 100%;
    }

    .pp-editions__grid,
    .pp-advantages__grid,
    .pp-related__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pp-request {
        padding: 20px;
        margin-left: -8px;
        margin-right: -8px;
    }

    .pp-form,
    .pp-cta {
        padding: 20px;
    }

    .pc-toolbar {
        align-items: stretch;
        padding: 14px;
    }

    .pc-clear {
        width: 100%;
    }

    .pc-empty {
        padding: 24px;
        margin-left: -8px;
        margin-right: -8px;
    }

    .pc-table {
        min-width: 680px;
        font-size: 13px;
    }

    .pc-table th,
    .pc-table td {
        padding: 12px;
    }

    .pc-table__feature,
    .pc-table tbody th[scope="row"] {
        width: 180px;
        min-width: 160px;
    }

    .pp-spec-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .pp-spec-row dd {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .pp-hero__image {
        padding: 12px;
    }

    .pp-hero__visual {
        min-height: 200px;
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-compare,
    .pp-button,
    .pp-related__link::after {
        transition: none;
    }
}
