.ldp-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 1rem;
}

.ldp-modal {
	direction: rtl;
	text-align: right;
	background: #fff;
	border-radius: 10px;
	padding: 1.75rem;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.ldp-title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
}

.ldp-explanation {
	margin: 0 0 1.25rem;
	color: #555;
	font-size: 0.95rem;
	line-height: 1.5;
}

.ldp-error {
	background: #fdecea;
	color: #b02a1e;
	border-radius: 6px;
	padding: 0.6rem 0.8rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.ldp-choices {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.ldp-choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 2px solid #ddd;
	background: #fafafa;
	color: #222;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

/* Explicit color on hover/focus: the site's global button styles set
   color:#fff on hover (meant for buttons with a dark background), which
   made this button's light-on-light hover state unreadable. */
.ldp-choice:hover,
.ldp-choice:focus-visible {
	border-color: #c9a13b;
	background: #fff8ea;
	color: #222;
}

.ldp-choice-subscription {
	border-color: #c9a13b;
}

.ldp-choice-label {
	color: inherit;
	font-weight: 600;
}

.ldp-choice-price {
	color: #333;
	font-weight: 700;
}

.ldp-cancel {
	display: block;
	width: 100%;
	background: none;
	border: none;
	color: #888;
	font-size: 0.9rem;
	padding: 0.5rem;
	cursor: pointer;
	text-decoration: underline;
}

.ldp-cancel:hover,
.ldp-cancel:focus-visible {
	color: #555;
}

.ldp-loading {
	text-align: center;
	color: #666;
	padding: 1.25rem 0;
	font-size: 0.95rem;
}
