/* ==========================================================================
   Xikma E-Book Theme Stylesheet
   Exact 1:1 design match to Xikma Next.js BundleLanding + Success + WooCommerce
   ========================================================================== */

:root {
	--xikma-bg: #FAFBF8;
	--xikma-fg: #131714;
	--xikma-muted: #48504B;
	--xikma-muted-2: #464D49;
	--xikma-forest: #0E281E;
	--xikma-forest-icon: #2D473B;
	--xikma-gold: #FAD82D;
	--xikma-gold-hover: #F4CE14;
	--xikma-gold-border: #E5C116;
	--xikma-cream: #EFEFE7;
	--xikma-cream-border: #E2E2D8;
	--xikma-divider: #E4E5DF;
	--xikma-emerald: #10B981;
	--xikma-emerald-dark: #059669;
	--xikma-font: 'Inter', 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.xikma-body {
	margin: 0;
	background-color: var(--xikma-bg);
	color: var(--xikma-fg);
	font-family: var(--xikma-font);
	line-height: 1.5;
}

.xikma-page-wrap {
	min-height: 100vh;
	padding-bottom: 112px;
}

.xikma-inner-page {
	padding-bottom: 48px;
}

.xikma-container {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (min-width: 768px) {
	.xikma-container {
		max-width: 740px;
		padding: 0 32px;
	}
}

@media (min-width: 1024px) {
	.xikma-page-wrap {
		padding-bottom: 96px;
	}
	.xikma-container {
		max-width: 940px;
	}
}

/* ─── TOP DARK FOREST RIBBON ─────────────────────────────────────────────── */
.xikma-ribbon {
	width: 100%;
	background-color: var(--xikma-forest);
	color: #E9EFEA;
	padding: 10px 12px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.xikma-ribbon-inner {
	max-width: 56rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (min-width: 640px) {
	.xikma-ribbon-inner {
		font-size: 12px;
	}
}

.xikma-ribbon-days {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--xikma-gold);
	font-variant-numeric: tabular-nums;
}

.xikma-ribbon-gold {
	color: var(--xikma-gold);
}

.xikma-ribbon-soft {
	color: rgba(245, 224, 138, 0.9);
}

@keyframes livePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.live-dot {
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background-color: var(--xikma-gold);
	display: inline-block;
	animation: livePulse 1.6s ease-in-out infinite;
}

/* ─── TACTILE YELLOW CTA BUTTON ──────────────────────────────────────────── */
.btn-yellow,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
	background-color: var(--xikma-gold) !important;
	color: var(--xikma-fg) !important;
	border: 1px solid var(--xikma-gold-border) !important;
	border-bottom: 3.5px solid var(--xikma-fg) !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em !important;
	text-decoration: none !important;
	transition: transform 0.12s ease, background-color 0.15s ease !important;
	cursor: pointer !important;
}

.btn-yellow:hover:not(:disabled),
.woocommerce #payment #place_order:hover:not(:disabled) {
	background-color: var(--xikma-gold-hover) !important;
}

.btn-yellow:active:not(:disabled),
.woocommerce #payment #place_order:active:not(:disabled) {
	transform: translateY(1.5px);
	border-bottom-width: 2px !important;
}

/* ─── HERO SECTION ───────────────────────────────────────────────────────── */
.xikma-hero {
	padding: 28px 0 32px;
}

@media (min-width: 768px) {
	.xikma-hero {
		padding: 40px 0 48px;
	}
}

@media (min-width: 1024px) {
	.xikma-hero {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 40px;
		align-items: center;
	}
	.xikma-hero-left {
		grid-column: span 7 / span 7;
	}
	.xikma-hero-aside {
		grid-column: span 5 / span 5;
		display: block;
	}
}

.xikma-hero-title {
	margin: 0;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--xikma-fg);
}

@media (min-width: 640px) {
	.xikma-hero-title {
		font-size: 48px;
	}
}

@media (min-width: 1024px) {
	.xikma-hero-title {
		font-size: 52px;
	}
}

.xikma-hero-sub {
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--xikma-muted);
	max-width: 540px;
}

@media (min-width: 640px) {
	.xikma-hero-sub {
		font-size: 17px;
	}
}

.xikma-meta-specs {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	font-size: 13px;
	font-weight: 500;
	color: var(--xikma-muted-2);
}

.xikma-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.xikma-meta-icon {
	width: 16px;
	height: 16px;
	color: var(--xikma-forest-icon);
	flex-shrink: 0;
}

.xikma-hero-cta-wrap {
	margin-top: 20px;
}

@media (min-width: 768px) {
	.xikma-hero-cta-wrap {
		margin-top: 24px;
		max-width: 380px;
	}
}

.xikma-hero-cta {
	width: 100%;
	padding: 16px 24px;
	font-size: 16px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

@media (min-width: 640px) {
	.xikma-hero-cta {
		font-size: 17px;
	}
}

.xikma-price-strike {
	font-size: 12px;
	font-weight: 600;
	text-decoration: line-through;
	color: #333834;
	margin-left: 2px;
}

.xikma-payment-caption {
	margin: 10px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--xikma-muted);
}

@media (min-width: 768px) {
	.xikma-payment-caption {
		text-align: left;
	}
}

/* Desktop-only Excerpt Card */
.xikma-hero-aside {
	display: none;
}

@media (min-width: 1024px) {
	.xikma-hero-aside {
		display: block;
	}
}

.xikma-excerpt-card {
	border-radius: 20px;
	background-color: var(--xikma-cream);
	border: 1px solid var(--xikma-cream-border);
	padding: 24px;
}

.xikma-excerpt-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #3C4640;
	margin-bottom: 12px;
}

.xikma-excerpt-book {
	margin: 0;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--xikma-muted);
}

.xikma-excerpt-heading {
	margin: 4px 0 0;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.3;
	color: var(--xikma-fg);
}

.xikma-excerpt-quote-wrap {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #DFDFD4;
}

.xikma-excerpt-quote {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.68;
	color: #2A302C;
}

.xikma-excerpt-meta {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--xikma-muted);
}

/* ─── SECTIONS & CAROUSELS ───────────────────────────────────────────────── */
.xikma-section {
	padding-bottom: 56px;
}

@media (min-width: 768px) {
	.xikma-section {
		padding-bottom: 64px;
	}
}

.xikma-scroll-mt {
	scroll-margin-top: 16px;
}

.xikma-gallery-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

@media (min-width: 768px) {
	.xikma-gallery-header {
		margin-bottom: 24px;
	}
}

.xikma-section-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: var(--xikma-fg);
}

@media (min-width: 640px) {
	.xikma-section-title {
		font-size: 26px;
	}
}

.xikma-section-subtitle {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--xikma-muted);
}

.xikma-next-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--xikma-muted);
	background: transparent;
	border: none;
	padding: 4px 8px;
	margin-right: -8px;
	border-radius: 8px;
	cursor: pointer;
}

.xikma-next-btn:hover {
	color: var(--xikma-fg);
}

@media (min-width: 768px) {
	.xikma-next-btn {
		display: none;
	}
}

.xikma-gallery-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 20px;
	margin: 0 -20px;
	padding: 0 20px 12px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.xikma-gallery-track::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	.xikma-gallery-track {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px;
		overflow: visible;
		margin: 0;
		padding: 0;
	}
}

.book-card {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(19, 23, 20, 0.08);
	box-shadow: 0 8px 24px -10px rgba(19, 23, 20, 0.16);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	background: transparent;
	padding: 0;
}

.book-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 34px -12px rgba(19, 23, 20, 0.24);
}

.xikma-cover-btn {
	scroll-snap-align: start;
	flex-shrink: 0;
	width: 210px;
	display: block;
	text-align: left;
	cursor: pointer;
}

@media (min-width: 640px) {
	.xikma-cover-btn {
		width: 230px;
	}
}

@media (min-width: 768px) {
	.xikma-cover-btn {
		width: 100%;
	}
}

.xikma-cover-svg {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.xikma-progress-track {
	margin-top: 8px;
	height: 3px;
	width: 100%;
	background-color: #E8E9E3;
	border-radius: 9999px;
	overflow: hidden;
}

.xikma-progress-bar {
	height: 100%;
	background-color: #9AA09B;
	border-radius: 9999px;
	transition: width 0.2s ease;
}

@media (min-width: 768px) {
	.xikma-progress-track {
		display: none;
	}
}

/* ─── SAMPLE PAGES ───────────────────────────────────────────────────────── */
.xikma-sample-col {
	scroll-snap-align: start;
	flex-shrink: 0;
	width: 292px;
	display: flex;
	flex-direction: column;
}

@media (min-width: 640px) {
	.xikma-sample-col {
		width: 312px;
	}
}

@media (min-width: 768px) {
	.xikma-sample-col {
		width: 100%;
	}
}

.xikma-sample-pill-wrap {
	margin-bottom: 10px;
}

.xikma-sample-pill {
	display: inline-block;
	border-radius: 9999px;
	background-color: var(--xikma-forest);
	color: var(--xikma-gold);
	padding: 4px 12px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.xikma-sample-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #FFFFFF;
	border-radius: 16px;
	border: 1px solid #E2E4DD;
	box-shadow: 0 10px 28px -12px rgba(19, 23, 20, 0.14);
	padding: 28px 24px 20px;
	text-align: left;
}

.xikma-sample-card-3 {
	padding-top: 24px;
}

.xikma-sample-kicker {
	margin: 0;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

.xikma-kicker-1 { color: #8A6712; }
.xikma-kicker-2 { color: #8A5F12; }

.xikma-sample-h3 {
	margin: 6px 0 0;
	font-size: 23px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.xikma-h3-navy { color: #13223D; }
.xikma-h3-teal { color: #0F272B; margin-top: 14px; }

.xikma-sample-big-num {
	margin: 0;
	font-size: 40px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #946C18;
}

.xikma-sample-rule {
	margin-top: 12px;
}

.xikma-rule-1 { width: 56px; height: 2.5px; background-color: #C9A033; }
.xikma-rule-2 { width: 100%; height: 1.5px; background-color: #C88E2B; }
.xikma-rule-3 { margin-top: 10px; width: 40px; height: 3px; background-color: #C89B3C; }

.xikma-sample-quote {
	margin: 16px 0 0;
	padding-left: 14px;
	font-size: 13px;
	font-style: italic;
	line-height: 1.6;
}

.xikma-quote-1 { border-left: 3px solid #C9A033; color: #13223D; }
.xikma-quote-2 { border-left: 3px solid #C88E2B; color: #7A5410; }

.xikma-sample-body {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.72;
	color: #22272B;
	text-align: justify;
}

.xikma-body-teal { color: #1E2E30; }
.xikma-mt-sm { margin-top: 14px; }

.xikma-sample-page-num {
	margin-top: 24px;
	padding-top: 8px;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #22272B;
}

.xikma-page-num-2 { font-style: italic; color: #8A5F12; }
.xikma-page-num-3 { font-size: 12px; font-weight: 700; color: #8A6712; }

.xikma-sample-cta-wrap {
	margin-top: 24px;
	text-align: center;
}

.xikma-sample-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 800;
	color: var(--xikma-forest);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: #C9A033;
	text-decoration-thickness: 2px;
	padding: 8px 12px;
}

.xikma-sample-cta:hover {
	color: var(--xikma-fg);
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────── */
.xikma-faq-section {
	padding-bottom: 48px;
}

.xikma-faq-left {
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.xikma-faq-section {
		padding-bottom: 64px;
	}
}

@media (min-width: 1024px) {
	.xikma-faq-section {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 48px;
		align-items: start;
	}
	.xikma-faq-left {
		grid-column: span 4 / span 4;
		margin-bottom: 0;
	}
	.xikma-faq-list {
		grid-column: span 8 / span 8;
	}
}

.xikma-faq-list {
	border-top: 1px solid var(--xikma-divider);
}

.xikma-faq-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--xikma-divider);
}

.xikma-faq-q {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	color: var(--xikma-fg);
}

.xikma-faq-a {
	margin: 6px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--xikma-muted);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.xikma-footer {
	border-top: 1px solid var(--xikma-divider);
	padding: 24px 0 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--xikma-muted);
}

@media (min-width: 640px) {
	.xikma-footer {
		flex-direction: row;
	}
}

.xikma-footer-brand {
	font-weight: 700;
	color: var(--xikma-fg);
}

.xikma-fb-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--xikma-fg);
	text-decoration: none;
	padding: 6px 14px;
	border-radius: 9999px;
	background-color: var(--xikma-cream);
	border: 1px solid var(--xikma-cream-border);
	transition: color 0.15s ease;
}

.xikma-fb-pill:hover {
	color: var(--xikma-forest);
}

.xikma-fb-icon {
	width: 16px;
	height: 16px;
	color: #1877F2;
}

/* ─── STICKY BOTTOM BAR ──────────────────────────────────────────────────── */
.xikma-sticky-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 40;
	background-color: #101412;
	border-top: 2px solid var(--xikma-gold);
	padding: 12px 16px;
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

html[data-sticky-cta="true"] .xikma-sticky-bar {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.xikma-sticky-inner {
	max-width: 520px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.xikma-sticky-inner {
		max-width: 740px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
}

@media (min-width: 1024px) {
	.xikma-sticky-inner {
		max-width: 940px;
	}
}

.xikma-sticky-brand {
	display: none;
}

.xikma-sticky-brand p {
	margin: 0;
	color: #FFFFFF;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: -0.01em;
}

@media (min-width: 768px) {
	.xikma-sticky-brand {
		display: block;
	}
}

.xikma-sticky-cta {
	width: 100%;
	padding: 14px 28px;
	font-size: 16px;
	white-space: nowrap;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

@media (min-width: 768px) {
	.xikma-sticky-cta {
		width: auto;
		min-width: 260px;
	}
}

/* ─── INNER PAGES & CLASSIC WOOCOMMERCE CHECKOUT (SIFALO PAY READY) ──────── */
.xikma-page-main {
	padding-top: 24px;
	padding-bottom: 48px;
}

.xikma-top-back-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.xikma-back-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--xikma-muted);
	text-decoration: none;
}

.xikma-back-link:hover {
	color: var(--xikma-fg);
}

.xikma-brand-mini {
	font-size: 13px;
	font-weight: 800;
	color: var(--xikma-fg);
}

.xikma-checkout-header {
	margin-bottom: 24px;
}

.xikma-checkout-title {
	margin: 0;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--xikma-fg);
}

.xikma-checkout-sub {
	margin: 6px 0 0;
	font-size: 14.5px;
	color: var(--xikma-muted);
}

.xikma-content-card {
	background-color: #FFFFFF;
	border: 1px solid var(--xikma-cream-border);
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 10px 30px -15px rgba(19, 23, 20, 0.1);
}

@media (min-width: 768px) {
	.xikma-content-card {
		padding: 32px;
	}
}

/* ─── PURE MINIMALIST CHECKOUT (Matches BundleLanding.tsx) ──────────────── */
.xikma-checkout-only {
	padding-bottom: 40px;
}

.xikma-checkout-container {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
	padding: 20px 20px 32px;
}

@media (min-width: 640px) {
	.xikma-checkout-container {
		margin-top: 28px;
		background-color: #FFFFFF;
		border: 1px solid var(--xikma-cream-border);
		border-radius: 24px;
		padding: 28px 28px 32px;
		box-shadow: 0 20px 45px -20px rgba(19, 23, 20, 0.14);
	}
}

.xikma-min-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--xikma-divider);
}

.xikma-min-title {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
	color: var(--xikma-fg);
}

.xikma-min-sub {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--xikma-muted);
}

.xikma-min-close {
	width: 34px;
	height: 34px;
	border-radius: 9999px;
	background-color: var(--xikma-cream);
	color: var(--xikma-fg);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	flex-shrink: 0;
	transition: background-color 0.15s ease;
}

.xikma-min-close:hover {
	background-color: #E2E2D8;
}

.xikma-checkout-shell {
	padding: 0;
}

.xikma-checkout-shell .woocommerce-form-coupon-toggle,
.xikma-checkout-shell .woocommerce-billing-fields h3,
.xikma-checkout-shell #order_review_heading,
.xikma-checkout-shell table.woocommerce-checkout-review-order-table,
.xikma-checkout-shell .xikma-hidden-phone-field,
.xikma-checkout-shell .woocommerce-privacy-policy-text {
	display: none !important;
}

.xikma-checkout-shell #customer_details .col-1,
.xikma-checkout-shell #customer_details .col-2,
.xikma-checkout-shell .woocommerce-billing-fields,
.xikma-checkout-shell .woocommerce-billing-fields__field-wrapper,
.xikma-checkout-shell .woocommerce form .form-row,
.xikma-checkout-shell .woocommerce form .form-row .woocommerce-input-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	display: block !important;
}

.xikma-checkout-shell .woocommerce form .form-row {
	margin: 0 0 14px !important;
	padding: 0 !important;
}

.xikma-checkout-shell .woocommerce form .form-row label {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--xikma-muted);
	margin-bottom: 6px;
	display: block;
}

.xikma-checkout-shell .woocommerce form .form-row .required {
	display: none;
}

.xikma-checkout-shell .woocommerce form .form-row input.input-text {
	width: 100%;
	padding: 13px 15px;
	border-radius: 12px;
	border: 2px solid #E4E5DF;
	background-color: #FFFFFF;
	font-family: var(--xikma-font);
	font-size: 15px;
	font-weight: 600;
	color: var(--xikma-fg);
	outline: none;
	transition: border-color 0.12s ease;
}

.xikma-checkout-shell .woocommerce form .form-row input.input-text:focus {
	border-color: var(--xikma-fg);
}

/* Clean Minimalist v4 Section Ordering (Payment 2x2 Top -> Name/Email Below -> CTA Bottom) */
html[data-xikma-v4="1"] .xikma-checkout-shell form.woocommerce-checkout {
	display: flex;
	flex-direction: column;
}

html[data-xikma-v4="1"] .xikma-checkout-shell .woocommerce-NoticeGroup-checkout,
html[data-xikma-v4="1"] .xikma-checkout-shell .woocommerce-error {
	order: 0;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #order_review {
	order: 1;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #customer_details {
	display: none !important;
}

/* 2x2 Minimalist Payment Buttons */
.xikma-pay-grid-label {
	margin: 0 0 8px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--xikma-muted);
}

.xikma-pay-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 14px;
}

.xikma-gw-btn {
	background-color: #FFFFFF;
	border: 2px solid #E4E5DF;
	border-radius: 12px;
	padding: 13px 12px;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--xikma-fg);
	font-family: var(--xikma-font);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
	cursor: pointer;
	transition: border-color 0.12s ease;
}

.xikma-gw-btn:hover {
	border-color: #9AA09B;
}

.xikma-gw-btn[data-active="true"] {
	border-color: var(--xikma-fg);
}

.xikma-gw-dot {
	width: 14px;
	height: 14px;
	border-radius: 9999px;
	border: 2px solid #C8CCC6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.xikma-gw-btn[data-active="true"] .xikma-gw-dot {
	border-color: var(--xikma-fg);
	background-color: var(--xikma-fg);
}

.xikma-gw-btn[data-active="true"] .xikma-gw-dot::after {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 9999px;
	background-color: var(--xikma-gold);
}

/* Minimalist Doollar / Kaash (SLSH) Switcher (Shown for ZAAD / eDahab) */
.xikma-cur-wrap {
	margin: 0 0 14px;
}

.xikma-cur-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.xikma-cur-btn {
	background-color: #FFFFFF;
	border: 2px solid #E4E5DF;
	border-radius: 10px;
	padding: 9px 10px;
	text-align: center;
	color: var(--xikma-fg);
	font-family: var(--xikma-font);
	cursor: pointer;
	transition: border-color 0.12s ease, background-color 0.12s ease;
}

.xikma-cur-btn:hover {
	border-color: #9AA09B;
}

.xikma-cur-btn[data-active="true"] {
	border-color: var(--xikma-fg);
	background-color: var(--xikma-cream);
}

.xikma-cur-title {
	display: block;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.2;
}

.xikma-cur-price {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: var(--xikma-muted);
	margin-top: 2px;
}

/* Clean Minimalist Sifalo Pay Payment Options */
.xikma-checkout-shell #payment {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

.xikma-checkout-shell #payment ul.wc_payment_methods {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method {
	margin: 0 !important;
	padding: 13px 14px !important;
	border-radius: 12px !important;
	background-color: #FFFFFF !important;
	border: 2px solid #E4E5DF !important;
	transition: border-color 0.12s ease;
}

/* Keep Sifalo Pay logo sleek and compact (22px) for instant USSD trust without taking vertical space */
html[data-xikma-v4="1"] .xikma-checkout-shell #payment .sifalo-pay-header,
html[data-xikma-v4="1"] .xikma-checkout-shell #payment .sifalo-pay-logo {
	margin: 0 0 8px !important;
	padding: 0 !important;
	border: none !important;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #payment img,
html[data-xikma-v4="1"] .xikma-checkout-shell #payment svg {
	max-height: 22px !important;
	width: auto !important;
	display: inline-block !important;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #payment .sifalo-pay-powered,
html[data-xikma-v4="1"] .xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method > input.input-radio,
html[data-xikma-v4="1"] .xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method > label {
	display: none !important;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method {
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method:has(> input[type="radio"]:checked) {
	border-color: var(--xikma-fg) !important;
}

.xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method > input.input-radio {
	display: inline-block !important;
	vertical-align: middle !important;
	margin: 0 10px 0 0 !important;
	width: 16px !important;
	height: 16px !important;
	accent-color: var(--xikma-fg);
	cursor: pointer;
}

.xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method > label {
	display: inline !important;
	vertical-align: middle !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	color: var(--xikma-fg) !important;
	cursor: pointer;
	line-height: 1.3;
}

.xikma-checkout-shell #payment ul.wc_payment_methods li.wc_payment_method > label img {
	display: none !important;
}

.xikma-checkout-shell #payment div.payment_box {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	font-size: 12.5px !important;
	color: var(--xikma-muted) !important;
	width: 100% !important;
}

.xikma-checkout-shell #payment div.payment_box::before {
	display: none !important;
}

.xikma-checkout-shell #payment div.payment_box input[type="tel"],
.xikma-checkout-shell #payment div.payment_box input[type="text"] {
	width: 100% !important;
	padding: 14px 15px !important;
	border-radius: 12px !important;
	border: 2px solid #D6D8D0 !important;
	background-color: #FFFFFF !important;
	font-family: var(--xikma-font) !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em !important;
	color: var(--xikma-fg) !important;
	margin-top: 6px !important;
}

.xikma-checkout-shell #payment div.payment_box input:focus {
	border-color: var(--xikma-fg) !important;
	outline: none !important;
}

.xikma-checkout-shell #payment .place-order {
	padding: 18px 0 0 !important;
	margin: 0 !important;
	border: none !important;
}

html[data-xikma-v4="1"] .xikma-checkout-shell #payment .place-order {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.xikma-v4-submit-wrap {
	display: none;
	margin-top: 6px;
}

html[data-xikma-v4="1"] .xikma-v4-submit-wrap {
	display: block;
}

.xikma-v4-pay-btn,
.xikma-checkout-shell #payment #place_order {
	width: 100%;
	padding: 16px 24px !important;
	font-size: 16px !important;
	margin: 0 !important;
}

.xikma-sifalo-footnote {
	margin: 12px 0 0;
	text-align: center;
	font-size: 12px;
	color: var(--xikma-muted);
}

.xikma-sifalo-footnote strong {
	color: var(--xikma-fg);
}

/* Clean Editorial WooCommerce & Sifalo Pay Error Box */
.xikma-checkout-shell .woocommerce-error {
	list-style: none !important;
	margin: 0 0 18px !important;
	padding: 14px 16px !important;
	background-color: #F7F6F7 !important;
	border: none !important;
	border-top: 3px solid #B81C23 !important;
	border-radius: 4px !important;
	color: #374151 !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
}

.xikma-checkout-shell .woocommerce-error::before {
	display: none !important;
}

.xikma-checkout-shell .woocommerce-error li {
	margin: 0 !important;
	padding: 2px 0 !important;
}

.xikma-checkout-shell .woocommerce-error a {
	color: #374151 !important;
	text-decoration: none !important;
	font-weight: 600 !important;
}

.xikma-checkout-shell .woocommerce-info,
.xikma-checkout-shell .woocommerce-message {
	border-radius: 12px !important;
	font-size: 13px !important;
}

/* ─── THANK YOU / SUCCESS PAGE (Matches Success.tsx) ─────────────────────── */
.xikma-success-wrap {
	text-align: center;
	padding: 16px 0;
}

.xikma-success-badge {
	width: 84px;
	height: 84px;
	border-radius: 9999px;
	background-color: var(--xikma-emerald);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.35);
}

.xikma-success-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--xikma-fg);
}

@media (min-width: 768px) {
	.xikma-success-title {
		font-size: 38px;
	}
}

.xikma-success-emerald {
	color: var(--xikma-emerald);
}

.xikma-success-sub {
	margin: 0 auto 32px;
	max-width: 560px;
	font-size: 16px;
	color: var(--xikma-muted);
}

.xikma-downloads-list {
	max-width: 640px;
	margin: 0 auto 28px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.xikma-download-card {
	background-color: var(--xikma-bg);
	border: 1px solid var(--xikma-cream-border);
	border-radius: 20px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

@media (min-width: 640px) {
	.xikma-download-card {
		flex-direction: row;
		text-align: left;
	}
}

.xikma-download-thumb {
	width: 72px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 16px -6px rgba(19, 23, 20, 0.2);
}

.xikma-download-info {
	flex: 1;
	min-width: 0;
}

.xikma-download-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--xikma-forest);
	margin-bottom: 4px;
}

.xikma-download-name {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: var(--xikma-fg);
}

.xikma-download-author {
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--xikma-muted);
}

.xikma-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 20px;
	border-radius: 14px;
	background-color: var(--xikma-emerald-dark);
	color: #FFFFFF !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	flex-shrink: 0;
	width: 100%;
	transition: background-color 0.15s ease;
}

.xikma-download-btn:hover {
	background-color: #047857;
}

@media (min-width: 640px) {
	.xikma-download-btn {
		width: auto;
	}
}

.xikma-pending-notice {
	max-width: 560px;
	margin: 0 auto 24px;
	padding: 20px;
	border-radius: 16px;
	background-color: var(--xikma-cream);
	border: 1px solid var(--xikma-cream-border);
	font-size: 14px;
	color: var(--xikma-fg);
}

.xikma-retry-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 14px;
	margin-top: 12px;
}

.xikma-success-support {
	margin-top: 16px;
}

.xikma-success-support a {
	font-size: 14px;
	font-weight: 600;
	color: var(--xikma-muted);
	text-decoration: none;
}

.xikma-success-support a:hover {
	color: var(--xikma-forest);
	text-decoration: underline;
}
