/* ------------------- ВИДЖЕТ СВЯЗИ НА САЙТЕ ------------------- */

/* Стили виджета связи */
#contactWidget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Верхняя панель с кнопками */
#contactWidget .widget-panel {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
    background: white;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

#contactWidget .widget-panel.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Стили для кнопок на панели */
#contactWidget .widget-btn {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    justify-content: flex-start;
    gap: 5px;
}

#contactWidget .widget-btn span {
    flex-grow: 1;
    text-align: left;
}

#contactWidget .whatsapp-btn:hover {
    background: linear-gradient(135deg, #25D366, #25D366);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

#contactWidget .telegram-btn:hover {
    background: linear-gradient(135deg, #0088cc, #0088cc);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

#contactWidget .max-btn:hover {
    background: linear-gradient(135deg, #9745dc, #9745dc);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

#contactWidget .whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #006d29);
}

#contactWidget .telegram-btn {
    background: linear-gradient(135deg, #0088cc, #00496d);
}

#contactWidget .max-btn {
    background: linear-gradient(135deg, #4db8f6, #9745dc);
}

#contactWidget .max-btn svg {
    border-radius: 50%;
    overflow: hidden;
}

/* Стили для SVG иконок в кнопках */
#contactWidget .widget-btn svg, #contactWidget .widget-btn img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Основная кнопка виджета */
#contactWidget .widget-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #3a56e0, #00ff5f);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(74, 111, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10001;
}

#contactWidget .widget-main-btn:hover {
    background: linear-gradient(135deg, #3A56E0, #2A46C0);
    box-shadow: 0 8px 25px rgba(74, 111, 255, 0.5);
    transform: scale(1.05);
}

/* Иконки внутри основной кнопки */
#contactWidget .widget-main-btn svg {
    position: absolute;
    width: 100%;
    height: 100%;
	color: #fff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#contactWidget .widget-main-btn svg.phone-icon {
    opacity: 1;
    transform: rotate(0deg);
}

#contactWidget .widget-main-btn svg.close-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

/* Состояние, когда меню открыто */
#contactWidget .widget-main-btn.active {
    background: linear-gradient(135deg, #FF4757, #E84142);
}

#contactWidget .widget-main-btn.active svg.phone-icon {
    opacity: 0;
    transform: rotate(90deg);
}

#contactWidget .widget-main-btn.active svg.close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Анимация появления панели */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    #contactWidget .contact-widget {
        bottom: 15px;
        right: 15px;
    }
    
    #contactWidget .widget-btn {
        min-width: 160px;
        padding: 10px 16px;
        font-size: 14px;
    }
    
    #contactWidget .widget-main-btn {
        width: 56px;
        height: 56px;
    }
    
    #contactWidget .widget-btn svg, #contactWidget .widget-btn img {
        width: 22px;
        height: 22px;
    }
}

/* ------------------- ИКОНКИ СОЦСЕТЕЙ В ШАПКЕ ------------------- */
ul.nav.navbar-nav{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.navbar-nav li.icons, .navbar-header li.icons {
	position: relative;
    display: inline-flex;
	gap: 5px;
	justify-content: flex-start;
	align-items: center;
}
.navbar-header li.icons {
	margin: 8px 20px;
	height: 34px;
}
@media (min-width: 768px) {
    .navbar-header li.icons {
        display: none;
    }
}
.navbar-nav li.icons a, .navbar-header li.icons a {
	width: 31px;
	height: 32px;
	box-sizing: border-box;
	border-radius: 5px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
    padding: 5px;
    line-height: normal;
	text-shadow: none;
}
.navbar-nav li.icons a:hover, .navbar-header li.icons a:hover {
	opacity: 0.8;
}
.navbar-nav li.icons a.max-icon, .navbar-header li.icons a.max-icon {
	padding: 0px;
}
.navbar-nav li.icons a svg, .navbar-header li.icons a svg {
	width: 100%;
	height: 100%;
	color: #fff;
}
.navbar-nav li.icons a.whatsapp-icon, .navbar-header li.icons a.whatsapp-icon {
	background: #25d366;
}
.navbar-nav li.icons a.telegram-icon, .navbar-header li.icons a.telegram-icon {
	background: #0088cc;
}

/* ------------------- ИКОНКИ СОЦСЕТЕЙ В ПОДВАЛЕ ------------------- */
div.footer-icons {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	margin: 5px 0px;
}
div.footer-icons a {
	width: 35px;
	height: 35px;
	box-sizing: border-box;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
    padding: 5px;
    line-height: normal;
	text-shadow: none;
}
div.footer-icons.contacts-icons a {
	width: 45px;
	height: 45px;
}
div.footer-icons a:hover {
	opacity: 0.8;
}
div.footer-icons a.max-icon {
	padding: 0px;
}
div.footer-icons a svg {
	width: 100%;
	height: 100%;
	color: #fff;
}
div.footer-icons a.whatsapp-icon {
	background: #25d366;
}
div.footer-icons a.telegram-icon {
	background: #0088cc;
}
div.footer-icons a.max-icon {
	border-radius: 50%;
	overflow: hidden;
}

/* ------------------- FAQ ------------------- */

div.section-faqes {
	margin: 40px auto;
}
div.section-faqes .faqes-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
div.section-faqes .faq-box {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
}
div.section-faqes .faq-box.active, .section-faqes .faq-box:hover {
	border-color: #4a6cf7;
	box-shadow: 0 3px 10px rgba(74, 108, 247, 0.1);
}
div.section-faqes .faq-question {
	padding: 10px 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	font-size: 12pt;
	line-height: 1.4;
	transition: background-color 0.2s;
}
div.section-faqes .faq-question:hover {
	background-color: #f9f9f9;
}
div.section-faqes .faq-question .plus-minus {
	width: 24px;
	height: 24px;
	position: relative;
	flex-shrink: 0;
	margin-left: 15px;
	transition: transform 0.3s ease;
}
div.section-faqes .faq-box.active .plus-minus {
	transform: rotate(45deg);
}
div.section-faqes .plus-minus::before,
div.section-faqes .plus-minus::after {
	content: '';
	position: absolute;
	background-color: #4a6cf7;
	border-radius: 2px;
	transition: all 0.3s ease;
}
div.section-faqes .plus-minus::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
div.section-faqes .plus-minus::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
div.section-faqes .faq-box.active .plus-minus::after {
  background-color: #ff4757;
}
div.section-faqes .faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background-color: #fff;
  font-size: 10.5pt;
  line-height: 1.5;
}
.section-faqes .faq-answer div.faq-gallery,
#contents-col div.category-image-slider {
  width: 100%;
  margin: 25px 0 15px 0;
  position: relative;
  padding-bottom: 60px;
}
.section-faqes .faq-answer div.faq-gallery .swiper-slide,
#contents-col div.category-image-slider .swiper-slide {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  user-select: none;
  transition: transform 0.3s ease;
}
.section-faqes .faq-answer div.faq-gallery .swiper-slide:hover,
#contents-col div.category-image-slider .swiper-slide:hover {
  transform: translateY(-5px);
}
.section-faqes .faq-answer div.faq-gallery .swiper-slide:hover,
#contents-col div.category-image-slider .swiper-slide:hover {
  transform: translateY(-5px);
}
.section-faqes .faq-gallery .swiper-slide img,
#contents-col div.category-image-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.section-faqes .faq-gallery .swiper-slide:hover img,
#contents-col div.category-image-slider .swiper-slide:hover img {
  transform: scale(1.08);
}
.section-faqes .faq-gallery .swiper-slide:hover img,
#contents-col div.category-image-slider .swiper-slide:hover img {
  transform: scale(1.08);
}
.section-faqes .faq-gallery-navigation,
#contents-col div.category-image-slider .category-slider-navigation {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 50px;
  padding: 10px 0;
}
.section-faqes .faq-gallery .swiper-button-prev,
.section-faqes .faq-gallery .swiper-button-next,
#contents-col div.category-image-slider .swiper-button-prev,
#contents-col div.category-image-slider .swiper-button-next {
  position: relative;
  width: 35px;
  height: 35px;
  background: #007bff;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  top: auto;
  left: auto;
  right: auto;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}
.section-faqes .faq-gallery .swiper-button-prev:hover,
.section-faqes .faq-gallery .swiper-button-next:hover,
#contents-col div.category-image-slider .swiper-button-prev:hover,
#contents-col div.category-image-slider .swiper-button-next:hover {
  background: #0056b3;
  transform: scale(1.1);
}
.section-faqes .faq-gallery .swiper-button-prev::after,
.section-faqes .faq-gallery .swiper-button-next::after,
#contents-col div.category-image-slider .swiper-button-prev::after,
#contents-col div.category-image-slider .swiper-button-next::after {
  font-size: 12px;
  font-weight: bold;
}
.section-faqes .faq-gallery .swiper-pagination,
#contents-col div.category-image-slider .swiper-pagination {
  position: relative;
  bottom: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.section-faqes .faq-gallery .swiper-pagination-bullet,
#contents-col div.category-image-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #b3b3b3;
  opacity: 1;
  transition: all 0.3s ease;
}
.section-faqes .faq-gallery .swiper-pagination-bullet-active,
#contents-col div.category-image-slider .swiper-pagination-bullet-active {
  background: #007bff;
  transform: scale(1.2);
}
.section-faqes .faq-gallery::before,
#contents-col div.category-image-slider::before {
  content: "Фотогалерея";
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #007bff;
}
/* Адаптивность */
@media (max-width: 768px) {
    .section-faqes .faq-gallery .swiper-slide,
	#contents-col div.category-image-slider .swiper-slide	{
        height: 180px;
    }
    
    .section-faqes .faq-gallery-navigation,
	#contents-col div.category-image-slider .category-slider-navigation	{
        gap: 10px;
    }
    
    .section-faqes .faq-gallery .swiper-button-prev,
    .section-faqes .faq-gallery .swiper-button-next,
	#contents-col div.category-image-slider .swiper-button-prev,
    #contents-col div.category-image-slider .swiper-button-next	{
        width: 36px;
        height: 36px;
    }
    
    .section-faqes .faq-gallery .swiper-button-prev::after,
    .section-faqes .faq-gallery .swiper-button-next::after,
	#contents-col div.category-image-slider .swiper-button-prev::after,
    #contents-col div.category-image-slider .swiper-button-next::after	{
        font-size: 16px;
    }
    
    .section-faqes .faq-gallery::before,
	#contents-col div.category-image-slider::before	{
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .section-faqes .faq-gallery .swiper-slide,
	#contents-col div.category-image-slider .swiper-slide	{
        height: 150px;
    }
}
div.section-faqes .faq-box.active .faq-answer {
  padding: 0 20px 10px 20px;
  max-height: 100%;
}
/* Адаптивность */
@media (max-width: 768px) {
  div.section-faqes .faq-question {
    padding: 10px;
  }

  div.section-faqes .faq-answer {
    padding: 0 10px;
  }

  div.section-faqes .faq-box.active .faq-answer {
    padding: 0 10px 10px 10px;
  }
}
@media (max-width: 500px) {
  div.section-faqes .faq-question {
    font-size: 11pt;
  }
}
