/**
 * Site-wide overlay redirecting to hotsmoke.lt
 * Visual match of webwave .category-redirect-overlay--shop
 */

body.has-lt-redirect-overlay {
	overflow: hidden;
}

.hotsmoke-lt-redirect {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999998;
}

body.has-lt-redirect-overlay .hotsmoke-lt-redirect,
.hotsmoke-lt-redirect.is-visible {
	display: block;
}

.hotsmoke-lt-redirect__backdrop {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	z-index: 1;
}

.hotsmoke-lt-redirect__card {
	position: absolute;
	width: min(920px, calc(100% - 40px));
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 10px;
	z-index: 2;
}

.hotsmoke-lt-redirect__card a {
	display: block;
}

.hotsmoke-lt-redirect__card img {
	border-radius: 10px;
	width: 100%;
	height: auto;
	display: block;
}

.hotsmoke-lt-redirect__card img.desktop {
	display: block;
}

.hotsmoke-lt-redirect__card img.mobile {
	display: none;
	height: 100%;
	object-fit: contain;
	max-height: 80vh;
}

@media (max-width: 768px) {
	.hotsmoke-lt-redirect__card {
		width: calc(100% - 30px);
		left: 15px;
		transform: translateY(-50%);
		max-height: 80vh;
	}

	.hotsmoke-lt-redirect__card img.desktop {
		display: none;
	}

	.hotsmoke-lt-redirect__card img.mobile {
		display: block;
	}
}
