/**
 * Standalone [invizo_checkout] layout — scoped to .invizo-checkout-editorial
 */
.invizo-checkout-editorial {
	--invizo-chk-bg: #e8ebed;
	--invizo-chk-surface: #f2f4f5;
	--invizo-chk-card: #ffffff;
	--invizo-chk-ink: #0c0e0f;
	--invizo-chk-muted: #5c6366;
	--invizo-chk-border: #c9ced1;
	--invizo-chk-accent: #0c0e0f;
	box-sizing: border-box;
	color: var(--invizo-chk-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	background: var(--invizo-chk-bg);
	min-height: 100vh;
}

.invizo-checkout-editorial *,
.invizo-checkout-editorial *::before,
.invizo-checkout-editorial *::after {
	box-sizing: inherit;
}

.invizo-checkout-editorial--notice {
	padding: 2rem;
	text-align: center;
	color: var(--invizo-chk-muted);
}

/* Loader */
.invizo-checkout-editorial__loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(242, 244, 245, 0.82);
	backdrop-filter: blur(4px);
}

.invizo-checkout-editorial__loader--hidden {
	display: none;
}

.invizo-checkout-editorial__spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--invizo-chk-border);
	border-top-color: var(--invizo-chk-accent);
	border-radius: 50%;
	animation: invizo-chk-spin 0.7s linear infinite;
}

@keyframes invizo-chk-spin {
	to {
		transform: rotate(360deg);
	}
}

.invizo-checkout-editorial__main {
	padding: 1.25rem 1rem 3rem;
}

.invizo-checkout-editorial__container {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 960px) {
	.invizo-checkout-editorial__container {
		grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
		gap: 2rem;
	}
}

/* Form column */
.invizo-checkout-editorial__form-col {
	order: 2;
}

@media (min-width: 960px) {
	.invizo-checkout-editorial__form-col {
		order: 1;
	}
}

.invizo-checkout-editorial__back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--invizo-chk-muted);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 1rem;
}

/* Full-width row above the two cards so form-inner and summary share one grid row (top-aligned). */
.invizo-checkout-editorial__back--above-grid {
	grid-column: 1 / -1;
}

.invizo-checkout-editorial__back:hover {
	color: var(--invizo-chk-ink);
}

.invizo-checkout-editorial__form-inner {
	background: var(--invizo-chk-card);
	border: 1px solid var(--invizo-chk-border);
	border-radius: 12px;
	padding: 1.5rem 1.25rem 1.75rem;
	box-shadow: 0 1px 0 rgba(12, 14, 15, 0.04);
}

@media (min-width: 640px) {
	.invizo-checkout-editorial__form-inner {
		padding: 2rem 2rem 2.25rem;
	}
}

/*
 * Theme / WooCommerce conflict resets — many themes float labels & inputs or set odd widths,
 * which breaks the stacked field layout and the city/postal grid.
 */
.invizo-checkout-editorial .invizo-checkout-editorial__form-col,
.invizo-checkout-editorial .invizo-checkout-editorial__form-inner {
	min-width: 0;
	max-width: 100%;
}

.invizo-checkout-editorial .invizo-checkout-editorial__form {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.invizo-checkout-editorial .invizo-checkout-editorial__field {
	display: block;
	width: 100%;
	max-width: 100%;
	float: none !important;
	clear: both;
	margin: 0;
	padding: 0;
	position: relative;
	min-width: 0;
}

.invizo-checkout-editorial .invizo-checkout-editorial__field .invizo-checkout-editorial__label {
	float: none !important;
	width: auto !important;
	max-width: none;
	display: block;
	margin: 0 0 0.35rem;
	padding: 0;
	text-align: start;
}

.invizo-checkout-editorial .invizo-checkout-editorial__input,
.invizo-checkout-editorial .invizo-checkout-editorial__select {
	display: block !important;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	box-sizing: border-box !important;
	vertical-align: middle;
}

.invizo-checkout-editorial .invizo-checkout-editorial__select {
	height: auto;
	line-height: inherit;
}

.invizo-checkout-editorial .invizo-checkout-editorial__fields {
	display: flex !important;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	gap: 1rem;
}

.invizo-checkout-editorial .invizo-checkout-editorial__fields-row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.75rem;
	width: 100%;
	float: none !important;
	clear: both;
	align-items: start;
}

.invizo-checkout-editorial .invizo-checkout-editorial__fields-row .invizo-checkout-editorial__field {
	grid-column: auto;
}

.invizo-checkout-editorial .invizo-checkout-editorial__step > p.invizo-checkout-editorial__payment-hint {
	margin: 0 0 0.75rem;
}

.invizo-checkout-editorial .invizo-checkout-editorial__payment-wrap,
.invizo-checkout-editorial .invizo-checkout-editorial__payment-element,
.invizo-checkout-editorial #payment-element {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0;
	overflow: visible !important;
}

.invizo-checkout-editorial .invizo-checkout-editorial__payment-element .StripeElement,
.invizo-checkout-editorial #payment-element .StripeElement {
	width: 100% !important;
}

.invizo-checkout-editorial .invizo-checkout-editorial__actions {
	width: 100%;
	max-width: 100%;
}

.invizo-checkout-editorial .invizo-checkout-editorial__submit {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
	box-sizing: border-box !important;
	background: var(--invizo-chk-ink) !important;
	color: #fff !important;
}

.invizo-checkout-editorial__form-head {
	margin-bottom: 1.5rem;
}

.invizo-checkout-editorial__form-title {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.invizo-checkout-editorial__form-lead {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--invizo-chk-muted);
}

.invizo-checkout-editorial__step {
	margin-bottom: 1.75rem;
}

.invizo-checkout-editorial__step-head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.invizo-checkout-editorial__step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--invizo-chk-ink);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	flex-shrink: 0;
}

.invizo-checkout-editorial__step-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.invizo-checkout-editorial__fields {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.invizo-checkout-editorial__fields-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 520px) {
	.invizo-checkout-editorial .invizo-checkout-editorial__fields-row {
		grid-template-columns: 1fr !important;
	}
}

.invizo-checkout-editorial__field--inline-check .invizo-checkout-editorial__check-label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.875rem;
	color: var(--invizo-chk-muted);
	cursor: pointer;
}

.invizo-checkout-editorial__label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--invizo-chk-muted);
	margin-bottom: 0.35rem;
}

.invizo-checkout-editorial__input,
.invizo-checkout-editorial__select {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--invizo-chk-border);
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--invizo-chk-ink);
}

.invizo-checkout-editorial__input:focus,
.invizo-checkout-editorial__select:focus {
	outline: 2px solid var(--invizo-chk-ink);
	outline-offset: 1px;
}

.invizo-checkout-editorial__checkbox {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.invizo-checkout-editorial__payment-hint {
	font-size: 0.875rem;
	color: var(--invizo-chk-muted);
	margin: 0 0 0.75rem;
}

.invizo-checkout-editorial__payment-hint--hidden {
	display: none;
}

.invizo-checkout-editorial__payment-wrap {
	min-height: 316px;
	position: relative;
}

.invizo-checkout-editorial__payment-wrap--busy::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 8px;
}

.invizo-checkout-editorial__payment-wrap--loading .invizo-checkout-editorial__payment-element {
	visibility: hidden;
	opacity: 0;
}

.invizo-checkout-editorial__payment-wrap--ready .invizo-checkout-editorial__payment-element {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.invizo-checkout-editorial__payment-element {
	padding: 0.25rem 0;
}

.invizo-checkout-editorial__payment-skeleton {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	padding: 0.35rem 0 0.25rem;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.invizo-checkout-editorial__payment-wrap--loading .invizo-checkout-editorial__payment-skeleton {
	opacity: 1;
}

.invizo-checkout-editorial__payment-skeleton-methods,
.invizo-checkout-editorial__payment-skeleton-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
}

.invizo-checkout-editorial__payment-skeleton-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invizo-checkout-editorial__payment-skeleton-chip,
.invizo-checkout-editorial__payment-skeleton-line {
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #eef1f3 0%, #f8f9fa 48%, #eef1f3 100%);
	background-size: 220% 100%;
	animation: invizo-chk-skeleton 1.25s ease-in-out infinite;
}

.invizo-checkout-editorial__payment-skeleton-chip::after,
.invizo-checkout-editorial__payment-skeleton-line::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(201, 206, 209, 0.7);
	border-radius: inherit;
}

.invizo-checkout-editorial__payment-skeleton-chip {
	height: 64px;
	border-radius: 8px;
}

.invizo-checkout-editorial__payment-skeleton-chip--active::after {
	border-color: rgba(12, 14, 15, 0.9);
	border-width: 2px;
}

.invizo-checkout-editorial__payment-skeleton-line {
	display: block;
	border-radius: 6px;
}

.invizo-checkout-editorial__payment-skeleton-line--label {
	height: 12px;
}

.invizo-checkout-editorial__payment-skeleton-line--short {
	width: 22%;
}

.invizo-checkout-editorial__payment-skeleton-line--medium {
	width: 32%;
}

.invizo-checkout-editorial__payment-skeleton-line--field {
	height: 46px;
	width: 100%;
}

.invizo-checkout-editorial__payment-skeleton-line--copy {
	height: 14px;
	width: 78%;
	margin-top: 0.1rem;
}

@keyframes invizo-chk-skeleton {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: -100% 50%;
	}
}

.invizo-checkout-editorial__form-foot {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--invizo-chk-border);
}

.invizo-checkout-editorial__message {
	font-size: 0.875rem;
	color: #9f403d;
	margin-bottom: 0.75rem;
}

.invizo-checkout-editorial__message--hidden {
	display: none;
}

.invizo-checkout-editorial__privacy {
	margin-bottom: 0.75rem;
}

.invizo-checkout-editorial__privacy-label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.8125rem;
	color: var(--invizo-chk-muted);
	cursor: pointer;
}

.invizo-checkout-editorial__privacy-label a {
	color: var(--invizo-chk-ink);
}

.invizo-checkout-editorial__legal {
	font-size: 0.75rem;
	color: var(--invizo-chk-muted);
	margin: 0 0 1rem;
	line-height: 1.5;
}

.invizo-checkout-editorial__actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.invizo-checkout-editorial__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.9rem 1.25rem;
	border: none;
	border-radius: 6px;
	background: var(--invizo-chk-ink);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.invizo-checkout-editorial__submit:hover:not(:disabled) {
	opacity: 0.92;
}

.invizo-checkout-editorial__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.invizo-checkout-editorial__trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--invizo-chk-muted);
}

.invizo-checkout-editorial__trust-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--invizo-chk-border);
}

/* Summary column — sticky on wide screens so it stays visible while scrolling the form */
.invizo-checkout-editorial__summary {
	order: 1;
}

@media (min-width: 960px) {
	.invizo-checkout-editorial__summary {
		order: 2;
		position: sticky;
		top: 1rem;
		align-self: start;
	}
}

.invizo-checkout-editorial__summary-scroll {
	background: var(--invizo-chk-card);
	border: 1px solid var(--invizo-chk-border);
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1rem;
	box-shadow: 0 1px 0 rgba(12, 14, 15, 0.04);
}

.invizo-checkout-editorial__plan-picker-wrap {
	margin-bottom: 1rem;
}

.invizo-checkout-editorial__plan-picker-label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--invizo-chk-muted);
	margin-bottom: 0.35rem;
}

.invizo-checkout-editorial__plan-picker {
	width: 100%;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--invizo-chk-border);
	border-radius: 6px;
	font: inherit;
	background: #fff;
}

.invizo-checkout-editorial__brand {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--invizo-chk-muted);
	margin-bottom: 0.85rem;
}

/* Title + image row */
.invizo-checkout-editorial__summary-head {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

.invizo-checkout-editorial__figure {
	flex-shrink: 0;
}

.invizo-checkout-editorial__figure--compact {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--invizo-chk-surface);
	border: 1px solid var(--invizo-chk-border);
}

.invizo-checkout-editorial__figure--compact img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	vertical-align: middle;
}

.invizo-checkout-editorial__figure-placeholder {
	width: 100%;
	height: 100%;
	min-height: 72px;
	background: linear-gradient(135deg, #dde1e4 0%, #f2f4f5 100%);
}

.invizo-checkout-editorial__summary-head-main {
	min-width: 0;
	flex: 1;
}

.invizo-checkout-editorial__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Pricing block */
.invizo-checkout-editorial__pricing-block {
	border: 1px solid var(--invizo-chk-border);
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	margin-bottom: 1rem;
	background: var(--invizo-chk-surface);
}

.invizo-checkout-editorial__pricing-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
	font-size: 0.8125rem;
	padding: 0.35rem 0;
}

.invizo-checkout-editorial__pricing-row + .invizo-checkout-editorial__pricing-row {
	border-top: 1px solid rgba(12, 14, 15, 0.06);
}

.invizo-checkout-editorial__pricing-label {
	color: var(--invizo-chk-muted);
	font-weight: 500;
}

.invizo-checkout-editorial__pricing-value {
	font-weight: 600;
	color: var(--invizo-chk-ink);
	text-align: right;
}

.invizo-checkout-editorial__pricing-row--muted .invizo-checkout-editorial__pricing-value {
	font-weight: 500;
	color: var(--invizo-chk-muted);
}

.invizo-checkout-editorial__pricing-row--trial .invizo-checkout-editorial__pricing-value {
	color: #1f6f54;
	font-weight: 600;
}

.invizo-checkout-editorial__pricing-row--hidden {
	display: none !important;
}

.invizo-checkout-editorial__pricing-row--total {
	padding-top: 0.5rem;
	margin-top: 0.15rem;
	border-top: 1px solid var(--invizo-chk-border) !important;
}

.invizo-checkout-editorial__pricing-row--total .invizo-checkout-editorial__pricing-label,
.invizo-checkout-editorial__pricing-row--total .invizo-checkout-editorial__pricing-value {
	font-weight: 800;
	font-size: 0.9375rem;
}

.invizo-checkout-editorial__summary-body .invizo-checkout-editorial__rule {
	height: 1px;
	background: var(--invizo-chk-border);
	margin: 0 0 0.85rem;
}

.invizo-checkout-editorial__feature-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.invizo-checkout-editorial__feature {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.invizo-checkout-editorial__feature-icon {
	flex-shrink: 0;
	color: var(--invizo-chk-muted);
	margin-top: 0.1rem;
}

.invizo-checkout-editorial__feature-line {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--invizo-chk-muted);
	line-height: 1.4;
}

.invizo-checkout-editorial__svg {
	display: block;
}

.invizo-checkout-editorial__summary-note {
	font-size: 0.6875rem;
	line-height: 1.45;
	color: var(--invizo-chk-muted);
	margin: 0.75rem 0 0;
	padding: 0 0.15rem;
}
