/* podborPageStyles */
/* =========================================
   ОБНОВЛЁННЫЕ СТРАНИЦЫ ПОДБОРА
   ========================================= */

.podbor-page-modern {
    --podbor-navy: #142c4b;
    --podbor-yellow: #ffe45c;
    --podbor-yellow-border: #e5c52d;
    --podbor-border: #d9e2eb;
    --podbor-background: #f7f9fc;
    --podbor-text: #4f6178;

    padding-bottom: 32px;
}

/* Верхняя сетка */

.podbor-page-modern .product__content {
    column-gap: 24px;
    row-gap: 14px;
}

/* Галерея */

.podbor-page-modern .product__gallery {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--podbor-border);
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(20, 44, 75, .06);
    overflow: hidden;
}

.podbor-page-modern .product-gallery__featured {
    background: var(--podbor-background);
    border-radius: 12px;
    overflow: hidden;
}

.podbor-page-modern .product-gallery__featured img {
    display: block;
    width: 100%;
    max-height: 480px;
    margin: auto;
    object-fit: contain;
}

.podbor-page-modern .product-gallery__carousel {
    margin-top: 12px;
}

.podbor-page-modern .product-gallery__carousel-item {
    border: 1px solid var(--podbor-border);
    border-radius: 10px;
    overflow: hidden;
}

.podbor-page-modern
.product-gallery__carousel-item--active {
    border-color: var(--podbor-yellow-border);
    box-shadow: 0 0 0 1px var(--podbor-yellow-border);
}

/* Заголовок модели */

.podbor-page-modern .product__info {
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--podbor-border);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(20, 44, 75, .05);
}

.podbor-page-modern .product__name {
    margin: 0;
    color: var(--podbor-navy);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 700;
}

.podbor-page-modern .product__info > p {
    display: inline-flex;
    margin: 10px 0 0;
    padding: 6px 10px;
    color: var(--podbor-navy);
    background: var(--podbor-background);
    border-radius: 7px;
    font-size: 13px;
}

/* Общий вид правых блоков */

.podbor-page-modern .product__variants,
.podbor-page-modern .product__specs.podbor,
.podbor-page-modern
.product__content > .products-view__list.podbor {
    padding: 16px;
    background: var(--podbor-background);
    border: 1px solid var(--podbor-border);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(20, 44, 75, .045);
}

.podbor-page-modern .block-header-podbor {
    min-height: 0;
    margin-bottom: 12px;
}

.podbor-page-modern .block-header-podbor h5,
.podbor-page-modern .block-header-podbor h6 {
    margin: 0;
    color: var(--podbor-navy);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.podbor-page-modern
.block-header-podbor .block-header__divider {
    background: var(--podbor-border);
}

/* Кнопки вариантов модели */

.podbor-page-modern
.product__variants .nav-links__list.podbor {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.podbor-page-modern
.product__variants .nav-links__item {
    margin: 0;
}

.podbor-page-modern
.product__variants .nav-links__item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 42px;
    padding: 0 14px;
    color: var(--podbor-navy);
    background: #fff;
    border: 1px solid var(--podbor-border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color .18s ease,
        background-color .18s ease,
        transform .18s ease;
}

.podbor-page-modern
.product__variants .nav-links__item-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.podbor-page-modern
.product__variants a.nav-links__item-link:hover {
    color: var(--podbor-navy);
    background: #fff9d8;
    border-color: var(--podbor-yellow-border);
    transform: translateY(-1px);
}

.podbor-page-modern
.product__variants span.nav-links__item-link {
    color: var(--podbor-navy);
    background: var(--podbor-yellow);
    border-color: var(--podbor-yellow-border);
    box-shadow: 0 3px 8px rgba(229, 197, 45, .22);
}

/* Условия доставки */

.podbor-page-modern .product__specs.podbor ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
}

.podbor-page-modern
.product__specs.podbor .product__specs-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 0;
    min-height: 70px;
    margin: 0;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid var(--podbor-border);
    border-radius: 10px;
}

.podbor-page-modern
.product__specs.podbor .product__specs-title,
.podbor-page-modern
.product__specs.podbor .product__specs-object {
    position: static;
    display: block;
    width: auto;
    padding: 0;
}

.podbor-page-modern
.product__specs.podbor .product__specs-title::after {
    display: none;
}

.podbor-page-modern
.product__specs.podbor .product__specs-title a {
    color: var(--podbor-text);
    font-size: 13px;
    line-height: 1.3;
}

.podbor-page-modern
.product__specs.podbor .product__specs-object {
    color: var(--podbor-navy);
    font-size: 14px;
    font-weight: 700;
}

/* Отдельные секции: комплекты, ТЭНы, аноды и т. д. */

.podbor-page-modern
.product > .products-view__list.podbor {
    margin-top: 18px;
    padding: 18px;
    background: var(--podbor-background);
    border: 1px solid var(--podbor-border);
    border-radius: 16px;
}

.podbor-page-modern
.products-view__list.podbor .products-list__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin: 0 !important;
}

.podbor-page-modern
.products-view__list.podbor .products-list__item {
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
}

/* Две карточки в ряд только на широком экране */

@media (min-width: 1200px) {
    .podbor-page-modern
    .product > .products-view__list.podbor
    .products-list__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Карточка запчасти */

.podbor-page-modern
.products-view__list.podbor .product-card {
    min-height: 112px;
    background: #fff !important;
    border: 1px solid var(--podbor-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 3px 10px rgba(20, 44, 75, .045);
    overflow: hidden;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.podbor-page-modern
.products-view__list.podbor .product-card::before {
    display: none !important;
}

.podbor-page-modern
.products-view__list.podbor .product-card:hover {
    border-color: var(--podbor-yellow-border) !important;
    box-shadow: 0 7px 18px rgba(20, 44, 75, .09);
    transform: translateY(-1px);
}

/* Изображение */

.podbor-page-modern
.products-view__list.podbor .product-card__image {
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px;
    padding: 8px !important;
    background: #fff;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image a,
.podbor-page-modern
.products-view__list.podbor .product-card__image picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image img {
    width: 100%;
    height: 100%;
    max-height: 96px;
    object-fit: contain;
}

/* Артикул */

.podbor-page-modern
.products-view__list.podbor .product-card__article.podbor {
    display: flex;
    flex: 0 0 86px !important;
    width: 86px !important;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #111 !important;
    background: #f6f8fb;
    border-right: 1px solid var(--podbor-border);
    border-left: 1px solid var(--podbor-border);
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}

.podbor-page-modern
.product-card__article.podbor:hover {
    color: var(--podbor-navy) !important;
    background: #fff8ce;
}

/* Название */

.podbor-page-modern
.products-view__list.podbor .product-card__info {
    display: flex;
    flex: 1 1 auto !important;
    min-width: 0;
    align-items: center;
    padding: 13px 15px !important;
}

.podbor-page-modern
.products-view__list.podbor .product-card__name a {
    color: var(--podbor-navy);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.podbor-page-modern
.products-view__list.podbor .product-card__name a:hover {
    color: #9c8100;
}

/* Цена и кнопка */

.podbor-page-modern
.products-view__list.podbor .product-card__actions {
    display: flex;
    flex: 0 0 154px !important;
    width: 154px !important;
    justify-content: center;
    padding: 12px !important;
    background: #fff;
    border-left: 1px solid var(--podbor-border);
}

.podbor-page-modern
.products-view__list.podbor .product-card__prices {
    margin-bottom: 9px;
    color: var(--podbor-navy);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.podbor-page-modern
.products-view__list.podbor .product-card__old-price {
    color: #929dac;
    font-size: 12px;
}

.podbor-page-modern
.products-view__list.podbor .product-card__addtocart {
    min-height: 36px;
    padding: 7px 14px;
    color: var(--podbor-navy);
    background: var(--podbor-yellow);
    border-color: var(--podbor-yellow-border);
    border-radius: 8px;
    font-weight: 600;
}

.podbor-page-modern
.products-view__list.podbor .product-card__addtocart:hover {
    color: var(--podbor-navy);
    background: #ffdc32;
    border-color: #d6b414;
}

/* Средние экраны */

@media (min-width: 992px) and (max-width: 1199.98px) {
    .podbor-page-modern
    .products-view__list.podbor .product-card__image {
        flex-basis: 90px !important;
        width: 90px !important;
        min-width: 90px;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__article.podbor {
        flex-basis: 68px !important;
        width: 68px !important;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__actions {
        flex-basis: 132px !important;
        width: 132px !important;
    }

    .podbor-page-modern .product__name {
        font-size: 27px;
    }
}

/* Планшеты */

@media (max-width: 991.98px) {
    .podbor-page-modern .product__content {
        display: block !important;
    }

    .podbor-page-modern .product__content > * {
        margin-bottom: 14px;
    }

    .podbor-page-modern .product__gallery {
        height: auto;
    }
}

/* Телефоны */

@media (max-width: 575.98px) {
    .podbor-page-modern .product__name {
        font-size: 25px;
    }

    .podbor-page-modern .product__info,
    .podbor-page-modern .product__variants,
    .podbor-page-modern .product__specs.podbor,
    .podbor-page-modern
    .product__content > .products-view__list.podbor,
    .podbor-page-modern
    .product > .products-view__list.podbor {
        padding: 12px;
        border-radius: 12px;
    }

    .podbor-page-modern
    .product__specs.podbor ul {
        grid-template-columns: 1fr;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-areas:
            "image info"
            "article info"
            "actions actions";
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__image {
        grid-area: image;
        width: 88px !important;
        min-width: 88px;
        height: 88px;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__article.podbor {
        grid-area: article;
        width: 88px !important;
        min-height: 46px;
        border-right: 1px solid var(--podbor-border);
        border-bottom: 0;
        border-left: 0;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__info {
        grid-area: info;
        align-items: flex-start;
        padding: 12px !important;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__actions {
        grid-area: actions;
        flex-direction: row;
        width: auto !important;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid var(--podbor-border);
        border-left: 0;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__prices {
        margin: 0 10px 0 0;
    }
}
/* Исправление изображений и блока цены */

.podbor-page-modern .product__gallery {
    align-self: start;
    height: auto;
}

.podbor-page-modern .product-gallery__featured img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 430px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.podbor-page-modern .product-gallery__carousel-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 84px !important;
    margin: auto !important;
    object-fit: contain !important;
}

/* Изображения запчастей */

.podbor-page-modern
.products-view__list.podbor .product-card__image {
    display: flex !important;
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    padding: 10px !important;
    align-items: center;
    justify-content: center;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image a,
.podbor-page-modern
.products-view__list.podbor .product-card__image picture {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 82px !important;
    margin: auto !important;
    object-fit: contain !important;
}

/* Цена снова над кнопкой */

.podbor-page-modern
.products-view__list.podbor .product-card__actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.podbor-page-modern
.products-view__list.podbor .product-card__prices {
    white-space: nowrap;
}

/* Телефон */

@media (max-width: 575.98px) {
    .podbor-page-modern
    .products-view__list.podbor .product-card__image {
        flex-basis: 88px !important;
        width: 88px !important;
        min-width: 88px !important;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__image img {
        max-height: 70px !important;
    }

    .podbor-page-modern
    .products-view__list.podbor .product-card__actions {
        flex-direction: row !important;
        align-items: center !important;
    }
}
/* Окончательное выравнивание фотографий запчастей */

.podbor-page-modern
.products-view__list.podbor .product-card__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1;
    line-height: 0;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image picture {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.podbor-page-modern
.products-view__list.podbor .product-card__image img {
    position: static !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
}

/* Убираем пунктир в условиях доставки */

.podbor-page-modern
.product__specs.podbor .product__specs-item::before {
    display: none !important;
    content: none !important;
    border: 0 !important;
}
/* ТЭНы под верхним блоком */

.podbor-page-modern
.podbor-ten-output > .products-view__list.podbor {
    margin-top: 18px;
    padding: 18px;
    background: var(--podbor-background);
    border: 1px solid var(--podbor-border);
    border-radius: 16px;
}

.podbor-page-modern
.podbor-ten-output .products-list__body {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 !important;
}

.podbor-page-modern
.podbor-ten-output .products-list__item {
    width: auto !important;
    margin: 0 !important;
}

/* Компактная карточка ТЭНа */

@media (min-width: 1200px) {
    .podbor-page-modern
    .podbor-ten-output .product-card {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-areas:
            "image info"
            "article info"
            "actions actions";
        height: 100%;
        min-height: 190px;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__image {
        grid-area: image;
        width: 92px !important;
        min-width: 92px !important;
        height: 92px !important;
        padding: 10px !important;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__article.podbor {
        grid-area: article;
        width: 92px !important;
        min-width: 92px !important;
        min-height: 48px;
        padding: 7px !important;
        border-top: 1px solid var(--podbor-border);
        border-right: 1px solid var(--podbor-border);
        border-left: 0;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__info {
        grid-area: info;
        min-width: 0;
        padding: 13px !important;
        align-items: flex-start;
        justify-content: center;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__name a {
        font-size: 13px;
        line-height: 1.35;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__actions {
        grid-area: actions;
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        min-width: 0 !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 12px !important;
        border-top: 1px solid var(--podbor-border);
        border-left: 0;
    }

    .podbor-page-modern
    .podbor-ten-output .product-card__prices {
        margin: 0 10px 0 0;
        font-size: 16px;
        white-space: nowrap;
    }
}

/* Планшет: две карточки */

@media (min-width: 768px) and (max-width: 1199.98px) {
    .podbor-page-modern
    .podbor-ten-output .products-list__body {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Телефон: одна карточка */

@media (max-width: 767.98px) {
    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor {
        padding: 12px;
    }

    .podbor-page-modern
    .podbor-ten-output .products-list__body {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
/* Компактные пропорции карточек ТЭНов */

@media (min-width: 768px) {
    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor {
        padding: 14px;
    }

    .podbor-page-modern
    .podbor-ten-output .products-list__body {
        gap: 10px !important;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card {
        display: grid !important;
        grid-template-columns: 84px minmax(0, 1fr) !important;
        grid-template-rows: 84px 48px !important;
        grid-template-areas:
            "image info"
            "article actions" !important;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        align-items: stretch;
    }

    /* Фото */

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__image {
        grid-area: image !important;
        flex: 0 0 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 84px !important;
        padding: 7px !important;
    }

    /* Артикул */

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__article.podbor {
        grid-area: article !important;
        flex: 0 0 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 5px !important;
        border-top: 1px solid var(--podbor-border);
        border-right: 1px solid var(--podbor-border);
        border-left: 0;
    }

    /* Название */

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__info {
        grid-area: info !important;
        min-width: 0;
        height: 84px !important;
        padding: 10px 12px !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__name a {
        font-size: 13px;
        line-height: 1.35;
    }

    /* Цена и кнопка в одной строке */

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__actions {
        grid-area: actions !important;
        display: flex !important;
        flex: 0 1 auto !important;
        flex-direction: row !important;
        width: auto !important;
        min-width: 0 !important;
        height: 48px !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 10px !important;
        border-top: 1px solid var(--podbor-border);
        border-left: 0;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__prices {
        margin: 0 8px 0 0 !important;
        font-size: 16px;
        white-space: nowrap;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__buttons form {
        margin: 0;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__addtocart {
        min-height: 34px;
        padding: 6px 11px;
        white-space: nowrap;
    }
}
/* Выделение основной категории ТЭНов */

.podbor-page-modern
.podbor-ten-output > .products-view__list.podbor {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #fffcef 0%,
            #f8fafc 72%
        ) !important;
    border-color: #e5d587 !important;
    box-shadow:
        inset 4px 0 0 #efce36,
        0 6px 18px rgba(20, 44, 75, .06);
}

.podbor-page-modern
.podbor-ten-output .block-header-podbor h5 {
    display: flex;
    align-items: center;
    color: var(--podbor-navy);
}

.podbor-page-modern
.podbor-ten-output .block-header-podbor h5::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 8px;
    background: #efce36;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(239, 206, 54, .16);
}

.podbor-page-modern
.podbor-ten-output .block-header__divider {
    background: linear-gradient(
        90deg,
        #e5d587,
        var(--podbor-border)
    );
}

.podbor-page-modern
.podbor-ten-output .product-card {
    background: #fff !important;
    border-color: #dfd8b6 !important;
}

/* Дополнительное место для кнопки */

@media (min-width: 768px) {
    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card {
        grid-template-rows: 84px 54px !important;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__article.podbor {
        height: 54px !important;
        min-height: 54px !important;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__actions {
        height: 54px !important;
        padding: 8px 10px !important;
        overflow: visible !important;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__buttons {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        padding: 1px 0;
    }

    .podbor-page-modern
    .podbor-ten-output > .products-view__list.podbor
    .product-card__addtocart {
        display: inline-flex;
        min-height: 36px;
        padding: 7px 12px;
        align-items: center;
        justify-content: center;
        line-height: 20px;
        white-space: nowrap;
        box-sizing: border-box;
    }
}
/* В блоке ТЭНов показываем только одну кнопку */

.podbor-page-modern
.podbor-ten-output
.product-card__addtocart:not(.product-card__addtocart--list) {
    display: none !important;
}

.podbor-page-modern
.podbor-ten-output
.product-card__addtocart--list {
    display: inline-flex !important;
    width: auto !important;
    min-width: 94px;
    min-height: 36px;
    padding: 7px 12px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.podbor-page-modern
.podbor-ten-output
.product-card__buttons form {
    display: block !important;
    margin: 0;
}
/* Компактная плашка помощи в верхней части подбора */

.podbor-page-modern
.product__content > .podbor-cta--compact {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px 18px !important;

    color: var(--podbor-navy);
    background:
        linear-gradient(
            135deg,
            #f7faff 0%,
            #fffdf3 100%
        ) !important;

    border: 1px solid var(--podbor-border);
    border-radius: 14px;
    box-shadow:
        inset 4px 0 0 #efce36,
        0 5px 16px rgba(20, 44, 75, .055);
}

.podbor-page-modern
.product__content > .podbor-cta--compact h3 {
    margin: 0 0 7px;
    color: var(--podbor-navy);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.podbor-page-modern
.product__content > .podbor-cta--compact p {
    margin: 0 0 12px;
    color: #4f6178;
    font-size: 14px;
    line-height: 20px;
}

.podbor-page-modern
.product__content > .podbor-cta--compact p a {
    color: #1f5797;
    font-weight: 500;
    white-space: nowrap;
}

.podbor-page-modern
.product__content > .podbor-cta--compact .btn {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 16px;
    align-items: center;
    justify-content: center;

    color: var(--podbor-navy);
    background: var(--podbor-yellow);
    border-color: var(--podbor-yellow-border);
    border-radius: 8px;

    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

/* Компьютер: размещаем в правой колонке */

@media (min-width: 992px) {
    .podbor-page-modern
    .product__content > .podbor-cta--compact {
        grid-column: 2;
        grid-row: 4;
        align-self: stretch;
        min-height: 180px;
    }

    /* Убираем лишний отступ над доставкой */

    .podbor-page-modern
    .product__specs.podbor {
        margin-top: 0 !important;
    }
}

/* Планшет и телефон: обычный полноширинный блок */

@media (max-width: 991.98px) {
    .podbor-page-modern
    .product__content > .podbor-cta--compact {
        min-height: 0;
        margin-top: 14px !important;
    }
}

@media (max-width: 575.98px) {
    .podbor-page-modern
    .product__content > .podbor-cta--compact {
        padding: 14px !important;
        border-radius: 12px;
    }

    .podbor-page-modern
    .product__content > .podbor-cta--compact h3 {
        font-size: 17px;
    }
}
.podbor-page-modern .podbor-stock-wrapper {
    margin-top: 5px;
}

.podbor-page-modern .podbor-stock {
    display: inline-flex;
    min-height: 20px;
    padding: 3px 8px;
    align-items: center;
    gap: 5px;
    border-radius: 20px;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.podbor-page-modern .podbor-stock__dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
}

/* В наличии */
.podbor-page-modern .podbor-stock--available {
    color: #198544;
    background: #edf9f1;
    border: 1px solid #bfe8cd;
}

.podbor-page-modern .podbor-stock--available .podbor-stock__dot {
    background: #27a653;
}

/* Под заказ */
.podbor-page-modern .podbor-stock--order {
    color: #8a6500;
    background: #fff8df;
    border: 1px solid #eadb9d;
}

.podbor-page-modern .podbor-stock--order .podbor-stock__dot {
    background: #d8a817;
}

/* Нет в наличии */
.podbor-page-modern .podbor-stock--unavailable {
    color: #a54242;
    background: #fff1f1;
    border: 1px solid #efcaca;
}

.podbor-page-modern .podbor-stock--unavailable .podbor-stock__dot {
    background: #d9534f;
}
@media (min-width: 768px) {
    .podbor-page-modern .podbor-ten-output > .products-view__list.podbor .product-card {
        grid-template-rows: minmax(112px, auto) 54px !important;
    }

    .podbor-page-modern .podbor-ten-output > .products-view__list.podbor .product-card__info {
        height: auto !important;
        min-height: 112px;
    }

    .podbor-page-modern .podbor-ten-output > .products-view__list.podbor .product-card__image {
        align-self: center;
    }
}
.podbor-page-modern .products-view__list.podbor .product-card__dopOpisanie {
    margin-top: 10px !important;
}
/* Add at the end of the existing style block in podborPageStyles. */
.podbor-page-modern .product__content > .product__description {
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 16px 18px;
    color: var(--podbor-text, #4f6178);
    background: var(--podbor-background, #f7f9fc);
    border: 1px solid var(--podbor-border, #d9e2eb);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(20, 44, 75, .045);
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.podbor-page-modern .product__description p {
    margin: 0 0 10px;
}

.podbor-page-modern .product__description ul,
.podbor-page-modern .product__description ol {
    margin: 10px 0;
    padding-left: 22px;
}

.podbor-page-modern .product__description li + li {
    margin-top: 4px;
}

.podbor-page-modern .product__description > :first-child {
    margin-top: 0;
}

.podbor-page-modern .product__description > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .podbor-page-modern .product__content > .product__description {
        margin-top: 14px;
        padding: 14px;
        border-radius: 12px;
    }
}
