/*
Theme Name: Stanki Plast
Author: Финицкий Александр
Author URI: http://www.stankiplast.com.ua/
Description: WordPress тема Stanki Plast.
Version: 20260126
*/
/* ============================================================
   ОПТИМІЗОВАНІ ШРИФТИ CYNTHO NEXT ДЛЯ STANKIPLAST
   ============================================================ */

/* LIGHT */
@font-face {
    font-family: 'CynthoNext-Light';
    src: url('fonts/CynthoNext-Light.woff2') format('woff2');
    font-weight: 300; font-style: normal; font-display: swap;
}

/* REGULAR */
@font-face {
    font-family: 'CynthoNext-Regular';
    src: url('fonts/CynthoNext-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}

/* MEDIUM */
@font-face {
    font-family: 'CynthoNext-Medium';
    src: url('fonts/CynthoNext-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}

/* BOLD */
@font-face {
    font-family: 'CynthoNext-Bold';
    src: url('fonts/CynthoNext-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* EXTRA BOLD */
@font-face {
    font-family: 'CynthoNext-ExtraBold';
    src: url('fonts/CynthoNext-ExtraBold.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

/* EXTRA BOLD ITALIC */
@font-face {
    font-family: 'CynthoNext-ExtraBoldItalic';
    src: url('fonts/CynthoNext-ExtraBoldItalic.woff2') format('woff2');
    font-weight: 800; font-style: italic; font-display: swap;
}
/* Глобальне приховування підкреслення для всіх станів */
a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}
a:focus {
	text-decoration: none;
	color: #ffffff;
}
button {
	outline: none;
}
body,
html {
	overflow-x: hidden;
}
.d-flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
.ajax-loader {
	display: none !important;
}
.wpcf7-form-control-wrap {
	position: relative;
}
.wpcf7-not-valid {
	border: 2px red solid !important;
}

span.wpcf7-not-valid-tip {
	display: inherit !important;
}
/* ===============  custom scroll  =============== */

::-webkit-scrollbar {
	width: 12px;
	height: 3px;
}

::-webkit-scrollbar-button {
	background-color: #666;
	display: none;
}

::-webkit-scrollbar-track {
	background-color: #999;
}

::-webkit-scrollbar-track-color #EBEBEB
::-webkit-scrollbar-track-piece {
	background-color: #ffffff;
}

::-webkit-scrollbar-thumb {
	height: 50px;
	background-color: #666;
	border-radius: 2px;
}

::-webkit-scrollbar-corner {
	background-color: #999;
}



@media (min-width: 1200px) {
	.container {
		width: 1170px;
	}
}


/* ====  1. СПІЛЬНІ СТИЛІ ДЛЯ ОБОХ ХЕДЕРІВ (Top Bar, Video, Logo)========= */
/* 1. Модифікуємо спільний клас */
.header {
    position: relative;
    overflow: hidden; 
    min-height: 650px; 
    height: auto;
}
/* 1. Додаємо підтримку нового класу для головної */
.header, 
.header.header-main {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    height: auto; 
}
.header-sec {
    height: auto !important;
    overflow: visible;
}
.header-sec .header-top.header-scroll {
    background-color: #4d4c4c;
}
.header .video, .header .header-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.header .cont {
    background: rgba(0, 0, 0, 0.6) url(image/header-bg.png) repeat;
    width: 100%; height: 100%;
    position: absolute;
    top: 0; z-index: 2;
}
.header .header-content {
    position: relative;
}
/* ===============  HEADER TOP (Шапка)  =============== */
.header-top {
    width: 100%; /* Замість 100vw */
    height: 50px;
    background-color: rgba(12, 42, 72, 0.5);
    position: fixed !important;
    top: 0; left: 0;
    z-index: 9999;
    border-bottom: 1px solid #F4991E;
    transition: all 0.15s ease;
}
/* Вирівнювання елементів через Flexbox */
.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
}
.header-top * { color: white; }

/* --- ЛОГОТИП --- */
.header-top .w-logo-text {
    margin-right: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 45px;
}
.header-top .logo-img {
    width: 66px;
    height: auto;
}
.header-top .text-logo-header {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-left: -5px;
}

.header-top .logo-top, 
.header-top .logo-bottom {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'CynthoNext-ExtraBoldItalic', sans-serif;
}

.header-top .text-logo-header span:nth-child(2) {
    letter-spacing: 0.15em;
}

/* --- ПРАВА ЧАСТИНА (Контакти та Мови) --- */
.header-top-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.language-switcher {
     /* Автоматичне вирівнювання у флекс-контейнері */
}
.dis-mob {
    display: none !important;
}

.header-top .header-phones-desk ul {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1.2;
}

.header-top .header-phones-desk li {
    font-size: 14px;
    font-family: 'CynthoNext-Medium', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-top .header-phones-desk a {
    text-decoration: none;
    transition: all .35s ease;
}

.header-top .header-phones-desk a:hover {
    color: #F4991E;
}

.header-top .header-phones-desk span {
    margin-right: 5px;
    vertical-align: middle;
}

.header-top .header-phones-desk span img {
    vertical-align: baseline;
}
/* ==========================================================================
   1. СТИЛІ BASIC HEADER (Головна сторінка)
   ========================================================================== */

/* Відступ через фіксовану верхню панель .header-top */
.header .home-cont {
    background: rgba(0, 0, 0, 0.6) url(image/header-bg.png) repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 2;
    padding-top: 80px;
}

/* --- ЦЕНТРАЛЬНИЙ БЛОК (ОФЕР) --- */
.header .home-cont .center h1 {
    display: table;
    margin: 0 auto 25px auto;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-size: 28px;
    font-family: "CynthoNext-ExtraBoldItalic", sans-serif; /* Використання вашого шрифту */
    letter-spacing: 0.05em;
    background: rgba(0, 47, 108, 0.6); /* Ваш темно-синій колір з прозорістю */
    padding: 20px 60px;
    border-left: 2px solid #a1a2a3;
    border-right: 2px solid #a1a2a3;
    line-height: 1.2;
}

.header .home-cont .center h1 span {
    color: #F4991E; /* Ваш помаранчевий акцент */
}

.header .home-cont .center h2 {
    color: #ffffff;
    font-size: 18px;
    font-family: "CynthoNext-Bold", sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.header .home-cont .center h2 span {
    font-family: "CynthoNext-Light", sans-serif;
    text-transform: none;
    display: block;
    margin-top: 15px;
}
/* --- КАРТКИ ПЕРЕВАГ --- */
.row.lr-pdd{
    width: 85%;
    margin: 0 auto 30px auto; /* Центрування ряду та відступ знизу */
    display: flex;
    justify-content: center;
}
.header .home-cont .center .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 120px; /* Ваша робоча висота */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    margin-bottom: 20px;
}
/* Стиль іконок всередині карток */
.header .cont .center .card img {
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* Легка тінь для чіткості іконки */
}
/* Текст переваг */
.header .home-cont .center .card p {
    color: #ffffff;
    font-size: 15px;
    font-family: "CynthoNext-Medium", sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.3;
}

/* --- НИЖНЯ ПАНЕЛЬ (CTA) --- */
.header .home-cont .center .lr-pdd2 {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .home-cont .center h3 {
    color: #ffffff;
    font-family: "CynthoNext-BoldItalic", sans-serif;
    font-size: 18px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.header .home-cont .center h4 {
    color: #ffffff;
    font-family: "CynthoNext-Regular", sans-serif;
    font-size: 15px;
    text-align: left;
    margin-top: 8px;
}

.header .home-cont .center h4 span {
    color: #447dff; /* Допоміжний синій колір */
    font-weight: bold;
}

/* --- КНОПКА ЗАМОВИТИ ДЗВІНО головна --- */
.header .home-cont .center a.button.btn-main-hero {
    background-color: #F4991E !important; /* Помаранчевий фон */
    color: #002F6C !important; /* Темно-синій текст */
    padding: 16px 45px;
    font-family: "CynthoNext-ExtraBold", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    border-radius: 4px;
    border: none;
}

.header .home-cont .center a.button.btn-main-hero:hover {
    background-color: #e38a10 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 153, 30, 0.4);
}

/* Анімація стрілки */
.cta-arrow {
    display: inline-block;
    margin-left: 50px;
    vertical-align: middle;
    animation: moveArrow 1.5s infinite ease-in-out;
}

@keyframes moveArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(50px); }
}

/* --- АДАПТИВНІСТЬ --- */
@media (max-width: 1199px) { 
    .cta-arrow { display: none !important; }
}
@media (max-width: 991px) {
    .header .cont .center h1 { font-size: 22px; padding: 15px 30px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    /* 1. Виправляємо "схлопування": робимо хедер гнучким */
    .header, 
    .header.header-main {
        height: auto;
        min-height: 650px !important;
        overflow: visible;
        background: url('image/webp/poster.webp') center/cover no-repeat;
    }

    /* 2. Контент тепер розтягує фон, а не випадає з нього */
    .header .home-cont {
        position: relative;
        height: auto;
        min-height: 650px;
        top: 0;
        padding-top: 100px;
        padding-bottom: 30px;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* 3. Центруємо ряд з текстом і кнопкою */
    .header .home-cont .center .row.lr-pdd2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 20px 0 0 0 !important;
    }

    /* 4. Колонки на всю ширину для вертикального стеку */
    .header .home-cont .center .row.lr-pdd2 .col-sm-8,
    .header .home-cont .center .row.lr-pdd2 .col-sm-4 {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    /* 5. Сама кнопка: додаємо margin знизу для страховки */
    .header .home-cont .center a.button.btn-main-hero {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 25px auto 10px !important; 
    }

    /* 6. Ховаємо зайві елементи */
    .header-video, 
    .cta-arrow { 
        display: none !important; 
    }
}
@media (max-width: 767px) {
    /* 1. Дозволяємо батьківському контейнеру розширюватися */
    .header.header-main {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .header .home-cont {
        position: relative;
        height: auto;
        min-height: 100vh;
        top: 0;
        padding-bottom: 20px;
    }

    /* 3. Сітка карток 2х2 */
    .header .home-cont .center .row.lr-pdd {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .header .home-cont .center .row.lr-pdd > [class*="col-"] {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding: 5px !important;
    }

    .header .home-cont .center .card {
        height: 115px !important;
        margin-bottom: 8px !important;
        background: rgba(255, 255, 255, 0.1) !important; /* Трохи чіткіше на мобільних */
    }

    /* 4. Центруємо текст і розтягуємо кнопку */
    .header .home-cont .center .lr-pdd2 {
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    .header .home-cont .center h3, 
    .header .home-cont .center h4 {
        text-align: center !important;
        margin-bottom: 10px !important;
        
    }
.header .home-cont .center .row.lr-pdd2 {
        display: flex !important;
        flex-direction: column !important; /* Ставимо блоки один під одним */
        align-items: center !important;    /* Центруємо все по горизонталі */
        padding: 0 15px !important;
    }
.header .home-cont .center .col-xs-12.text-center {
        width: 100% !important;
        float: none !important;
        text-align: center !important;
        margin-bottom: 15px;
    }

   .header .home-cont .center a.button.btn-main-hero {
        display: block !important;
        width: 100% !important;
        max-width: 400px !important; /* Оптимальна ширина для мобілки */
        margin: 10px auto 30px !important; /* Центрування + відступ знизу */
        white-space: normal !important; /* Дозволяємо перенос тексту */
    }
    .row .lr-pdd2 {
     width: 100% !important;
     margin: 0px auto 0px !important;
    }

    .cta-arrow { display: none !important; }
}
/* ==========================================================================
  2. ОСНОВНИЙ КОНТЕЙНЕР product-header 
   ========================================================================== */
.header-bottom {
    padding: 70px 0 30px;
    position: relative;
}

/* --- БЛОК ПЕРЕВАГ product-header --- */
.header-benefits-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
}

#top-benefits { margin-bottom: 10px; }

.header-benefits-row .benefit-box {
    display: flex !important;
    align-items: center;
    margin-bottom: 20px;
    min-height: 60px;
}

/* Сітка переваг */
@media (min-width: 992px) { .header-benefits-row .benefit-box { width: 33.333% !important; } }
@media (max-width: 991px) and (min-width: 768px) { .header-benefits-row .benefit-box { width: 50% !important; } }
@media (max-width: 767px) { .header-benefits-row .benefit-box { width: 100% !important; } }

.benefit-icon-wrap {
    margin-right: 15px;
    flex: 0 0 54px;
    background: rgba(0, 47, 108, 0.7);
    border: 1.5px solid #F4991E;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.benefit-text {
    font-family: 'CynthoNext-Medium', sans-serif;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.benefit-text span {
    font-family: 'CynthoNext-Bold', sans-serif;
    color: #F4991E;
}

/* --- БАНЕР ТА ФОН --- */
.banner-text-container {
    position: relative;
    z-index: 10;
    padding: 40px 30px;
    overflow: hidden;
}

.banner-text_bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 47, 108, 0.9) 0%, rgba(0, 47, 108, 0.6) 50%, rgba(0, 47, 108, 0) 100%);
    z-index: -1;
    border-radius: 12px 0 0 12px; /* Порядок: верхній-лівий, верхній-правий, нижній-правий, нижній-лівий */
}

/* Металеві лінії - об'єднано */
.banner-text_bg:after, 
.banner-text_bg:before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(244, 153, 30, 0) 0%, rgba(244, 153, 30, 0.8) 50%, rgba(244, 153, 30, 0) 100%);
}
.banner-text_bg:after { top: 0; }
.banner-text_bg:before { bottom: 0; }

/* --- ТИПОГРАФІКА --- */
.banner-main-title {
    font-family: 'CynthoNext-ExtraBold', sans-serif;
    font-size: 42px;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.banner-sub-title {
    font-family: 'CynthoNext-Light', sans-serif;
    font-size: 24px;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 25px;
    max-width: 90%;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.custom-divider {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background-color: #F4991E;
    margin-bottom: 25px;
    border-radius: 2px;
}

.banner-slogan {
    font-family: 'CynthoNext-Regular', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.banner-slogan span {
    font-family: 'CynthoNext-Bold', sans-serif;
    color: #F4991E;
}

/* --- КНОПКИ --- */
.price-update-box .info {
    font-family: "CynthoNext-Bold", sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
}

.btn-calc {
    display: inline-block;
    background-color: #F4991E;
    color: #002F6C !important;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'CynthoNext-Bold', sans-serif;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(244, 153, 30, 0.4);
}

.btn-calc:hover {
    transform: translateY(-2px);
    background-color: #e38a10;
}

/* --- КАРТКА ТОВАРУ --- */
.product-flex-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-card-link {
    display: block;
    border: 2px solid #F4991E !important;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;
    max-width: 380px;
    margin: 0 auto;
    transition: 0.2s;
}

.product-img-frame {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.product-img-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.btn-more-details {
    display: block;
    background-color: #002F6C !important;
    color: #ffffff !important;
    text-align: center;
    padding: 15px;
    text-transform: uppercase;
    font-family: 'CynthoNext-Bold', sans-serif;
    border-top: 2px solid #F4991E !important;
}

@media (hover: hover) {
    .product-card-link:hover .btn-more-details {
        background-color: #F4991E !important;
        color: #000000 !important;
    }
}
/* ==========================================================================
    МЕДІА-ЗАПИТИ Хедера (Адаптивність)
   ========================================================================== */

@media (max-width: 991px) {
     .header { min-height: 750px !important; height: auto !important; }
    .header, .header-sec { 
     background: url('image/webp/poster.webp') center/cover no-repeat; 
     height: auto !important; min-height: 700px; }
    .header-video { display: none; }
    .header-phones-desk { display: none !important; }
    .dis-mob { display: flex !important; align-items: center; margin-right: 10px; }
    .benefit-box { width: 50% !important; }
}
/* --- МОБІЛЬНА АДАПТАЦІЯ --- */
@media (max-width: 767px) {
    .header-bottom { padding: 55px 0 20px !important; }
    .banner-main-title { font-size: 28px !important; }
    .banner-sub-title { font-size: 18px !important; }
    .custom-divider { max-width: 100% !important; margin: 15px auto 25px auto !important; }
    .banner-text-container { text-align: center; }
    .banner-image-column { margin-top: 40px !important; width: 100% !important; text-align: center; }
    .product-img-frame { height: 250px; }
    .btn-calc { width: 100%; padding: 10px 20px !important; }
    .benefit-box { width: 100% !important; }
    .cta-arrow { display: none; }
    .header-top .w-logo-text { 
     margin-right: 20px; 
     margin-left: 20px; 
     }
}


/* ============================================================
   МОДАЛЬНІ ВІКНА форма basic-header і product-header
   Використовуються для #up та #contact-modal
   ============================================================ */

/* 1. Основний контейнер (усуваємо залежність від .modal-card та .modal-up) */
#up, #contact-modal {
    background: #ffffff !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 20px auto !important;
    border-radius: 12px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 2. Заголовки (стиль StankiPlast) */
#up h2, #contact-modal h2 {
    color: #002F6C !important;
    font-family: 'CynthoNext-Bold', sans-serif !important;
    font-size: 22px !important;
    text-align: center !important;
    padding: 20px 25px 5px 25px !important; /* Відступ зверху */
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* 3. Контейнер для внутрішніх відступів самої форми */
.vnutrishniy-vidstup {
    padding: 10px 40px 35px 40px !important;
}

/* 4. Внутрішня структура форми (gap між полями) */
.konteiner-formy {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.grupa-polya {
    margin-bottom: 2px !important; /* Відступ між блоком "Ім'я" та блоком "Телефон" */
}

/* 5. Підписи над полями */
.pidpys-polya {
    display: block;
    font-family: 'CynthoNext-Medium', sans-serif !important;
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 2 !important; /* Регулюйте цей параметр, щоб змінити відстань до тексту */
}

/* 6. Стиль полів введення */
.pole-vvodu {
    width: 100% !important;
    height: 45px !important;
    padding: 0 15px !important;
    border: 1px solid #bdcff9 !important;
    border-radius: 6px !important;
    font-family: 'CynthoNext-Regular', sans-serif !important;
    font-size: 14px !important;
    color: #000000 !important;
    background: #ffffff !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
}

.pole-vvodu:focus {
    border-color: #F4991E !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(244, 153, 30, 0.2) !important;
}

/* 7. Кнопка відправки (помаранчева) */
.blok-knopky {
    text-align: center;
    margin-top: 10px;
}

.knopka-vidpravky {
    width: 100% !important;
    background-color: #002F6C !important;
    color: #ffffff !important;
    height: 50px !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'CynthoNext-Bold', sans-serif !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
    display: block;
}

.knopka-vidpravky:hover {
    background-color: #F4991E !important;
    transform: translateY(-1px);
}
/* ============================================================ */
/* 7.1. Колір підказки (placeholder) */
/* ============================================================ */

/* Для Chrome, Safari, Opera */
.pole-vvodu::-webkit-input-placeholder {
    color: #b5b5b5 !important;
    opacity: 1;
}

/* Для Firefox */
.pole-vvodu::-moz-placeholder {
    color: #b5b5b5 !important;
    opacity: 1;
}

/* Для Internet Explorer / Edge */
.pole-vvodu:-ms-input-placeholder {
    color: #b5b5b5 !important;
}

/* Сучасний стандарт */
.pole-vvodu::placeholder {
    color: #b5b5b5 !important;
    opacity: 1;
}

/* 8. Текст під формою та повідомлення про успіх */
.tekst-pid-formoyu {
    text-align: center;
    font-family: 'CynthoNext-Light', sans-serif;
    font-size: 14px !important;
    color: #555555 !important;
    margin-top: 10px !important;
    line-height: 1.4 !important;
}
/* Стиль повідомлення про успішну/помилкову відправку для форм 531 та 960 */
#up .wpcf7-response-output, 
#contact-modal .wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-family: 'CynthoNext-Medium', sans-serif !important;
    font-size: 14px !important;
    text-align: center !important;
    line-height: 1.4 !important;
    border: 2px solid #002F6C !important; 
    color: #002F6C !important; 
    background-color: #f0f7ff !important; 
}
/* 9. Кнопка закриття модалки (хрестик) */
#up .mfp-close, 
#contact-modal .mfp-close {
    color: #002F6C !important;
    font-size: 35px !important;
    opacity: 0.5 !important;
    transition: 0.2s;
    top: 5px !important;
    right: 5px !important;
}

#up .mfp-close:hover, 
#contact-modal .mfp-close:hover {
    opacity: 1 !important;
}

/* Якщо виникла помилка (наприклад, не заповнили поле) */
#up .wpcf7-not-valid-tip, 
#contact-modal .wpcf7-not-valid-tip {
    color: #ff0000 !important;
    font-size: 12px !important;
    font-family: 'CynthoNext-Light', sans-serif !important;
    margin-top: 5px !important;
    display: block;
}

/* Стиль валідації (червона рамка при помилці) */
#up .wpcf7-validation-errors, 
#contact-modal .wpcf7-validation-errors {
    border: 2px solid #ff0000 !important;
    color: #ff0000 !important;
    background-color: #fff0f0 !important;
}
/* ============================================================
   10. АДАПТИВНІСТЬ  МОДАЛЬНІ ВІКНА форма basic-header і product-header
   ============================================================ */

@media screen and (max-width: 1025px) {
    
/* --- А: ПРАВИЛА ТІЛЬКИ ДЛЯ ФОРМ ЗАМОВЛЕННЯ (#up, #contact-modal) --- */

/* 1. Прибираємо сторонні фонові елементи теми (псевдоелементи), які можуть перекривати форму */
.modal-form-fix body::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
}

/* 2. Притискаємо форму до верхнього краю екрана з невеликим відступом (20px), щоб її було зручно заповнювати */
.modal-form-fix .mfp-content {
    vertical-align: top !important; 
    margin-top: 20px !important;
}

/* 3. Дозволяємо прокрутку всередині модального вікна та робимо її плавною (актуально для iPhone) */
.modal-form-fix.mfp-wrap {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* 4. Налаштовуємо вигляд кнопки "закрити" (хрестика): колір #F4991E, розмір та позиція */
.modal-form-fix .mfp-close {
    color: #F4991E !important;
    opacity: 1 !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 35px !important;
}
}
/* --- В: РОЗМІРИ ТА ШИРИНА ФОРМ (#up, #contact-modal) --- */

@media screen and (min-width: 481px) and (max-width: 1025px) {
    #up, #contact-modal {
        margin: 50px auto !important;
        position: relative !important;
    }
}

@media screen and (max-width: 480px) {
    #up, #contact-modal {
        width: 94% !important;
        margin: 100px auto 30px auto !important;
    }
}
/* ============================================================
   БЛОК: ГЛОБАЛЬНІ ЗАГОЛОВКИ (.custom-hero-block)
   ============================================================ */
.custom-hero-block {
    background-color: #002F6C !important; /* Ваш темно-синій */
    border-left: 6px solid #F4991E !important; /* Ваш помаранчевий акцент */
    border-radius: 8px;
    padding: 15px 15px !important;
    text-align: center;

    /* Вирішуємо проблему з виходом за краї на ноутбуці та мобілці */
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 15px 0 !important; /* Відступ ТІЛЬКИ знизу */

    /* Усуваємо конфлікти зі старими стилями теми */
    float: none !important;
    display: block !important;
    clear: both;
}
.custom-hero-block h2 {
    color: #FFFFFF !important; /* Гарантований білий текст */
    font-family: 'CynthoNext-ExtraBold', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important; 
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 767px) {
    .custom-hero-block {
        padding: 25px 15px !important;
        margin-bottom: 20px !important;
    }
    .custom-hero-block h2 {
        font-size: 20px !important;
    }
}
/* ===============  bl-1 (Категорії)  =============== */
.bl-1 {
    padding-top: 30px;
    padding-bottom: 20px; /* Стабільний відступ без зайвих медіа-запитів */
}

.bl-1 .card {
    margin-bottom: 30px;
    transition: 0.3s;
}

.bl-1 .card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px 0px #aaaaaa;
}

/* Спільні налаштування для фонових плашок категорій */
.bl-1 .card [class^="bg"] {
    height: 210px;
    padding: 1px;
}

/* Однакові відступи для іконок */
.bl-1 .card [class^="bg"] img {
    display: block;
    margin: 45px auto 0px auto;
}

/* Фонові зображення (bg1-bg6) */
.bl-1 .card .bg1 { background: url(image/webp/bl-1-1.webp) center/cover; }
.bl-1 .card .bg2 { background: url(image/webp/bl-1-2.webp) center/cover; }
.bl-1 .card .bg3 { background: url(image/webp/bl-1-3.webp) center/cover; }
.bl-1 .card .bg4 { background: url(image/webp/bl-1-4.webp) center/cover; }
.bl-1 .card .bg5 { background: url(image/webp/bl-1-5.webp) center/cover; }
.bl-1 .card .bg6 { background: url(image/webp/28188z60a2bcdb-2.webp) center/cover; }

.bl-1 p {
    color: #ffffff;
    text-align: center;
    padding: 15px 0px;
    font-size: 20px;
    font-family: 'CynthoNext-Medium', sans-serif; /* Оновив шрифт на фірмовий */
}
/* =============== БЛОКИ 5 та 6: СПІЛЬНІ СТИЛІ КАРТОК =============== */

/* 1. Фони секцій */
.bl-5 { background: #ffffff; padding-bottom: 20px; }
.bl-6 { background: url(image/webp/bl-4-bg.webp) center/cover; padding-bottom: 20px; }

/* 2. Базова структура картки */
.bl-5 .card, .bl-6 .card {
    background: #ffffff;
    box-shadow: 0px 0px 5px 0px #777777;
    padding: 10px 20px 10px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    min-height: 660px; /* керуючий параметр */
    height: 100%;
    display: flex !important;
    flex-direction: column !important;
}

/* 3. Зображення */
.bl-5 .card img, .bl-6 .card img {
    max-width: 100%;
    height: auto;
    max-height: 220px;
    display: block;
    margin: 10px auto !important;
    object-fit: contain;
}

/* 4. Посилання-обгортка та Flex-логіка контенту */
.bl-5 .card a, .bl-6 .card a {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Контейнер тексту (gh1) штовхає ціну (gh2) вниз */
.bl-5 .card a .gh1, .bl-6 .card a .gh1 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bl-5 .card a .gh2, .bl-6 .card a .gh2 {
    flex-grow: 0;
}

/* 5. Текстові елементи */
.bl-5 .card h2, .bl-6 .card h2 {
    text-align: center;
    padding: 0 15px;
    color: #1c1c1c;
    font-size: 24px;
    font-family: 'CynthoNext-Bold', sans-serif;
    margin-bottom: 15px;
    min-height: 48px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-5 .card .gh1 p, .bl-6 .card .gh1 p {
    text-align: center;
    padding: 0 12px;
    color: #002F6C;
    font-size: 18px;
    font-family: 'CynthoNext-Medium';
    margin: 5px 0 10px 0;
}

/* Списки */
.bl-5 .card .gh1 ul, .bl-6 .card .gh1 ul {
    padding: 0 12px;
    margin-bottom: 0;
    list-style: none;
    text-align: left;
    flex-grow: 0;
}

.bl-5 .card .gh1 ul li, .bl-6 .card .gh1 ul li {
    color: #333333;
    font-size: 15px;
    font-family: 'CynthoNext-Regular';
    line-height: 1.4;
    background: url(image/check-orange.png) no-repeat 0 4px;
    padding-left: 25px;
    margin-bottom: 8px;
}

/* 6. Ціна та Кнопка */
.bl-5 .card .pss, .bl-6 .card .pss {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.bl-5 .card .gh2 p, .bl-6 .card .gh2 p {
    color: #696969;
    font-size: 18px;
    margin: 0;
}

.bl-5 .card .gh2 p strong, .bl-6 .card .gh2 p strong {
    font-family: 'CynthoNext-Medium', sans-serif;
    color: #F4991E;
    font-size: 20px;
    display: block;
    text-align: center;
    margin: 0;
}

.bl-5 .card .button, .bl-6 .card .button {
    display: block;
    margin: 10px auto; 
    padding: 10px 0;
    width: 70%;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    font-family: 'CynthoNext-Bold', sans-serif;
    text-transform: uppercase;
    background: #002F6C;
    letter-spacing: 0.025em;
    transition: 0.3s;
}

.bl-5 .card .button:hover, .bl-6 .card .button:hover {
    transform: translateY(-5px);
    background: #F4991E;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* =============== АДАПТИВНІСТЬ (БЛОКИ 5 та 6) =============== */

/* ПЛАНШЕТИ ТА НЕТБУКИ */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .bl-5 .row, .bl-6 .row { display: flex; flex-wrap: wrap; }
    .bl-5 .row > [class*='col-'], .bl-6 .row > [class*='col-'] { display: flex; }
.bl-5, .bl-6 { padding-bottom: 40px !important; }
    .bl-5 .card, .bl-6 .card {
        min-height: 550px;
        padding: 20px;
    }

    .bl-5 .card p, .bl-6 .card p, .bl-5 .card ul, .bl-6 .card ul {
        font-size: 14px;
        text-align: left;
    }

    .bl-5 .card .gh2 p strong, .bl-6 .card .gh2 p strong {
        font-size: 17px;
        white-space: nowrap;
    }

    .bl-5 .card .button, .bl-6 .card .button { width: 90%; }
}

/* ДЕСКТОПИ (Виправлення відступів) */
@media (min-width: 768px) {
    .bl-5 .card h2, .bl-6 .card h2 { 
        margin-bottom: 20px;
        min-height: 0;
    }
    .bl-5 .card img, .bl-6 .card img {
        max-width: 90%;
        margin: 5px auto 10px auto;
    }
}

/* ---МОДАЛЬНі ВІКНА товарів --- */

/* 1. Загальний контейнер вікна */
.modal-card {
    background: #ffffff;
    max-width: 950px;
    margin: 30px auto;
    padding: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* 2. Шапка модалки */
.modal-header-block {
    background-color: #002F6C;
    padding: 25px 35px;
    border-bottom: 5px solid #F4991E;
    width: 100%; 
    box-sizing: border-box;
}

.modal-header-block h3 {
    color: #ffffff;
    text-align: left;
    font-family: "CynthoNext-ExtraBold", sans-serif;
    font-size: 26px;
    margin: 0;
    padding-right: 30px;
    line-height: 1.2;
}
.brand-line { font-family: "CynthoNext-Light", sans-serif; font-size: 24px; opacity: 1; color: #F4991E;}

/* ХРЕСТИК ЗАКРИТТЯ */
.modal-card .mfp-close {
    color: #F4991E !important; top: 15px; right: 15px; opacity: 0.8; font-size: 45px; transition: opacity 0.3s;
}
.modal-card .mfp-close:hover { opacity: 1; }

/* 4. Фото товару  */
.modal-photo img { 
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.modal-photo:hover img {
    transform: scale(1.1);
}
/* 3. Основний контент та Універсальні списки */
.mod-crd-content { 
    padding: 0; 
    background: #ffffff; 
}

.mod-crd-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: block;
}

.mod-crd-content ul li {
    position: relative;
    width: 100%;
    padding-left: 35px;
    margin-bottom: 15px;
    font-family: "CynthoNext-Regular", sans-serif; 
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    letter-spacing: normal;
}

/* Малюємо галочку замість картинки */
.mod-crd-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: #fdf2e4;
    color: #F4991E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.modal-intro-row, 
.modal-specs-block, 
.modal-features-block, 
.modal-info-extra {
   padding: 25px 40px; 
}

/* Стилізація заголовків блоків z1-z5 */
.spec-title-label {
    font-family: "CynthoNext-ExtraBold", sans-serif;
    color: #002F6C;
    font-size: 19px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    padding-left: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.spec-title-label::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 24px;
    background: #F4991E;
    margin-right: 15px;
    border-radius: 2px;
}
/* Основний текст */
.static-text p, 
.spec-content-text p, 
.workflow-content p, 
.features-list-wrapper p,
.options-content p {
    font-family: "CynthoNext-Regular", sans-serif;
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
    font-size: 16px;
}
/* Акценти (Strong/B) */
.mod-crd-content strong, b { 
    font-family: "CynthoNext-Bold", sans-serif; 
    color: #002F6C;
}

/* Окремий стиль для тексту в блоці характеристик (біля таблиць) */
.modal-specs-block p {
    font-family: "CynthoNext-Medium", sans-serif; 
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 12px;
    margin-top: 5px;
}

/* Виділення примітки з зірочкою (як у вашому прикладі про продуктивність) */
.modal-specs-block p:last-of-type {
    font-family: "CynthoNext-LightItalic", sans-serif;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
/* --- ПОВНА ЗАМІНА БЛОКУ ТАБЛИЦІ ТА ПРОКРУТКИ --- */

.table-responsive { 
    width: 100%; 
    margin: 20px 0 0 0; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    border: 1px solid #e0e6ed; /* М'якша рамка */
    border-radius: 8px 8px 0 0; 
} 

.modal-specs-block table {
    width: 100%;
    min-width: 600px; /* Скрол активується тут */
    border-collapse: collapse;
    margin: 0;
}

.modal-specs-block table tr th {
    background-color: #002F6C; /* Фірмовий синій */
    color: #ffffff;
    font-family: "CynthoNext-Bold", sans-serif;
    padding: 15px;
    text-align: left;
    font-size: 15px;
}

.modal-specs-block table tr td {
    padding: 14px 15px;
    border-bottom: 1px solid #eef2f6;
    font-family: "CynthoNext-Medium", sans-serif;
    color: #444;
}

.modal-specs-block table tr:nth-child(even) {
    background-color: #f8faff; /* Чиста зебра */
}

.modal-specs-block table tr:hover {
    background-color: #fff4e6; /* Інтерактив */
}

.mobile-table-hint {
    display: none; 
    background: #f4f7fa;
    color: #F4991E;
    text-align: center;
    font-family: "CynthoNext-Bold", sans-serif;
    font-size: 13px;
    padding: 10px;
    border: 1px solid #e0e6ed;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .mobile-table-hint { display: block; }
   
}
/* Додаємо відступ між блоками g4 та g5 у модальному вікні */
.modal-info-extra .col-sm-12 + .col-sm-12 {
    margin-top: 30px; /* Налаштуйте розмір відступу під себе */
}

/* Додатково: відступ для мобільних пристроїв */
@media (max-width: 767px) {
    .modal-info-extra .col-sm-12 + .col-sm-12 {
        margin-top: 25px;
    }
}
/* 5. Цитати (Blockquote) — НОВИЙ БЛОК */
blockquote {
    margin: 25px 0;             /* Відступи від тексту */
    padding: 20px 25px;         /* Внутрішній простір */
    background: #fdf8f2;        /* Колір фону під помаранчевий акцент */
    border-left: 5px solid #F4991E; /* Жирна акцентна лінія зліва */
    border-radius: 0 8px 8px 0;
}

blockquote p {
    margin: 0 !important;
    font-family: "CynthoNext-MediumItalic", sans-serif !important; /* Курсив для виділення думки */
    color: #555 !important;
}
/* 5. Блок форми (Футер) */
.modal-footer-cta {
    background: url(image/modal-bg.jpg) center/cover;
    padding: 40px;
    border-top: 2px solid #dce4ec;
    width: 100%;
    box-sizing: border-box;
}
.heder-form-product h4 {
    font-family: "CynthoNext-ExtraBold", sans-serif;
    font-size: 24px;
    color: #002F6C;
    text-align: center;
}

.form-date-outer {              /* Новий стиль для дати оновлення цін */
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.form-date-outer span { 
    color: #F4991E;
    font-family: "CynthoNext-Bold", sans-serif;
}

/* Стиль для h5 під формою */
.modal-footer-cta h5 {
    font-family: "CynthoNext-ExtraBold", sans-serif;
    font-size: 16px;
    color: #000000;
    text-transform: uppercase;
    margin-top: 30px;
    letter-spacing: 0.5px;
    text-align: center;
}

.modal-footer-cta h5 span {
    color: #002F6C; /* Номер телефону темно-синім */
    margin-left: 5px;
}
.form-card-inner {
    background: #ffffff;
    border: 1px solid #002F6C;
    padding: 30px !important;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto; /* Центруємо форму */
    box-shadow: 0 10px 30px rgba(0, 47, 108, 0.1);
}
 .form-card-inner .wpcf7 p {
    margin: 0;
    padding: 0;
    display: block;
	background: none;
}
/* Стилізація полів вводу у формі модалки */
.form-card-inner .wpcf7 input[type="text"],
.form-card-inner .wpcf7 input[type="tel"],
.form-card-inner .wpcf7 input[type="email"],
.form-card-inner .wpcf7 textarea {
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: "CynthoNext-Regular", sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    outline: none;
    transition: all 0.2s ease-in-out;    
}

/* Ефект при кліку (Focus) */
.form-card-inner .wpcf7 input:focus,
.form-card-inner .wpcf7 textarea:focus {
    border-color: #002F6C !important; /* Синя рамка при наборі тексту */
    box-shadow: 0 0 5px rgba(0, 47, 108, 0.1);
}

/* Налаштування плейсхолдерів (текст-підказка "Наприклад: Олександр") */
.form-card-inner .wpcf7 ::placeholder {
    color: #a0aec0;
    font-family: "CynthoNext-LightItalic", sans-serif;
    opacity: 1;
}
/* Кнопка *//* 9. СТИЛІЗАЦІЯ КНОПКИ (Submit) */
.form-card-inner .wpcf7 .link-1 {
    background: #F4991E;
    color: #fff;
    font-family: "CynthoNext-ExtraBold", sans-serif;
    padding: 16px 30px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    width: 100%;
}

/* Ефекти при наведенні (Hover) */
.form-card-inner .wpcf7 .link-1:hover {
    background: #ea8707 !important; 
    transform: translateY(-2px);
}

/* Ефект при натисканні */
.form-card-inner .wpcf7 .link-1:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(244, 153, 30, 0.2);
}
.phone-accent {
    color: #447dff;
    font-family: "CynthoNext-ExtraBold", sans-serif;
    font-size: 18px;
    white-space: nowrap;
}

/* АДАПТАЦІЯ */
@media (max-width: 767px) {
     .modal-photo img { margin-bottom: 25px !important; max-width: 100% !important; width: 100%; }
    .modal-card { margin: 0; width: 100%; }
    .modal-card .mfp-close { width: 45px; height: 45px; line-height: 45px; font-size: 35px; top: 10px; right: 10px; }
    .heder-form-product { padding: 10px 5px; }
    .modal-footer-cta { padding: 20px 15px; }
    .form-card-inner { padding: 20px 15px; }
    .modal-intro-row { flex-direction: column; }
    .modal-intro-row, 
    .modal-specs-block, 
    .modal-features-block,
    .modal-brief,
    .modal-info-extra {
        padding: 10px 20px !important; /* 20px зверху/знизу, 20px з боків */
    }
    .brand-line { display: block; font-size: 20px; margin-top: 5px; }
 }
/* ============================================================
       Блок із соцмережами та закликом після товарів 
   ============================================================ */
.video-social-section {
    padding: 30px 0;
    text-align: center;
    border-top: 6px solid #002F6C;
    background: url('image/bl-8-bg.jpg') center/cover no-repeat;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

h3.section-call-to-action {
    color: #002F6C; /* Колір залишено без змін */
    font-size: 24px;
    font-family: 'CynthoNext-ExtraBold', sans-serif !important; /* Додано ваш шрифт */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important;
    line-height: 1.2;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

.social-links-large {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links-large a img {
    width: 42px;
    height: 42px;
    transition: 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.social-links-large a:hover img {
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(244, 153, 30, 0.4));
}
/* Зменшення картинки Viber для пропорційного вигляду */
.social-links-large a[href*="viber"] img {
    width: 32px;
    height: 32px;
}
/* Коригування розмірів для точного візуального балансу ютуб */

.social-links-large a[href*="youtube"] img {
    width: 42px;
    height: 42px;
}
/* Адаптація для смартфонів */
@media (max-width: 767px) {
    .video-social-section {
        padding: 25px 0;
    }

    .cta-wrapper {
        flex-direction: column;
        gap: 15px !important; /* Збільшено відступ для зручності на тач-екранах */
    }

    h3.section-call-to-action {
        font-size: 19px;
        margin-bottom: 5px !important;
        padding: 0 15px;
    }

    .social-links-large {
        gap: 20px;
        margin-top: 5px;
    }
}
/* =============== БЛОК 7: ПЕРЕВАГИ ТА ТАБИ =============== */

.bl-7 {
    background: url(image/webp/bl-7-bg.webp) center/cover;
    padding: 30px 0;
    color: #ffffff;
}

/* Заголовок Блоку 7 */
.bl-7 .custom-hero-block {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 10px !important;
    text-align: center;
}

.bl-7 .custom-hero-block h2 {
    font-size: 28px !important;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'CynthoNext-ExtraBold', sans-serif !important;
    text-transform: uppercase;
}

/* Вкладки (Tabs) */
.bl-7 .nav-tabs {
    border: none;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    gap: 0;
}

.bl-7 .nav-tabs > li {
    width: 50% !important;
    margin: 0;
    padding: 0 5px;
}

.bl-7 .nav-tabs > li > a {
    display: block;
    width: 100%;
    color: #ffffff !important;
    font-family: 'CynthoNext-Medium', sans-serif;
    font-size: 16px;
    padding: 12px 10px !important;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; 
    border-radius: 6px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    transition: 0.3s all ease;
    white-space: nowrap;
}

.bl-7 .nav-tabs > li > a:hover,
.bl-7 .nav-tabs > li.active > a {
    border-color: #F4991E !important;
    color: #F4991E !important;
}

/* Контентна частина */
.bl-7 .tab-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    min-height: 180px;
    border-radius: 0 0 8px 8px;
    border-top: 2px solid #F4991E;
}

/* Списки та повідомлення керівника */
.bl-7 .benefit-list { list-style: none !important; padding: 0 !important; margin: 15px 0 0 0 !important; }

.bl-7 .benefit-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-family: 'CynthoNext-Light', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #ffffff;
}

.bl-7 .benefit-list li::before {
    content: "";
    position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
    background-color: #F4991E; border-radius: 50%;
}

.bl-7 .benefit-list li strong { font-family: 'CynthoNext-Bold', sans-serif; color: #F4991E; }

.bl-7 .director-message-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px 25px;
    margin-top: 15px;
    border-left: 4px solid #F4991E;
}

.bl-7 .director-signature {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
    font-family: 'CynthoNext-Medium', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    text-align: right; 
    display: block;
}

/* =============== АДАПТИВНІСТЬ 7 БЛОКУ =============== */

@media (max-width: 991px) {
    .bl-7 .nav-tabs > li > a { font-size: 18px; }
    .bl-7 .tab-content { height: auto; min-height: 250px; }
}

@media (max-width: 767px) {
    .bl-7 { padding: 10px 0 30px 0 !important; }
    .bl-7 .custom-hero-block, .bl-7 .custom-hero-block h2 { text-align: left !important; padding-left: 15px; }
    .bl-7 .custom-hero-block h2 { font-size: 22px !important; }

    .bl-7 .nav-tabs { flex-direction: column; padding: 0 15px; }
    .bl-7 .nav-tabs > li { width: 100% !important; padding: 4px 0; }
    .bl-7 .nav-tabs > li > a { font-size: 18px !important; white-space: normal; padding: 15px 10px !important; }

    .bl-7 .tab-content { margin: 0 15px; padding: 20px; }
    .bl-7 .director-signature { text-align: left !important; font-size: 14px; }
}

/* ===============  БЛОК 8: ФОРМА ЗАЯВКИ (№206)  =============== */

/* 1. Загальна стилізація секції */
.bl-8#discount {
    background-image: url('image/webp/bl-8-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 30px 0 40px 0;
}
/* 3. Заголовок форми та дата */
.bl-8 .block-title-form {
    text-align: center;
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
}

.bl-8 .block-title-form h2 {
    font-family: 'CynthoNext-ExtraBold', sans-serif !important;
    font-size: 30px;
    color: #002F6C;
    text-transform: uppercase;
    background: transparent;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.bl-8 .form-date-outer, .heder-form-product .form-date-outer {
    font-family: 'CynthoNext-Medium', sans-serif !important;
    font-size: 22px !important;
    margin-top: 5px !important;
    color: #333;
    text-align: center;
}

.bl-8 .form-date-outer span, .heder-form-product .form-date-outer span {
    color: #F4991E !important;
    font-family: 'CynthoNext-ExtraBoldItalic', sans-serif !important;
}

.form-wrapper-inner, 
#discount .form-block {
    background-color: #002F6C;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    display: block;
}
#discount .form-block {
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 47, 108, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}
/* 5. Поля та лейбли (Contact Form 7) */
#discount .wpcf7 br {
    display: none !important;
}

.form-group-custom {
    margin-bottom: 20px !important;
    text-align: left;
}
/* 2. Спільні стилі для підписів (Labels) */
.form-wrapper-inner .wpcf7 label,
#discount .form-block .wpcf7 label {
    display: block !important;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    font-family: 'CynthoNext-Medium', sans-serif !important;
}

/* 3. Спільні стилі для полів введення (Input) */
.form-wrapper-inner .wpcf7 input:not([type="submit"]),
#discount .wpcf7 input:not([type="submit"]) {
    width: 100% !important;
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 6px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    font-family: 'CynthoNext-Regular', sans-serif !important;
    height: 48px !important;
    margin-bottom: 0 !important; /* Відступ регулюється контейнером групи */
    font-size: 16px !important;
    border: 2px solid transparent !important;
}
.form-wrapper-inner .wpcf7 input::placeholder,
#discount .wpcf7 input::placeholder {
    color: #757575 !important;
    opacity: 1;
}
/* 4. Спільні стилі для кнопок (Submit) */
.form-wrapper-inner .link-1,
#discount .wpcf7-submit {
    background-color: #F4991E !important;
    color: #002F6C !important;
    font-family: 'CynthoNext-Bold', sans-serif !important;
    text-transform: uppercase !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
    display: block;
    height: 55px;
    font-size: 19px;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(244, 153, 30, 0.4);
}
/* Ховери кнопок */
.form-wrapper-inner .link-1:hover,
#discount .wpcf7-submit:hover {
    background-color: #cbf9c8 !important;
    color: #F4991E !important;
    transform: translateY(-1px);
}
.bl-8 .form-note {
    color: rgba(255,255,255,0.8) !important;
    font-family: 'CynthoNext-Light', sans-serif !important;
    font-size: 16px !important;
    margin-top: 20px !important;
    display: block;
    line-height: 1.4;
}

/* ===============  АДАПТИВНІСТЬ (БЛОК 8)  =============== */

/* Планшети (до 991px) */
@media (max-width: 991px) {
    .bl-8 .pdd {
        padding: 0px;
    }
    .bl-8 h3 br {
        display: none;
    }
}

/* Смартфони (до 767px) */
@media (max-width: 767px) {
    .bl-8#discount {
        padding: 30px 0 !important;
    }

    .bl-8 .block-title-form h2 {
        font-size: 20px;
    }

    .bl-8 .form-date-outer {
        font-size: 18px;
        margin-bottom: 20px;
    }

    #discount .form-block {
        padding: 25px 20px !important;
        margin: 0 5px !important;
    }

    .form-group-custom {
        margin-bottom: 15px !important;
    }

    .bl-8 .form-note {
        font-size: 14px !important;
        text-align: center !important;
        margin-top: 15px !important;
    }
}

/* ============================================================
   ФУТЕР (ФІНАЛЬНИЙ: ДЕСКТОП В РЯД, МОБІЛКА 5 РЯДКІВ)
   ============================================================ */

.footer {
    background-color: #002F6C;
    border-top: 4px solid #F4991E;
    padding: 15px 0 10px 0;
    color: #FFFFFF;
    font-family: "CynthoNext-Regular", sans-serif;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-contacts {
    flex: 1;
    text-align: center;
}

.footer-contacts p {
    font-size: 15px;
    margin: 0 !important;
    color: #FFFFFF;
}

.contact-item {
    display: inline;
}

.footer-contacts strong {
    color: #F4991E;
    font-family: "CynthoNext-Bold", sans-serif;
}

.f-sep {
    display: inline;
    margin: 0 8px;
    color: #F4991E;
    opacity: 0.6;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 20px;
}

.footer-social p strong {
    color: #FFFFFF;
    font-size: 15px;
}

.social-links { display: flex; gap: 15px; }

.footer-bottom-line {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* АДАПТИВНІСТЬ ДЛЯ МОБІЛЬНИХ ПРИСТРОЇВ — 5 РЯДКІВ */
@media (max-width: 767px) {
    .footer { padding: 10px 0; }

    .footer-row {
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px;
    }

    .footer-contacts {
        width: 100%;
        padding-top: 15px;
    }

    /* Рядки 1, 2, 3: Кожен контакт-ітем стає окремим блоком */
    .contact-item {
        display: block !important;
        margin-bottom: 8px;
        font-size: 14px;
    }

    /* Склеюємо Заголовок: Значення в один рядок */
    .contact-item strong, 
    .contact-item span {
        display: inline !important;
        vertical-align: baseline;
    }

    .contact-item strong {
        margin-right: 4px;
    }

    /* Ховаємо розділювачі | */
    .f-sep {
        display: none !important;
    }

    /* Рядок 4: Ми в соц. мережах */
    .footer-social {
        flex-direction: column !important;
        gap: 8px;
        
    }

    .social-links { justify-content: center !important; }

    /* Рядок 5: Копірайт */
    .footer-bottom-line {
        margin-top: 10px;
        padding-top: 5px;
    }
}
/* === СИСТЕМНІ СТИЛІ MAGNIFIC POPUP (АНІМАЦІЇ) === */

.mfp-close {
	font-size: 40px;
}
.my-mfp-zoom-in .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
}

/* animate in */

.my-mfp-zoom-in.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	background: #ffffff;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
/* animate out */

.my-mfp-zoom-in.mfp-removing .zoom-anim-dialog {
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
}
/* Dark overlay, start state */

.my-mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}
/* animate in */

.my-mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}
/* animate out */

.my-mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}
/**
 * Fade-move animation for second dialog
 */

/* at start */

.my-mfp-slide-bottom .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	-webkit-transform: translateY(-20px) perspective( 600px) rotateX( 10deg);
	-moz-transform: translateY(-20px) perspective( 600px) rotateX( 10deg);
	-ms-transform: translateY(-20px) perspective( 600px) rotateX( 10deg);
	-o-transform: translateY(-20px) perspective( 600px) rotateX( 10deg);
	transform: translateY(-20px) perspective( 600px) rotateX( 10deg);
}

/* animate in */

.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: translateY(0) perspective( 600px) rotateX( 0);
	-moz-transform: translateY(0) perspective( 600px) rotateX( 0);
	-ms-transform: translateY(0) perspective( 600px) rotateX( 0);
	-o-transform: translateY(0) perspective( 600px) rotateX( 0);
	transform: translateY(0) perspective( 600px) rotateX( 0);
}

/* animate out */

.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
	opacity: 0;
	-webkit-transform: translateY(-10px) perspective( 600px) rotateX( 10deg);
	-moz-transform: translateY(-10px) perspective( 600px) rotateX( 10deg);
	-ms-transform: translateY(-10px) perspective( 600px) rotateX( 10deg);
	-o-transform: translateY(-10px) perspective( 600px) rotateX( 10deg);
	transform: translateY(-10px) perspective( 600px) rotateX( 10deg);
}

/* Dark overlay, start state */

.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

/* animate in */

.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.8;
}

/* animate out */

.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}

/*.................menu_mob..............*/

.screen_none {
    display: block !important;
}
.sandwich {
    display: inline-block;
    vertical-align: middle;
    width: 40px;
    height: 45px;
    cursor: pointer;
    margin-right: 0px;
    flex-shrink: 0; /* Щоб кнопка не стискалася */
    position: relative;
    z-index: 10001 !important;
}
.cnopka {
    position: absolute;
    top: 13px;
    right: 0;
    left: 0;
}
.sandwich span {
    width: 30px;
    position: relative;
    height: 3px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    background: #447dff; 
    display: block;
    margin: 4px auto;
    border-radius: 2px;
}

/* Логіка хрестика */
.active1{
		top: 8px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.active2{
		bottom: -1px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
/* Середня лінія просто зникає */
.sw-footer.active-footer {
    opacity: 0 !important;
}

/* Меню -  */
.menu_mob {
    display: none;
    z-index: 10000 !important;
    position: fixed;
    left: 0;
    background: rgba(0, 0, 0, 0.8); /* Твій оригінальний фон */
}

@media screen and (min-width: 992px) {
    .menu_mob {
        top: 50px;
        width: 350px; 
        height: auto !important;
        border-bottom: 2px solid #F4991E;
        padding-bottom: 30px;
    }
}

@media screen and (max-width: 991px) {
    .menu_mob {
        top: 50px;
        width: 100%;
        height: 100%;
    }
}
.menu_mob ul {
    width: 100%;
    padding-left: 0px;
    padding-top: 20px;
}
.menu_mob ul li {
    list-style: none;
    margin: 20px auto;
    padding-left: 20px;
    font-size: 20px;
}
.menu_mob ul li a {
    border: 0px !important;
    color: #fff;
    text-decoration: none;
    font-family: 'CynthoNext-Medium';
}
.menu_mob ul li a:hover{
    color: #F4991E !important;
}

/* ============================================================
   СТОРОНКА ПОДЯКИ (ФІНАЛЬНА ВЕРСІЯ)
   ============================================================ */

/* Контейнер секції, що імітує блок форми */
.thanks-section-replace {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Вираховуємо висоту: 100vh (весь екран) мінус висота шапки та футера */
    min-height: calc(100vh - 120px) !important; 
    padding: 110px 0; 
    
    /* Консистентний фон як у формі замовлення */
    background: linear-gradient(rgba(0, 47, 108, 0.6), rgba(0, 47, 108, 0.6)), 
                url('image/webp/bl-8-bg.webp') center/cover no-repeat;
}

/* Картка подяки */
.thanks-card-as-form {
    background-color: #002F6C;
    border: 2px solid #F4991E;
    border-radius: 15px;
    padding: 60px 40px;
    max-width: 650px!important; 
    width: 95% !important;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}

.thanks-card-as-form img {
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
    width: 150px !important; /* Встановіть потрібний розмір (наприклад, 150px або 180px) */
    height: auto !important;
    margin-bottom: 30px;
    display: inline-block;
}

.thanks-card-as-form h1 {
    font-family: 'CynthoNext-ExtraBold', sans-serif;
    color: #F4991E;
    font-size: 32px;
    text-transform: uppercase;
    margin: 20px 0;
    line-height: 1.1;
}

.thanks-card-as-form p {
    font-family: 'CynthoNext-Medium', sans-serif;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Кнопка повернення на головну */
.thanks-card-as-form .btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 25px; 
    background-color: #F4991E !important; 
    color: #002F6C !important;
    
    font-family: 'CynthoNext-ExtraBold', sans-serif; 
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: none !important; 
    
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Ефект при наведенні */
.thanks-card-as-form .btn-back:hover {
    background-color: #e38a10 !important;
    color: #002F6C !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 153, 30, 0.4);
    border-color: transparent !important;
}

/* Стан при натисканні */
.thanks-card-as-form .btn-back:active {
    transform: translateY(0);
}

/* Адаптивність для мобільних */
@media (max-width: 767px) {
    .thanks-section-replace {
        padding: 70px 0 !important;
        min-height: 75vh !important;
    }
    .thanks-card-as-form {
        padding: 40px 20px;
    }
    .thanks-card-as-form h1 {
        font-size: 24px;
    }
    .thanks-card-as-form p {
        font-size: 16px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
 .thanks-section-replace {
        padding: 60px 0 !important;
        min-height: 90vh !important;
    }   
.thanks-card-as-form h1 {
        font-size: 30px !important;
    }
    .thanks-card-as-form p {
        font-size: 24px !important;
    }
.thanks-card-as-form .btn-back { font-size: 24px !important; }
}   
@media (min-width: 992px) and (max-width: 1024px) {
 .thanks-section-replace {
        padding: 70px 0 !important;
        min-height: 95vh !important;
    }   
.thanks-card-as-form h1 {
        font-size: 32px !important;
    }
    .thanks-card-as-form p {
        font-size: 28px !important;
    }
.thanks-card-as-form { 
    padding: 60px 40px;
    max-width: 850px!important; 
    width: 95% !important;
}
.thanks-card-as-form .btn-back { font-size: 28px !important; }
}   
@media (max-width: 991px) {
    /* 1. "схлопування": робимо хедер низьким */
    .page-template-thanks-page-php .header.header-main,
.page-template-thanks-page-php .header .home-cont {
    height: 0 !important; 
    min-height: 0 !important;
    position: static !important;   /* Скасовуємо relative з рядка 191 */
}
}
.hp-trap-field {
    display: none !important;
    visibility: hidden !important;
}