/* =============================================================
 * 90Minute Conversion Pro — shared styles
 * Used by checkout, cart, and product pages.
 * ============================================================= */

:root {
	--nmc-accent: #AF9762;
	--nmc-accent-dark: #8d7a4f;
	--nmc-ink: #111;
	--nmc-ink-soft: #2b2b2b;
	--nmc-muted: #6b6b6b;
	--nmc-border: #e6e6e6;
	--nmc-bg-soft: #fafafa;
	--nmc-radius: 3px;
	--nmc-radius-lg: 6px;
}

/* ---------- Trust strip ---------- */
.nmc-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0 0 24px;
	padding: 18px 16px;
	background: var(--nmc-ink);
	color: #fff;
	border-radius: var(--nmc-radius-lg);
	border-top: 3px solid var(--nmc-accent);
}

.nmc-trust-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-align: left;
	min-width: 0;
}

.nmc-trust-icon {
	flex: 0 0 24px;
	color: var(--nmc-accent);
	display: inline-flex;
}

.nmc-trust-icon svg {
	width: 24px;
	height: 24px;
}

.nmc-trust-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
}

/* ---------- Payment logos (shared block) ---------- */
.nmc-payment-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.nmc-payment-logos__item {
	display: inline-flex;
}

.nmc-payment-logos__item svg {
	width: 40px;
	height: auto;
	display: block;
}

/* ---------- Sticky CTA bar (used by cart + checkout) ---------- */
.nmc-sticky-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	background: #111;
	color: #fff;
	border-top: 3px solid var(--nmc-accent);
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	z-index: 9999;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
}

.nmc-sticky-cta__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 720px;
	margin: 0 auto;
}

.nmc-sticky-cta__total {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	flex-shrink: 0;
}

.nmc-sticky-cta__total-label {
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 700;
	margin-bottom: 2px;
}

.nmc-sticky-cta__total-amount {
	font-size: 18px;
	font-weight: 900;
	color: var(--nmc-accent);
	white-space: nowrap;
}

.nmc-sticky-cta__button {
	flex: 1;
	background: var(--nmc-accent, #AF9762) !important;
	color: var(--nmc-ink, #111) !important;
	border: none !important;
	border-radius: 3px;
	padding: 16px 24px;
	font-size: 15px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	box-shadow: 0 4px 0 var(--nmc-accent-dark, #8d7a4f);
	transition: background 0.15s ease, box-shadow 0.05s ease, transform 0.05s ease;
	text-shadow: none;
	line-height: 1;
}

.nmc-sticky-cta__button:hover {
	background: var(--nmc-accent-dark, #8d7a4f) !important;
	color: #fff !important;
}

.nmc-sticky-cta__button:active {
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--nmc-accent-dark, #8d7a4f);
}

.nmc-sticky-cta__button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 768px) {
	.nmc-sticky-cta {
		display: block;
	}

	.nmc-trust-strip {
		grid-template-columns: 1fr 1fr;
		gap: 14px 8px;
		padding: 14px;
	}

	.nmc-trust-label {
		font-size: 11px;
	}

	.nmc-trust-icon svg {
		width: 20px;
		height: 20px;
	}

	/* Push content above the sticky bar */
	body.nmc-checkout-pro,
	body.nmc-cart-pro {
		padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

/* RTL */
[dir="rtl"] .nmc-trust-item {
	text-align: right;
}
[dir="rtl"] .nmc-sticky-cta__arrow {
	transform: scaleX(-1);
}
