

/* Start:/local/templates/main_new/components/bitrix/news.list/pk_block_2/style.css?17916464114059*/
/* Базовые стили блока */
.prod-section-pk {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    padding: 80px 20px;
    color: #2d3748;
}

.prod-container-pk {
    max-width: 1400px;
    margin: 0 auto;
}

/* Заголовок и вводный SEO-текст */
.prod-header-pk {
    max-width: 900px;
    margin-bottom: 50px;
}

.prod-h2-pk {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 24px;
}

/* Терракотовый акцент через span */
.prod-h2-pk span {
    color: #e85d47;
    font-weight: 800;
}

.prod-intro-text-pk {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Выделение ключей нейтральным span вместо strong */
.prod-intro-text-pk .seo-key {
    color: #1a202c;
    font-weight: 700;
}

/* ================= СЕТКА КАРТОЧЕК ================= */
.mos-grid-pk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mos-card-pk {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mos-card-pk:hover {
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Левая колонка: Текст */
.mos-content-pk {
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mos-card-title-pk {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mos-card-specs-pk {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.5;
}

.mos-card-specs-pk span {
    display: block;
    margin-bottom: 2px;
}

.mos-card-specs-pk b {
    color: #475569;
    font-weight: 600;
}

.mos-card-desc-pk {
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

/* Кнопка */
.mos-card-btn-pk {
    background-color: #2d3748;
    color: #ffffff !important;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mos-card-btn-pk:hover {
    background-color: #1a202c;
    transform: translateY(-1px);
}

.mos-card-btn-pk:active {
    transform: translateY(0);
}

/* Правая колонка: Картинка */
.mos-image-col-pk {
    width: 42%;
    position: relative;
    overflow: hidden;
}

.mos-image-col-pk img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Флажок поверх изображения */
.mos-ribbon-pk {
    position: absolute;
    top: 20px;
    right: 0;
    background-color: #e85d47;
    color: #ffffff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 4px 10px rgba(232, 93, 71, 0.35);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ================= АДАПТИВНОСТЬ ================= */
@media (max-width: 1100px) {
    .mos-grid-pk {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .prod-h2-pk {
        font-size: 26px;
    }

    .mos-card-pk {
        flex-direction: column;
    }

    .mos-image-col-pk {
        width: 100%;
        height: 240px;
        order: -1;
    }

    .mos-ribbon-pk {
        right: auto;
        left: 0;
        border-radius: 0 4px 4px 0;
    }

    .mos-content-pk {
        padding: 26px 20px;
    }
}
/* End */


/* Start:/local/templates/main_new/components/bitrix/news.list/pk_block_3/style.css?17916474795030*/
/* Базовые стили блока */
.seg-section-pk {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    padding: 90px 20px;
    color: #2d3748;
}

.seg-container-pk {
    max-width: 1400px;
    margin: 0 auto;
}

/* Заголовок секции */
.seg-header-pk {
    text-align: center;
    margin-bottom: 50px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.seg-h2-pk {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.22;
    color: #1a202c;
    margin: 0;
    letter-spacing: -0.4px;
}

.seg-h2-pk span {
    color: #e85d47;
}

/* ================= СЕТКА КАРТОЧЕК ================= */
.seg-grid-premium-pk {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточка-постер */
.seg-card-premium-pk {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.12);
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seg-card-premium-pk:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
}

/* Фоновое изображение */
.seg-bg-image-pk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.7s ease;
}

/* Градиент поверх фото */
.seg-overlay-pk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.45) 45%, transparent 100%);
    z-index: 2;
    transition: background 0.5s ease;
}

/* Контент внутри карточки */
.seg-content-pk {
    position: relative;
    z-index: 3;
    padding: 35px 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Заголовок карточки */
.seg-h3-pk {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.5s ease;
}

.seg-icon-pk {
    width: 30px;
    height: 30px;
    stroke: #e85d47;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Выдвижная часть с описанием и кнопкой */
.seg-hidden-content-pk {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
}

.seg-text-pk {
    font-size: 14px;
    line-height: 1.55;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.seg-text-pk .seo-key {
    color: #ffffff;
    font-weight: 600;
}

/* Кнопка */
.seg-btn-pk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    background-color: #e85d47;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    align-self: flex-start;
}

.seg-btn-pk:hover {
    background-color: #c04a35;
    transform: translateY(-1px);
}

/* Hover-эффекты для экранов шире 768px */
@media (min-width: 769px) {
    .seg-card-premium-pk:hover .seg-bg-image-pk {
        transform: scale(1.08);
    }

    .seg-card-premium-pk:hover .seg-overlay-pk {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.8) 100%);
    }

    .seg-card-premium-pk:hover .seg-hidden-content-pk {
        max-height: 280px;
        opacity: 1;
        margin-top: 18px;
    }
}

/* ================= АДАПТИВНОСТЬ ================= */
@media (max-width: 1100px) {
    .seg-grid-premium-pk {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .seg-section-pk {
        padding: 60px 15px;
    }

    .seg-grid-premium-pk {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .seg-card-premium-pk {
        aspect-ratio: auto;
        min-height: 380px;
    }

    /* На мобильных контент открыт по умолчанию */
    .seg-hidden-content-pk {
        max-height: 500px;
        opacity: 1;
        margin-top: 16px;
    }

    .seg-overlay-pk {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.65) 100%);
    }
}

@media (max-width: 480px) {
    .seg-h2-pk {
        font-size: 26px;
    }

    .seg-h3-pk {
        font-size: 21px;
    }

    .seg-content-pk {
        padding: 26px 20px;
    }
}
/* End */


/* Start:/local/templates/main_new/components/bitrix/news.list/pk_block_4/style.css?17916548916855*/
/* Базовые стили секции */
.rehau-section-pk {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    padding: 100px 20px;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
}
.rehau-section-pk strong, strong {font-family: 'Inter', sans-serif!important;font-weight: 800!important;}
.rehau-container-pk {
    max-width: 1400px;
    margin: 0 auto;
}

/* Заголовок секции */
.rehau-header-pk {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rehau-brand-logo-pk {
    height: 40px;
    opacity: 0.8;
}

.rehau-h2-pk {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a202c;
    margin: 0;
    max-width: 900px;
}

.rehau-h2-pk span {
    color: #e85d47;
}

/* Сетка карточек (4 колонки) */
.rehau-grid-pk {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Карточка профиля */
.rehau-card-pk {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.rehau-card-pk:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(232, 93, 71, 0.4);
}

/* Выделение хита продаж (Grazio) */
.rehau-card-pk.popular {
    border: 2px solid #e85d47;
    box-shadow: 0 10px 30px -10px rgba(232, 93, 71, 0.2);
}

.rehau-ribbon-pk {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e85d47;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Изображение профиля */
.rehau-img-wrap-pk {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.rehau-img-wrap-pk img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Название и подзаголовок */
.rehau-h3-pk {
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 8px 0;
    border-bottom: 2px solid #e85d47;
    display: inline-block;
    padding-bottom: 4px;
}

.rehau-subtitle-pk {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    min-height: 38px;
}

/* Кнопка-триггер видео */
.rehau-video-link-pk {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #e85d47;
    text-decoration: none;
    margin-bottom: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease;
}

.rehau-video-link-pk:hover {
    opacity: 0.8;
}

.rehau-video-link-pk svg {
    width: 18px;
    height: 18px;
    fill: #e85d47;
    background: rgba(232, 93, 71, 0.1);
    border-radius: 50%;
    padding: 2px;
    flex-shrink: 0;
}

.rehau-price-pk {
    font-size: 16px;
    color: #1a202c;
    margin-bottom: 24px;
}

.rehau-price-pk strong {
    font-size: 24px;
    font-weight: 800;
    color: #e85d47;
}

/* Таблица характеристик */
.rehau-specs-pk {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.rehau-spec-row-pk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
    font-size: 14px;
}

.rehau-spec-label-pk {
    color: #64748b;
}

.rehau-spec-val-pk {
    font-weight: 700;
    color: #2d3748;
}

.rehau-spec-val-pk.accent {
    color: #e85d47;
}

/* Блок рекомендаций */
.rehau-recommend-pk {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
}

.rehau-recommend-pk .seo-key {
    color: #1a202c;
    font-weight: 600;
}

/* Кнопка расчета */
.rehau-btn-pk {
    width: 100%;
    background-color: #e85d47;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-align: center;
}

.rehau-btn-pk:hover {
    background-color: #c04a35;
}

.rehau-btn-pk:active {
    transform: scale(0.99);
}

/* ================= МОДАЛКА ДЛЯ VK ВИДЕО ================= */
.vk-video-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
}

.vk-video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vk-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.vk-video-modal-overlay.active .vk-video-modal-content {
    transform: translateY(0);
}

.vk-video-ratio {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.vk-video-ratio iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.vk-video-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.vk-video-close:hover {
    color: #e85d47;
}

/* ================= АДАПТИВНОСТЬ ================= */
@media (max-width: 1200px) {
    .rehau-grid-pk {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rehau-section-pk {
        padding: 60px 20px;
    }
    .rehau-h2-pk {
        font-size: 32px;
    }
}

@media (max-width: 580px) {
    .rehau-grid-pk {
        grid-template-columns: 1fr;
    }
    .rehau-h2-pk {
        font-size: 28px;
    }
}
/* End */


/* Start:/local/templates/main_new/components/bitrix/news.list/pk_block_5/style.css?179210792919362*/
/* Базовые стили секции */
.calc-section-pk {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    padding: 100px 20px;
    color: #2d3748;
}

.calc-container-pk {
    max-width: 1400px;
    margin: 0 auto;
}

/* ================= ЧАСТЬ 1: ПОПУЛЯРНЫЕ РАЗМЕРЫ ================= */
.prices-header-pk {
    text-align: center;
    margin-bottom: 50px;
}

.prices-h2-pk {
    font-size: 38px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.prices-h2-pk span {
    color: #e85d47;
}

.prices-grid-pk {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
    margin-bottom: 80px;
}

.price-card-pk {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-card-pk:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 93, 71, 0.3);
}

.price-img-wrap-pk {
    height: 160px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.price-img-pk {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1)); 
}

.price-card-pk:hover .price-img-pk {
    transform: scale(1.08);
}

.price-h3-pk {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 12px 0;
}

.price-desc-pk {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px 0;
    line-height: 1.5;
    flex-grow: 1;
}

.price-value-pk {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 24px;
}

.price-value-pk strong {
    font-size: 28px;
    font-weight: 800;
    color: #1a202c;
}

.price-btn-pk {
    background-color: transparent;
    color: #e85d47;
    border: 2px solid #e85d47;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.price-btn-pk:hover {
    background-color: #e85d47;
    color: #ffffff;
}

/* ================= ЧАСТЬ 2: ОНЛАЙН-КАЛЬКУЛЯТОР ================= */
.calc-bg-wrapper-pk {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    scroll-margin-top: 100px;
}

.calc-bg-wrapper-pk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(232, 93, 71, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.calc-bg-wrapper-pk::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.calc-wrapper-pk {
    position: relative;
    z-index: 1; 
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    padding: 20px;
    align-items: start;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.calc-settings-pk {
    padding: 40px 30px;
    background-color: transparent;
}

.calc-h2-pk {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.calc-subtitle-pk {
    font-size: 16px;
    color: #475569;
    margin: 0 0 40px 0;
}

.calc-subtitle-pk span {
    font-weight: 700;
    color: #1a202c;
}

.calc-group-pk {
    margin-bottom: 30px;
}

.calc-label-pk {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-window-types-pk {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.calc-type-label-pk {
    cursor: pointer;
}

.calc-type-label-pk input {
    display: none;
}

.calc-type-card-pk {
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    background: #ffffff;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.calc-type-label-pk input:checked + .calc-type-card-pk {
    border-color: #e85d47;
    background: rgba(232, 93, 71, 0.05);
    color: #1a202c;
    box-shadow: 0 4px 12px rgba(232, 93, 71, 0.15);
}

.calc-type-icon-pk {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.calc-row-pk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.calc-select-pk {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    color: #1a202c;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.3s;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.calc-select-pk:focus {
    outline: none;
    border-color: #e85d47;
    box-shadow: 0 0 0 3px rgba(232, 93, 71, 0.15);
}

.calc-slider-header-pk {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.calc-slider-val-pk {
    font-size: 15px;
    font-weight: 700;
    color: #e85d47;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(232, 93, 71, 0.2);
}

.calc-range-pk {
    width: 100%;
    height: 6px;
    background: #cbd5e1;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.calc-range-pk::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e85d47;
    cursor: pointer;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.calc-options-grid-pk {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.calc-checkbox-label-pk {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #4a5568;
    font-weight: 500;
    user-select: none;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.calc-checkbox-label-pk:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.calc-checkbox-label-pk input {
    display: none;
}

.calc-custom-check-pk {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.calc-custom-check-pk svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.calc-checkbox-label-pk input:checked + .calc-custom-check-pk {
    background-color: #e85d47;
    border-color: #e85d47;
}

.calc-checkbox-label-pk input:checked + .calc-custom-check-pk svg {
    opacity: 1;
}

.calc-checkbox-label-pk input:checked ~ span {
    color: #1a202c;
    font-weight: 600;
}

.icon-lamination {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ef4444, #eab308, #22c55e, #3b82f6, #a855f7);
    margin-right: 4px;
}

.icon-gift {
    color: #10b981;
    font-weight: bold;
    font-size: 12px;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
}

.calc-result-pk {
    background-color: rgba(26, 32, 44, 0.95); 
    color: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 40px;
    height: fit-content;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calc-result-pk::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 93, 71, 0.25) 0%, transparent 70%);
    z-index: 0;
}

.calc-result-content-pk {
    position: relative;
    z-index: 1;
}

.calc-total-label-pk {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.calc-total-price-pk {
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.calc-total-price-pk span {
    font-size: 20px;
    color: #e85d47;
}

.calc-total-desc-pk {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.calc-input-pk {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 16px;
    color: #1a202c;
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.calc-input-pk:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 93, 71, 0.5);
}

.calc-submit-btn-pk {
    width: 100%;
    background-color: #e85d47;
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-submit-btn-pk:hover {
    background-color: #c04a35;
}

.calc-disclaimer-pk {
    font-size: 12px;
    color: #64748b;
    margin-top: 16px;
    text-align: center;
}

@media (max-width: 1200px) {
    .prices-grid-pk { grid-template-columns: repeat(2, 1fr); }
    .calc-window-types-pk { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .calc-wrapper-pk { 
        grid-template-columns: 1fr; 
        padding: 0;
        gap: 0;
    }
    .calc-result-pk {
        position: static;
        border-radius: 0 0 24px 24px;
        height: auto;
        padding: 40px 30px;
        box-shadow: none;
    }
    .calc-settings-pk { padding: 40px 30px; }
    .calc-row-pk { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 768px) {
    .calc-section-pk { padding: 60px 20px; }
    .prices-grid-pk { grid-template-columns: 1fr; }
    .prices-h2-pk { font-size: 32px; }
    .calc-h2-pk { font-size: 28px; }
    .calc-total-price-pk { font-size: 40px; }
    .calc-options-grid-pk { grid-template-columns: 1fr; }
}


/* ================= ИСПРАВЛЕННЫЕ СТИЛИ ЭЛЕМЕНТОВ КАЛЬКУЛЯТОРА ================= */

/* Защита блочной модели внутри калькулятора */
.calc-section-pk,
.calc-section-pk *,
.calc-section-pk *::before,
.calc-section-pk *::after {
    box-sizing: border-box !important;
}

/* 1. ВЫБОР ТИПА ОКНА (СТВОРКИ) */
.calc-window-types-pk {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
}

.calc-type-label-pk {
    display: block !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Полное скрытие радиокнопки, чтобы она не сжимала карточку */
.calc-type-label-pk input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

.calc-type-card-pk {
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 16px 8px !important;
    text-align: center !important;
    background: #ffffff !important;
    transition: all 0.25s ease !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 100px !important; /* Гарантирует правильную высоту карточки */
}

.calc-type-label-pk input[type="radio"]:checked + .calc-type-card-pk {
    border-color: #e85d47 !important;
    background: rgba(232, 93, 71, 0.06) !important;
    color: #1a202c !important;
    box-shadow: 0 4px 14px rgba(232, 93, 71, 0.18) !important;
}

/* Запрет сжатия иконки окна */
.calc-type-icon-pk {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    fill: none !important;
    display: block !important;
    margin: 0 auto !important;
}


/* 2. ДОПОЛНИТЕЛЬНЫЕ ОПЦИИ (ЧЕКБОКСЫ) */
.calc-options-grid-pk {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
}

.calc-checkbox-label-pk {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #334155 !important;
    font-weight: 600 !important;
    user-select: none !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 62px !important; /* Одинаковая фиксированная высота всех плашек */
}

.calc-checkbox-label-pk:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}

/* Полное исключение нативного чекбокса из потока */
.calc-checkbox-label-pk input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    display: none !important;
}

/* Кастомный квадрат чекбокса — никогда не сжимается */
.calc-custom-check-pk {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    flex-shrink: 0 !important; /* Главное исправление сплющивания квадратика */
    margin: 0 !important;
    padding: 0 !important;
}

.calc-custom-check-pk svg {
    width: 13px !important;
    height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
    stroke: #ffffff !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
    opacity: 0 !important;
    transition: opacity 0.15s ease !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.calc-checkbox-label-pk input[type="checkbox"]:checked + .calc-custom-check-pk {
    background-color: #e85d47 !important;
    border-color: #e85d47 !important;
}

.calc-checkbox-label-pk input[type="checkbox"]:checked + .calc-custom-check-pk svg {
    opacity: 1 !important;
}

.calc-checkbox-label-pk span {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 14px !important;
    color: #334155 !important;
    line-height: 1.3 !important;
}

.calc-checkbox-label-pk input[type="checkbox"]:checked ~ span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .calc-window-types-pk {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .calc-options-grid-pk {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .calc-bg-wrapper-pk {padding: 0;}
}


.calc-consent-pk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}

.calc-consent-pk input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calc-consent-box-pk {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    background: transparent;
    position: relative;
    transition: all 0.2s ease;
}

.calc-consent-box-pk::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.calc-consent-pk input:checked + .calc-consent-box-pk {
    background: #e85d47;
    border-color: #e85d47;
}

.calc-consent-pk input:checked + .calc-consent-box-pk::after {
    opacity: 1;
}

.calc-consent-pk input:focus + .calc-consent-box-pk {
    box-shadow: 0 0 0 3px rgba(232, 93, 71, 0.25);
}

.calc-consent-text-pk {
    font-size: 12px;
    line-height: 1.5;
    color: #94a3b8;
}
/* End */
/* /local/templates/main_new/components/bitrix/news.list/pk_block_2/style.css?17916464114059 */
/* /local/templates/main_new/components/bitrix/news.list/pk_block_3/style.css?17916474795030 */
/* /local/templates/main_new/components/bitrix/news.list/pk_block_4/style.css?17916548916855 */
/* /local/templates/main_new/components/bitrix/news.list/pk_block_5/style.css?179210792919362 */
