/* addon front end css */

/*
 * Шапка Elementor: полупрозрачный синий «стекло»
 * — .elementor-location-header (Theme Builder)
 * — .gotur-elementor-header (шорткод [gotur-header] из темы)
 */
.elementor-location-header,
.gotur-elementor-header {
	position: relative;
	z-index: 100;
	background-color: rgba(var(--gotur-base-rgb, 49, 45, 101), 0.92) !important;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.elementor-location-header > .elementor > .elementor-section,
.elementor-location-header > .elementor > .e-con,
.gotur-elementor-header > .elementor > .elementor-section,
.gotur-elementor-header > .elementor > .e-con {
	background-color: transparent !important;
	background-image: none !important;
}

.elementor-location-header .elementor-top-section.elementor-section,
.gotur-elementor-header .elementor-top-section.elementor-section {
	background-color: transparent !important;
	background-image: none !important;
}

.elementor-location-header .elementor-nav-menu .elementor-item,
.elementor-location-header .elementor-nav-menu .elementor-item.elementor-item-anchor,
.gotur-elementor-header .elementor-nav-menu .elementor-item,
.gotur-elementor-header .elementor-nav-menu .elementor-item.elementor-item-anchor {
	color: #ffffff !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.elementor-location-header .elementor-nav-menu .elementor-item.elementor-item-active,
.elementor-location-header .elementor-nav-menu .elementor-item.highlighted,
.elementor-location-header .elementor-nav-menu .elementor-item:focus,
.elementor-location-header .elementor-nav-menu .elementor-item:hover,
.gotur-elementor-header .elementor-nav-menu .elementor-item.elementor-item-active,
.gotur-elementor-header .elementor-nav-menu .elementor-item.highlighted,
.gotur-elementor-header .elementor-nav-menu .elementor-item:focus,
.gotur-elementor-header .elementor-nav-menu .elementor-item:hover {
	color: #ffffff !important;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
}

.elementor-location-header .elementor-nav-menu--dropdown .elementor-sub-item,
.gotur-elementor-header .elementor-nav-menu--dropdown .elementor-sub-item {
	color: var(--gotur-black, #1d231f) !important;
	opacity: 1;
}

.elementor-location-header .elementor-nav-menu--dropdown .elementor-sub-item:hover,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-sub-item.highlighted,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active,
.gotur-elementor-header .elementor-nav-menu--dropdown .elementor-sub-item:hover,
.gotur-elementor-header .elementor-nav-menu--dropdown .elementor-sub-item.highlighted,
.gotur-elementor-header .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active {
	color: var(--gotur-base, #312d65) !important;
}

/* Липкая копия шапки из Elementor (нет класса main-header--two) */
.sticky-header--cloned.gotur-elementor-header {
	background-color: rgba(var(--gotur-base-rgb, 49, 45, 101), 0.95) !important;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
}

/* Плотнее подложка, когда липкая шапка показана при скролле */
.sticky-header--cloned.gotur-elementor-header.active {
	background-color: rgba(var(--gotur-base-rgb, 49, 45, 101), 0.98) !important;
}

/* Заглушка каталога туров: внешний placeholder; aspect-ratio задаётся из PHP под размер миниатюры */
img.gotur-tour-catalog-placeholder {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/*
 * Карточка без обложки (placehold.co): у темы при :hover на карточке
 * подсвечивается .listing-card-four__meta и оверлей на фото — на серой заглушке это лишнее.
 */
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta {
	background-color: var(--gotur-gray, #f3f8f6) !important;
	color: var(--gotur-text, #595959) !important;
}
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta a,
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta a i,
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta .listing-card-four__meta__icon {
	color: var(--gotur-text, #595959) !important;
}
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta li:not(:first-child) a::before {
	color: var(--gotur-text, #595959) !important;
	opacity: 0.65;
}
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__meta a:hover {
	color: var(--gotur-base, #312d65) !important;
}
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__image__overly {
	visibility: hidden !important;
	opacity: 0 !important;
}
.listing-card-four:has(img.gotur-tour-catalog-placeholder):hover .listing-card-four__image img {
	transform: none !important;
}

.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__overlay {
	top: auto !important;
	bottom: 0;
	height: 0% !important;
}
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__content__inner::after {
	height: 0% !important;
}
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__meta a,
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__meta__icon i,
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__price h5,
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__price i {
	color: var(--gotur-text, #595959) !important;
}
.listing-card-two:has(img.gotur-tour-catalog-placeholder):hover img {
	transform: none !important;
}

.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__overlay {
	top: auto !important;
	bottom: 0;
	height: 0% !important;
}
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner::after {
	height: 0% !important;
}
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner ul a {
	color: var(--gotur-text, #595959) !important;
}
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner .listing-list-card__price__number,
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner .listing-list-card__rating,
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner .listing-list-card__meta a i,
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-list-card__content__inner .listing-list-card__price i {
	color: var(--gotur-text, #595959) !important;
}
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover .listing-card-two__content__inner {
	background-color: transparent !important;
}
.listing-list-card:has(img.gotur-tour-catalog-placeholder):hover img {
	transform: none !important;
}

/* Single tour (to_book): BA Book Everything rating stars — синий */
body.single-to_book .post-total-rating i[class*="fa-star"],
body.single-to_book .post-rating-stars i[class*="fa-star"] {
	color: var(--gotur-base, #312d65) !important;
}

/* Форма заявки на странице тура (content-to_book) */
body.single-to_book .to-book-inquiry {
	margin-top: 2rem;
}
body.single-to_book .gotur-tour-inquiry-notice {
	margin-bottom: 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 4px;
	font-size: 0.95rem;
}
body.single-to_book .gotur-tour-inquiry-notice--success {
	background-color: rgba(34, 197, 94, 0.12);
	color: var(--gotur-black, #1d231f);
	border: 1px solid rgba(34, 197, 94, 0.35);
}
body.single-to_book .gotur-tour-inquiry-notice--error {
	background-color: rgba(220, 38, 38, 0.08);
	color: var(--gotur-black, #1d231f);
	border: 1px solid rgba(220, 38, 38, 0.25);
}
body.single-to_book .gotur-tour-inquiry-form .required {
	color: #dc2626;
}

body .currency_amount {
	color: var(--gotur-base, #312d65) !important;
}

body .comment-field {
	margin-bottom: 20px !important;
}
