/* Shabbat Checkout Blocker — front-end styling
   Tone: restrained, formal, "official notice" aesthetic — deep navy & soft gold,
   generous whitespace, a serif headline, no playful color. */

:root {
	--scb-navy: #122340;
	--scb-navy-deep: #0b1830;
	--scb-gold: #b08d57;
	--scb-gold-soft: #e8dcc4;
	--scb-paper: #fdfcfa;
	--scb-ink: #1f2733;
	--scb-ink-soft: #5b6472;
	--scb-border: #dfe2e8;
}

/* ---------------------------------------------------------------
 * Disabled / hidden buttons
 * ------------------------------------------------------------- */
.scb-disabled {
	pointer-events: none !important;
	opacity: 0.4 !important;
	filter: grayscale(75%);
	cursor: not-allowed !important;
	position: relative;
}

.scb-inline-notice {
	background: var(--scb-paper);
	border: 1px solid var(--scb-gold-soft);
	border-right: 3px solid var(--scb-gold);
	color: var(--scb-navy);
	padding: 12px 16px;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.6;
	margin: 12px 0;
	text-align: right;
	direction: rtl;
}

/* ---------------------------------------------------------------
 * Modal popup
 * ------------------------------------------------------------- */
.scb-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 24, 48, 0.55);
	backdrop-filter: blur(2px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	direction: rtl;
	animation: scb-fade-in 0.18s ease-out;
}

@keyframes scb-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.scb-popup-box {
	background: var(--scb-paper);
	border-radius: 4px;
	border-top: 4px solid var(--scb-navy);
	padding: 36px 30px 28px;
	max-width: 400px;
	width: 90%;
	text-align: center;
	box-shadow: 0 18px 50px rgba(11, 24, 48, 0.28);
	font-family: Georgia, "Times New Roman", "Frank Ruhl Libre", serif;
}

.scb-popup-icon {
	font-size: 30px;
	margin-bottom: 12px;
	opacity: 0.85;
}

.scb-popup-message {
	font-size: 16px;
	line-height: 1.75;
	color: var(--scb-ink);
	margin: 0 0 24px;
	font-family: -apple-system, "Segoe UI", Arial, sans-serif;
}

.scb-popup-close {
	background: var(--scb-navy);
	color: #fff;
	border: none;
	border-radius: 2px;
	padding: 11px 30px;
	font-size: 13px;
	letter-spacing: 0.03em;
	font-family: -apple-system, "Segoe UI", Arial, sans-serif;
	cursor: pointer;
	transition: background 0.15s ease;
}

.scb-popup-close:hover {
	background: var(--scb-navy-deep);
}

/* ---------------------------------------------------------------
 * Full blocked page (direct cart/checkout access)
 * ------------------------------------------------------------- */
.scb-blocked-page {
	max-width: 720px;
	margin: 70px auto;
	padding: 0 20px;
	direction: rtl;
}

.scb-blocked-card {
	background: var(--scb-paper);
	border: 1px solid var(--scb-border);
	border-top: 5px solid var(--scb-navy);
	border-radius: 4px;
	padding: 56px 44px;
	text-align: center;
	box-shadow: 0 4px 24px rgba(18, 35, 64, 0.06);
}

.scb-blocked-emblem {
	font-size: 38px;
	margin-bottom: 18px;
	opacity: 0.85;
}

.scb-blocked-title {
	font-family: Georgia, "Times New Roman", "Frank Ruhl Libre", serif;
	font-size: 30px;
	font-weight: 600;
	color: var(--scb-navy);
	margin: 0 0 18px;
	letter-spacing: 0.01em;
}

.scb-blocked-text {
	font-size: 16px;
	line-height: 1.85;
	color: var(--scb-ink-soft);
	max-width: 480px;
	margin: 0 auto 32px;
}

.scb-blocked-button {
	display: inline-block;
	background: var(--scb-navy);
	color: #fff !important;
	text-decoration: none;
	border-radius: 2px;
	padding: 13px 36px;
	font-size: 14px;
	letter-spacing: 0.02em;
	transition: background 0.15s ease;
}

.scb-blocked-button:hover {
	background: var(--scb-navy-deep);
	color: #fff !important;
}

/* ---------------------------------------------------------------
 * Test-mode indicators
 * ------------------------------------------------------------- */
.scb-test-badge {
	display: inline-block;
	background: var(--scb-gold-soft);
	color: #5a4521;
	border: 1px solid var(--scb-gold);
	border-radius: 2px;
	padding: 4px 14px;
	font-size: 12px;
	letter-spacing: 0.02em;
	font-family: -apple-system, "Segoe UI", Arial, sans-serif;
	margin-bottom: 16px;
}

.scb-test-badge--inline {
	margin-bottom: 22px;
}

.scb-test-mode-flag {
	position: fixed;
	bottom: 18px;
	left: 18px;
	z-index: 999998;
	background: var(--scb-navy);
	color: var(--scb-gold-soft);
	border-right: 3px solid var(--scb-gold);
	padding: 9px 16px;
	border-radius: 2px;
	font-size: 12.5px;
	font-family: -apple-system, "Segoe UI", Arial, sans-serif;
	box-shadow: 0 6px 18px rgba(11, 24, 48, 0.3);
	direction: rtl;
}
