/**
 * RTL front-end styles.
 *
 * Loaded automatically in place of frontend.css by wp_style_add_data( ..., 'rtl', 'replace' ).
 */

.shabme-closed-button {
	display: inline-block;
	padding: 0.6em 1.2em;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: not-allowed;
	box-shadow: none;
	transition: none;
	direction: rtl;
}

.shabme-closed-button:hover,
.shabme-closed-button:focus {
	text-decoration: none;
	opacity: 0.9;
}

/* Standing in for "Proceed to checkout", which themes render full width. */
.shabme-closed-button--wide {
	display: block;
	width: 100%;
	box-sizing: border-box;
}

.shabme-banner {
	margin: 0 0 1.5em;
	direction: rtl;
}

.shabme-banner--injected {
	padding: 1em 1.5em;
	text-align: center;
	background: #f6f5f2;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shabme-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 3rem 1.5rem;
	text-align: center;
	direction: rtl;
}

.shabme-standalone {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Rubik, Arial, sans-serif;
	color: #2b2b2b;
	background: #fdfcfa;
	direction: rtl;
}

.shabme-standalone .shabme-screen {
	min-height: 100vh;
}

.shabme-screen__inner {
	max-width: 34rem;
}

.shabme-screen__title {
	margin: 0 0 0.6em;
	font-size: clamp(1.9rem, 5vw, 2.8rem);
	font-weight: 600;
	line-height: 1.2;
	color: #b8860b;
}

.shabme-screen__body {
	margin: 0 0 1.8em;
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	line-height: 1.7;
	opacity: 0.85;
}

.shabme-screen__link {
	display: inline-block;
	padding: 0.7em 1.6em;
	color: #b8860b;
	text-decoration: none;
	border: 1px solid #b8860b;
	border-radius: 6px;
}

.shabme-screen__link:hover,
.shabme-screen__link:focus {
	color: #fff;
	background: #b8860b;
}

.shabme-preview-banner {
	position: relative;
	z-index: 99999;
	padding: 0.65em 1.25em;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	text-align: center;
	background: #b32d2e;
	direction: rtl;
}

@media (prefers-color-scheme: dark) {
	.shabme-standalone {
		color: #ececec;
		background: #16161a;
	}

	.shabme-banner--injected {
		background: #1f1f24;
		border-bottom-color: rgba(255, 255, 255, 0.1);
	}
}
