/* PC Tooltip Styles */
.pc-form-status {
    position: absolute;
    background: #fef2f2;
    color: #b91c1c;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.3;
    border: 1px solid #fee2e2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    pointer-events: none;
    max-width: min(360px, calc(100vw - 40px));
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.pc-form-status.show {
    opacity: 1;
    transform: translateY(0);
}

.pc-phone-hint {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 6px 0 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: #eef8fd;
    color: #124861;
    border: 1px solid rgba(38, 150, 208, 0.24);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.pc-phone-hint[hidden] {
    display: none;
}

.hero-form-field {
    overflow: visible;
}

.hero-form-field .pc-phone-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 12px);
    margin: 0;
    z-index: 25;
    pointer-events: none;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-form-field .pc-phone-hint::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 100%;
    width: 14px;
    height: 14px;
    background: #eef8fd;
    border-right: 1px solid rgba(38, 150, 208, 0.24);
    border-bottom: 1px solid rgba(38, 150, 208, 0.24);
    transform: translateY(-7px) rotate(45deg);
}

.hero-form form.hero-form-success .pc-phone-hint,
.hero-form form.hero-form-success .hero-form-tooltip {
    display: none !important;
}

@media (max-width: 480px) {
    .pc-phone-hint {
        font-size: 12px;
        line-height: 1.3;
        padding: 7px 9px;
    }

    .hero-form-field .pc-phone-hint {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .hero-form-field .pc-phone-hint::after {
        left: 18px;
    }
}

.pc-form-status::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border: 6px solid transparent;
    border-bottom-color: #fee2e2;
}

/* Success Modal Styles */
.pc-success-modal .call-back-content {
    text-align: center !important;
    width: min(430px, calc(100vw - 32px)) !important;
    padding: 36px 28px 34px !important;
    border-radius: 18px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24) !important;
}

.pc-success-icon {
    width: 76px !important;
    height: 76px !important;
    background: linear-gradient(135deg, #12c4c8, #3484d8) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    box-shadow: 0 16px 34px rgba(52, 132, 216, 0.28);
}

.pc-success-icon svg {
    width: 40px !important;
    height: 40px !important;
    display: block;
    fill: #fff !important;
}

.pc-success-modal h2 {
    font-size: 30px !important;
    line-height: 1.18 !important;
    margin-bottom: 12px !important;
    color: #373737 !important;
    font-weight: 700 !important;
}

.pc-success-modal p {
    font-size: 17px !important;
    line-height: 1.45 !important;
    color: #4b5563 !important;
    margin: 0 !important;
}

.pc-success-modal .call-back-modal-close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    line-height: 1 !important;
    border-radius: 10px !important;
}

.pc-success-modal .call-back-modal-close svg {
    width: 18px !important;
    height: 18px !important;
}

@media (max-width: 480px) {
    .pc-success-modal .call-back-content {
        padding: 30px 22px 28px !important;
    }

    .pc-success-icon {
        width: 66px !important;
        height: 66px !important;
    }

    .pc-success-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    .pc-success-modal h2 {
        font-size: 25px !important;
    }

    .pc-success-modal p {
        font-size: 15px !important;
    }
}

/* Hero form server-side validation tooltip */
.hero-form form {
    position: relative;
}

.hero-form-field {
    position: relative;
    margin-bottom: 30px;
}

.hero-form-field .hero-form-control {
    margin-bottom: 0;
}

.hero-form-tooltip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 12px);
    z-index: 20;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff4f4;
    color: #8f1d1d;
    border: 1px solid rgba(203, 47, 47, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.35;
}

.hero-form-tooltip::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 100%;
    width: 14px;
    height: 14px;
    background: #fff4f4;
    border-right: 1px solid rgba(203, 47, 47, 0.22);
    border-bottom: 1px solid rgba(203, 47, 47, 0.22);
    transform: translateY(-7px) rotate(45deg);
}

.hero-form-control-error {
    box-shadow: inset 0 0 0 1px rgba(203, 47, 47, 0.7);
}

.pc-phone-field,
.installment-input-group.pc-phone-field,
.controls.pc-phone-field,
.form-group.pc-phone-field {
    position: relative !important;
    overflow: visible !important;
    min-height: 0;
    align-self: start;
}

.pc-phone-field .pc-phone-hint {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(100% + 34px) !important;
    margin: 0 !important;
    z-index: 25;
    pointer-events: none;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pc-phone-field input,
.pc-phone-field .form-control,
.pc-phone-field .contact-form-input,
.pc-phone-field .hero-form-control {
    position: relative;
    z-index: 1;
}

.pc-phone-field .pc-phone-hint::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 100%;
    width: 14px;
    height: 14px;
    background: #eef8fd;
    border-right: 1px solid rgba(38, 150, 208, 0.24);
    border-bottom: 1px solid rgba(38, 150, 208, 0.24);
    transform: translateY(-7px) rotate(45deg);
}

.pc-form-status--field {
    top: auto !important;
    left: 0 !important;
    right: 0;
    bottom: calc(100% + 34px) !important;
    max-width: none !important;
    z-index: 35;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pc-form-status--field::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 100%;
    bottom: auto;
    border: 0;
    width: 14px;
    height: 14px;
    background: #fee2e2;
    border-right: 1px solid #fecaca;
    border-bottom: 1px solid #fecaca;
    transform: translateY(-7px) rotate(45deg);
}

.contact-form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 390px));
    justify-content: center;
    align-items: start;
    gap: 20px 28px;
}

.contact-form .pc-phone-field {
    width: 100%;
    max-width: 390px;
    align-self: start;
}

.contact-form .pc-field-wrap-af {
    position: relative;
    width: 100%;
    max-width: 390px;
    align-self: start;
}

.contact-form .pc-field-wrap-af .contact-form-input {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

.contact-form .pc-field-wrap-af .af-field-error {
    top: auto !important;
    bottom: calc(100% + 10px) !important;
    left: 0 !important;
    right: auto !important;
    width: max-content;
    max-width: min(360px, calc(100vw - 40px)) !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.call-back-content .call-back-modal-title,
.call-back-content .modal-title {
    position: relative;
    z-index: 40;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.call-back-content .modal-header {
    position: relative;
    z-index: 40;
    padding-bottom: 0 !important;
}

.call-back-content .modal-body {
    position: relative;
    padding-top: 0 !important;
}

.call-back-modal .pc-phone-field,
.call-back-modal .callback_modal .pc-phone-field,
.call-back-modal .callback_modal .form-group.pc-phone-field,
#modalContactForm .callback_modal .pc-phone-field,
#modalContactForm .callback_modal .form-group.pc-phone-field {
    margin-top: 0 !important;
}

.call-back-modal .pc-phone-field .pc-phone-hint,
.call-back-modal .pc-phone-field .pc-form-status--field,
#modalContactForm .callback_modal .pc-phone-field .pc-phone-hint,
#modalContactForm .callback_modal .pc-phone-field .pc-form-status--field {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 0 12px !important;
    transform: none !important;
}

.call-back-modal .pc-phone-field .pc-phone-hint::after,
.call-back-modal .pc-phone-field .pc-form-status--field::after,
#modalContactForm .callback_modal .pc-phone-field .pc-phone-hint::after,
#modalContactForm .callback_modal .pc-phone-field .pc-form-status--field::after {
    display: none;
}

.call-back-modal .af-inline-error,
#modalContactForm .af-inline-error {
    display: none !important;
}

#modalContactForm .callback_modal .pc-form-status:not(.pc-form-status--field),
#modalContactForm .callback_modal [data-error] {
    display: none !important;
}

.contact-form .pc-phone-field .contact-form-input {
    max-width: 100%;
}

.contact-form>.pc-form-status.is-success[data-key="contact"] {
    display: none !important;
}

.contact-checkbox {
    grid-column: 1 / -1;
    width: 100%;
    align-items: center;
}

.contact-btn {
    width: min(100%, 372px);
}

.contact-checkbox-privacy {
    justify-content: center;
    margin-top: 14px;
}

@media (min-width: 768px) {
    .contact-form {
        display: flex;
        flex-wrap: wrap;
    }

    .contact-checkbox {
        width: auto;
        align-items: flex-start;
    }

    .contact-checkbox-privacy {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {
    .header-brand-mobile {
        width: 145px;
        min-width: 145px;
        flex: 0 0 145px;
        align-items: stretch;
    }

    .header-brand-mobile img {
        display: block;
        width: 129px;
        min-width: 129px;
        max-width: 129px;
        height: 34px;
        margin: 0 auto;
        object-fit: contain;
    }

    .header-brand-mobile>span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 8px;
        min-height: 8px;
        padding: 0 3px;
        margin-top: -1px;
        overflow: hidden;
        white-space: nowrap;
        font-size: 4.6px;
        line-height: 1;
        letter-spacing: 0.95px;
    }
}

@media (max-width: 480px) {
    .pc-phone-field .pc-phone-hint {
        padding: 10px 12px;
        border-radius: 12px;
        bottom: calc(100% + 26px) !important;
    }

    .pc-phone-field .pc-phone-hint::after {
        left: 18px;
    }

    .pc-form-status--field {
        bottom: calc(100% + 26px) !important;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .pc-form-status--field::after {
        left: 18px;
    }

    .header-brand-mobile>span {
        font-size: 4.4px;
        letter-spacing: 0.85px;
    }

    .header-phone-mobile {
        font-size: 15px;
        letter-spacing: -0.35px;
    }
}

@media (max-width: 767px) {
    .contact-form {
        grid-template-columns: minmax(0, 390px);
        gap: 18px;
    }

    .contact-checkbox {
        align-items: stretch;
    }

    .contact-checkbox-privacy {
        justify-content: flex-start;
    }
}

.pc-phone-field-modal .pc-phone-hint,
.pc-phone-field-modal .pc-form-status--field {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 0 12px !important;
    transform: none !important;
}

.pc-phone-field-modal .pc-phone-hint::after,
.pc-phone-field-modal .pc-form-status--field::after {
    display: none !important;
}

/* Radio buttons for contact method selection */
.fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.fieldset legend {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #373737;
}

.inputs-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.inputs-radio>div {
    flex: 0 0 auto;
}

.inputs-radio input[type="radio"] {
    display: none;
}

.inputs-radio label {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #373737;
    transition: all 0.3s ease;
}

.inputs-radio label:hover {
    background: #f1f1f1;
    border-color: #999;
}

.inputs-radio input[type="radio"]:checked+label {
    background: #3484d8;
    color: #fff;
    border-color: #3484d8;
}

/* Fix for call-back-modal-methods radio buttons */
.call-back-modal-methods input[type="radio"]:checked+label,
.call-back-modal-methods label:has(input[type="radio"]:checked),
.call-back-modal-methods label._active {
    background: #3484d8 !important;
    color: #fff !important;
    border-color: #3484d8 !important;
}

.call-back-modal-methods input[type="radio"]:checked+label svg path,
.call-back-modal-methods label:has(input[type="radio"]:checked) svg path,
.call-back-modal-methods label._active svg path {
    fill: #fff !important;
}

.call-back-modal-methods input[type="radio"]:checked+label svg circle,
.call-back-modal-methods label:has(input[type="radio"]:checked) svg circle,
.call-back-modal-methods label._active svg circle {
    fill: #fff !important;
}

/* Specific handling for telephone icon handset inside circle when active to prevent invisibility */
.call-back-modal-methods label:has(input[type="radio"]:checked) svg circle+path,
.call-back-modal-methods label._active svg circle+path {
    fill: #3484d8 !important;
}

@media (max-width: 480px) {
    .inputs-radio {
        flex-direction: column;
    }

    .inputs-radio>div {
        width: 100%;
    }

    .inputs-radio label {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Premium location dropdown grid */
.location-parent {
    position: relative !important;
}

.header-location.location-parent svg {
    display: inline-block !important;
}

.location-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 2000 !important;
    background: #fff !important;
    border: 1.5px solid #3484d8 !important;
    border-radius: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px 16px !important;
    min-width: 360px !important;
    padding: 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease !important;
}

.location-parent:hover .location-menu {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    display: grid !important;
}

.location-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.location-menu li a {
    display: block !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 500 !important;
    line-height: 130% !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    color: #373737 !important;
    text-decoration: none !important;
}

.location-menu li .location-menu__text {
    display: block !important;
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 500 !important;
    line-height: 130% !important;
    border-radius: 8px !important;
    color: #373737 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.location-menu li a:hover {
    background-color: rgba(52, 132, 216, 0.08) !important;
    color: #3484d8 !important;
}


/* Clickable solution-card title link styles */
.solution-title a {
    color: inherit;
    text-decoration: none;
}

.solution-title a:hover {
    text-decoration: underline;
}

/* Make solution cards equal height and align buttons at the bottom */
.swiper-solution-cards .swiper-slide {
    height: auto !important;
    display: flex;
}

.swiper-solution-cards .solution-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.swiper-solution-cards .solution-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.swiper-solution-cards .solution-specs {
    flex-grow: 1;
}

/* Hide navigation arrows for solution cards on desktop (width >= 1024px) */
@media (min-width: 1024px) {

    .swiper-solution-cards .solution-swiper-prev,
    .swiper-solution-cards .solution-swiper-next {
        display: none !important;
    }
}

/* Show/hide buttons in certificates block depending on screen size */
@media (max-width: 1023px) {
    .certificates-btn.mobile-none {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .certificates-btn.desktop-none {
        display: none !important;
    }
}

/* Swiper variants cards arrows hide rule */
.swiper-variants-cards.hide-arrows .variants-swiper-prev,
.swiper-variants-cards.hide-arrows .variants-swiper-next {
    display: none !important;
}

/* Prevent Swiper from disabling click interactions and opacity on variants arrows */
.variants-swiper-prev.swiper-button-disabled,
.variants-swiper-next.swiper-button-disabled {
    pointer-events: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

/* Remove focus glow on filter buttons */
.types-prices-page .variants-filter-btn:focus,
.types-prices-page .variants-filter-btn:active,
.types-prices-page .variants-filter-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Correct active button color and SVG fill */
.types-prices-page .variants-filter-btn._tab-active {
    background-color: #3484d8 !important;
    color: #fff !important;
}
.types-prices-page .variants-filter-btn.all-items._tab-active svg rect {
    fill: #fff !important;
}
.types-prices-page .variants-filter-btn.all-items svg rect {
    fill: #3484d8 !important;
}

/* Поднятие стрелок навигации слайдеров в мобильной версии, чтобы они не перекрывали текст в карточках */
@media (max-width: 992px) {
    .solution-swiper-prev,
    .solution-swiper-next,
    .variants-swiper-prev,
    .variants-swiper-next,
    .recomm-swiper-prev,
    .recomm-swiper-next {
        top: 360px !important;
    }
}

/* Корректировка высоты строки в футере для предотвращения сильного растягивания на мобильных устройствах */
.footer-links {
    line-height: 0.5 !important;
}

/* Устранение зазора (проплешины) под мобильной шапкой при открытом бургер-меню */
@media (max-width: 992px) {
    .nav-menu {
        top: 0 !important;
        height: 100% !important;
        margin-top: 0 !important;
        padding-top: 95px !important;
    }
    
    .mobile-block {
        position: relative !important;
        z-index: 1200 !important;
    }

    /* Подъем шапки в самый верх при открытом бургер-меню */
    body.lock .header-container,
    body.lock .header-line,
    .header:has(.nav-menu.active) .header-container,
    .header:has(.nav-menu.active) .header-line {
        display: none !important;
    }

    body.lock .mobile-block,
    .header:has(.nav-menu.active) .mobile-block {
        margin-top: 0 !important;
        padding-top: 10px !important;
    }
}

/* Адаптивность таблиц и списков на планшетах (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .price-page__table {
        min-width: auto !important; /* Убираем жесткую ширину внешнего контейнера */
        padding: 20px 15px !important; /* Оптимизируем внутренние отступы */
        overflow-x: auto !important; /* Включаем горизонтальную прокрутку */
    }
    
    .price-page__table-box {
        padding: 15px 20px !important;
        min-width: 750px !important; /* Растягиваем рамку бокса под размер таблицы */
        width: max-content !important; /* Позволяет боксу не сжиматься меньше таблицы */
    }
    
    .price-page__table-box table {
        min-width: 750px !important; /* Предотвращаем сжатие таблицы в "кашу" */
        width: 100% !important;
    }
    
    .price-page__table-box table th,
    .price-page__table-box table td {
        font-size: 16px !important; /* Слегка уменьшаем шрифт */
        padding: 10px 5px !important;
    }
}

/* Адаптивность таблиц и списков на мобильных телефонах (до 767px) */
@media (max-width: 767px) {
    .price-page__table {
        min-width: auto !important;
        padding: 10px 0 !important;
        overflow-x: visible !important;
        height: auto !important;
    }
    
    .price-page__table-box {
        padding: 10px !important;
        min-width: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
    }
    
    .table-wrapper {
        height: auto !important;
        overflow: visible !important;
    }
    
    /* Стилизация первого таба (список услуг через <p>) на телефонах */
    .price-page__table-box p {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        width: 100% !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    .price-page__table-box p strong {
        font-size: 14px !important;
        padding-right: 15px !important;
        margin: 0 0 12px 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    .price-page__table-box p em {
        font-size: 14px !important;
        margin: 0 0 12px 0 !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    /* Стилизация второго таба (таблица <table> с 4 колонками) на телефонах */
    .price-page__table-box table {
        display: block !important;
        min-width: auto !important;
        width: 100% !important;
        border: none !important;
        box-sizing: border-box !important;
        height: auto !important; /* Сбрасываем инлайновую высоту таблицы */
    }
    
    .price-page__table-box table thead {
        display: none !important; /* Скрываем заголовки таблицы */
    }
    
    .price-page__table-box table tbody {
        display: block !important;
        width: 100% !important;
        height: auto !important; /* Сбрасываем инлайновую высоту tbody */
    }
    
    .price-page__table-box table tbody tr {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        width: 100% !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-sizing: border-box !important;
        height: auto !important; /* Сбрасываем инлайновую высоту строк */
    }
    
    .price-page__table-box table tbody tr:last-child {
        border-bottom: none !important;
    }
    
    /* 1 колонка: Тип полотна */
    .price-page__table-box table tbody td:nth-child(1) {
        grid-column: 1 !important;
        grid-row: 1 !important;
        font-weight: 600 !important;
        font-size: 15px !important;
        color: #2b2b2b !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* 4 колонка: Цена, BYN */
    .price-page__table-box table tbody td:nth-child(4) {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        color: #3484d8 !important;
        text-align: right !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* 3 колонка: Что входит (под ключ) */
    .price-page__table-box table tbody td:nth-child(3) {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        font-size: 13px !important;
        color: #666 !important;
        padding: 6px 0 0 0 !important;
        border: none !important;
        text-align: left !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    
    .price-page__table-box table tbody td:nth-child(3)::before {
        content: "Входит: " !important;
        font-weight: 600 !important;
        color: #888 !important;
    }
    
    /* 2 колонка: Параметры (м²) */
    .price-page__table-box table tbody td:nth-child(2) {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        font-size: 12px !important;
        color: #999 !important;
        padding: 4px 0 0 0 !important;
        border: none !important;
        text-align: left !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
    }
    
    .price-page__table-box table tbody td:nth-child(2)::before {
        content: "Ед. изм.: " !important;
        font-weight: 500 !important;
        color: #999 !important;
    }
}

/* Стилизация текстового списка цен во вкладке "Цены на дополнительные услуги" (ПК) */
.price-page__table-box p {
    display: grid !important;
    grid-template-columns: 1fr auto !important; /* Название слева, цена справа */
    gap: 0 !important; /* Убираем зазор Grid для слияния разделительных линий */
    align-items: stretch !important; /* Выравниваем высоту элементов в строке для слияния линий */
    margin: 0 !important;
    padding: 10px 0 !important;
}

.price-page__table-box p strong {
    display: block !important;
    width: 100% !important; /* Растягиваем на всю ширину ячейки */
    justify-self: stretch !important;
    font-size: 16px !important;
    color: #2b2b2b !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 10px !important;
    padding-right: 20px !important; /* Создаем безопасный отступ текста от цены */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important; /* Сплошная линия-разделитель */
    line-height: 1.4 !important;
}

.price-page__table-box p em {
    display: block !important;
    width: 100% !important; /* Растягиваем на всю ширину ячейки */
    justify-self: stretch !important;
    font-style: normal !important;
    font-size: 16px !important;
    color: #3484d8 !important; /* Фирменный синий цвет цен */
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important; /* Сплошная линия-разделитель */
    line-height: 1.4 !important; /* Соответствует высоте строки strong для точного выравнивания */
    white-space: nowrap !important;
}

/* Скрываем технические br, чтобы они не занимали ячейки в сетке Grid */
.price-page__table-box p br {
    display: none !important;
}

/* Единая стилизация шрифтов для текстовых страниц и соглашений */
.our-works,
.text-page-content,
.content-text {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #373737 !important;
}

.our-works p,
.text-page-content p,
.content-text p {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #373737 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.our-works ul,
.our-works ol,
.text-page-content ul,
.text-page-content ol,
.content-text ul,
.content-text ol {
    margin-top: 8px !important;
    margin-bottom: 20px !important;
    padding-left: 24px !important;
}

.our-works ul li,
.our-works ol li,
.text-page-content ul li,
.text-page-content ol li,
.content-text ul li,
.content-text ol li {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: #373737 !important;
    margin-bottom: 10px !important;
}

.our-works ul li::marker,
.text-page-content ul li::marker,
.content-text ul li::marker {
    color: #3484d8 !important;
    font-weight: 600 !important;
}

.our-works ol li::marker,
.text-page-content ol li::marker,
.content-text ol li::marker {
    color: #3484d8 !important;
    font-weight: 600 !important;
}

.our-works h1, .our-works h2, .our-works h3,
.text-page-content h1, .text-page-content h2, .text-page-content h3,
.content-text h1, .content-text h2, .content-text h3 {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 24px !important;
    margin-bottom: 14px !important;
}

@media (max-width: 768px) {
    .our-works p,
    .text-page-content p,
    .content-text p,
    .our-works ul li,
    .our-works ol li,
    .text-page-content ul li,
    .text-page-content ol li,
    .content-text ul li,
    .content-text ol li {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
    }
}

/* ==========================================================================
   Стилизация контента статей блога (списки ul/ol, цитаты blockquote, жирный текст strong/b)
   ========================================================================== */

/* 1. Выделение жирным текстом в статьях */
.article__text strong,
.article__text b,
.article-text strong,
.article-text b {
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* 2. Курсив в статьях */
.article__text em,
.article__text i,
.article-text em,
.article-text i {
    font-style: italic !important;
}

/* 3. Оформление цитат (blockquote) */
.article__text blockquote,
.article-text blockquote {
    position: relative !important;
    margin: 24px 0 !important;
    padding: 20px 24px 20px 28px !important;
    background: rgba(52, 132, 216, 0.08) !important;
    border-left: 5px solid #3484d8 !important;
    border-radius: 0 16px 16px 0 !important;
    font-style: italic !important;
    font-size: 19px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
}

.article__text blockquote p,
.article-text blockquote p {
    font-style: italic !important;
    font-size: 19px !important;
    line-height: 1.6 !important;
    color: #2c3e50 !important;
    margin-bottom: 0 !important;
}

/* 4. Маркированные списки (ul) в статьях — маркированные маркеры */
.article__text ul,
.article-text ul {
    margin: 16px 0 20px 24px !important;
    padding-left: 10px !important;
    list-style: disc !important;
    list-style-type: disc !important;
}

.article__text ul li,
.article-text ul li {
    font-size: 19px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    list-style: disc !important;
    list-style-type: disc !important;
    color: #373737 !important;
}

.article__text ul li::marker,
.article-text ul li::marker {
    color: #3484d8 !important;
    font-weight: 700 !important;
}

/* 5. Нумерованные списки (ol) в статьях — цифровые маркеры */
.article__text ol,
.article-text ol {
    margin: 16px 0 20px 24px !important;
    padding-left: 10px !important;
    list-style: decimal !important;
    list-style-type: decimal !important;
}

.article__text ol li,
.article-text ol li {
    font-size: 19px !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
    font-weight: 400 !important;
    list-style: decimal !important;
    list-style-type: decimal !important;
    color: #373737 !important;
}

.article__text ol li::marker,
.article-text ol li::marker {
    color: #3484d8 !important;
    font-weight: 700 !important;
}

/* 6. Вложенные списки */
.article__text ul ul, .article__text ol ul,
.article-text ul ul, .article-text ol ul {
    list-style-type: circle !important;
    margin: 6px 0 6px 20px !important;
}

.article__text ul ul li, .article__text ol ul li,
.article-text ul ul li, .article-text ol ul li {
    list-style-type: circle !important;
}

@media (max-width: 768px) {
    .article__text ul li,
    .article-text ul li,
    .article__text ol li,
    .article-text ol li {
        font-size: 16px !important;
    }
    
    .article__text blockquote,
    .article-text blockquote,
    .article__text blockquote p,
    .article-text blockquote p {
        font-size: 16px !important;
        padding: 16px 18px !important;
    }
}

/* 7. Выделение ссылок в тексте статей фирменным цветом */
.article__text a,
.article-text a,
.content-text a,
.text-page-content a {
    color: #3484d8 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.article__text a:hover,
.article-text a:hover,
.content-text a:hover,
.text-page-content a:hover {
    color: #1d5fb0 !important;
    text-decoration: underline !important;
}

/* 8. Выравнивание кнопки "Подробнее" по низу с сохранением компактного размера карточки */
.blog-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 380px)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    justify-content: start !important;
}

.blog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-width: 380px !important;
    width: 100% !important;
}

.blog-item__info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 20px !important;
}

.blog-item__text {
    margin-bottom: 20px !important;
}

.blog-item__btn {
    margin-top: auto !important;
    align-self: stretch !important;
}

/* 9. Увеличенные отступы до и после заголовков внутри статей */
.article__text h1, .article-text h1,
.article__text h2, .article-text h2,
.article__text h3, .article-text h3,
.article__text h4, .article-text h4,
.article__text h5, .article-text h5,
.article__text h6, .article-text h6 {
    margin-top: 38px !important;
    margin-bottom: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.article__text > h1:first-child,
.article__text > h2:first-child,
.article-text > h1:first-child,
.article-text > h2:first-child {
    margin-top: 10px !important;
}

.article__text p,
.article-text p {
    margin-bottom: 18px !important;
    line-height: 1.65 !important;
}








