.shomer-shabbat-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px;
	background: rgba(12, 18, 24, 0.68);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #1b1f24;
	text-align: center;
	pointer-events: auto;
	font-family: "Assistant", Arial, sans-serif;
}

.shomer-shabbat-overlay *,
.shomer-shabbat-overlay *::before,
.shomer-shabbat-overlay *::after {
	box-sizing: border-box;
}

.shomer-shabbat-modal {
	width: min(100%, 460px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	padding: clamp(28px, 5vw, 44px);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.shomer-shabbat-logo {
	display: block;
	width: auto;
	max-width: min(180px, 70%);
	max-height: 110px;
	margin: 0 auto 20px;
	object-fit: contain;
}

.shomer-shabbat-modal h2 {
	margin: 0;
	color: #111827;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0;
}

.shomer-shabbat-modal p {
	margin: 14px 0 0;
	color: #3f4652;
	font-size: clamp(17px, 2.2vw, 20px);
	font-weight: 500;
	line-height: 1.55;
}

.shomer-shabbat-preview-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 24px;
	padding: 8px 16px;
	border: 1px solid #cfd5df;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2937;
	font-family: "Assistant", Arial, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	cursor: pointer;
}

.shomer-shabbat-preview-close:hover,
.shomer-shabbat-preview-close:focus {
	border-color: #8c98a8;
	background: #f6f7f9;
}

body.shomer-shabbat-is-active {
	overflow: hidden !important;
}

@media (max-width: 480px) {
	.shomer-shabbat-overlay {
		padding: 16px;
	}

	.shomer-shabbat-modal {
		padding: 28px 22px;
	}
}
