/*
Theme Name: WPRentals Child
Theme URI: https://gooyacht.com/
Description: Child theme for WP Rentals with custom GTM booking tracking for Gooyacht.
Author: Gooyacht
Author URI: https://gooyacht.com/
Template: wprentals
Version: 1.0.0
Text Domain: wprentals-child
*/

/* Custom styles go below */

.mobile-cart-link{
    display: none;
}
/* Hide availability calendar on single listing pages. */
.single-estate_property #listing_calendar,
.single-estate_property .wprentals_front_avalability {
	display: none !important;
}

/* Hide features block on single listing pages. */
.single-estate_property .panel-wrapper.features_wrapper {
	display: none !important;
}

/* Hide city and area filters from the listing toolbar. */
.city_taxonmy_filter,
.area_taxonomy_filter,
.search_wrapper [class*="col-md-"]:has(#property_city),
.search_wrapper [class*="col-md-"]:has(#property_area),
.search_wrapper [class*="col-md-"]:has(#property_city_toogle),
.search_wrapper [class*="col-md-"]:has(#property_area_toogle),
.adv-search-mobile [class*="col-md-"]:has(#property_city),
.adv-search-mobile [class*="col-md-"]:has(#property_area),
.adv-search-mobile [class*="col-md-"]:has(#property_city_toogle),
.adv-search-mobile [class*="col-md-"]:has(#property_area_toogle),
#advanced_search_map_list [class*="col-md-"]:has(#property_city),
#advanced_search_map_list [class*="col-md-"]:has(#property_area),
#advanced_search_map_list [class*="col-md-"]:has(#property_city_toogle),
#advanced_search_map_list [class*="col-md-"]:has(#property_area_toogle) {
	display: none !important;
}

/* Hide sticky mobile header when scrolling down; reveal when scrolling up. */
@media (max-width: 1024px) {
	.mobile_header.mobile_header_sticky_yes {
		transition: transform 220ms ease;
		will-change: transform;
	}

	.mobile_header.mobile_header_sticky_yes.gooyacht-mobile-header-hidden {
		transform: translateY(-100%);
	}

	.listing_main_image {
		height: 230px;
	}
}

/* Price label prefix for single listing hero price. */
.gooyacht-price-from-prefix {
	margin-right: 4px;
}

/* Custom 404 page. */
.error404 .header_wrapper,
.error404 .navbar-fixed-top-master {
	background: rgba(7, 26, 45, 0.96);
}

.error404 .header_wrapper #access a,
.error404 .navbar-fixed-top-master #access a {
	color: #ffffff;
}

.error404 .content_wrapper {
	width: 100%;
	max-width: none;
	padding: 0;
}

.gooyacht-404 {
	background: #f6f8fb;
	color: #102033;
	min-height: 72vh;
}

.gooyacht-404__inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.gooyacht-404__hero {
	background:
		linear-gradient(90deg, rgba(10, 26, 44, 0.86), rgba(10, 26, 44, 0.64)),
		var(--gooyacht-404-header-image) center/cover;
	color: #fff;
	padding: 88px 0 72px;
}

.gooyacht-404__eyebrow {
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.gooyacht-404 h1 {
	color: #fff;
	font-size: clamp(38px, 6vw, 70px);
	font-weight: 800;
	line-height: 1.02;
	margin: 0;
	max-width: 760px;
}

.gooyacht-404__lead {
	color: rgba(255, 255, 255, 0.9);
	font-size: 19px;
	line-height: 1.6;
	margin: 18px 0 28px;
	max-width: 650px;
}

.gooyacht-404__section {
	padding: 42px 0 56px;
}

.gooyacht-404 h2 {
	color: #102033;
	font-size: 24px;
	font-weight: 800;
	margin: 0;
}

.gooyacht-404__simple {
	max-width: 760px;
}

.gooyacht-404__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 18px;
}

.gooyacht-404__links a {
	color: #0b6fae;
	font-weight: 700;
	text-decoration: none;
}

.gooyacht-404__links a:hover {
	color: #064d79;
	text-decoration: underline;
}

@media (max-width: 640px) {
	.gooyacht-404__inner {
		width: min(100% - 24px, 1180px);
	}

	.gooyacht-404__hero {
		padding: 64px 0 46px;
	}

	.gooyacht-404__links {
		display: grid;
	}
}

/* Emergency: keep Elementor blocks visible if animation JS fails. */
.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}