
body:has(.sitewalk-overlay.active) {
	overflow: hidden;
}

/* === Sitewalk Popup Block (overlay version with fade-in) === */

/* --- Overlay background --- */
.sitewalk-overlay {
	display: none; /* hidden until triggered */
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
	/* fade-in animation */
	opacity: 0;
	transition: opacity 0.4s ease;
	backdrop-filter: blur(10px);
	box-sizing: border-box;
}

.sitewalk-overlay * {
	box-sizing: border-box;
}

.sitewalk-overlay.active {
	opacity: 1;
}

/* --- Popup container --- */
.sitewalk-popup {
	position: relative;
	width: 100%;
	z-index: 2;
	/* fade/scale animation */
	transform: scale(0.9);
	opacity: 0;
	transition: all 0.4s ease;
}

.sitewalk-overlay.active .sitewalk-popup {
	transform: scale(1);
	opacity: 1;
}

/* --- Popup inner box --- */
.sitewalk-popup .swp-inner {
	padding: 3rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
	backdrop-filter: blur(3px);
}

/* --- Close button --- */
.swp-close {
	position: absolute;
	right: .5rem;
	top: .25rem;
	font-size: 3rem;
	background: transparent;
	border: 0;
	color: #fff;
	opacity: .85;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.swp-close:hover {
	opacity: 1;
}

/* --- Title & Description --- */
.swp-title {
	margin: 0 2rem .5rem 0;
}

.swp-desc p:last-child {
	margin-bottom: 0;
}

/* --- Buttons --- */
.swp-btn {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: 0.8em 1.7em 0.6em 1.7em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-shadow: none;
	margin-right: 5px;
	-webkit-appearance: none;
	box-shadow: 0 0 0 0 !important;
	line-height: 1.5 !important;
	-webkit-transition: color .2s linear, background .1s linear, opacity .2s linear;
	-moz-transition: color .2s linear, background .1s linear, opacity .2s linear;
	-ms-transition: color .2s linear, background .1s linear, opacity .2s linear;
	-o-transition: color .2s linear, background .1s linear, opacity .2s linear;
	transition: color .2s linear, background .1s linear, opacity .2s linear;
	margin-top: 1.4rem;
}


.swp-btn-primary {
	background-color: var(--primary-action-color, #c72c2c) !important;
	color: #fff !important;
}

.swp-btn-secondary {
	background-color: var(--secondary-action-color, #000)!important;
	color: #fff !important;
}

.swp-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}

/* --- Sizes --- */
.swp-size-small  {
	max-width:  min(320px,92vw);
}

.swp-size-medium {
	max-width:  min(520px,92vw);
}

.swp-size-large {
	max-width: min(720px,92vw);
}

/* --- Mobile --- */
@media (max-width: 480px) {
	.sitewalk-overlay {
		padding: 1rem;
	}

	.swp-inner {
		width: 100%;
		padding: 1rem;
	}
}
