/* Raya for Clever Members - [raya-for-cm] */
.raya-store {
	--raya: #7c3aed;
	--raya-dark: #6d28d9;
	--raya-soft: #f3edff;
	font-size: 16px;
	line-height: 1.55;
}
.raya-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin: 0 auto; }
.raya-grid-1 { max-width: 420px; }
.raya-grid-2 { max-width: 860px; }
.raya-card {
	display: flex; flex-direction: column; background: #fff; color: #1d2327;
	border: 1px solid #e6e1f2; border-radius: 16px; overflow: hidden;
	box-shadow: 0 8px 26px rgba(40, 20, 90, .08);
	transition: transform .18s ease, box-shadow .18s ease;
}
.raya-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(40, 20, 90, .14); }
.raya-card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--raya-soft); }
.raya-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.raya-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.raya-card-name { margin: 0 0 2px; font-size: 1.3em; line-height: 1.25; color: inherit; }
.raya-card-credits { display: inline-block; align-self: flex-start; margin: 0 0 10px; padding: 2px 10px; border-radius: 999px; background: var(--raya-soft); color: var(--raya-dark); font-size: .88em; font-weight: 700; }
.raya-card-price { font-size: 1.9em; font-weight: 800; color: var(--raya-dark); margin: 0 0 10px; line-height: 1.2; }
.raya-card-price span { font-size: .45em; font-weight: 600; color: #646970; margin-left: 4px; }
.raya-card-desc { flex: 1; color: #50575e; font-size: .95em; }
.raya-card-desc p { margin: 0 0 10px; }
.raya-card-desc ul { margin: 0 0 10px 1.1em; padding: 0; }
.raya-buy {
	margin-top: 14px; width: 100%; border: 0; border-radius: 10px; padding: 13px 16px;
	background: var(--raya); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
	transition: background .15s;
}
.raya-buy:hover, .raya-buy:focus-visible { background: var(--raya-dark); }
.raya-buy:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.raya-store-empty { text-align: center; color: #50575e; }

html.raya-lock { overflow: hidden; }
.raya-checkout-overlay {
	position: fixed; inset: 0; z-index: 99999; background: rgba(17, 12, 34, .6);
	display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
}
.raya-checkout-overlay[hidden] { display: none; }
.raya-checkout {
	position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto;
	background: #fff; color: #1d2327; border-radius: 16px; padding: 26px 24px 22px;
	box-shadow: 0 24px 70px rgba(17, 12, 34, .35);
}
.raya-checkout h3 { margin: 0 0 14px; font-size: 1.35em; line-height: 1.25; color: inherit; }
.raya-co-close {
	position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 8px;
	background: transparent; font-size: 26px; line-height: 1; color: #50575e; cursor: pointer;
}
.raya-co-close:hover { background: #f0f0f1; }
.raya-co-summary {
	display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
	background: var(--raya-soft); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px;
}
.raya-co-summary strong { font-size: 1.25em; color: var(--raya-dark); }
.raya-co-label { display: block; font-weight: 600; font-size: .92em; margin: 0 0 5px; }
.raya-co-label span { font-weight: 400; color: #646970; }
.raya-checkout input[type="text"], .raya-checkout input[type="email"] {
	display: block; width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 11px 12px;
	border: 1px solid #c3c4c7; border-radius: 8px; font: inherit; background: #fff; color: #1d2327;
}
.raya-checkout input:focus { border-color: var(--raya); box-shadow: 0 0 0 3px var(--raya-soft); outline: 0; }
.raya-co-msg { min-height: 1em; margin: 0 0 10px; font-size: .92em; font-weight: 600; }
.raya-co-msg.is-bad { color: #b32d2e; }
.raya-co-msg.is-ok { color: var(--raya-dark); }
.raya-co-buttons { min-height: 50px; }
.raya-co-loading { color: #646970; font-size: .92em; }
.raya-co-fine { color: #646970; font-size: .82em; margin: 10px 0 0; }
.raya-key-row { display: flex; gap: 8px; align-items: stretch; margin: 0 0 16px; }
.raya-key-row code {
	flex: 1; display: flex; align-items: center; padding: 12px; border-radius: 8px;
	background: #1d2327; color: #fff; font-size: 1.02em; letter-spacing: .04em; word-break: break-all;
	user-select: all;
}
.raya-copy {
	border: 0; border-radius: 8px; padding: 0 18px; background: var(--raya); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.raya-copy:hover { background: var(--raya-dark); }
.raya-co-steps { margin: 0 0 8px 1.2em; padding: 0; }
.raya-co-steps li { margin: 0 0 6px; }

/* Sections */
.raya-section { margin: 0 0 48px; scroll-margin-top: 90px; }
.raya-section-title { margin: 0 0 6px; font-size: 1.7em; line-height: 1.25; }
.raya-section-sub { margin: 0 0 20px; color: #50575e; max-width: 760px; }
#raya-boosters .raya-card { border-style: dashed; }

/* Checkout: web address + notices */
.raya-co-summary > span { display: flex; flex-direction: column; }
.raya-co-summary small { color: #646970; font-size: .85em; margin-top: 2px; }
.raya-co-domain-row { display: flex; gap: 8px; margin: 0 0 4px; }
.raya-co-domain-row input { margin: 0 !important; }
.raya-co-check {
	flex: none; border: 0; border-radius: 8px; padding: 0 16px; background: var(--raya); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.raya-co-check:hover { background: var(--raya-dark); }
.raya-co-check:disabled { opacity: .65; cursor: default; }
.raya-co-hint { margin: 0 0 10px; color: #646970; font-size: .82em; }
.raya-co-notice { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #edfaef; color: #0a4b1a; font-size: .9em; }
.raya-co-link { border: 0; background: none; padding: 0; font: inherit; color: var(--raya-dark); text-decoration: underline; cursor: pointer; font-weight: 700; }
.raya-co-ok {
	width: 54px; height: 54px; border-radius: 50%; background: #edfaef; color: #0a6b25;
	display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 0 12px;
}
