/* Общие стили для сайту */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1D1D1D;
}

.text-primary {
    --bs-text-opacity: 1;
    color: #f88e1f !important;
    font-weight: 800 !important;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay-desktop{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* прозрачный PNG/WebP красиво ложится поверх */
  pointer-events: none;  /* клики проходят сквозь */
  z-index: 1;            /* выше видео, ниже маски */
}

.video-mask{ z-index: 2; }
.header-main{ z-index: 3 !important; } /* контент над маской */

/* Перестраховка: на мобиле оверлей скрыт, даже если кто-то уберёт d-none */
@media (max-width: 767.98px){
  .video-overlay-desktop{ display: none !important; }
}




.video-mask {
  background: radial-gradient(circle at top left,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(0, 0, 0, 0.15) 60%,
      rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.header-main {
  z-index: 2;
}

header.header-bg {
  position: relative;
  display: block;
  max-width: 1920px;
  width: 100%;
  /* height: 600px; */
  /* background: url("../img/piroli.png") no-repeat center center !important;
  background-size: cover !important; */
  color: #fff;
  padding: 50px 0;
}

.header-main {
  position: relative;
  width: 100%;
  height: auto;
}

.header-main img {
  position: relative;
  width: 200px;
  height: 190px;
}




/* Стили для переключателя языков */
.lang-switcher {
  width: 180px;
  height: auto;
}

.lang-switcher a {
  color: #fff;
  margin: 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
}

/* Стили для секций */
.section {
  padding: 50px 0;
}

.site-title {
  margin-top: 1rem;
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03em;
  border-top: 1px solid #fe8621;
  letter-spacing: 1.1px;
}
.site-title-h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.03em;
  letter-spacing: 1.1px;
  padding-top: 20px;
}
.site-title-h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #000;
  letter-spacing: 0.03em;
  letter-spacing: 1.1px;
  padding-top: 20px;
}
.site-title-p {
  margin-top: 1rem;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (max-width: 576px) {
  .site-title {
    font-size: 1.7rem;
    text-align: left;
    border-top: 1px solid #fe8621;
    letter-spacing: 1.1px;
    padding: 6px 0px 0px 5px;
  }
  .site-title-h2 {
    font-size: 2rem;
    text-align: left;
    letter-spacing: 1.1px;
  }
  .site-title-h2 {
    font-size: 2rem;
    text-align: left;
    letter-spacing: 1.1px;
  }
  .site-title-h3 {
    font-size: 1.8rem;
    text-align: left;
    letter-spacing: 1.1px;
  }
  .site-title-p {
    font-size: 1.2rem;
    text-align: left;
    font-weight: 500;
    padding: 5px;
  }
}






/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  header.header-bg {
    position: relative;
    display: block;
    max-width: 1920px;
    width: 100%;
    height: 360px;
    /* background: url("../img/piroli.png") no-repeat top left !important;
    background-size: cover !important; */
    color: #fff;
    padding: 50px 0;
  }

  .header-main img {
    position: relative;
    width: 150px;
    height: 145px;
  }
}


.category-sidebar {
  width: 100%;
  max-width: 100%;
  background-color: #ffffff;
  /* білий фон */
  border: 1px solid #ddd;
  padding: 1rem;
  font-family: sans-serif;
}

.menu-block {
  margin-bottom: 1.5rem;
}

.menu-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e1e1e;
  text-transform: uppercase;
}

.menu-title {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.5rem;
  text-align: left;
}

.submenu {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
  /* вирівнювання по лівому краю */
}

.submenu li {
  margin: 0.4rem 0;
}

.submenu a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.submenu a:hover {
  color: #b22222;
}


/* breadcrumb */
  .breadcrumb-wrapper {
    background-color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
  }
  .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
  }
  .breadcrumb-item {
    display: flex;
    align-items: center;
    color: #6c757d;
  }
  .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding: 0 0.5rem;
    color: #999;
  }
  .breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .breadcrumb-item a:hover {
    color: #0056b3;
  }
  .breadcrumb-item.active {
    color: #212529;
    font-weight: 600;
  }
  .home-icon {
    margin-right: 4px;
    vertical-align: middle;
  }
/* end breadcrumb */


/* Блок переваг */
.advantages-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.advantages-section i {
  color: #e52037;
}

.advantages-section h6 {
  font-weight: 600;
  margin-top: 1rem;
}

.advantages-section p {
  font-size: 0.95rem;
  color: #555;
}


.why-piroli-section {
  background-image: url('../img/bg/why-piroli.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
  overflow: hidden;
}

.gradient-mask-left {
  /* background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.1) 70%, transparent 100%); */
  z-index: 1;
  pointer-events: none;
  color: #000;
}

.why-piroli-section h2,
.why-piroli-section h3,
.why-piroli-section p,
.why-piroli-section i {
  z-index: 2;
  position: relative;
}

.icon-orange {
  color: #ff8a1f;
}


/* FAQ блок */
.accordion-button {
  font-weight: 500;
  background-color: #f9f9f9;
  font-size: 1.2rem !important;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  font-size: 1.2rem;
  color: #444;
  background: #fff;
}


/* CTA блок */
.cta-section {
  background-color: #111;
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-section input,
.cta-section button {
  height: 48px;
  font-size: 1rem;
  border-radius: 8px;
}

.cta-section button {
  background-color: #e52037;
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}

.cta-section button:hover {
  background-color: #c9172e;
}


/* Сертифікати та партнери */
.cert-partners h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.cert-partners img {
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-partners img:hover {
  transform: scale(1.05);
}








/* SLIDER SWIPER KONSTRUKTOR PRODUCT */

/* Базова обгортка слайдера */
.slider-konstruktor-product,
.slider-konstruktor-product .swiper-slide {
  width: 100vw;
  height: 65vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Фонове зображення для слайда */
.slider-konstruktor-product .swiper-slide {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Контент усередині слайда */
.slider-konstruktor-product .slide-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: auto;
  max-height: 90%;
  overflow-y: auto;
  box-sizing: border-box;
}

/* Адаптивність на мобільних */
@media (max-width: 768px) {
  .slider-konstruktor-product {
    height: 65vh;
  }
  .slider-konstruktor-product .slide-content {
    background: rgba(255, 255, 255, 0.678);
    padding: 1.5rem;
    margin: 2rem;
    max-height: 100%;
  }
}


.slide-content.bg-burning-boiler,.bg-burning-boiler-piletniy {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: none; /* прибираємо білий фон */
}

.slide-content.bg-burning-boiler::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bg/piroli-fon-swiper-product.webp");
  background-size: cover;
  background-position: center center;
  opacity: 1; /* піднімаємо на повну */
  z-index: -1;
}
.slide-content.bg-burning-boiler-piletniy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/bg/piroli-fon-swiper-product-piletniy.webp");
  background-size: cover;
  background-position: center center;
  opacity: 1; /* піднімаємо на повну */
  z-index: -1;
}




/* Заголовок */
.slider-konstruktor-product h1 {
  color: #000;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: left;
}

/* Опис */
.slider-konstruktor-product p {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Кнопка */
.slider-konstruktor-product .btn-light {
  min-width: 165px;
  padding: 10px 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin: 6px 8px;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
}

/* Ховер ефект */
.slider-konstruktor-product .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background-color: #000;
  color: #fff;
}

/* Кастомні кнопки навігації */
.custom-nav-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 50px;
  z-index: 10;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  background-color: rgba(240, 240, 240, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background-color: rgba(200, 200, 200, 1);
}





.boiler-img {
  max-height: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* На мобільних прибираємо max-height */
@media (max-width: 768px) {
  .boiler-img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
.partners-slider {
  padding: 0 15px;
}
.partners-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.partners-slider img {
  max-width: 90%;
  height: auto;
  object-fit: contain;
}




#konstruktor-catalog .type-btn.active,
#konstruktor-catalog .btn {
  min-width: 165px;
  padding: 10px 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin: 6px 8px;
  /* горизонтальный и вертикальный отступ между кнопками */
}

#konstruktor-catalog .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
#konstruktor-catalog .power-btn {
  min-width: 110px;
  padding: 10px 16px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin: 6px 8px;
}
#konstruktor-catalog .btn.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.transition-img {
  transition: all 0.3s ease-in-out;
}

.transition-img:hover {
  transform: scale(1.02);
}
/* Адаптивність на мобільних */
@media (max-width: 768px) {
  #konstruktor-catalog .power-btn {
  min-width: 100px;
  padding: 5px 15px;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  margin: 6px 8px;
}
}


/* Gmail-иконка без маски: SVG как фон */
.gmail-fa{
  display:inline-block;
  width:30px;              /* чуть крупнее 1em, гармонично с текстом */
  height:30px;
  vertical-align:-0.125em;    /* аккуратное выравнивание по базовой линии */
  line-height:1;
  font-style:normal;
  background-image:url("../img/icons/gmail.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

/* Gmail-иконка без маски: SVG как фон */
.phone-fa{
  display:inline-block;
  width:30px;              /* чуть крупнее 1em, гармонично с текстом */
  height:30px;
  vertical-align:-0.125em;    /* аккуратное выравнивание по базовой линии */
  line-height:1;
  font-style:normal;
  background-image:url("../img/icons/phone.svg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}


/* === video-reviews === */
#video-reviews {
  /* background-color: #111; */
  width: 100%;
  height: 100%;
  background-image: url('../img/piroli-fon-youtube.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

#video-reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  /* затемнение поверх фона */
  z-index: 2;
  pointer-events: none;
}

#video-reviews .container {
  position: relative;
  z-index: 3;
  /* контент над затемнением */
}

#video-reviews h2 {
  font-size: 1.8rem;
  color: #fff;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  background-color: #000;
  cursor: pointer;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  border: 1px solid #fff;
}

.video-wrapper:hover video {
  transform: scale(1.02);
}

#exitFullscreenBtn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 0.25em 0.5em;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s;
}

#exitFullscreenBtn:hover {
  background: rgba(0, 0, 0, 0.95);
}

#video-reviews a.btn-outline-light:hover {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

#video-reviews .bi-youtube {
  color: #ff0000;
  transition: transform 0.3s ease;
}

#video-reviews a.btn-outline-light:hover .bi-youtube {
  transform: scale(1.2);
  color: #fff;
}

#video-reviews p.text-muted {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #ccc !important;
}


/* === end video-reviews === */

