.et-splash-screen {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	z-index: 9999999999998;
	display: none;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

@media only screen and (max-width: 767px) {
	.et-splash-screen.et-splash-mobile-only:not([hidden]) {
		display: block;
	}
}

@media only screen and (min-width: 768px) {
	.et-splash-screen,
	.et-splash-screen.et-splash-mobile-only {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
}

.et-splash-screen.is-ready,
.et-splash-screen.is-visible {
	opacity: 1;
	visibility: visible;
}

.et-splash-screen.is-visible {
	pointer-events: auto;
}

.et-splash-screen.is-hiding {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.et-splash-screen[hidden] {
	display: none !important;
}

.et-splash-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 0%,
		transparent 55%,
		rgba(0, 0, 0, calc(var(--et-splash-overlay, 0) / 100 * 0.65)) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.et-splash-particles {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	pointer-events: none;
}

.et-splash-inner {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	min-height: 100dvh;
	padding: calc(20px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
	box-sizing: border-box;
	text-align: center;
	pointer-events: none;
}

.et-splash-logo {
	flex: 0 0 auto;
	padding-top: 4px;
}

.et-splash-logo img {
	display: block;
	margin: 0 auto;
	width: auto;
	height: auto;
	max-height: 16vh;
	object-fit: contain;
	filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
	pointer-events: none;
	-webkit-user-drag: none;
}

.et-splash-bottom {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 640px;
	pointer-events: none;
}

.et-splash-title {
	margin: 0;
	font-size: clamp(24px, 6.5vw, 40px);
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--et-splash-text, #fff);
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.et-splash-text {
	margin: 0;
	font-size: clamp(14px, 3.5vw, 18px);
	line-height: 1.55;
	color: var(--et-splash-text, #fff);
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.et-splash-hint {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--et-splash-text, #fff);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	margin-top: 4px;
}

.et-splash-arrow {
	position: relative;
	width: 28px;
	height: 28px;
	color: var(--et-splash-text, #fff);
	margin-top: 2px;
}

.et-splash-arrow:before,
.et-splash-arrow:after {
	content: "";
	position: absolute;
	left: 50%;
	background: currentColor;
	border-radius: 2px;
}

.et-splash-arrow:before {
	top: 4px;
	width: 2px;
	height: 16px;
	margin-left: -1px;
}

.et-splash-arrow:after {
	bottom: 4px;
	width: 12px;
	height: 12px;
	margin-left: -6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	background: transparent;
	transform: rotate(45deg);
}

.et-splash-screen.is-visible .et-splash-arrow {
	animation: etSplashArrowBounce 1.4s ease-in-out infinite;
}

@keyframes etSplashArrowBounce {
	0%, 100% {
		transform: translateY(0);
		opacity: 0.85;
	}
	50% {
		transform: translateY(10px);
		opacity: 1;
	}
}

.et-splash-dismiss {
	position: absolute;
	inset: 0;
	z-index: 4;
	border: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

body.splash-pending #wrap,
body.splash-pending .woo-cart,
body.splash-pending .et-booking,
body.splash-pending .et-working-hours {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.splash-open {
	overflow: hidden;
	touch-action: none;
	overscroll-behavior: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

body.splash-open .et-whatsapp-widget,
body.splash-pending .et-whatsapp-widget {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
