/* CEO Review Membership — front end. Fonts inherit from the theme (headings use the theme's h2/h3 font). */
.ceom {
	--ceom-ink: #0e0c09;
	--ceom-ink-2: #1b1712;
	--ceom-gold: #c9a24f;
	--ceom-gold-deep: #8a6a1f;
	--ceom-gold-grad: linear-gradient(90deg, #a8822e 0%, #d4ae5a 55%, #f2d892 100%);
	--ceom-cream: #faf6ee;
	--ceom-cream-2: #f5efe3;
	--ceom-line: #ebe4d6;
	--ceom-text: #1c1a17;
	--ceom-muted: #6f675b;
	--ceom-danger: #a3352b;
	--ceom-success: #2f6b3a;
	--ceom-radius: 18px;
	--ceom-shadow: 0 24px 60px -30px rgba(14, 12, 9, .25);
	color: var(--ceom-text);
	font-size: 17px;
	line-height: 1.6;
	box-sizing: border-box;
}
.ceom *, .ceom *::before, .ceom *::after { box-sizing: inherit; }
.ceom p { margin: 0 0 14px; }
.ceom a { color: var(--ceom-gold-deep); text-underline-offset: 3px; }
.ceom a:hover { color: var(--ceom-ink); }
.ceom h2, .ceom h3 { color: var(--ceom-ink); line-height: 1.2; margin: 0; }
.ceom [hidden] { display: none !important; }
.ceom-muted { color: var(--ceom-muted); }
.ceom-mt { margin-top: 34px !important; }

/* ------------------------------------------------ Cards */
.ceom-card {
	background: #fff;
	border: 1px solid var(--ceom-line);
	border-radius: var(--ceom-radius);
	padding: 28px;
}
.ceom-card--accent {
	position: relative;
	padding: 48px;
	box-shadow: var(--ceom-shadow);
	border-top: 0;
	border-radius: 4px 4px var(--ceom-radius) var(--ceom-radius);
}
.ceom-card--accent::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--ceom-gold-grad);
	border-radius: 4px 4px 0 0;
}
.ceom-section {
	border: 1px solid var(--ceom-line);
	border-radius: var(--ceom-radius);
	padding: 34px 44px;
	margin-bottom: 28px;
}
.ceom-section__title { font-size: 28px; font-weight: 700; margin-bottom: 22px !important; letter-spacing: -.01em; }
.ceom-card .ceom-section__title { font-size: 24px; }
.ceom-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ceom-gold);
}
.ceom-eyebrow--dark { color: var(--ceom-gold-deep); }

/* ------------------------------------------------ Buttons */
.ceom-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 17px 32px;
	border: 0;
	border-radius: 6px;
	background: var(--ceom-gold-grad);
	color: var(--ceom-ink) !important;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: 0 10px 24px -14px rgba(138, 106, 31, .8);
	transition: filter .2s, transform .2s;
}
.ceom-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ceom-btn:focus-visible { outline: 2px solid var(--ceom-ink); outline-offset: 3px; }
.ceom-btn--lg { padding: 20px 36px; }
.ceom-btn--block { width: 100%; }
.ceom-btn--outline, .ceom-btn--ghost {
	background: transparent;
	box-shadow: none;
	border: 1px solid var(--ceom-gold);
	color: var(--ceom-gold-deep) !important;
	padding: 14px 22px;
	font-size: 12px;
}
.ceom-btn--outline:hover { background: var(--ceom-cream); }
.ceom-plan .ceom-btn--ghost { color: var(--ceom-gold) !important; }
.ceom-plan .ceom-btn--ghost:hover { background: rgba(201, 162, 79, .1); }
.ceom-btn.is-loading { opacity: .65; pointer-events: none; }
.ceom-linkbtn {
	background: none; border: 0; padding: 0; font: inherit; font-size: 15px;
	color: var(--ceom-gold-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ------------------------------------------------ Forms */
.ceom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.ceom-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.ceom-grid .ceom-field { margin-bottom: 0; }
.ceom-field--full { grid-column: 1 / -1; }
.ceom-label { font-size: 14px; font-weight: 600; color: var(--ceom-ink); }
.ceom-req { color: var(--ceom-gold-deep); }
.ceom-hint { font-size: 13px; color: var(--ceom-muted); }
.ceom .ceom-input {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	margin: 0;
	border: 1px solid #ddd4c3;
	border-radius: 10px;
	background: #fff;
	color: var(--ceom-text);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.ceom .ceom-input:focus {
	outline: 0;
	border-color: var(--ceom-gold);
	box-shadow: 0 0 0 4px rgba(201, 162, 79, .18);
}
.ceom-inline { display: flex; gap: 10px; }
.ceom-inline .ceom-input { flex: 1; }
.ceom-check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.ceom-check input { margin-top: 5px; accent-color: var(--ceom-gold-deep); }
.ceom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }

/* Discount */
.ceom-discount { border-top: 1px solid var(--ceom-text); padding-top: 22px; margin-top: 30px; }
.ceom-discount__toggle { margin: 0; }
.ceom-discount__toggle a { color: var(--ceom-text); text-decoration: underline; }
.ceom-discount__field { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.ceom-discount__msg { margin: 0 !important; font-size: 14px; min-height: 1em; }
.ceom-discount__msg.is-ok { color: var(--ceom-success); }
.ceom-discount__msg.is-error { color: var(--ceom-danger); }

/* Payment method */
.ceom-paymethod {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 20px; border: 1px solid var(--ceom-gold); border-radius: 12px; background: var(--ceom-cream);
	cursor: pointer;
}
.ceom-paymethod input { margin-top: 6px; accent-color: var(--ceom-gold-deep); }
.ceom-paymethod__body { display: flex; flex-direction: column; gap: 4px; }
.ceom-paymethod__title { font-weight: 700; color: var(--ceom-ink); }
.ceom-paymethod__desc { font-size: 15px; color: var(--ceom-muted); }
.ceom-bankbox { margin-top: 16px; padding: 18px 20px; border: 1px dashed #ddd4c3; border-radius: 12px; }
.ceom-bank { list-style: none; margin: 0 0 16px; padding: 0; font-size: 16px; }
.ceom-bankbox .ceom-bank { margin: 0; }
.ceom-bank li { margin: 0 0 2px; }
.ceom-bank strong { color: var(--ceom-ink); }

/* Alerts & notices */
.ceom-alert {
	padding: 14px 18px; margin-bottom: 24px; border-radius: 10px;
	background: var(--ceom-cream); border: 1px solid var(--ceom-line); font-size: 15px;
}
.ceom-alert ul { margin: 6px 0 0 18px; padding: 0; }
.ceom-alert--error { background: #fbefed; border-color: #efc9c3; color: #6e221b; }
.ceom-alert--success { background: #eef6ef; border-color: #cfe3d2; color: #1f4d28; }
.ceom-notice {
	padding: 16px 18px; margin: 22px 0; border-radius: 10px;
	background: var(--ceom-cream); border: 1px solid #ece2cc; font-size: 16px;
}
.ceom-notice > p:last-child { margin-bottom: 0; }
.ceom-notice--warn { background: #fff8e6; border-color: #f1dfa8; }
.ceom-notice--success { background: #eef6ef; border-color: #cfe3d2; }
.ceom-payref { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.ceom-inline-form { margin: 0; }

/* Badges */
.ceom-badge {
	display: inline-block; padding: 5px 12px; border-radius: 4px;
	font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap;
	background: #f1ede4; color: #5a5246;
}
.ceom-badge--pending { background: #fbf1cf; color: #6b520f; }
.ceom-badge--paid, .ceom-badge--active { background: #e3f1e5; color: #22582d; }
.ceom-badge--expired, .ceom-badge--cancelled, .ceom-badge--refunded { background: #f7e3e0; color: #7c2a21; }

/* ------------------------------------------------ Checkout */
.ceom-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.ceom-checkout__side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 32px; }
.ceom-level-desc { color: var(--ceom-muted); }

/* Plan (dark) card */
.ceom-plan {
	position: relative;
	overflow: hidden;
	padding: 36px 34px;
	border-radius: 22px;
	color: #efe7d6;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(201, 162, 79, .12), transparent 60%),
		linear-gradient(160deg, var(--ceom-ink-2), var(--ceom-ink));
	border: 1px solid #2a241b;
}
.ceom-plan__name { color: #f5efe3 !important; font-size: 28px; font-weight: 700; margin: 10px 0 10px !important; }
.ceom-plan__price { display: flex; align-items: baseline; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid rgba(239, 231, 214, .14); }
.ceom-plan__amount {
	font-size: 56px; font-weight: 700; line-height: 1.05;
	background: var(--ceom-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-family: inherit;
}
.ceom-plan__cycle { color: #b9b0a0; font-size: 17px; }
.ceom-plan__desc { color: #c9c0af; font-size: 15px; margin-top: 18px; }
.ceom-plan__features { list-style: none; margin: 22px 0 0; padding: 0; }
.ceom-plan__features li { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 14px; font-size: 16px; font-weight: 500; color: #efe7d6; }
.ceom-plan__features li:last-child { margin-bottom: 0; }
.ceom-plan__features svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--ceom-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ceom-plan .ceom-btn { margin-top: 26px; }

.ceom-help { padding: 28px; }
.ceom-help__title { font-size: 22px; margin-bottom: 10px !important; }
.ceom-help p { color: var(--ceom-muted); font-size: 16px; }
.ceom-help__link { font-weight: 700; text-decoration: none; }

/* ------------------------------------------------ Confirmation / invoice */
.ceom-confirm__card { max-width: 946px; }
.ceom-lead { font-size: 17px; }
.ceom-level-msg { margin: 0 0 14px; }
.ceom-invoice {
	margin: 42px 0 0;
	padding: 18px 34px 34px;
	border: 1px solid var(--ceom-line);
	border-radius: var(--ceom-radius);
	background: #fff;
}
.ceom-invoice__bar { display: flex; justify-content: flex-end; padding-bottom: 16px; border-bottom: 1px solid var(--ceom-text); }
.ceom-print { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ceom-text) !important; text-decoration: underline; }
.ceom-print svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.ceom-invoice__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 34px 0 30px; }
.ceom-invoice__title { font-size: 24px; font-weight: 700; }
.ceom-invoice__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 40px; margin: 0 0 34px; padding: 0 0 34px; border-bottom: 2px solid var(--ceom-text); }
.ceom-invoice__meta dt { font-weight: 700; color: var(--ceom-ink); font-size: 16px; }
.ceom-invoice__meta dd { margin: 2px 0 0; font-size: 16px; }
.ceom-invoice__pay { padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--ceom-text); }
.ceom-invoice__subtitle { font-size: 24px; font-weight: 700; margin-bottom: 20px !important; }
.ceom-invoice__table { width: 100%; border-collapse: collapse; margin: 20px 0 0; font-size: 16px; }
.ceom-invoice__table th, .ceom-invoice__table td { padding: 14px 12px; text-align: left; border: 0; background: none; }
.ceom-invoice__table thead th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5a5246; border-bottom: 1px solid var(--ceom-text); }
.ceom-invoice__table tbody td { border-bottom: 1px solid var(--ceom-text); }
.ceom-invoice__table tbody td:first-child { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #5a5246; }
.ceom-invoice__table tfoot th, .ceom-invoice__table tfoot td { font-weight: 700; color: var(--ceom-ink); }
.ceom .ceom-num { text-align: right !important; }
.ceom-confirm__links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; font-size: 16px; }
.ceom-confirm__links a { text-decoration: none; }

/* ------------------------------------------------ Account */
.ceom-account { max-width: 1100px; }
.ceom-account__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.ceom-account__title { font-size: 34px; font-weight: 700; margin-top: 6px !important; }
.ceom-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--ceom-line); margin-bottom: 30px; }
.ceom-tab {
	padding: 12px 20px; margin-bottom: -1px; border-bottom: 2px solid transparent;
	font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ceom-muted) !important; text-decoration: none !important;
}
.ceom-tab.is-active { color: var(--ceom-ink) !important; border-color: var(--ceom-gold); }
.ceom-account__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.ceom-plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ceom-plan__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 0; padding: 20px 0; border-top: 1px solid rgba(239, 231, 214, .14); }
.ceom-plan__dates dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #a89f8e; }
.ceom-plan__dates dd { margin: 4px 0 0; font-size: 18px; color: #f5efe3; font-weight: 600; }
.ceom-plan__msg { font-size: 15px; color: #d6cdbb; }
.ceom-plan__msg a { color: var(--ceom-gold); }
.ceom-plan__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ceom-plan__actions .ceom-btn { margin-top: 8px; }
.ceom-plan__note { margin: 16px 0 0 !important; font-size: 14px; color: #b9b0a0; }
.ceom-kv { margin: 0 0 14px; }
.ceom-kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ceom-line); }
.ceom-kv dt { color: var(--ceom-muted); font-size: 15px; }
.ceom-kv dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.ceom-empty { text-align: left; }
.ceom-table-wrap { overflow-x: auto; }
.ceom-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ceom-table th, .ceom-table td { padding: 14px 10px; text-align: left; border: 0; border-bottom: 1px solid var(--ceom-line); background: none; }
.ceom-table th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ceom-muted); }

/* ------------------------------------------------ Login */
.ceom-login__card { max-width: 520px; margin: 0 auto; }
.ceom-login__title { font-size: 30px; font-weight: 700; margin: 8px 0 26px !important; }
.ceom-login__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 22px; font-size: 15px; }
.ceom-login__foot { margin: 22px 0 0 !important; text-align: center; color: var(--ceom-muted); font-size: 15px; }

/* ------------------------------------------------ Levels grid */
.ceom-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }

/* ------------------------------------------------ Paywall */
.ceom-teaser { position: relative; max-height: 260px; overflow: hidden; }
.ceom-teaser::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.ceom-paywall { margin: 24px 0 40px; }
.ceom-paywall__box {
	text-align: center; padding: 48px 32px; border-radius: 22px; color: #efe7d6;
	background:
		radial-gradient(90% 70% at 50% 0%, rgba(201, 162, 79, .16), transparent 70%),
		linear-gradient(160deg, var(--ceom-ink-2), var(--ceom-ink));
}
.ceom-paywall__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; border: 1px solid rgba(201, 162, 79, .5); }
.ceom-paywall__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--ceom-gold); stroke-width: 1.8; stroke-linecap: round; }
.ceom-paywall__title { color: #f5efe3 !important; font-size: 32px; font-weight: 700; margin: 10px 0 12px !important; }
.ceom-paywall__text { max-width: 560px; margin: 0 auto 18px !important; color: #cfc6b4; }
.ceom-paywall__price { font-size: 30px; font-weight: 700; color: var(--ceom-gold); margin-bottom: 22px !important; }
.ceom-paywall__price span { font-size: 16px; font-weight: 400; color: #b9b0a0; }
.ceom-paywall__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ceom .ceom-paywall__login { color: #d8cdb6; font-size: 15px; }
.ceom .ceom-paywall__login:hover { color: #fff; }

/* ------------------------------------------------ Responsive */
@media (max-width: 1024px) {
	.ceom-checkout { grid-template-columns: 1fr; gap: 32px; }
	.ceom-checkout__side { position: static; order: -1; }
	.ceom-account__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.ceom { font-size: 16px; }
	.ceom-card--accent { padding: 28px 18px; }
	.ceom-section { padding: 24px 18px; }
	.ceom-section__title { font-size: 23px; }
	.ceom-grid, .ceom-invoice__meta, .ceom-plan__dates { grid-template-columns: 1fr; }
	.ceom-invoice { padding: 14px 16px 22px; }
	.ceom-invoice__head { flex-wrap: wrap; }
	.ceom-plan { padding: 28px 22px; }
	.ceom-plan__amount { font-size: 46px; }
	.ceom-inline { flex-direction: column; }
	.ceom-btn--lg { width: 100%; }
	.ceom-table thead { display: none; }
	.ceom-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--ceom-line); }
	.ceom-table td { display: flex; justify-content: space-between; border: 0; padding: 5px 0; }
	.ceom-table td[data-label]::before { content: attr(data-label); color: var(--ceom-muted); font-size: 13px; }
}

/* ------------------------------------------------ Print: invoice only */
@media print {
	body * { visibility: hidden !important; }
	.ceom-invoice, .ceom-invoice * { visibility: visible !important; }
	.ceom-invoice { position: absolute; left: 0; top: 0; width: 100%; border: 0; margin: 0; }
	.ceom-invoice__bar { display: none; }
}

/* ================================================ Outlined fields with notched floating labels
   Same pattern as the NextCorp CRM / Catchycourt forms: the label rests inside the box and
   moves onto the top border on focus or when filled. Selectors are strong + !important so the
   site's snippet (.crq-pmcard input{…!important}) and the theme can't override them.
   --fl-bg must equal the background behind the field (it paints the notch). */
.ceom-fl { position: relative; --fl-bg: #fff; }
.ceom-fl-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ceom-fl-wrap--full { grid-column: 1 / -1; }
.ceom-fl-stack { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.ceom .ceom-grid { gap: 18px 16px; }

html body .ceom .ceom-fl .ceom-fl__input {
	display: block; width: 100%; height: 56px; margin: 0;
	padding: 0 16px !important;
	border: 1px solid #d6cfbf !important; border-radius: 10px !important;
	background: var(--fl-bg) !important; box-shadow: none !important;
	font: inherit; font-size: 16px !important; line-height: normal; color: var(--ceom-text) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
	-webkit-appearance: none; appearance: none;
}
html body .ceom .ceom-fl .ceom-fl__input:hover { border-color: #bdb4a4 !important; }
html body .ceom .ceom-fl .ceom-fl__input:focus {
	outline: 0; border-color: var(--ceom-gold) !important;
	box-shadow: 0 0 0 3px rgba(201, 162, 79, .18) !important;
}
html body .ceom .ceom-fl.ceom-fl--pass .ceom-fl__input { padding-right: 52px !important; }
html body .ceom .ceom-fl .ceom-fl__input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px var(--fl-bg) inset !important; }

.ceom .ceom-fl label {
	position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
	max-width: calc(100% - 28px); margin: 0; padding: 0 6px;
	font-size: 15px; font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none;
	color: #9a917f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	/* lower half only, so the 3px focus ring never shows as a line through the label */
	background: linear-gradient(transparent calc(50% - 3px), var(--fl-bg) calc(50% - 3px));
	pointer-events: none;
	transition: top .15s ease, font-size .15s ease, color .15s ease;
}
.ceom .ceom-fl .ceom-fl__input:focus + label,
.ceom .ceom-fl .ceom-fl__input:not(:placeholder-shown) + label,
.ceom .ceom-fl .ceom-fl__input:-webkit-autofill + label {
	top: 0 !important; font-size: 12px; font-weight: 600; color: #625c52;
}
.ceom .ceom-fl .ceom-fl__input:focus + label { color: var(--ceom-gold-deep); }
.ceom .ceom-fl label .ceom-req { color: var(--ceom-gold-deep); }
.ceom .ceom-fl .ceom-eye { right: 8px; }
.ceom .ceom-hint { padding-left: 4px; font-size: 12.5px; }

/* coupon */
.ceom-coupon__field .ceom-fl { --fl-bg: #fffcf4; flex: 1; }
html body .ceom .ceom-fl--code .ceom-fl__input { text-transform: uppercase; letter-spacing: .12em; font-weight: 600 !important; }
.ceom-coupon__row { align-items: stretch; }
html body .ceom .ceom-coupon__row .ceom-btn--dark { height: 56px; border-radius: 10px !important; padding: 0 26px !important; }

@media (max-width: 680px) {
	html body .ceom .ceom-fl .ceom-fl__input { height: 52px; }
	.ceom .ceom-grid { gap: 16px; }
	html body .ceom .ceom-coupon__row .ceom-btn--dark { height: 50px; }
}

/* ================================================ Embedded in the site's snippet layout (.crq-pmcard)
   The snippet already draws the card (gold top bar, border, shadow) and the plan sidebar,
   so our own card chrome and sidebar are dropped, and its !important input/button rules are overridden. */
.ceom-checkout--solo { grid-template-columns: minmax(0, 1fr); }
.crq-pmcard .ceom-checkout { grid-template-columns: minmax(0, 1fr); gap: 0; }
.crq-pmcard .ceom-checkout__side { display: none; }
.crq-pmcard .ceom .ceom-card--accent { padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; }
.crq-pmcard .ceom .ceom-card--accent::before { display: none; }
.crq-pmcard .ceom-confirm__card, .crq-pmcard .ceom-login__card { max-width: none; }
.crq-pmcard .ceom .ceom-control .ceom-input {
	padding: 0 16px 0 46px !important; height: 54px; border-radius: 12px !important;
	border: 1px solid #ddd4c3 !important; background: #fcfbf8 !important; font-size: 16px !important;
}
.crq-pmcard .ceom .ceom-control .ceom-input:focus { background: #fff !important; border-color: var(--ceom-gold) !important; }
.crq-pmcard .ceom .ceom-control .ceom-input[type="password"] { padding-right: 52px !important; }
.crq-pmcard .ceom .ceom-input:not(.ceom-control .ceom-input) { padding: 0 16px !important; height: 50px; }
.crq-pmcard .ceom .ceom-submit .ceom-btn {
	display: flex; width: 100%; justify-content: space-between; padding: 20px 24px !important;
	border-radius: 12px !important; font-size: 15px !important; letter-spacing: .16em;
}
.crq-pmcard .ceom .ceom-btn--dark { background: var(--ceom-ink) !important; color: var(--ceom-gold) !important; padding: 0 24px !important; font-size: 12px !important; }
.crq-pmcard .ceom .ceom-btn--outline { background: transparent !important; border: 1px solid var(--ceom-gold) !important; color: var(--ceom-gold-deep) !important; }
.crq-pmcard .ceom .ceom-step__title, .crq-pmcard .ceom .ceom-co-head__title { color: var(--ceom-ink) !important; }
.crq-pmcard .ceom-co-head { display: none; } /* the snippet hero already says "Membership Checkout" */
@media (max-width: 680px) {
	.crq-pmcard .ceom .ceom-btn--dark { padding: 14px !important; }
	.crq-pmcard .ceom .ceom-submit .ceom-btn { padding: 18px !important; font-size: 13px !important; }
}

/* ================================================ Checkout v2 (attractive form) */
.ceom-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ceom-checkout .ceom-card--accent { padding: 44px 48px 40px; background: linear-gradient(180deg, #fffdf8 0, #fff 220px); }

.ceom-co-head { margin-bottom: 30px; }
.ceom-co-head .ceom-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--ceom-cream); border: 1px solid #ecdfbf; }
.ceom-co-head .ceom-ico { width: 14px; height: 14px; }
.ceom-co-head__title { font-size: 36px; font-weight: 700; margin: 16px 0 8px !important; letter-spacing: -.015em; }
.ceom-co-head__sub { color: var(--ceom-muted); margin: 0 !important; }

/* Steps */
.ceom-step { position: relative; padding: 0 0 34px 62px; margin: 0 0 34px; border-bottom: 1px solid var(--ceom-line); }
.ceom-step::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 0; width: 1px; background: linear-gradient(var(--ceom-gold), rgba(201, 162, 79, 0)); opacity: .45; }
.ceom-step__head { position: relative; display: flex; align-items: center; gap: 16px; margin: 0 0 22px -62px; }
.ceom-step__num {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--ceom-ink); color: var(--ceom-gold); font-weight: 700; font-size: 17px;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #e7d8b4;
}
.ceom-step__title { font-size: 24px; font-weight: 700; margin: 0 !important; }
.ceom-step__sub { margin: 2px 0 0 !important; font-size: 14px; color: var(--ceom-muted); }

/* Selected plan */
.ceom-selected {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 18px 22px; border-radius: 14px; background: var(--ceom-cream);
	border: 1px solid #ecdfbf; border-left: 4px solid var(--ceom-gold);
}
.ceom-selected__info { display: flex; align-items: center; gap: 14px; }
.ceom-selected__tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ceom-gold-grad); color: var(--ceom-ink); flex: none; }
.ceom-selected__tick .ceom-ico { width: 16px; height: 16px; stroke-width: 2.6; }
.ceom-selected__name { margin: 0 !important; font-weight: 700; font-size: 18px; color: var(--ceom-ink); }
.ceom-selected__meta { margin: 2px 0 0 !important; font-size: 15px; color: var(--ceom-muted); }
.ceom-selected__meta strong { color: var(--ceom-ink); }
.ceom-selected__change { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ceom-checkout .ceom-level-desc { margin-top: 14px; font-size: 15px; }

/* Coupon ticket */
.ceom-coupon { margin-top: 18px; }
.ceom-coupon__toggle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 !important; padding: 14px 18px; border: 1.5px dashed #d9c590; border-radius: 12px; background: #fff; font-size: 15px; color: var(--ceom-muted); }
.ceom-coupon__toggle .ceom-ico { color: var(--ceom-gold-deep); }
.ceom-coupon__toggle a { font-weight: 600; }
.ceom-coupon__field { padding: 18px; border: 1.5px dashed #d9c590; border-radius: 12px; background: #fffcf4; display: flex; flex-direction: column; gap: 8px; }
.ceom-coupon__row { display: flex; gap: 10px; }
.ceom-coupon__row .ceom-control { flex: 1; }
.ceom .ceom-input--code { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }

/* Inputs with icons */
.ceom-control { position: relative; }
.ceom-control > .ceom-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #a99f8c; pointer-events: none; transition: color .2s; }
.ceom .ceom-control .ceom-input { padding-left: 46px; height: 54px; border-radius: 12px; background: #fcfbf8; }
.ceom .ceom-control .ceom-input:focus { background: #fff; }
.ceom-control:focus-within > .ceom-ico { color: var(--ceom-gold-deep); }
.ceom-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; background: none; color: #a99f8c; cursor: pointer; }
.ceom-eye:hover, .ceom-eye.is-on { color: var(--ceom-gold-deep); background: var(--ceom-cream); }
.ceom .ceom-control .ceom-input[type="password"], .ceom .ceom-control .ceom-eye ~ .ceom-input { padding-right: 52px; }
.ceom-checkout .ceom-label { font-size: 13px; letter-spacing: .04em; }

/* Logged-in user chip */
.ceom-who { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--ceom-line); border-radius: 14px; background: #fff; }
.ceom-who__avatar { border-radius: 50%; box-shadow: 0 0 0 3px #f0e5c9; }
.ceom-who__text { flex: 1; min-width: 0; }
.ceom-who__name { margin: 0 !important; font-weight: 700; color: var(--ceom-ink); }
.ceom-who__name span { font-weight: 400; color: var(--ceom-muted); font-size: 14px; }
.ceom-who__mail { margin: 0 !important; font-size: 14px; color: var(--ceom-muted); overflow: hidden; text-overflow: ellipsis; }
.ceom-who__out { font-size: 14px; white-space: nowrap; }
.ceom-login-hint { padding: 12px 16px; border-radius: 10px; background: var(--ceom-cream); font-size: 15px; }

/* Payment card */
.ceom-paycard { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 20px 56px 20px 20px; border: 2px solid var(--ceom-gold); border-radius: 14px; background: linear-gradient(135deg, #fffaf0, #fff); cursor: pointer; box-shadow: 0 12px 30px -22px rgba(138, 106, 31, .6); }
.ceom-paycard input { position: absolute; opacity: 0; }
.ceom-paycard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ceom-ink); color: var(--ceom-gold); flex: none; }
.ceom-paycard__icon .ceom-ico { width: 22px; height: 22px; }
.ceom-paycard__body { display: flex; flex-direction: column; gap: 4px; }
.ceom-paycard__title { font-weight: 700; color: var(--ceom-ink); font-size: 17px; }
.ceom-paycard__desc { font-size: 14px; color: var(--ceom-muted); line-height: 1.55; }
.ceom-paycard__radio { position: absolute; right: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ceom-gold); background: #fff; }
.ceom-paycard input:checked ~ .ceom-paycard__radio { background: radial-gradient(circle, var(--ceom-gold-deep) 0 5px, #fff 6px); }
.ceom-paycard input:focus-visible ~ .ceom-paycard__radio { outline: 2px solid var(--ceom-ink); outline-offset: 2px; }

/* Bank details grid */
.ceom-bankgrid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border: 1px solid var(--ceom-line); border-radius: 14px; overflow: hidden; background: #fff; }
.ceom-bankgrid__item { display: flex; flex-direction: column; gap: 3px; padding: 14px 18px; border-bottom: 1px solid var(--ceom-line); }
.ceom-bankgrid__item:nth-child(odd) { border-right: 1px solid var(--ceom-line); }
.ceom-bankgrid__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9a907d; }
.ceom-bankgrid__value { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; color: var(--ceom-ink); word-break: break-all; }
.ceom-copy { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border: 1px solid #e5d7b2; border-radius: 6px; background: var(--ceom-cream); color: var(--ceom-gold-deep); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; flex: none; }
.ceom-copy .ceom-ico { width: 13px; height: 13px; }
.ceom-copy:hover { background: #f3e8cc; }
.ceom-copy.is-done { background: #e3f1e5; border-color: #bfe0c6; color: #22582d; }
.ceom-copy.is-done span { font-size: 0; }
.ceom-copy.is-done span::after { content: "Copied"; font-size: 12px; }

/* Submit */
.ceom-submit { margin-top: 4px; }
.ceom-submit .ceom-btn { justify-content: space-between; padding: 20px 24px; border-radius: 12px; font-size: 15px; }
.ceom-submit .ceom-btn > span:first-of-type { flex: 1; text-align: left; }
.ceom-submit__amount { padding: 6px 12px; border-radius: 8px; background: rgba(14, 12, 9, .9); color: var(--ceom-gold); letter-spacing: .04em; }
.ceom-submit__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0 !important; font-size: 13px; color: var(--ceom-muted); text-align: center; }
.ceom-submit__note .ceom-ico { color: var(--ceom-success); width: 16px; height: 16px; }
.ceom-btn--dark { background: var(--ceom-ink); color: var(--ceom-gold) !important; box-shadow: none; padding: 0 24px; font-size: 12px; }
.ceom-btn--dark:hover { filter: none; background: #26211a; }

/* Sidebar summary & trust */
.ceom-summary { margin: 26px 0 0; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(239, 231, 214, .12); }
.ceom-summary > div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.ceom-summary dt { color: #b9b0a0; }
.ceom-summary dd { margin: 0; color: #f5efe3; }
.ceom-summary__discount dd { color: #9fd3a8; }
.ceom-summary__total { margin-top: 8px; padding-top: 12px !important; border-top: 1px dashed rgba(239, 231, 214, .2); }
.ceom-summary__total dt { color: #f5efe3; font-weight: 700; }
.ceom-summary__total dd { color: var(--ceom-gold); font-weight: 700; font-size: 20px; }

.ceom-trust { padding: 24px; }
.ceom-trust__list { list-style: none; margin: 0; padding: 0; }
.ceom-trust__list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ceom-line); font-size: 14px; color: var(--ceom-muted); }
.ceom-trust__list li:first-child { padding-top: 0; }
.ceom-trust__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ceom-trust__list .ceom-ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--ceom-cream); color: var(--ceom-gold-deep); }
.ceom-trust__list strong { display: block; color: var(--ceom-ink); font-size: 15px; }
.ceom-trust__list a { font-weight: 700; text-decoration: none; word-break: break-all; }

@media (max-width: 680px) {
	.ceom-checkout .ceom-card--accent { padding: 28px 18px; }
	.ceom-co-head__title { font-size: 28px; }
	.ceom-step { padding-left: 0; }
	.ceom-step::before { display: none; }
	.ceom-step__head { margin-left: 0; }
	.ceom-step__num { width: 38px; height: 38px; font-size: 15px; }
	.ceom-step__title { font-size: 21px; }
	.ceom-selected { flex-direction: column; align-items: flex-start; }
	.ceom-bankgrid { grid-template-columns: 1fr; }
	.ceom-bankgrid__item:nth-child(odd) { border-right: 0; }
	.ceom-coupon__row { flex-direction: column; }
	.ceom-btn--dark { padding: 14px; }
	.ceom-who { flex-wrap: wrap; }
	.ceom-submit .ceom-btn { font-size: 13px; padding: 18px; }
}
