/* скидання стилів  */

@import url("reset.css");

/* підключення шрифтів */

 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300..700&display=swap'); 

html {
    scroll-behavior: smooth;
}

body._lock {
    overflow: hidden;
}

html, body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrapper {
    min-height: 100%;
}

.page {
    padding: 0px 0px 0px 0px;
}

/* 1 */

.page__section {
    margin: 0 auto;
}

.page__section_hero {
    background-color: #FDB813;
    color: #000;
    position: relative;
    padding: 150px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__content {
    flex: 1 1 50%;
    padding: 20px;
    box-sizing: border-box;
    text-align: left;
}

.page__title {
    font-size: 56px;
    line-height: 50px;
    margin: 0 0 30px 0;
    font-weight: 600;
    color: #F9F9F9;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* ніжна тінь */
}

.page__subtitle {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 30px;
}

.hero__buttons {
    margin-top: 50px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* ніжна тінь */
}

.btn--secondary {
    background-color: #080808;
    color: #F9F9F9;
}

.btn--secondary:hover {
    background-color: #fff;
    color: #080808;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* трохи сильніше при наведенні */
}

.hero__image {
    flex: 1 1 50%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.hero__image img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* ніжна тінь */
}

/* Адаптив */

@media (max-width: 768px) {
    
    .page__section_hero {
    padding: 150px 20px;
    min-height: 100vh;
}
    
    .hero__wrapper {
        flex-direction: column;
    }

    .hero__content,
    .hero__image {
        flex: 1 1 100%;
        padding: 10px;
        text-align: center;
    }
    
    .hero__image img {
    display: none;
}

    .page__title {
        font-size: 36px;
        line-height: 40px;
        text-align: center;
    }

    .page__subtitle {
        font-size: 20px;
        text-align: center;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }
}

/* анімація */

.js-animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Переваги */

.page__section_for {
    padding: 100px 0;
    background-color: #FFFCF7;
    text-align: center;
}

.for__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.for__card {
    background-color: #FFFCF7;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.for__card:hover {
    transform: translateY(-5px);
}

.for__icon {
    max-width: 64px;
    margin: 0 auto 20px;
    display: block;
}

.for__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.for__text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Адаптив для планшетів — 2 колонки */

@media (max-width: 992px) {
    .for__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптив для мобільних — 1 колонка */
@media (max-width: 768px) {
    .for__grid {
        grid-template-columns: 1fr;
    }
}

/* Товари */

.page__section_case {
    padding: 100px 0;
    background-color: #FFFCF7;
    text-align: center;
}

.case__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.case__card {
    background-color: #FDB813;
    padding: 25px;
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 280px;
    max-width: 320px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case__card:hover {
    transform: translateY(-5px);
}

.case__img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
}

.case__content {
    padding: 20px;
    color: #F9F9F9;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case__title {
    font-size: 16px;
    
    margin-bottom: 30px;
}

.case__button-wrapper {
    margin-top: auto;
}

.case__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1E1E1E;
    color: #F9F9F9;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.case__button:hover {
    background-color: #C4C4C4;
    color: #1E1E1E;
}

.case__button--section {
    margin-top: 40px;
}

.case__price {
  color: #e53935; 
  font-weight: bold;
  margin-bottom: 24px;
  font-size: 20px;
}

/*стилі для каруселі товарів */

.case__slider {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
}

.case__slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case__slider .case__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

/* Підписи до слайдів */
.case__caption {
    position: absolute; /* поверх картинки */
    bottom: 25px;       /* відступ від низу слайда */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 252, 247, 0.8); /* напівпрозорий фон #FFFCF7 */
    color: #1E1E1E;    /* колір тексту */
    padding: 5px 20px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

/* контейнер слайда відносним для позиціонування */
.swiper-slide {
    position: relative;
}

/* Стрілки Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #C4C4C4; /* колір стрілок */
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

/* Пагінація Swiper - заміна крапок на риски */
.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.swiper-pagination-bullet {
    width: 20px;          /* довжина риски */
    height: 4px;          /* товщина риски */
    border-radius: 2px;   /* краю трохи закруглені */
    background-color: #C4C4C4;
    opacity: 0.5;
    transition: opacity 0.3s, background-color 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #FDB813;
}

.case__specs-icon {
position: relative; 
display: block; 
cursor: pointer; 
margin-left: 5px; 
color: #555;
}

.case__specs-tooltip {
    display: none;
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFCF7;
    color: #1E1E1E;
    padding: 10px;
    border-radius: 8px;
    max-width: 150%;       
    min-width: 300px;     
    font-size: 12px;
    z-index: 10;
    white-space: normal;
    box-sizing: border-box;
}

.case__specs-icon:hover .case__specs-tooltip {
    display: block;
}

@media (max-width: 768px) {
    .page__section_case {
    padding: 50px 20px;
}
    .case__grid {
        flex-direction: column;
        align-items: center;
    }

    .case__card {
        max-width: 100%;
    }
}

/* Розмірна сітка */

.page__section_sizes {
  background-color: #FFFCF7;
  padding: 60px 20px;
}

.sizes__heading {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 40px;
}

.sizes__columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* вирівнювання по висоті */
}

.sizes__column {
  flex: 1 1 45%;
  min-width: 280px;
  box-sizing: border-box;
  display: flex; /* щоб .sizes__editor займав всю висоту */
}

.sizes__editor {
  border: 1px solid #C4C4C4;
  padding: 20px;
  border-radius: 8px;
  background-color: #F9F9F9;
  font-size: 16px;
  line-height: 1.5;

  flex: 1;
  max-height: 400px; /* обмеження висоти */
  overflow-y: auto;  /* вертикальний скрол */
}

/* Горизонтальний скрол для таблиць */
.sizes__table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.sizes__table-wrapper table {
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px; /* ключове: більше за контейнер */
  width: max-content; /* не даємо таблиці стискатись */
  margin: 0 auto 20px auto;
}

.sizes__table-wrapper th,
.sizes__table-wrapper td {
  border: 1px solid #ddd;
  padding: 10px 30px;
  text-align: center;
}

.sizes__table-wrapper th {
  background-color: #FDB813;
  color: #F9F9F9;
  font-weight: 600;
}

.sizes__table-wrapper tr:nth-child(even) {
  background-color: #fff;
}

.sizes__table-wrapper tr:hover {
  background-color: #FFE082;
  transition: background-color 0.2s ease-in-out;
}

/* Адаптивність */
@media (max-width: 768px) {
    
  .sizes__columns {
    flex-direction: column;
  }
  .sizes__column {
    flex: 1 1 100%;
  }
  
  .sizes__editor {
    max-height: none; /* прибираємо обмеження висоти на мобільних */
  }
  .sizes__table-wrapper {
    width: 80vw;
     overflow-x: scroll; /* примусово показує смугу */
    -webkit-overflow-scrolling: touch; /* плавний скрол на iOS */
  }
  
  /* Стилізація смуги прокрутки (webkit-браузери) */
  .sizes__table-wrapper::-webkit-scrollbar {
    height: 8px; /* висота горизонтальної смуги */
  }
  .sizes__table-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0; /* фон доріжки */
  }
  .sizes__table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1; /* колір "повзунка" */
    border-radius: 4px;
  }
  .sizes__table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #999;
  }
  
}

/* СТА */

.page__section_cta {
    background-color: #FFFCF7;
    max-width: 100%;
    margin: 0px auto;
    padding: 50px;
    position: relative;
}

.cta__tagline {
    margin-top: 40px;
    margin-bottom: 50px;
}

.cta-tagline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    text-align: center;
    margin: 0 auto 50px;
    width: fit-content;
}

.cta__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.cta__left,
.cta__right {
    flex: 1 1 45%;
    font-family: "Montserrat", sans-serif;
}

.cta__left {
    padding: 0 20px;
}

.cta__form-wrapper {
    padding: 20px 0;
}

.cta-tagline .highlight {
    color: #000;
}

.cta__left h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

/* анімація */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg) scale(0.95);
    transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

/* Зображення */

.intro__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* адаптив */
@media (max-width: 992px) {
    .page__section_cta {
        max-width: 90%;
        margin: 100px auto 60px;
        padding: 30px;
    }

    .cta__grid {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .cta__left,
    .cta__right {
        flex: 1 1 100%;
        text-align: center;
    }

    .cta__left h2 {
        font-size: 22px;
    }
}

/* Contact Form 7 — базовий стиль */

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7-form p {
    margin: 0;
}

/* Поля вводу */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

/* Стан фокусу */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #1E1E1E;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Textarea */

#very-special-field-textarea{
	height:150px;
}
.wpcf7-form-control.wpcf7-textarea{
	height:150px;
}

/* Select — поле вибору */
.wpcf7 select {
    appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
    padding-right: 44px;
}

/*чекбоккси*/

#size-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#size-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

#size-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1E1E1E; /* стиль під сайт */
    cursor: pointer;
}

/* Кнопка */

.wpcf7 input[type="submit"] {
    background-color: #1E1E1E;
    color: #fff;
    padding: 14px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #C4C4C4;
}

/* Повідомлення про успіх чи помилку */
.wpcf7-response-output {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #28a745;
    background-color: #eafaf1;
    color: #28a745;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked {
    border: 2px solid #dc3545;
    background-color: #fbeaea;
    color: #dc3545;
}

/* Поле "Кількість" */

.wpcf7 input[type="number"] {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #C4C4C4;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

/* Стан фокусу для поля "Кількість" */
.wpcf7 input[type="number"]:focus {
    border-color: #1E1E1E;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Додатковий стиль для селекту "Розмір" — робимо текст трохи компактнішим */
.wpcf7 select[name="size"] {
    font-size: 15px;
    line-height: 1.4;
}

/* Адаптивність */

@media (max-width: 992px) {
    .wpcf7-form {
        gap: 12px;
    }
    .wpcf7 input[type="submit"] {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .wpcf7 select {
        padding-right: 36px;
    }
}

/* FAQ*/

.page__section_faq-cta {
    background-color: #FFFCF7;
    max-width: 100%;
    padding: 50px;
    position: relative;
}

.faq-cta__content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-cta__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
}

.faq-cta__heading {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.faq-cta__heading .highlight {
    color: #000;
}

.faq-cta__accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-cta__item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-cta__question {
    width: 100%;
    padding: 20px;
    background: #FDB813;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-cta__question:hover {
    background: #dcdcdc;
}

.faq-cta__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-cta__answer p {
    margin: 20px 0;
    font-size: 16px;
    color: #666;
}

/* Активний стан */
.faq-cta__item.active .faq-cta__answer {
    max-height: 300px;
    padding: 20px;
}

/* адаптив */
@media (max-width: 768px) {
    .faq-cta__heading {
        font-size: 26px;
    }

    .faq-cta__subheading {
        font-size: 20px;
    }
}

.faq-cta__question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-cta__icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* Повертаємо стрілку вгору, коли активне питання */
.faq-cta__item.active .faq-cta__icon {
    transform: rotate(-135deg);
}

/* відгуки */

.reviews-section {
    background-color:#FFFCF7;
    padding: 50px 0;
}

.reviews-section__title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.reviews-carousel {
    display: flex;
    overflow: hidden;
    gap: 30px;
    justify-content: center;
}

.review-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-10px);
}

.review-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.review-author {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Адаптивність */
@media (max-width: 768px) {
    .reviews-carousel {
        flex-direction: column;
        align-items: center;
    }
}

.page__section_rev {
    padding: 100px 0;
    background-color: #FFFCF7;
    text-align: center;
}

.section__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 60px;
}

.rev__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.rev__card {
    background-color: #FFFCF7;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    flex: 1 1 300px;
    max-width: 340px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rev__card:hover {
    transform: translateY(-10px);
}

.rev__photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.rev__name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.rev__text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.rev__rating {
    font-size: 20px;
    color: #ffc107;
    /* Золота */
}

@media (max-width: 768px) {
    .rev__grid {
        flex-direction: column;
        align-items: center;
    }

    .rev__card {
        text-align: center;
    }
}

/* Блок адреса + карта (фон на весь екран) */
.page__section_address-map {
    background-color: #FFFCF7; /* фон на весь екран */
    width: 100%;
    padding: 50px 0; /* вертикальні відступи для всього блоку */
}

/* Внутрішній контейнер для обмеження ширини */
.address-map__content {
    max-width: 1200px; /* максимальна ширина блоку контактів */
    margin: 0 auto; /* центрування по горизонталі */
    padding: 0 15px; /* невеликі бокові відступи */
}

/* Грід ліво/право */
.address-map__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

/* Колонки */
.address-map__left,
.address-map__right {
    flex: 1 1 45%;
}

/* Текстові блоки */
.address-map__info {
    font-size: 16px;
    line-height: 1.6;
    color: #1E1E1E;
    margin-top: 20px;
}

/* Елементи контакту */
.address-map__item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: "Montserrat", sans-serif;
}

.address-map__item .address-map__icon {
    font-size: 20px;
    margin-right: 10px;
    color: #555;
}

.address-map__item a.address-map__text {
    color: #007bff;
    text-decoration: underline;
}

.address-map__item a.address-map__text:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Заголовок блоку контактів */
.address-map__title {
    font-family: "Montserrat", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 25px;
}

/* Карта */
.address-map__map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Адаптив */
@media (max-width: 992px) {
    .address-map__grid {
        flex-direction: column;
        gap: 20px;
    }

    .address-map__left,
    .address-map__right {
        flex: 1 1 100%;
        text-align: center;
    }

    .address-map__map iframe {
        height: 300px;
    }
}

/* префутер */

.page__section_cta-prefooter {
    background-color: #FFFCF7;
    padding: 60px 30px;
    position: relative;
    text-align: center;
    color: #1E1E1E;
}

.cta-prefooter__content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-prefooter__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 20px;
}

.cta-prefooter__tagline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-prefooter__description {
    font-size: 16px;
    line-height: 1.6;
    color: #1E1E1E;
    margin-bottom: 30px;
}

.cta-prefooter-tagline .highlight {
    color: #1E1E1E;
    font-weight: bold;
}

.cta-prefooter__form-wrapper {
    padding: 20px 0;
}

/* адаптив */
@media (max-width: 768px) {
    .cta-prefooter__tagline {
        font-size: 24px;
    }

    .cta-prefooter__subheading {
        font-size: 18px;
    }
}

#prefooter .wpcf7-submit {
    background-color: #1E1E1E !important;
    color: #FFFCF7 !important;
    border: 2px solid #FFFCF7;
    transition: all 0.3s ease;
}

#prefooter .wpcf7-submit:hover {
    background-color: #C4C4C4 !important;
    color: #1E1E1E !important;
    /*border-color: #C4C4C4;*/
}

/* header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #FFFCF7;
    border-bottom: #C4C4C4 solid 1px;
}

.header__container {
    max-width: 1200px;
    margin: 0px auto;
    display: flex;
    padding: 0px 30px;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.header__logo {
    position: relative;
    z-index: 5;
}

.header__logo img {
    width: 100px;
    height: auto;
    display: block;
}

.header__menu {}

.menu {}

.menu__icon {
    display: none;
}

.menu__boby {}

.menu__list>li {
    position: relative;
    margin: 0px 0px 0px 20px;
}

.menu__link {
    color: #000;
    /*font-family: "Montserrat", sans-serif;*/
    font-size: 18px;
    text-transform: uppercase;
}

.menu__link:hover {
    text-decoration: underline;
}

.menu__sub-list li {
    margin: 0px 0px 10px 0px;
}

.menu__sub-list li:last-child {
    margin: 0;
}

.menu__sub-list {
    position: absolute;
    top: 100%;
    background-color: #FFFCF7;
    padding: 15px;
    min-width: 200px;
}

.menu__sub-link {
    color: #080808;
    /*font-family: "Montserrat", sans-serif;*/
    font-size: 16px;
}

.menu__sub-link:hover {
    text-decoration: underline;
}

body._pc .menu__list>li:hover .menu__sub-list {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
    pointer-events: all;
}

.menu__arrow {
    display: none;
}

body._touch .menu__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0px 0px 0px 5px;
    transition: transform 0.3s ease 0s;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #dcdbe1;
}

body._touch .menu__link {
    flex: 1 1 auto;
}

body._touch .menu__list>li {
    display: flex;
    align-items: center;
}

/* стрілочка для компа */

body._pc .sub__menu::after {
    display: inline-block;
    content: "▽";
    color: #000;
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* медіа під десктоп */

@media (min-width: 767px) {
    .menu__list {
        display: flex;
        align-items: center;
    }

    .menu__list>li {
        padding: 10px 0;
    }

    .menu__sub-list {
        transform: translate(0px, 10%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease 0s;
    }
    .link-phone{
    font-weight: 600;
    margin-left: 50px;
}
}

/* медіа під мобайл */

@media (max-width:767px) {
    .menu__icon {
        z-index: 5;
        display: block;
        position: relative;
        width: 30px;
        height: 18px;
        cursor: pointer;
    }

    .menu__icon span,
    .menu__icon::before,
    .menu__icon::after {
        left: 0;
        position: absolute;
        height: 10%;
        width: 100%;
        transition: all 0.3s ease 0s;
        background-color: #F9F9F9;
    }

    .menu__icon::before,
    .menu__icon::after {
        content: "";
    }

    .menu__icon::before {
        top: 0;
    }

    .menu__icon::after {
        bottom: 0;
    }

    .menu__icon span {
        top: 50%;
        transform: scale(1) translate(0px, -50%);
    }

    .menu__icon._active span {
        transform: scale(0) translate(0px, -50px);
    }

    .menu__icon._active::before {
        top: 50%;
        transform: rotate(-45deg) translate(0px, -50%);
    }

    .menu__icon._active::after {
        top: 50%;
        transform: rotate(45deg) translate(0px, 50%);
    }


    .menu__body {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #FFFCF7;
        padding: 130px 30px 30px 30px;
        transition: left 0.3s ease 0s;
        overflow: auto;
    }

    .menu__body._active {
        left: 0;
    }

    .menu__body::before {
        content: "";
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 100px;
        background-color: #FDB813;
        z-index: 2;
    }

    .menu__list>li {
        flex-wrap: wrap;
        margin: 0px 0px 30px 0px;
    }

    .menu__list>li:last-child {
        margin-bottom: 0;
    }

    .menu__list>li._active .menu__sub-list {
        display: block;
    }

    .menu__link {
        font-size: 24px;
    }

    .menu__sub-list {
        position: relative;
        background-color: #f1f2f2;
        flex: 1 1 100%;
        margin: 20px 0px 0px 0px;
        display: none;
    }

    .menu__sub-link {
        font-size: 20px;
        color: #303032;
    }
}

/* footer */

.site-footer {
    background-color: #111;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    /*font-family: "Montserrat", sans-serif;*/
}

.site-footer__inner {
    max-width: 960px;
    margin: 0 auto;
}

.site-footer__copyright {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ccc;
}

/* === 404 Page === */
.page-404 {
    background-color: #111;
    color: #fff;
    padding: 300px 20px;
    text-align: center;
    /*font-family: "Montserrat", sans-serif;*/
}

.page-404__title {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.page-404__text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

.page-404__button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-404__button:hover {
    background-color: #eee;
    color: #000;
}

/* Адаптив */
@media (max-width: 600px) {
    .page-404__title {
        font-size: 28px;
    }

    .page-404__text {
        font-size: 16px;
    }
}

/* Попап */

.for__button{
    background: transparent;
    color: #FDB813;
    font-weight: 600;
    text-decoration: underline;
    text-transform: uppercase;
}
.for__button:hover{
    background: transparent;
    color: #1E1E1E;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
}

.popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup.show {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.popup__content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border-radius: 10px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.popup.show .popup__content {
    transform: translateY(0);
}

.close-popup-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Thank You Page */

.page__section_thank-you {
    background-color: #FDB813; /* колір фону, як у Hero */
    color: #000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.page__section_thank-you .container {
    max-width: 600px;
    margin: 0 auto;
}

.page__section_thank-you .page__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}

.page__section_thank-you .page__subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #fff;
}

.page__section_thank-you .btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page__section_thank-you .btn:hover {
    transform: translateY(-2px);
}

/* Адаптив для мобільних */
@media (max-width: 768px) {
    .page__section_thank-you {
        padding: 80px 20px;
    }

    .page__section_thank-you .page__title {
        font-size: 32px;
        line-height: 1.3;
    }

    .page__section_thank-you .page__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page__section_thank-you .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Стилі віджету */

.phone-widget {
    position: fixed;
    left: 50px;
    top: 90%;
    transform: translateY(-50%);
    background-color: #C4C4C4;
    color: #FFFCF7; /* колір трубки */
    padding: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.phone-widget:hover {
    /*background-color: #FFE082;*/
    color: #FFFCF7;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    /*border: 2px solid #FDB813;*/
}

.phone-widget .phone-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* контейнер-тригер (JS загорне тригер у цей контейнер) */
.tooltip-sizes-form {
  position: relative;
  display: inline-block;
  overflow: visible;
}

/* Тултіп у формі */

.form-tooltip-sizes {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: #FFFCF7;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 400px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 14px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

/* показати тултіп */
.form-tooltip-sizes.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ховер ефект на спан-тригер */
.tooltip-sizes-form__trigger {
  cursor: pointer;
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}
.tooltip-sizes-form__trigger:hover,
.tooltip-sizes-form__trigger:focus {
  color: #FDB813;
  transform: scale(1.05);
}

/* Заголовок тултіпу */
.form-tooltip-sizes__heading {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Колонки тултіпу */
.form-tooltip-sizes__columns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-tooltip-sizes__column {
  flex: 1;
  max-height: 400px;
  overflow-y: auto;
}

/* Універсальні стилі для таблиць (ACF + WP блоки) */
.form-tooltip-sizes__column table,
.form-tooltip-sizes__column .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.form-tooltip-sizes__column th,
.form-tooltip-sizes__column td,
.form-tooltip-sizes__column .wp-block-table th,
.form-tooltip-sizes__column .wp-block-table td {
  border: 1px solid #ddd;
  padding: 6px 12px;
  text-align: center;
}

.form-tooltip-sizes__column th,
.form-tooltip-sizes__column .wp-block-table th {
  background-color: #FDB813;
  color: #fff;
  font-weight: 600;
}

.form-tooltip-sizes__column tr:nth-child(even),
.form-tooltip-sizes__column .wp-block-table tr:nth-child(even) {
  background-color: #fff;
}

.form-tooltip-sizes__column tr:hover,
.form-tooltip-sizes__column .wp-block-table tr:hover {
  background-color: #FFE082;
}

/* Адаптивність */
@media (max-width: 480px) {
  .form-tooltip-sizes__columns { flex-direction: column; }
}

/* на випадок, якщо батьківський попап має overflow:hidden */
.wpcf7, .wpcf7-form, .mfp-content, .popup, .modal {
  overflow: visible !important;
}

.tooltip-sizes-form__trigger:hover,
.tooltip-sizes-form__trigger:focus {
  color: #FDB813;
  transform: scale(1.05);
}

/* Універсальні стилі для таблиць тултіпу (ACF + WP блоки) */
.form-tooltip-sizes__column table,
.form-tooltip-sizes__column .wp-block-table,
.form-tooltip-sizes__column .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* важливо для адаптивності */
}

/* Стилі для комірок */
.form-tooltip-sizes__column th,
.form-tooltip-sizes__column td,
.form-tooltip-sizes__column .wp-block-table th,
.form-tooltip-sizes__column .wp-block-table td {
  border: 1px solid #ddd;
  padding: 6px 12px;
  text-align: center;
  word-break: break-word; /* щоб текст не вилітав за межі */
}

/* Заголовки */
.form-tooltip-sizes__column th,
.form-tooltip-sizes__column .wp-block-table th {
  background-color: #FDB813;
  color: #fff;
  font-weight: 600;
}

/* Чередування рядків */
.form-tooltip-sizes__column tr:nth-child(even),
.form-tooltip-sizes__column .wp-block-table tr:nth-child(even) {
  background-color: #fff;
}

/* Ховер рядка */
.form-tooltip-sizes__column tr:hover,
.form-tooltip-sizes__column .wp-block-table tr:hover {
  background-color: #FFE082;
}

/* Щоб контент з ACF завжди відображався */
.form-tooltip-sizes__column > * {
  margin: 0; 
  padding: 0;
}
