:root {
    --canvas-width: 1400px;
}

@media (max-width: 1280px) {
    :root {
        --canvas-width: 1280px;
    }
}

@media (max-width: 1024px) {
    :root {
        --canvas-width: 1024px;
    }
}

@media (max-width: 768px) {
    :root {
        --canvas-width: 100%;
    }
}

@media(max-width: 600px) {
    .l-section, .l-subheader {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .mobile_inner {
        --columns-gap: 1.5rem !important;
    }

    .wpb_wrapper table td {
        padding: 4px 2px;
        font-size: 0.85rem;
        line-height: 1.1;
    }

    .wpb_wrapper table td p,
    .wpb_wrapper table td li {
        margin-bottom: 4px !important;
    }
}

/* Мессенджер MAX */
.fab.fa-maxcdn:before,
.color_link a:hover .fab.fa-maxcdn:before {
    color: #00000000;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/max.svg) no-repeat;
    background-size: contain;
}

.color_link .fab.fa-maxcdn:before {
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/max_dark.svg) no-repeat;
    background-size: contain;
}

    /* Rutube */
.fab.fa-viadeo:before,
.color_link a:hover .fab.fa-viadeo:before {
    color: #00000000;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/minilogo_rutube_white_color.svg) no-repeat;
    background-size: contain;
}

.color_link .fab.fa-viadeo:before {
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/minilogo_rutube_dark_color_footer.svg) no-repeat;
    background-size: contain;
}

/* Формы */
input[type="checkbox"] {
    border-radius: 2px;
    border: 1px solid var(--color-content-text);
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1.25rem;
}

/* Лайтбокс */
.mfp-img {
    max-height: 90vh !important;
    border-radius: 3.2rem !important;
    overflow: hidden !important;
    padding: 0 !important;
}
.mfp-figure:after {
    background: transparent;
}

/* Выравнивание по центру */
.self_center {
    align-self: center;
}

/* 100% высоты */
.height_100 {
    height: 100%;
}

.height_100 .vc_column-inner {
    height: 100%;
}

.height_100 .vc_column-inner .g-cols {
    height: 100%;
}

/* Flex */
.display_flex .vc_column-inner {
    display: flex;
    flex-direction: column;
}

.column_reverse {
    flex-direction: column-reverse;
}

/* Без переносов */
.no_wrap {
    white-space: nowrap;
    flex-wrap: nowrap;
}

/* Серые ссылки */
.gray_links a {
    color: var(--color-content-text);
}

main:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40vw;
    height: 40vh;
    background-image: url(https://fusionpos.ru/wp-content/uploads/2025/12/wave.svg);
    background-position: top right;
    background-repeat: repeat;
    background-size: auto;
    z-index: 0;
}

/* Списки в тексте */
.wpb_text_column ul {
    list-style: none; /* убираем стандартные маркеры */
    padding-left: 0;
    margin: 0;
}

.wpb_text_column ul li {
    position: relative;
    padding-left: 10px; /* отступ под кружок */
}

.wpb_text_column ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor; /* кружок того же цвета, что и текст */
    transform: translateY(-50%);
}

/* Блок с иконкой */
.w-iconbox {

}

.w-iconbox .w-iconbox-meta {
    margin-top: 2rem;
}

.w-iconbox-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-content-heading);
}

/* Хлебные крошки */
.rank-math-breadcrumb p > * {
    font-size: 0.75rem;
    background: var(--color-content-overlay);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 700;
    margin-right: 0.25rem;
}

.rank-math-breadcrumb a:after {
    content: '\f105'; /* angle-right */
    font-family: 'fontawesome';
    margin-left: 0.5rem;
}

.rank-math-breadcrumb span {
    background: var(--color-content-bg-alt);
    color: var(--color-content-heading);
}

.rank-math-breadcrumb .separator {
    display: none;
}

/* Приложения */
.apps_grid {
    gap: 0.5rem;
}

.apps_grid.w-hwrapper>:not(:last-child) {
    margin-inline-end: unset;
}

.apps_grid .w-image-h img {
    max-height: 18px;
}

/* Шапка */
.l-subheader-h {
    max-width: var(--canvas-width) !important;
}

.header_logo .w-image-h {
    border-radius: 0;
}

.sticky .ush_image_1.header_logo {
    background: none !important;
}

.header_button {
    display: inline-block;
    padding: 1rem 1rem !important;
    height: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

header .w-btn.header_button i {
    width: auto;
}

header .fa-maxcdn::before {
    content: "";
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/max.svg) no-repeat;
    background-size: cover;
    width: 1em;
    height: 1em;
    display: block;
}

header .fa-whatsapp::before {
    content: "";
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/whatsapp.svg) no-repeat;
    background-size: cover;
    width: 1em;
    height: 1em;
    display: block;
}

header .fa-telegram::before {
    content: "";
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/telegram.svg) no-repeat;
    background-size: cover;
    width: 1em;
    height: 1em;
    display: block;
}

header .fa-viber::before {
    content: "";
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/viber.svg) no-repeat;
    background-size: cover;
    width: 1em;
    height: 1em;
    display: block;
}

header ul.w-nav-list.level_2 {
    border-radius: 1rem;
    padding: 0.5rem 0;
}

header ul.w-nav-list.level_2 li a {
    line-height: 1 !important;
}

.header_dropdown {
    align-items: center;
    justify-content: center;
    display: flex;
}

.header_dropdown .w-dropdown-list {
    background: none !important;
    box-shadow: none !important;
}

.header_dropdown .w-dropdown-list-h {
    border-radius: 0.7rem !important;
    background: var(--color-content-bg);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.header_dropdown .w-dropdown-list-h a {

    font-size: 0.85rem;
    justify-content: center !important;
    font-weight: 600;
}

/*header.sticky .l-subheader-h {*/
/*    position: relative;*/
/*}*/

/*header.sticky .l-subheader-h:before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    pointer-events: none;*/
/*    backdrop-filter: blur(10px);*/
/*    -webkit-backdrop-filter: blur(10px);*/
/*    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);*/
/*    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);*/
/*}*/

/* Маска */
.horizontal_mask {
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 7%, rgba(0, 0, 0, 1) 93%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 7%, rgba(0, 0, 0, 1) 93%, rgba(0, 0, 0, 0) 100%);
}

/* Фоновые элементы */
.bg_shape {
    position: absolute;
    pointer-events: none;
}

/* Голубое фоновое пятно */
.bg_shape_blue_blob {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 60%;
    max-height: min(400px, 20vh);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #009CF3;
    filter: blur(50px);
    z-index: -1;
}

.bg_shape_big_blue_blob {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    max-height: 60vh;
    min-height: 30vh;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #009CF3;
    filter: blur(10vw);
    opacity: 0.1;
    z-index: -1;
}

/* Зелёное фоновое пятно */
.bg_shape_green_blob {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    max-height: min(400px, 20vh);
    height: 100%;
    aspect-ratio: 8 / 4;
    border-radius: 50%;
    background: #0AAC3A2B;
    filter: blur(50px);
    z-index: -1;
}

/* Все изображения */
.w-image-h {
    position: relative;
}

/* Изображение с подсветкой */
.w-post-elm.post_image {
    overflow: visible;
}

.image_with_blob:before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #009CF3;
    filter: blur(50px);
    z-index: 0;
}

.image_with_blob .w-image-h,
.image_with_blob.w-post-elm.post_image img,
.image_with_blob.w-post-elm.post_custom_field img {
    position: relative;
}

.image_with_blob.style_kiosk_mock:before,
.image_with_blob.style_iphone_mock:before {
    aspect-ratio: 1 / 2;
}

/* Изображение с подсветкой снизу */
.image_with_blob_bottom {
    position: relative;
}

.image_with_blob_bottom img {
    position: relative;
    z-index: 1;
}

.image_with_blob_bottom:before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -50%);
    height: 15%;
    aspect-ratio: 5 / 1;
    border-radius: 50%;
    background: #009CF3;
    filter: blur(25px);
    z-index: 0;
}

/* Изображение с подсветкой и волнами */
.image_with_wave:after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    height: 117%;
    aspect-ratio: 1 / 1;
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/wave_mini.svg) no-repeat center center;
    background-size: 100% 100%;
    z-index: 1;
}

.image_with_wave > * {
    z-index: 2;
}

/* Обёртка с макетом iPad */
.align_right.style_ipad_mock,
.align_right.style_iphone_mock,
.align_right.style_macbook_mock,
.align_right.style_kiosk_mock {
    margin-left: auto;
    margin-right: 0;
}

.align_center.style_ipad_mock,
.align_center.style_iphone_mock,
.align_center.style_macbook_mock,
.align_center.style_kiosk_mock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.style_ipad_mock .w-image-h,
.style_iphone_mock .w-image-h,
.style_macbook_mock .w-image-h,
.style_kiosk_mock .w-image-h {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.style_ipad_mock .w-image-h {
    aspect-ratio: 1024 / 768;
    border-radius: 5% / 7%;
    box-shadow: 0 0.5rem 1rem 0 #00000080;
}
.style_iphone_mock .w-image-h {
    aspect-ratio: 929 / 1920;
    border-radius: 14% / 8%;
    box-shadow: 0 0.5rem 1rem 0 #00000080;
}
.style_macbook_mock .w-image-h {
    aspect-ratio: 1920 / 1159;
    border-radius: 4% / 6%;
    /*box-shadow: 0 0.5rem 1rem 0 #00000080;*/
}
.style_kiosk_mock .w-image-h {
    aspect-ratio: 380 / 781;
    border-radius: 8px;
    /*box-shadow: 0 0.5rem 1rem 0 #00000080;*/
}

.style_ipad_mock .w-image-h img,
.style_iphone_mock .w-image-h img,
.style_macbook_mock .w-image-h img,
.style_kiosk_mock .w-image-h img {
    position: absolute;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.style_ipad_mock .w-image-h img {
    /*    top: 5.48%;*/
    /*    left: 3.52%;*/
    /*    width: 92.97% !important;*/
    /*    height: 88.92% !important;*/
    top: 4.66%;
    left: 3.46%;
    width: 93% !important;
    height: 90.6% !important;
    border-radius: 1% / 2%;
}

.style_iphone_mock.w-image .w-image-h {
    max-width: 177px !important;
}

.style_iphone_mock .w-image-h img {
    top: 1.41%;
    left: 3.55%;
    width: 92.9% !important;
    height: 97.19% !important;
    border-radius: 13% / 6%;
}
.style_macbook_mock .w-image-h img {
    top: 2.31%;
    left: 10.31% !important;
    width: 79.4% !important;
    height: 85.6%;
    border-radius: 1% / 3%;
}

.style_kiosk_mock.w-image .w-image-h {
    max-width: 177px !important;
}

.style_kiosk_mock .w-image-h img {
    top: 7.79%;
    left: 14.99%;
    width: 69.68% !important;
    height: 59.71% !important;
    border-radius: 0;
}

.style_ipad_mock .w-image-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/03/ipad.png) no-repeat center center;
    /*background: url(https://fusionpos.ru/wp-content/uploads/2025/12/ipad.png) no-repeat center center;*/
    background-size: 100% 100%;
    pointer-events: none;
}

.style_iphone_mock .w-image-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://fusionpos.ru/wp-content/uploads/2025/12/iphone.png) no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
}

.style_kiosk_mock .w-image-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/01/kiosk.png) no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
}

.style_macbook_mock .w-image-h::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/mac.png) no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
}

.coming_soon .w-image-h::before {
    content: 'Скоро';
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    background: var(--color-content-primary);
    color: var(--color-content-heading);
    padding: 0.65rem 1rem 0.5rem 1rem;
    border-radius: 1rem;
    z-index: 10;
}

/* Обёртка для видео */
.style_ipad_mock .w-video,
.style_ipad_mock .w-video-h,
.style_ipad_mock video,
.style_macbook_mock .w-video,
.style_macbook_mock .w-video-h,
.style_macbook_mock video {
    height: 100%;
}

/* Блок призыва к действию */
.w-actionbox {
    padding: 3.5rem;
    margin: 0 calc((var(--canvas-width) - 100%) / -2);
    border-radius: 2rem;

}

.w-actionbox.color_primary {
    background: var(--color-custom-blue-bg-grad);
}

.w-actionbox .w-actionbox-title {
    font-family: var(--h1-font-family, inherit);
    font-weight: var(--h1-font-weight, inherit);
    font-size: var(--h1-font-size, inherit);
    font-style: var(--h1-font-style, inherit);
    letter-spacing: var(--h1-letter-spacing, inherit);
    text-transform: uppercase;
    margin-bottom: var(--h1-margin-bottom, inherit);
    line-height: 1;
}

/* Блок призыва к действию с панелью */
.w-actionbox.action_panel {
    position: relative;
    overflow: hidden;
}

.w-actionbox.action_panel .w-actionbox-description:after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: 50%;
    top: 130%;
    transform: translate(-50%,-50%);
    height: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 50%;
    background: #009CF3;
    filter: blur(50px);
    z-index: 0;
}

.w-actionbox.action_panel img {
    margin-top: 1.5rem;
    margin-bottom: -10rem;
}

.w-actionbox.action_panel .w-actionbox-controls {
    z-index: 10;
}

@media(max-width: 768px) {
    .w-actionbox {
        padding: 2rem 1.5rem;
    }

    .w-actionbox p{
        text-align: left;
    }

    .w-actionbox .w-actionbox-controls {
        padding-top: 6rem !important;
    }

    .w-actionbox .w-btn {
        width: 100%;
        margin: 0 0 0.3em !important;
    }

    .w-actionbox .w-btn:last-of-type {
        margin: 0 !important;
    }
}

/* Главная */
.mockups_iphone {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.mockups_glow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -25%;
}

/* Конверсионный элемент */
.conversion_element {
}

.conversion_element .l-section-h.i-cf {
    max-width: unset;
}

.conversion_element .wpcf7-form-control-wrap {
    margin-top: 0;
}

.conversion_element label {
    display: block;
    position: relative;
}

.conversion_element .label_text {
    position: absolute;
    margin-bottom: -4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-content-heading);
    z-index: 1;
    top: 1rem;
    left: 1rem;
}

.conversion_element input,
.conversion_element textarea {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.conversion_element input[type="text"],
.conversion_element input[type="password"],
.conversion_element input[type="email"],
.conversion_element textarea {
    padding-top: 2rem;
    padding-bottom: 1rem;
    line-height: 1;
}

.conversion_element .wpcf7-form-control-wrap[data-name="facceptance"] {
    margin-top: 2rem;
}

.conversion_element .wpcf7-acceptance {
    line-height: 1.2;
}

.conversion_element .wpcf7-form-control[type="submit"] {
    margin-top: 2rem;
}

.conversion_element .wpcf7-not-valid-tip {
    position: static;
    transform: none;
    display: block;
    color: var(--color-custom-red);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    padding-left: 1rem;
    text-align: left;
}

/* Красная рамка для полей с ошибкой (CF7 ставит wpcf7-not-valid на input) */
.conversion_element input.wpcf7-not-valid,
.conversion_element textarea.wpcf7-not-valid,
.conversion_element .wpcf7-form-control-wrap.wpcf7-not-valid input,
.conversion_element .wpcf7-form-control-wrap.wpcf7-not-valid textarea {
    border-color: var(--color-custom-red) !important;
    box-shadow: 0 0 0 1px var(--color-custom-red) !important;
}

/* Превращаем форму в flex-колонку — это позволит управлять порядком блоков */
.conversion_element .wpcf7-form {
    display: flex;
    flex-direction: column;
}

/* Перемещаем общее сообщение об ошибке наверх формы */
.conversion_element .wpcf7-response-output {
    order: -1;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0.875rem 1rem !important;
    border: 1px solid var(--color-custom-red) !important;
    border-radius: 0.5rem !important;
    background: rgba(228, 0, 56, 0.08) !important;
    color: var(--color-custom-red) !important;
    font-size: 0.875rem !important;
    line-height: 1.4 !important;
}

/* Пока сообщения нет — скрываем пустую рамку */
.conversion_element .wpcf7-response-output:empty {
    display: none !important;
}

/* Успешная отправка — зелёный */
.conversion_element .wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--color-custom-green) !important;
    background: rgba(100, 204, 100, 0.08) !important;
    color: var(--color-custom-green) !important;
}

.conversion_element .wpcf7-form-control-wrap[data-name="fpass"] span,
.conversion_element .wpcf7-form-control-wrap[data-name="fpassr"] span {
    display: none;
}

/* Блок Плати */
.plati_icon_box.w-iconbox.iconpos_left {
    border-radius: 0.75rem;
    background: #5BBC5B;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.plati_icon_box.w-iconbox.color_primary .w-iconbox-icon {
    color: var(--color-content-bg);
    font-size: 1rem !important;
    width: 1.1em;
    max-width: 1.1em;
    margin-right: 0.75em;
}

.plati_icon_box.w-iconbox.iconpos_left .w-iconbox-meta {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.plati_icon_box.w-iconbox.iconpos_left .w-iconbox-title {
    font-size: 0.875rem;
    color: var(--color-content-heading);
    margin-top: -0.15rem;
    padding-bottom: 0;
    font-weight: 600;
}

.plati_icon_box.w-iconbox.iconpos_left .w-iconbox-text {
    font-size: 0.75rem;
    color: var(--color-content-bg);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    margin-left: -2.1em;
    line-height: 1rem;
}

/* Партнёры */
.grid_partners .w-grid-list {
    background: var(--color-footer-bg-grad);
    border-radius: 2rem;
    padding: 1rem 2rem;
}

.grid_partners .w-grid-list article:last-child .partner_wrapper {
    border-bottom: none !important;
}

.grid_partners .g-loadmore {
    margin-top: 2rem;
}

.partner_wrapper > * {
    flex: 1 1 0; /* одинаковая ширина */
    min-width: 0; /* чтобы длинный контент не ломал раскладку */
}

.partner_wrapper .telefon span {
    max-width: 150px;
    display: inline-block;
}

.focus_map {
    cursor: pointer;
}

/* Табы снизу */
.reverse_tabs {
    display: flex;
    flex-direction: column-reverse;
}

.reverse_tabs .w-tabs-section-content {
    padding-top: 0;
    padding-bottom: 1.5rem;
}

.reverse_tabs.w-tabs.style_trendy.layout_hor>.w-tabs-list:before {
    display: none;
}

.reverse_tabs.w-tabs.style_trendy.layout_hor>.w-tabs-list .w-tabs-list-bar {
    bottom: unset;
    top: 0;
}

/* Скринкаст */
.screencast_tabs,
.screenlist {
    align-items: center;
}

.screencast_tabs .w-tabs-list,
.screenlist .w-tabs-list {
    width: 50%;

}

.screencast_tabs.w-tabs.style_default > .w-tabs-list,
.screenlist.w-tabs.style_default > .w-tabs-list {
    background: none;
}

.screencast_tabs.w-tabs.style_default .w-tabs-list-h,
.screenlist.w-tabs.style_default .w-tabs-list-h {
    gap: 0.5rem;
    counter-reset: screencast_tab;
}

.screencast_tabs .w-tabs-item,
.screenlist .w-tabs-item {
    border: 1px solid var(--color-content-border) !important;
    border-radius: 0.75rem;
    white-space: normal !important;
    padding: 1.5rem 1.5rem 1.5rem 5rem;
    counter-increment: screencast_tab;
    position: relative;
    text-align: left;
}

.screencast_tabs .w-tabs-item.active,
.screenlist .w-tabs-item.active {
    border: 1px solid var(--color-content-primary) !important;
}

.screencast_tabs .w-tabs-item-title,
.screenlist .w-tabs-item-title {
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    font-size: var(--font-size);
    font-style: var(--font-style);
    line-height: var(--line-height);
    letter-spacing: unset;
    text-transform: var(--text-transform);
    margin-bottom: unset;
}

.screenlist_text.w-text {
    color: var(--color-content-text) !important;
}

/* Кружок с номером */
.screencast_tabs .w-tabs-item::before,
.screenlist .w-tabs-item::before {
    content: counter(screencast_tab);
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);

    width: 2rem;
    height: 2rem;
    border-radius: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-content-border);

    color: var(--color-content-heading);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

body.usb_preview .us-child-screenlist-preview.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 6rem;
    padding: 1.25rem;
    border: 1px dashed var(--color-content-border);
    border-radius: 0.75rem;
    background: var(--color-content-bg-alt);
    text-align: center;
}

body.usb_preview .us-child-screenlist-placeholder {
    color: var(--color-content-heading);
    font-weight: 600;
}

/* Направления */
.features_comfort_grid .vc_column_container {
    border-radius: 2rem;
    background: var(--color-footer-bg-grad);
    padding: 1.5rem;
}

/* Оборудование */
.hardware_grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 2fr 1fr;
}

.hardware_grid > :nth-child(3n + 1) {
    align-self: center;
    justify-self: center;
}

.hardware_grid > :nth-child(3n + 2) {
    align-self: start;
    justify-self: start;
}

.hardware_grid > :nth-child(3n + 3) {
    align-self: start;
    justify-self: stretch;
}

.hardware_features_mini .repeater .repeater-row:nth-child(n+6) {
    display: none;
}

.hardware_features_mini .repeater .repeater-row:nth-child(5) .repeater-field {
    border-bottom: none;
}

.hardware_features .repeater-field.znachenie {
    text-align: right;
}

.hardware_cats.w-grid.type_grid .w-grid-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hardware_cats .w-grid-item {
    padding: 1em 1.5em;
    border-bottom: 1px solid var(--color-content-border);
}

.hardware_cats .hardware_cat_active.w-grid-item {
    border-bottom: 2px solid var(--color-content-link);
}

.hardware_cat_active a {
    color: var(--color-content-link) !important;
}

    /* Банки партнёры */
.bank_grid .w-grid-list {
    gap: 0 !important;
}

.w-grid-item .bank_partner {
    display: grid !important; /* перебиваем то, что задает тема (часто flex) */
    grid-template-columns: 2rem 1fr 1fr 1fr 12rem;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid var(--color-content-border);
}

.bank_grid .w-grid-item:first-child .bank_partner > * {
    position: relative;
}

.bank_grid .w-grid-item:first-child .bank_partner > *:before {
    position: absolute;
    top: -4rem;
    font-weight: 600;
    color: var(--color-content-heading);
    left: 0;
    right: 0;
}

.bank_grid .w-grid-item:first-child .bank_partner > div:nth-child(2):before {
    content: 'Банк';
}

.bank_grid .w-grid-item:first-child .bank_partner > div:nth-child(3):before {
    content: 'Тарифы';
}

.bank_grid .w-grid-item:first-child .bank_partner > div:nth-child(4):before {
    content: 'Стоимость терминала';
}

.bank_grid .w-grid-item .bank_partner > div:nth-child(3),
.bank_grid .w-grid-item .bank_partner > div:nth-child(4) {
    text-align: right;
}

.bank_grid .w-grid-item:first-child .bank_partner {
    margin-top: 3rem;
    border-top: 1px solid var(--color-content-border);
}

.bank_grid .w-grid-item:last-child .bank_partner {
    border-bottom: none;
}

@media(max-width: 600px) {
    .bank_grid {
        font-size: 0.85rem;
    }

    .w-grid-item .bank_partner {
        grid-template-columns: 2rem 2fr 1fr 1fr 0;
        gap: 0;
        padding: 0.5rem 0;
    }

    .w-grid-item .bank_partner > * {
        margin-inline-end: 0.5rem !important;
    }

    .bank_grid .w-btn {
        display: none;
    }
}

@media(max-width: 360px) {
    .w-grid.bank_grid {
        padding: 1.5rem 1rem !important;
    }
}

/* Вебинары */
.layout_1038 .layout_1631 .usg_post_title_1 {
    color: var(--color-content-heading) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.layout_1038 .layout_1631 .usg_vwrapper_1 {
    height: 100% !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
}

.layout_1038 .layout_1631 .usg_post_image_1 {
    border-radius: 50% !important;
}

/* Фильтр - Категории */
.filter_cat {

}

.filter_cat .w-filter-item-values {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 !important;
}

.filter_cat .w-filter-item-values .w-filter-item-value {
    border-radius: 0;
    background: transparent !important;
    padding: 1em 1.5em !important;
    border-bottom: 1px solid var(--color-content-border);
    font-weight: 400 !important;
}

.filter_cat .w-filter-item-value.us-btn-style_1:has(input:checked),
.filter_cat .us-btn-style_1:hover {
    padding: 1em 1.5em !important;
    border-bottom: 2px solid var(--color-content-link) !important;
    background: transparent !important;
    border-image: unset !important;
    font-weight: 400 !important;
}

.filter_cat .w-filter-item-value.us-btn-style_1:has(input:checked) {
    color: var(--color-content-heading) !important;
}

/* Фильтр - Категории новостей - Иконки */
.page-id-1082 .w-filter-item-value[data-value="*"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: text-top !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/news_all.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.w-filter-item-value[data-value="novosti-fusionpos"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: text-top !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/news_fusionpos.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.w-filter-item-value[data-value="novosti-horeca"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: middle !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/news_horeca.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Фильтр - Категории вебинаров - Иконки */
.page-id-1032 .w-filter-item-value[data-value="*"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: text-top !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/vebinar_all.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.w-filter-item-value[data-value="aktualnye"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: text-top !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/vebinar_soon.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.w-filter-item-value[data-value="zavershennye"] .w-filter-item-value-label:before {
    content: "";
    display: inline-block;
    vertical-align: middle !important;
    background: url(https://fusionpos.ru/wp-content/uploads/2026/02/vebinar_archive.svg);
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

    /* Регистрация */
.cf7-btn {
    margin-top: 2rem;
}

.cf7-title {
    color: var(--color-content-heading);
    font-family: var(--h2-font-family);
    font-weight: var(--h2-font-weight);
    font-size: var(--h2-font-size);
    font-style: var(--h2-font-style);
    line-height: var(--h2-line-height, 1.4);
    letter-spacing: var(--h2-letter-spacing);
    text-transform: var(--h2-text-transform);
    margin-bottom: 1.5rem;
}

.cf7-step label:first-of-type,
.cf7-step .cf7-code-field {
    margin-top: 1.5rem;
}

.cf7-code-field {
    position: relative;
    max-width: 380px;
}

.cf7-code-field .wpcf7-form-control-wrap {

}

.cf7-code-field .wpcf7-form-control-wrap input {
    padding: 1.5rem 1.25rem !important;
    font-size: 1.25rem;
    letter-spacing: 55px;
}

.cf7-fake-code {

    display: flex;
    gap: 1rem;
    background: transparent;
    overflow: hidden;
    border-radius: var(--inputs-border-radius, 0px);
}

.cf7-fake-code > input {
    padding: 1rem 0.5rem !important;
    font-size: 1.25rem;
    max-height: 68px;
    min-height: 68px;
    text-align: center;
}

.cf7-step {

}

.cf7-step[data-step="2"],
.cf7-step[data-step="3"],
.cf7-step[data-step="4"] {
    display: none;
}

.cf7-step.is-active {
    display: block;
}

.cf7-step.is-hidden {
    display: none !important;
}

.cf7-text-block.domain-title {
    padding: 0.25rem 1rem 0 1rem;
}

.domain-hint {
    padding: 0 1rem 0 1rem;
    margin-bottom: 1rem;
}

.email-error {
    color: var(--color-custom-red, red);
    padding: 0.5rem 1rem 0 1rem;
    margin-bottom: 1rem;
}

.cf7-step[data-step="3"] {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* Прелоадер */
.cf7-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
}
.circle {
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
}
.circle.one {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-color: #00bfff;
    border-right-color: #00bfff;
    animation: spin-clockwise 1.5s linear infinite;
}
.circle.two {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-bottom-color: #66ccff;
    border-left-color: #66ccff;
    animation: spin-counter 2s linear infinite;
}
.circle.three {
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-left-color: #3399ff;
    border-top-color: #3399ff;
    animation: spin-bounce 1.2s ease-in-out infinite alternate;
}

/* Тарифы */
.wpb_wrapper hr {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-content-border);
    border-color: var(--color-content-border);
}

.rev{
    --inset: 1rem;
    --p: 0; /* 0..1 */
    width:100%;
}

.rev__box{
    position: relative;
    height: 3.25rem;
    border-radius: 1rem;
    border: 1px solid var(--color-content-heading);
    box-sizing: border-box;
    overflow: visible;
}

.rev__input{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 3.25rem;
    min-height: unset !important;
    border: 0;
    outline: none;
    background: transparent !important;
    color: inherit;
    font-size: 1rem;
    padding: 0 var(--inset);
    box-sizing: border-box;
}

.rev__box::before{
    content: "";
    position: absolute;
    left: var(--inset);
    bottom: -1px;
    height: 1px;
    width: calc((100% - (2 * var(--inset))) * var(--p));
    background: var(--color-custom-green);
}

.rev__range{
    position:absolute;
    left:var(--inset);
    right:var(--inset);
    bottom:0;
    width: unset !important;
    height:1rem;
    margin:0;
    padding:0;
    background:transparent !important;
    -webkit-appearance:none;
    appearance:none;
    outline:none;
    z-index:2;
}

.rev__range::-webkit-slider-runnable-track{ height:0.125rem; background:transparent; }
.rev__range::-moz-range-track{ height:0.125rem; background:transparent; }

.rev__range::-webkit-slider-thumb{
    -webkit-appearance:none;
    appearance:none;
    width:0.75rem;
    height:0.75rem;
    border-radius:50%;
    background:var(--color-content-heading);
    border:0.125rem solid var(--color-custom-green);
    cursor:pointer;
    margin-top:0.125rem;
}
.rev__range::-moz-range-thumb{
    width:0.75rem;
    height:0.75rem;
    border-radius:50%;
    background:var(--color-content-heading);
    border:0.125rem solid var(--color-custom-green);
    cursor:pointer;
}

.rev__ticks{
    position: absolute;
    left: var(--inset);
    right: var(--inset);
    bottom: 0;
    height: 4px;
    pointer-events: none;
    z-index: 1;
}
.rev__tick{
    position: absolute;
    left: var(--x);
    bottom: 0;
    width: 1px;
    height: 8px;
    background: var(--color-content-heading);
    transform: translateX(-50%);
}

.rev__tick:first-child {
    left: calc(var(--x) + 6px);
}

.rev__tick:last-child {
    left: calc(var(--x) - 6px);
}

.rev__scale{
    position:relative;
    margin-top:0.5rem;
    height:1.5rem;
    padding:0 var(--inset);
    box-sizing:border-box;
    font-size:1rem;
    opacity:.7;
}
.rev__s{
    position:absolute;
    left:var(--x);
    top:0;
    transform:translateX(-50%);
    white-space:nowrap;
    font-size: 0.75rem;
}
.rev__s--left{ transform:translateX(0); }
.rev__s--right{ transform:translateX(-100%); }

/* Tooltips */
.has-tooltip {
    position: relative;
    z-index: 5;
    cursor: help;
}

.has-tooltip[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background-color: #333;
    color: #fff;
    font-size: 0.875rem;
    line-height: 1.4;
    border-radius: 0.25rem;
    max-width: min(28rem, calc(100vw - 2rem));
    white-space: normal;
    overflow-wrap: break-word;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 0.125rem 0.625rem rgba(0,0,0,0.2);
}

.has-tooltip[data-tooltip]:after {
    content: "";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.5rem 0.5rem 0 0.5rem;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10000;
    pointer-events: none;
}

.has-tooltip[data-tooltip]:hover:before,
.has-tooltip[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 48rem) {
    .has-tooltip[data-tooltip]:before {
        left: 0;
        right: 0;
        transform: none;
        width: auto;
        max-width: none;
        text-align: left;
        word-break: normal;
    }

    .has-tooltip[data-tooltip]:after {
        left: 1rem;
        transform: none;
    }
}

@keyframes spin-clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes spin-counter {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
@keyframes spin-bounce {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.cf7-step[data-step="4"] .cf7-btn {
    display: inline-flex;
    margin-right: 1rem;
}

.cf7-step[data-step="4"] .cf7-btn:last-child {
    margin-right: 0;
}

@media (max-width: 600px) {
    .cf7-step[data-step="4"] .cf7-btn {
        display: flex;
        margin-right: 0;
        margin-top: 1rem;
    }
}

/* Футер */
.footer_menu {
    margin-top: 1.5rem;
}

.footer_menu a {
    font-size: 0.875rem;
    line-height: 1.75;
}

.it_badge i {
    color: var(--color-content-primary);
}

@media (max-width: 768px) {
    .footer_menu {
        margin-top: 0.5rem;
    }

    .footer_menu li {
        margin-bottom: 0;
    }
}

main > section:nth-child(1)  { z-index: 30; }
main > section:nth-child(2)  { z-index: 29; }
main > section:nth-child(3)  { z-index: 28; }
main > section:nth-child(4)  { z-index: 27; }
main > section:nth-child(5)  { z-index: 26; }
main > section:nth-child(6)  { z-index: 25; }
main > section:nth-child(7)  { z-index: 24; }
main > section:nth-child(8)  { z-index: 23; }
main > section:nth-child(9)  { z-index: 22; }
main > section:nth-child(10) { z-index: 21; }
main > section:nth-child(11) { z-index: 20; }
main > section:nth-child(12) { z-index: 19; }
main > section:nth-child(13) { z-index: 18; }
main > section:nth-child(14) { z-index: 17; }
main > section:nth-child(15) { z-index: 16; }
main > section:nth-child(16) { z-index: 15; }
main > section:nth-child(17) { z-index: 14; }
main > section:nth-child(18) { z-index: 13; }
main > section:nth-child(19) { z-index: 12; }
main > section:nth-child(20) { z-index: 11; }
main > section:nth-child(21) { z-index: 10; }
main > section:nth-child(22) { z-index: 9; }
main > section:nth-child(23) { z-index: 8; }
main > section:nth-child(24) { z-index: 7; }
main > section:nth-child(25) { z-index: 6; }
main > section:nth-child(26) { z-index: 5; }
main > section:nth-child(27) { z-index: 4; }
main > section:nth-child(28) { z-index: 3; }
main > section:nth-child(29) { z-index: 2; }
main > section:nth-child(30) { z-index: 1; }

/* Проверка совместимости оборудования */
.sigma-compatibility__row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.sigma-compatibility__row > label {
    flex: 1 1 auto;
    min-width: 0;
}

.sigma-compatibility__input {
    background: var(--color-content-bg-alt) !important;
}

.sigma-compatibility__button {
    white-space: nowrap;
}
.sigma-compatibility__result {
    margin-top: 10px;
}
.sigma-compatibility__result--ok {
    color: #2e7d32;
}
.sigma-compatibility__result--fail {
    color: #c62828;
}
.sigma-compatibility__result--loading {
    opacity: 0.7;
}

/* Чекбокс согласия на Шаге 1 */
.cf7-agreement {
    display: block;
    margin: 16px 0 20px;
    font-size: 13px;
    line-height: 1.4;
    color: #9ca3af;
    cursor: pointer;
}
.cf7-agreement .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cf7-agreement .wpcf7-list-item-label {
    flex: 1;
}
.cf7-agreement input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--color-content-primary, #3b9fe2);
    cursor: pointer;
    flex-shrink: 0;
}
.cf7-agreement a {
    color: var(--color-content-primary, #3b9fe2);
    text-decoration: underline;
}
.cf7-agreement a:hover {
    text-decoration: none;
}

/* === FP Security: Inline error на Шаге 2 === */
.cf7-step[data-step="2"] .cf7-code-error {
    display: none;
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 6px;
    color: #f87171;
    font-size: 14px;
    line-height: 1.4;
}

/* === FP_STEP2_STYLES_V1: стили Шага 2 формы регистрации === */

/* Email-подсветка как «тег» */
.cf7-step[data-step="2"] .email_hint {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 2px;
    background: rgba(59, 159, 226, 0.12);
    color: var(--color-content-primary, #3b9fe2);
    border-radius: 4px;
    font-weight: 600;
    font-family: inherit;
    word-break: break-all;
}

/* Подсветка введённых цифр */

/* Вторичный текстовый блок (мельче, приглушённее) — для подсказки про спам */
.cf7-step[data-step="2"] .cf7-text-secondary {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    margin-top: 12px;
}
.cf7-step[data-step="2"] .cf7-text-secondary a {
    color: var(--color-content-primary, #3b9fe2);
    text-decoration: underline;
}
.cf7-step[data-step="2"] .cf7-text-secondary a:hover {
    text-decoration: none;
}

/* Плавная блокировка кнопки */
.cf7-step[data-step="2"] .cf7-next {
    transition: opacity 0.15s ease;
}

/* === FP_STEP1_DOMAIN_V1: поле "Адрес панели управления" === */

/* Скрываем старые подсказки «Название домена» и «Ваш домен: ...» */
.wpcf7-form .cf7-steps .domain-title,
.wpcf7-form .cf7-steps .domain-hint {
    display: none !important;
}

/* Контейнер */
.fp-domain-panel {
    margin: 0 0 12px;
}

/* Лейбл-обёртка — внешне как другие поля формы */
.fp-domain-panel label.fp-domain-label {
    display: block;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid transparent;
    cursor: default;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.fp-domain-panel .label_text {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 4px;
}

/* Сам readonly input */
.fp-domain-panel .fp-domain-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    color: var(--color-content-primary, #3b9fe2);
    font-size: 16px;
    line-height: 1.4;
    cursor: default;
    user-select: text; /* можно выделить и скопировать домен */
}

.fp-domain-panel .fp-domain-input::placeholder {
    color: #6b7280;
    font-size: 14px;
    opacity: 1;
}

/* Состояние «успех» (домен принят) */
.fp-domain-panel label.fp-domain-label.is-success {
    border-color: rgba(59, 159, 226, 0.3);
}

/* Состояние «ошибка» (домен занят) */
.fp-domain-panel label.fp-domain-label.is-error {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.04);
}
.fp-domain-panel label.fp-domain-label.is-error .fp-domain-input::placeholder {
    color: #f87171;
}

/* === FP_DOMAIN_POLISH_V1: убираем чернение readonly-поля при клике === */

/* Сбрасываем все возможные стили focus/active на readonly-input */
.fp-domain-panel .fp-domain-input:focus,
.fp-domain-panel .fp-domain-input:active,
.fp-domain-panel .fp-domain-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}

/* Стабилизируем сам label-контейнер при focus-within */
.fp-domain-panel label.fp-domain-label:focus-within {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Сохраняем цвет рамки для состояний при focus-within */
.fp-domain-panel label.fp-domain-label.is-success:focus-within {
    border-color: rgba(59, 159, 226, 0.3) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}
.fp-domain-panel label.fp-domain-label.is-error:focus-within {
    border-color: rgba(239, 68, 68, 0.4) !important;
    background: rgba(239, 68, 68, 0.04) !important;
}

/* Скрываем мигающий курсор */
.fp-domain-panel .fp-domain-input {
    caret-color: transparent !important;
}

/* Курсор как у текста (показывает что можно выделить и скопировать) */
.fp-domain-panel .fp-domain-input {
    cursor: text !important;
}

/* === FP_STEP1_ERROR_V1: inline-блок ошибки на Шаге 1 === */
.cf7-step[data-step="1"] .cf7-step1-error {
    display: none;
    margin: 12px 0 16px;
    padding: 12px 14px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 6px;
    color: #f87171;
    font-size: 14px;
    line-height: 1.4;
}

/* === FP_BORDER_PERFECT_V1: финальный единообразный стиль ячеек кода ===
 * Используем border внутри ячейки вместо внешних теней — рендерится одинаково
 * независимо от gap, subpixel-позиции и соседей.
 */

/* Все ячейки: подготовка под border-внутри */
.cf7-step[data-step="2"] .cf7-fake-code input {
    box-sizing: border-box !important;
    border: 2px solid transparent !important;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease !important;
}

/* Заполнено — голубая рамка + лёгкая голубая заливка для тёплого свечения */
.cf7-step[data-step="2"] .cf7-fake-code input.is-filled {
    border-color: var(--color-content-primary, #3b9fe2) !important;
    background-color: rgba(59, 159, 226, 0.08) !important;
    color: var(--color-content-primary, #3b9fe2) !important;
}

/* В фокусе (текущая активная ячейка) — рамка чуть ярче, заливки нет */
.cf7-step[data-step="2"] .cf7-fake-code input:focus,
.cf7-step[data-step="2"] .cf7-fake-code input:focus-visible {
    border-color: var(--color-content-primary, #3b9fe2) !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* В фокусе И заполнено — рамка яркая + лёгкая заливка */
.cf7-step[data-step="2"] .cf7-fake-code input.is-filled:focus,
.cf7-step[data-step="2"] .cf7-fake-code input.is-filled:focus-visible {
    border-color: var(--color-content-primary, #3b9fe2) !important;
    background-color: rgba(59, 159, 226, 0.12) !important;
    box-shadow: none !important;
}

/* ============================================
   FP_STEP4_CREDENTIALS_V1
   Шаг 4 регистрации: блок данных доступа
   ============================================ */

.cf7-credentials {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.cf7-credentials-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cf7-credentials-row:first-child { padding-top: 0; }
.cf7-credentials-row:last-child { padding-bottom: 0; border-bottom: none; }

.cf7-credentials-label {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.3;
}

.cf7-credentials-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    word-break: break-all;
}

.cf7-credentials-link {
    color: var(--color-content-primary, #3b9fe2);
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.cf7-credentials-link:hover { text-decoration: underline; }

.cf7-credentials-password {
    flex: 1;
    min-width: 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.cf7-copy-btn,
.cf7-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.15s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cf7-copy-btn:hover,
.cf7-toggle-btn:hover {
    color: var(--color-content-primary, #3b9fe2);
    border-color: var(--color-content-primary, #3b9fe2);
}

.cf7-copy-btn.is-copied {
    color: #22c55e;
    border-color: #22c55e;
}

.cf7-copy-btn.is-copied::after {
    content: 'Скопировано';
    margin-left: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Блок справки и базы знаний */
.cf7-help {
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(59, 159, 226, 0.06);
    border-left: 3px solid var(--color-content-primary, #3b9fe2);
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #d1d5db;
}

.cf7-help a {
    color: var(--color-content-primary, #3b9fe2);
    text-decoration: underline;
}

.cf7-help a:hover { text-decoration: none; }

/* FP_STEP4_CREDENTIALS_V2: защита от клика по ссылке без href.
   Если URL не пришёл в ответе биллинга — JS ставит href="#" + класс is-disabled,
   и кнопка не реагирует на клик (вместо скролла к якорю).
   .cf7-result-link.is-disabled описан ниже отдельно (V3). */
.cf7-credentials-link.is-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

/* ============================================
   FP_STEP3_LOADER_V3 — Шаг 3: меняющийся текст лоадера
   ============================================ */

.cf7-loader-title {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: 24px;
    color: #fff;
}

.cf7-loader-status {
    font-size: 16px;
    text-align: center;
    margin-top: 12px;
    color: var(--color-content-primary, #3b9fe2);
    transition: opacity 0.25s ease;
    min-height: 24px; /* чтобы не было прыжков высоты при пустом тексте */
}

.cf7-loader-hint {
    font-size: 13px;
    text-align: center;
    margin-top: 16px;
    color: #9ca3af;
}

/* ============================================
   FP_STEP4_BUTTONS_V3 — финальные кнопки (новые классы, без cf7-login/w-btn/us-btn-style_1).
   Тема Impreza цеплялась за старые классы и (а) рисовала ::before-иконку слева,
   (б) перехватывала клик через хэндлер popup-логина. После переименования всё чисто.
   ============================================ */

.cf7-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 16px;
}

.cf7-result-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--color-content-primary, #3b9fe2);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, transform 0.05s ease;
    box-sizing: border-box;
}

.cf7-result-link:hover {
    background: #2d8acc;
    color: #fff;
    text-decoration: none;
}

.cf7-result-link:active {
    transform: scale(0.98);
}

/* Принудительно убираем псевдоэлементы темы (Impreza нацепляла иконку через ::before) */
.cf7-result-link::before,
.cf7-result-link::after {
    content: none !important;
    display: none !important;
}

/* Если URL не пришёл — блокируем клик */
.cf7-result-link.is-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* На широких экранах кнопки в ряд */
@media (min-width: 600px) {
    .cf7-actions {
        flex-direction: row;
    }
    .cf7-result-link {
        flex: 1;
    }
}

/* Тарифы: Блок "Что выгоднее именно вам" */

.fp-tariffs-calc .w-hwrapper:has(.fp-calc-revenue-output),
.fp-tariffs-calc .w-hwrapper:has(.fp-calc-points-output) {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.55rem;
}

.fp-tariffs-calc input[type="range"] {
    --fp-range-progress: 0%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    block-size: 1.1rem;
    width: 100%;
    cursor: pointer;
    margin: 0 0 2rem;
}

.fp-tariffs-calc input[type="range"]::-webkit-slider-runnable-track {
    block-size: 0.25rem;
    border-radius: 99rem;
    background: linear-gradient(
        to right,
        #009cf3 0 var(--fp-range-progress),
        rgba(255, 255, 255, 0.34) var(--fp-range-progress) 100%
    );
}

.fp-tariffs-calc input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    inline-size: 1.125rem;
    block-size: 1.125rem;
    border: 0;
    border-radius: 50%;
    background: #009cf3;
    box-shadow: none;
    margin-top: -0.4375rem;
}

.fp-tariffs-calc input[type="range"]::-moz-range-track {
    block-size: 0.25rem;
    border-radius: 99rem;
    background: rgba(255, 255, 255, 0.34);
}

.fp-tariffs-calc input[type="range"]::-moz-range-progress {
    block-size: 0.25rem;
    border-radius: 99rem;
    background: #009cf3;
}

.fp-tariffs-calc input[type="range"]::-moz-range-thumb {
    inline-size: 1.125rem;
    block-size: 1.125rem;
    border: 0;
    border-radius: 50%;
    background: #009cf3;
    box-shadow: none;
}

.fp-tariffs-calc input[type="checkbox"] {
    inline-size: 1.25rem;
    block-size: 1.25rem;
    accent-color: #009cf3;
    margin: 0 0.75rem 0 0;
    vertical-align: middle;
}

.fp-tariffs-calc label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.35;
    cursor: pointer;
}

.fp-tariffs-calc .fp-calc-all-card,
.fp-tariffs-calc .fp-calc-std-card {
    min-height: 7.625rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-shadow: inset 0 0 0 0.0625rem transparent !important;
    transition: box-shadow 0.2s ease;
}

.fp-tariffs-calc .fp-calc-all-card.is-active,
.fp-tariffs-calc .fp-calc-std-card.is-active {
    box-shadow: inset 0 0 0 0.0625rem #009cf3 !important;
}

.fp-tariffs-calc .fp-calc-all-price,
.fp-tariffs-calc .fp-calc-std-price {
    letter-spacing: -0.035em;
}

.fp-tariffs-calc .fp-calc-verdict.w-message {
    min-height: 3.25rem;
    align-items: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem !important;
}

.fp-tariffs-calc .fp-calc-verdict .w-message-icon {
    width: 2.75rem;
    font-size: 1.25rem;
    line-height: 1;
}

.fp-tariffs-calc .fp-calc-verdict .w-message-body {
    padding: 0 !important;
    font-size: 0.875rem;
    line-height: 1.35;
}

@media (max-width: 48rem) {
    .fp-tariffs-calc .w-hwrapper:has(.fp-calc-revenue-output),
    .fp-tariffs-calc .w-hwrapper:has(.fp-calc-points-output) {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* Тарифы: Блок "Одна панель — вся сеть" */

.fp-tariffs-network .w-iconbox-icon {
    margin-top: 1.25rem !important;
}

@media (max-width: 48rem) {
    .fp-tariffs-network .w-iconbox-icon {
        margin-top: 0 !important;
    }
}

/* Тарифы: Блок "Основной функционал" */

.fp-tariffs-functional .wpb_column.vc_column_container.has_bg_color {
    justify-content: center;
    background: #252525 !important;
    background-image: none !important;
}

.fp-tariffs-functional .w-iconbox {
    align-items: center;
    width: 100%;
}

.fp-tariffs-functional .w-iconbox .w-iconbox-meta {
    margin-top: 0;
}

.fp-tariffs-functional .w-iconbox-title {
    color: var(--color-content-heading, #fff) !important;
    font-weight: 600 !important;
    line-height: 1.25;
    letter-spacing: -0.01em;
    padding: 0 !important;
}

.fp-tariffs-functional .w-iconbox-icon {
    line-height: 1;
}

@media (max-width: 48rem) {
    .fp-tariffs-functional .wpb_column.vc_column_container.has_bg_color {
        padding: 1.4rem 1.25rem !important;
    }
}

/* Тарифы: Блок "Опции — здесь главная разница" */

.fp-tariffs-options-table.wpb_column.vc_column_container {
    background: linear-gradient(110deg, #242424 0%, #242424 62%, #1b3a48 100%) !important;
    border-radius: 2rem !important;
    padding: 2rem 4rem !important;
    overflow: hidden;
}

.fp-tariffs-options-table > .vc_column-inner {
    padding: 0 !important;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row {
    margin: 0;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:first-child {
    padding-bottom: 0.65rem;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.13);
    padding-block: 0.45rem;
}

.fp-tariffs-options-table .w-text {
    margin: 0;
    line-height: 1.35;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:first-child .w-text {
    color: #fff !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) .w-text {
    color: #fff !important;
    font-weight: 400 !important;
}

.fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3) .w-text {
    color: #64cc64 !important;
    font-weight: 500 !important;
}

.fp-tariffs-options-table .w-text.icon_atright i {
    margin-left: 0.35em;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.85em;
}

@media (max-width: 48rem) {
    .fp-tariffs-options-table.wpb_column.vc_column_container {
        padding: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:first-child {
        display: none !important;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.75rem;
        border-top: 0 !important;
        border-radius: 1rem;
        padding: 0.875rem !important;
        margin-top: 0.75rem;
        background: rgba(255, 255, 255, 0.035);
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:nth-child(2) {
        margin-top: 0;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column {
        width: auto !important;
        min-width: 0;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column > .vc_column-inner {
        padding: 0 !important;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:first-child {
        grid-column: 1 / -1;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:first-child .w-text {
        font-weight: 600 !important;
        line-height: 1.3;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(2),
    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3) {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        min-height: 4.6rem;
        padding: 0.75rem !important;
        border-radius: 0.85rem;
        background: rgba(17, 17, 17, 0.55);
        border: 0.0625rem solid rgba(255, 255, 255, 0.08);
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(2)::before,
    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3)::before {
        color: rgba(190, 209, 229, 0.78);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(2)::before {
        content: "Стандарт";
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3)::before {
        content: "Всё включено";
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3) {
        background: rgba(0, 156, 243, 0.08);
        border-color: rgba(0, 156, 243, 0.22);
    }

    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(2) .w-text,
    .fp-tariffs-options-table > .vc_column-inner > .g-cols.wpb_row:not(:first-child) > .wpb_column:nth-child(3) .w-text {
        font-size: 0.95rem;
        line-height: 1.25;
    }
}
/* Тарифы: Блок "Частые вопросы" */

.fp-tariffs-faq .w-tabs-section-title,
.fp-tariffs-faq .w-tabs-section-header:hover .w-tabs-section-title,
.fp-tariffs-faq .w-tabs-section.active .w-tabs-section-title {
    color: var(--color-content-heading, #fff) !important;
}
