/* Дополнения темы к стилям Wix */

/* Выпадающее меню: показываем, только когда открыто */
[id$="dropWrapper"]:not([data-dropdown-shown="true"]) { display: none; }
[id$="dropWrapper"][data-dropdown-shown="true"] { display: block; visibility: visible; z-index: 50; }

/* Слайдер: все слайды друг над другом */
[data-testid="slidesWrapper"] > [data-pk-slide] { will-change: opacity; }

/* Теги на странице цен */
.wixui-selection-tags .pk-tag-on,
.wixui-selection-tags [aria-pressed="true"],
.wixui-selection-tags [aria-checked="true"] { background: rgb(0, 47, 108) !important; color: #fff !important; border-color: rgb(0, 47, 108) !important; }
.wixui-selection-tags button, .wixui-selection-tags label { cursor: pointer; }

/* Мобильное меню открыто — поверх всего */
#MENU_AS_CONTAINER.I_VSKP { visibility: visible; }

/* ---------- «Обычные» страницы WordPress (поиск, 404, новые страницы) ---------- */
.pk-generic {
	box-sizing: border-box;
	max-width: 980px;
	margin: 0 auto;
	padding: 60px 20px 80px;
	min-height: 50vh;
	font-family: wf_297dffe156ff4f6b931c9d250, 'Raleway', Arial, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	color: rgb(0, 47, 108);
}
.pk-generic__title {
	font-family: wf_edaa3bb685e94dcc91c4731b4, 'Raleway', Arial, sans-serif;
	font-weight: 700;
	font-size: 45px;
	line-height: 1.1;
	margin: 0 0 30px;
	color: rgb(0, 47, 108);
}
.pk-generic__lead { font-size: 18px; margin: 0 0 24px; }
.pk-generic a { color: rgb(0, 47, 108); }
.pk-generic__list { list-style: none; margin: 30px 0 0; padding: 0; }
.pk-generic__list li { padding: 18px 22px; margin: 0 0 14px; background: rgb(241, 246, 251); border-radius: 20px; }
.pk-generic__list a { font-family: wf_edaa3bb685e94dcc91c4731b4, 'Raleway', Arial, sans-serif; font-size: 22px; text-decoration: none; }
.pk-generic__list a:hover { color: rgb(60, 203, 218); }
.pk-generic__list p { margin: 8px 0 0; font-size: 16px; }
.pk-generic h2, .pk-generic h3 { font-family: wf_edaa3bb685e94dcc91c4731b4, 'Raleway', Arial, sans-serif; color: rgb(0, 47, 108); }
.pk-generic img { max-width: 100%; height: auto; border-radius: 20px; }
.pk-btn {
	display: inline-block;
	padding: 12px 34px;
	border: 0;
	border-radius: 30px;
	background: rgb(60, 203, 218);
	color: #fff !important;
	font: 700 16px/1.2 wf_edaa3bb685e94dcc91c4731b4, 'Raleway', Arial, sans-serif;
	text-decoration: none;
	cursor: pointer;
}
.pk-btn:hover { background: rgb(0, 47, 108); }
.pk-search { display: flex; gap: 12px; flex-wrap: wrap; }
.pk-search input {
	flex: 1 1 260px;
	padding: 12px 18px;
	border: 1px solid rgb(60, 203, 218);
	border-radius: 30px;
	font: 16px wf_297dffe156ff4f6b931c9d250, 'Raleway', Arial, sans-serif;
	color: rgb(0, 47, 108);
}
body.pk-mobile .pk-generic { padding: 30px 16px 50px; font-size: 15px; }
body.pk-mobile .pk-generic__title { font-size: 28px; }

/* Панель администратора WordPress не сдвигает фиксированную шапку */
body.admin-bar #SITE_HEADER[style*="fixed"] { top: 32px; }

/* Просмотр фото галереи */
.pk-lightbox { position: fixed; inset: 0; z-index: 2147483000; background: rgba(0, 23, 54, .92); display: flex; align-items: center; justify-content: center; }
.pk-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.pk-lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 56px/1 Arial, sans-serif; padding: 10px 18px; opacity: .85; }
.pk-lightbox button:hover { opacity: 1; }
.pk-lb-close { top: 10px; right: 14px; font-size: 44px !important; }
.pk-lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.pk-lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Аккордеоны «вопрос — ответ» */
[data-pk-faq-a][data-pk-closed] { display: none !important; }
[data-pk-faq-q] .wixui-button { cursor: pointer; }

/* Широкие экраны: у Wix размеры фоновых картинок и пунктов меню пересчитывал JS */
wow-image.bgImage img:not([style*="position: absolute"]), [id^="bgMedia_"] img:not([style*="position: absolute"]) { width: 100% !important; height: 100% !important; object-fit: cover; }
body:not(.pk-mobile) [id$="itemsContainer"].ZSVuZl { display: flex !important; width: 100%; }
body:not(.pk-mobile) [id$="itemsContainer"].ZSVuZl > li.wixui-dropdown-menu__item { flex: 1 1 auto; width: auto !important; }

/* Галерея на главной: ширина на весь экран (у Wix её пересчитывал JS) */
.pro-gallery .pro-gallery-parent-container,
.pro-gallery [id^="pro-gallery-container-"],
.pro-gallery [id^="gallery-horizontal-scroll-"] { width: 100% !important; }
.pro-gallery .pro-gallery-parent-container { width: calc(100% + 5px) !important; }

/* Стрелки и точки слайдера всегда поверх слайдов */
.wixui-slideshow [data-testid="prevButton"],
.wixui-slideshow [data-testid="nextButton"],
.wixui-slideshow > nav { z-index: 10 !important; }

/* «Цены»: отступ между прайсом и подвалом */
body:not(.pk-mobile) #comp-lq57cq5d { padding-bottom: 80px; }
body.pk-mobile #comp-lq57cq5d { padding-bottom: 40px; }
