/**
 * Commerce Auth Theme bridge.
 *
 * Loaded only when the Commerce Auth Theme styling source is active. It keeps
 * plugin-owned pages isolated while letting them consume the theme token system.
 */

body.commerce-auth-theme #ca-app-root {
	--commerce-auth-font-sans: var(--ca-font-body, "DM Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif);
	--commerce-auth-font-display: var(--ca-font-heading, var(--commerce-auth-font-sans));
	--commerce-auth-accent: var(--ca-color-primary, #0f766e);
	--commerce-auth-accent-dark: var(--ca-color-primary-deep, #115e59);
	--commerce-auth-accent-soft: var(--ca-color-primary-soft, #e6f6f3);
	--commerce-auth-heading: var(--ca-color-text, #102033);
	--commerce-auth-text: var(--ca-color-text, #475569);
	--commerce-auth-muted: var(--ca-color-muted, #64748b);
	--commerce-auth-surface: var(--ca-color-surface, #ffffff);
	--commerce-auth-surface-strong: var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff));
	--commerce-auth-surface-soft: var(--ca-color-surface-muted, #f6f8fb);
	--commerce-auth-border: var(--ca-color-border, #d9e2ec);
	--commerce-auth-line: color-mix(in srgb, var(--ca-color-border, #d9e2ec) 72%, transparent);
	--commerce-auth-danger: var(--ca-color-error, #b42318);
	--commerce-auth-danger-soft: var(--ca-color-error-bg, #fff1f0);
	--commerce-auth-success: var(--ca-color-success, #166534);
	--commerce-auth-success-soft: var(--ca-color-success-bg, #edfdf3);
	--commerce-auth-warning: var(--ca-color-warning, #92400e);
	--commerce-auth-warning-soft: var(--ca-color-warning-bg, #fff7ed);
	--commerce-auth-radius-sm: 6px;
	--commerce-auth-radius: var(--ca-radius-md, 8px);
	--commerce-auth-radius-lg: var(--ca-radius-lg, 8px);
	--commerce-auth-shadow: var(--ca-shadow-lg, 0 18px 48px rgba(15, 23, 42, 0.08));
	--commerce-auth-shadow-soft: var(--ca-card-shadow, var(--ca-shadow-sm, 0 10px 28px rgba(15, 23, 42, 0.06)));
	/* Let the theme's body canvas continue behind managed pages without a visible seam above the footer. */
	--commerce-auth-page-bg: transparent;
	--commerce-auth-input-bg: var(--ca-color-surface, #ffffff);
	--commerce-auth-input-border: color-mix(in srgb, var(--ca-color-border, #d9e2ec) 76%, var(--ca-color-text, #102033) 24%);
	--commerce-auth-focus-ring: var(--ca-shadow-focus, 0 0 0 3px color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent));
	--commerce-auth-control-height: 2.625rem;
	--commerce-auth-button-bg: var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	--commerce-auth-button-bg-hover: var(--ca-button-primary-bg-hover, var(--ca-color-primary-deep, #115e59));
	--commerce-auth-button-text: var(--ca-button-primary-text, var(--ca-color-text-inverse, #ffffff));
	--commerce-auth-button-text-hover: var(--ca-button-primary-text-hover, var(--commerce-auth-button-text));
	--commerce-auth-button-border: var(--ca-button-primary-border, transparent);
	--commerce-auth-button-border-hover: var(--ca-button-primary-border-hover, var(--commerce-auth-button-border));
	--commerce-auth-button-shadow: var(--ca-button-shadow, var(--ca-shadow-sm, none));
	--commerce-auth-button-shadow-hover: var(--ca-button-shadow-hover, var(--ca-shadow-md, 0 12px 24px rgba(15, 23, 42, 0.14)));
	--commerce-auth-secondary-button-bg: var(--ca-button-secondary-bg, var(--ca-color-surface, #ffffff));
	--commerce-auth-secondary-button-bg-hover: var(--ca-button-secondary-bg-hover, var(--commerce-auth-secondary-button-bg));
	--commerce-auth-secondary-button-text: var(--ca-button-secondary-text, var(--ca-color-text, #102033));
	--commerce-auth-secondary-button-text-hover: var(--ca-button-secondary-text-hover, var(--commerce-auth-secondary-button-text));
	--commerce-auth-secondary-button-border: var(--ca-button-secondary-border, var(--ca-color-border, #d9e2ec));
	--commerce-auth-secondary-button-border-hover: var(--ca-button-secondary-border-hover, var(--commerce-auth-secondary-button-border));
}

@media (max-width: 40rem) {
	body.commerce-auth-theme #ca-app-root {
		--commerce-auth-control-height: 36px;
	}
}

body.commerce-auth-theme .commerce-auth-modal {
	--commerce-auth-accent: var(--ca-color-primary, #0f766e);
	--commerce-auth-accent-dark: var(--ca-color-primary-deep, #115e59);
	--commerce-auth-accent-soft: var(--ca-color-primary-soft, #d9f4ee);
	--commerce-auth-ink: var(--ca-color-text, #172033);
	--commerce-auth-muted: var(--ca-color-muted, #617086);
	--commerce-auth-line: color-mix(in srgb, var(--ca-color-border, rgba(23, 32, 51, 0.1)) 74%, transparent);
	--commerce-auth-surface: var(--ca-color-surface, #fffdf8);
	--commerce-auth-surface-strong: var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff));
	--commerce-auth-glass-surface: color-mix(in srgb, var(--ca-color-surface, #ffffff) 80%, transparent);
	--commerce-auth-glass-surface-strong: color-mix(in srgb, var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff)) 92%, transparent);
	--commerce-auth-glass-border: color-mix(in srgb, var(--ca-color-border, #d9e2ec) 44%, transparent);
	--commerce-auth-modal-backdrop: color-mix(in srgb, var(--ca-color-text, #0f172a) 58%, transparent);
	--commerce-auth-focus-ring: var(--ca-shadow-focus, 0 0 0 3px color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent));
	--commerce-auth-font-sans: var(--ca-font-body, "DM Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif);
	--commerce-auth-font-display: var(--ca-font-heading, var(--commerce-auth-font-sans));
	--commerce-auth-button-bg: var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	--commerce-auth-action-height: var(--ca-control-height, 2.625rem);
	--commerce-auth-button-bg-hover: var(--ca-button-primary-bg-hover, var(--ca-color-primary-deep, #115e59));
	--commerce-auth-button-text: var(--ca-button-primary-text, var(--ca-color-text-inverse, #ffffff));
	--commerce-auth-button-text-hover: var(--ca-button-primary-text-hover, var(--commerce-auth-button-text));
	--commerce-auth-button-border: var(--ca-button-primary-border, transparent);
	--commerce-auth-button-border-hover: var(--ca-button-primary-border-hover, var(--commerce-auth-button-border));
	--commerce-auth-secondary-button-bg: color-mix(in srgb, var(--ca-button-secondary-bg, var(--ca-color-surface, #ffffff)) 72%, transparent);
	--commerce-auth-secondary-button-text: var(--ca-button-secondary-text, var(--ca-color-text, #172033));
	--commerce-auth-secondary-button-border: var(--ca-button-secondary-border, var(--commerce-auth-line));
	--commerce-auth-modal-radius: var(--ca-radius-lg, 24px);
}

body.commerce-auth-theme .commerce-auth-modal__dialog {
	border-color: color-mix(in srgb, var(--ca-color-border, rgba(255, 255, 255, 0.14)) 78%, transparent);
	border-radius: var(--commerce-auth-modal-radius);
	background:
		linear-gradient(
			180deg,
			var(--commerce-auth-glass-surface-strong) 0%,
			var(--commerce-auth-glass-surface) 100%
		);
	box-shadow: var(--ca-shadow-lg, 0 28px 100px rgba(15, 23, 42, 0.32));
}

body.commerce-auth-theme .commerce-auth-modal__content {
	background: transparent;
}

body.commerce-auth-theme .commerce-auth-modal .commerce-auth-button--primary {
	border-color: color-mix(in srgb, var(--ca-color-primary, #0f766e) 58%, var(--commerce-auth-line)) !important;
	background: var(--commerce-auth-surface-strong) !important;
	color: var(--ca-color-primary, #0f766e) !important;
	box-shadow: none;
}

body.commerce-auth-theme .commerce-auth-modal .commerce-auth-button--primary:hover {
	border-color: var(--ca-color-primary, #0f766e) !important;
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 8%, var(--commerce-auth-surface-strong)) !important;
	color: var(--ca-color-primary, #0f766e) !important;
	box-shadow: none;
}

body.commerce-auth-theme .commerce-auth-modal__close,
body.commerce-auth-theme .commerce-auth-modal .commerce-auth-modal__close {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--commerce-auth-ink) !important;
	box-shadow: none;
}

body.commerce-auth-theme .commerce-auth-modal__close:hover,
body.commerce-auth-theme .commerce-auth-modal .commerce-auth-modal__close:hover {
	border-color: transparent !important;
	background: transparent !important;
	color: var(--commerce-auth-ink) !important;
}

body.commerce-auth-theme .commerce-auth-modal .commerce-auth-button--secondary {
	border-color: var(--commerce-auth-secondary-button-border) !important;
	background: var(--commerce-auth-secondary-button-bg) !important;
	color: var(--commerce-auth-secondary-button-text) !important;
}

body.commerce-auth-theme .commerce-auth-flow__step-indicator,
body.commerce-auth-theme .commerce-auth-step__badge {
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 10%, var(--commerce-auth-surface-strong));
	color: var(--ca-color-primary, #0f766e);
}

body.commerce-auth-theme .commerce-auth-phone-field,
body.commerce-auth-theme .commerce-auth-input,
body.commerce-auth-theme .commerce-auth-country__dropdown,
body.commerce-auth-theme .commerce-auth-country__search,
body.commerce-auth-theme .commerce-auth-country__option,
body.commerce-auth-theme .commerce-auth-otp__input {
	border-color: var(--commerce-auth-line);
	background: var(--commerce-auth-glass-surface-strong);
	color: var(--commerce-auth-ink);
}

body.commerce-auth-theme .commerce-auth-country__option:hover,
body.commerce-auth-theme .commerce-auth-country__option.is-selected {
	border-color: color-mix(in srgb, var(--ca-color-primary, #0f766e) 28%, var(--commerce-auth-line));
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 9%, var(--commerce-auth-surface-strong));
}

body.commerce-auth-theme .commerce-auth-phone-field__input:focus,
body.commerce-auth-theme .commerce-auth-input:focus,
body.commerce-auth-theme .commerce-auth-country__search:focus,
body.commerce-auth-theme .commerce-auth-otp__input:focus {
	outline-color: color-mix(in srgb, var(--ca-color-primary, #0f766e) 22%, transparent);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .col-2 {
	display: none;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-page {
	padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--ca-section-space, 4rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root :where(
	#commerce_auth_address_tools_field,
	#commerce_auth_location_detect_field,
	#commerce_auth_phone_preference_field,
	.commerce-auth-checkout-address-field,
	.commerce-auth-checkout-field--billing_full_name,
	.commerce-auth-checkout-field--billing_phone,
	.commerce-auth-checkout-field--billing_email
) {
	grid-column: 1 / -1;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #commerce_auth_address_tools_field {
	order: -110;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #billing_full_name_field {
	order: -100;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #billing_phone_field {
	order: -90;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #commerce_auth_phone_preference_field {
	order: -80;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #billing_email_field {
	order: -70;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-billing-fields__field-wrapper > #commerce_auth_location_detect_field {
	order: -60;
}

body.commerce-auth-layout-theme--checkout #ca-app-root :where(
	.commerce-auth-checkout-field--hidden,
	.commerce-auth-checkout-address-field--hidden
) {
	display: none !important;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-coupon {
	gap: var(--ca-space-3, 0.75rem);
	padding: var(--ca-space-4, 1rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-coupon__bar {
	gap: var(--ca-space-4, 1rem);
	align-items: stretch;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-coupon input {
	padding-inline: calc(var(--ca-space-4, 1rem) + 0.125rem);
	border-radius: var(--ca-radius-md, 8px);
}

body.commerce-auth-layout-theme--checkout #ca-app-root :where(
	.ca-checkout-coupon__button,
	.woocommerce .ca-checkout-coupon__button,
	.woocommerce-checkout-payment #place_order
) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--ca-control-height, 2.625rem);
	padding-inline: calc(var(--ca-space-4, 1rem) + 0.35rem);
	border-radius: var(--ca-radius-md, 8px);
	font-size: var(--ca-text-md, 1rem);
	font-weight: var(--ca-weight-heavy, 800);
	line-height: var(--ca-line-height-ui, 1);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-coupon__button,
body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce .ca-checkout-coupon__button {
	min-width: 7.5rem;
	white-space: nowrap;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-checkout-payment .form-row.place-order {
	gap: var(--ca-space-4, 1rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-checkout-payment .wc_payment_method {
	overflow: visible;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-checkout-payment ul.payment_methods {
	gap: var(--ca-space-4, 1rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-checkout-payment .wc_payment_method > label {
	position: relative;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	overflow: visible;
	text-transform: none;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__title {
	display: block;
	min-width: 0;
	text-align: left;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__badge {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 2;
	max-width: calc(100% - 2rem);
	padding: 0.2rem 0.65rem;
	transform: translate(-50%, -50%);
	border-radius: 999px;
	background: var(--ca-color-primary, #0f766e);
	color: var(--ca-button-primary-text, #ffffff);
	font-size: var(--ca-text-xs, 0.75rem);
	font-weight: var(--ca-weight-heavy, 800);
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--ca-space-2, 0.5rem);
	min-width: 0;
	margin-left: auto;
	justify-self: end;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__amount {
	flex: 0 0 auto;
	color: var(--ca-color-text, #172033);
	font-size: var(--ca-text-md, 1rem);
	font-weight: var(--ca-weight-heavy, 800);
	white-space: nowrap;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__arrow {
	display: inline-grid;
	place-items: center;
	flex: 0 0 1.1rem;
	width: 1.1rem;
	height: 1.1rem;
	color: var(--ca-color-text, #172033);
	line-height: 1;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__description {
	display: inline-flex;
	align-items: center;
	gap: var(--ca-space-2, 0.5rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__description-icon {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__description-icon img {
	width: auto;
	max-width: 4.75rem;
	max-height: 1rem;
	margin: 0 !important;
	object-fit: contain;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-summary-row--prepaid-discount .is-saving {
	color: var(--ca-color-success, #15803d);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-privacy-policy-text {
	display: none;
}

@media (max-width: 520px) {
	body.commerce-auth-layout-theme--checkout #ca-app-root .woocommerce-checkout-payment .wc_payment_method > label {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__meta {
		justify-content: flex-end;
		justify-self: end;
		padding-top: 0;
	}

	body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-payment-incentive__badge {
		max-width: calc(100% - 1rem);
	}
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details :where(
	.commerce-auth-checkout-input,
	.commerce-auth-checkout-address-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
	.commerce-auth-checkout-address-field select,
	.commerce-auth-checkout-address-field textarea
) {
	width: 100%;
	min-height: var(--ca-control-height, 2.625rem);
	padding: var(--ca-space-2, 0.5rem) var(--ca-space-4, 1rem);
	color: var(--ca-color-text, #0f172a);
	background: var(--ca-input-bg, var(--ca-color-surface, #ffffff));
	border: var(--ca-border-width, 1px) solid color-mix(in srgb, var(--ca-input-border, var(--ca-color-border, rgba(15, 23, 42, 0.16))) 88%, var(--ca-color-text, #0f172a) 12%);
	border-radius: var(--ca-radius-sm, 6px);
	box-shadow: inset 0 0 0 var(--ca-border-width, 1px) color-mix(in srgb, var(--ca-input-border, var(--ca-color-border, rgba(15, 23, 42, 0.16))) 72%, transparent);
	transition:
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field textarea {
	min-height: 7rem;
	padding-block: var(--ca-space-3, 0.75rem);
	resize: vertical;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details :where(
	.commerce-auth-checkout-input,
	.commerce-auth-checkout-address-field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
	.commerce-auth-checkout-address-field select,
	.commerce-auth-checkout-address-field textarea
):focus {
	border-color: var(--ca-input-border-focus, var(--ca-color-primary, #0f766e));
	box-shadow: 0 0 0 0.2rem var(--ca-focus-ring-color, color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent));
	outline: 0;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field .select2-container .select2-selection--single {
	height: var(--ca-control-height, 2.625rem);
	background: var(--ca-input-bg, var(--ca-color-surface, #ffffff));
	border: var(--ca-border-width, 1px) solid color-mix(in srgb, var(--ca-input-border, var(--ca-color-border, rgba(15, 23, 42, 0.16))) 88%, var(--ca-color-text, #0f172a) 12%);
	border-radius: var(--ca-radius-sm, 6px);
	box-shadow: inset 0 0 0 var(--ca-border-width, 1px) color-mix(in srgb, var(--ca-input-border, var(--ca-color-border, rgba(15, 23, 42, 0.16))) 72%, transparent);
	transition:
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0 var(--ca-space-4, 1rem);
	color: var(--ca-color-text, #0f172a);
	line-height: var(--ca-control-height, 2.625rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: var(--ca-control-height, 2.625rem);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field .select2-container--default.select2-container--focus .select2-selection--single,
body.commerce-auth-layout-theme--checkout #ca-app-root .ca-checkout-details .commerce-auth-checkout-address-field .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--ca-input-border-focus, var(--ca-color-primary, #0f766e));
	box-shadow: 0 0 0 0.2rem var(--ca-focus-ring-color, color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent));
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-checkout-address-book,
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-location-detect {
	border-color: var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	background: var(--ca-card-bg, var(--ca-color-surface, #ffffff));
	box-shadow: var(--ca-card-shadow, none);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-checkout-address-card {
	border-color: var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-md, 8px);
	background: var(--ca-color-surface, #ffffff);
	box-shadow: none;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-checkout-address-card.is-selected {
	border-color: var(--ca-color-primary, #0f766e);
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 8%, var(--ca-color-surface, #ffffff));
	box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--ca-color-primary, #0f766e) 14%, transparent);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-checkout-address-card__badge {
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 12%, var(--ca-color-surface, #ffffff));
	color: var(--ca-color-primary, #0f766e);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-location-detect__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ca-space-2, 0.5rem);
	border: var(--ca-border-width, 1px) solid var(--ca-button-primary-border, transparent);
	border-radius: var(--ca-radius-sm, 6px);
	background:
		var(--ca-button-primary-hover-layer, linear-gradient(var(--ca-button-primary-bg-hover, var(--ca-color-surface, #ffffff)), var(--ca-button-primary-bg-hover, var(--ca-color-surface, #ffffff)))) left center / 0% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text, #ffffff);
	font-family: var(--ca-font-ui, inherit);
	font-weight: var(--ca-weight-heavy, 800);
	min-height: var(--ca-control-height, 2.625rem);
	padding: 0 var(--ca-space-4, 1rem);
	box-shadow: var(--ca-button-shadow, none);
	line-height: var(--ca-line-height-ui, 1);
	transition:
		color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-size var(--ca-button-fill-duration, 420ms) var(--ca-button-fill-ease, ease),
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		filter var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
	white-space: nowrap;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-location-detect__button:hover,
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-location-detect__button:focus-visible {
	color: var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff));
	background-size: 100% 100%, auto;
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-button-shadow-hover, var(--ca-shadow-md, 0 12px 28px rgba(15, 23, 42, 0.12)));
	transform: translateY(-0.0625rem);
	outline: 0;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-location-detect__button:active {
	color: var(--ca-button-primary-text-active, var(--ca-color-primary-deep, #115e59));
	background:
		var(--ca-button-primary-active-layer, linear-gradient(var(--ca-button-primary-bg-active, color-mix(in srgb, var(--ca-color-primary, #0f766e) 9%, var(--ca-color-surface, #ffffff))), var(--ca-button-primary-bg-active, color-mix(in srgb, var(--ca-color-primary, #0f766e) 9%, var(--ca-color-surface, #ffffff))))) left center / 100% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-shadow-xs, 0 1px 2px rgba(15, 23, 42, 0.06));
	filter: none;
	transform: translateY(0);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .commerce-auth-account-view {
	display: grid;
	gap: var(--ca-grid-gap, 1.25rem);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account {
	padding-block: var(--ca-section-space, 3rem);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account__inner {
	width: min(100% - (var(--ca-page-gutter, 1rem) * 2), var(--ca-container, 82rem));
	margin-inline: auto;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.ca-account-page__header h1,
	.ca-account-dashboard__welcome h2
) {
	max-width: 100%;
	min-width: 0;
	font-size: clamp(1rem, calc(0.75rem + 1vw), 1.375rem);
	overflow-wrap: anywhere;
	word-break: break-word;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__toggle {
	display: none;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__panel {
	display: grid;
	gap: var(--ca-space-4, 1rem);
	min-width: 0;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__menu-icon {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 1.125rem;
	height: 0.875rem;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__menu-icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: var(--ca-border-width, 1px);
	border-radius: var(--ca-radius-pill, var(--ca-radius-sm));
	background: currentColor;
	transition:
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		opacity var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		top var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__menu-icon span:nth-child(1) {
	top: 0;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__menu-icon span:nth-child(2) {
	top: 0.375rem;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav__menu-icon span:nth-child(3) {
	top: 0.75rem;
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .commerce-auth-account-dashboard {
	--ca-account-dashboard-surface: var(--ca-card-bg, var(--ca-color-surface-raised, var(--ca-color-surface)));
	--ca-account-dashboard-border: var(--ca-card-border, var(--ca-color-border));
	--ca-account-dashboard-heading: var(--ca-color-text);
	--ca-account-dashboard-muted: var(--ca-color-muted);
	--ca-account-dashboard-accent: var(--ca-color-primary);
	--ca-account-dashboard-radius: var(--ca-radius-md);
	--ca-account-dashboard-shadow: var(--ca-card-shadow, var(--ca-shadow-xs));
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-account-dashboard__stat-card,
	.commerce-auth-account-dashboard__panel,
	.commerce-auth-account-dashboard__action-card,
	.commerce-auth-account-order-card,
	.commerce-auth-account-download-card,
	.commerce-auth-account-empty,
	.commerce-auth-account-order-detail__summary-card,
	.commerce-auth-account-order-detail__panel,
	.commerce-auth-address-book__card,
	.commerce-auth-address-book__form-card
) {
	border-color: var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-md, 8px);
	background: var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff));
	box-shadow: var(--ca-shadow-xs, none);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-account-dashboard__button,
	.commerce-auth-account-empty__button,
	.commerce-auth-account-order-card__button,
	.commerce-auth-account-download-card__button,
	.commerce-auth-account-orders__pagination-button,
	.commerce-auth-account-order-detail__button,
	.commerce-auth-address-card__edit,
	.commerce-auth-address-card__delete,
	.commerce-auth-address-book__cancel,
	.commerce-auth-address-book__button,
	.commerce-auth-address-book__submit,
	.commerce-auth-location-detect__button,
	.commerce-auth-edit-account__button
) {
	border: var(--ca-border-width, 1px) solid var(--ca-button-primary-border, transparent);
	border-radius: var(--ca-radius-sm, 6px);
	background:
		var(--ca-button-primary-hover-layer, linear-gradient(var(--ca-button-primary-bg-hover, #ffffff), var(--ca-button-primary-bg-hover, #ffffff))) left center / 0% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text, #ffffff);
	font-family: var(--ca-font-ui, inherit);
	font-weight: var(--ca-weight-heavy, 800);
	line-height: var(--ca-line-height-ui, 1.1);
	box-shadow: var(--ca-button-shadow, none);
	transition:
		color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-size var(--ca-button-fill-duration, 420ms) var(--ca-button-fill-ease, ease),
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-account-dashboard__button,
	.commerce-auth-account-empty__button,
	.commerce-auth-account-order-card__button,
	.commerce-auth-account-download-card__button,
	.commerce-auth-account-orders__pagination-button,
	.commerce-auth-account-order-detail__button,
	.commerce-auth-address-card__edit,
	.commerce-auth-address-card__delete,
	.commerce-auth-address-book__cancel,
	.commerce-auth-address-book__button,
	.commerce-auth-address-book__submit,
	.commerce-auth-location-detect__button,
	.commerce-auth-edit-account__button
):hover,
body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-account-dashboard__button,
	.commerce-auth-account-empty__button,
	.commerce-auth-account-order-card__button,
	.commerce-auth-account-download-card__button,
	.commerce-auth-account-orders__pagination-button,
	.commerce-auth-account-order-detail__button,
	.commerce-auth-address-card__edit,
	.commerce-auth-address-card__delete,
	.commerce-auth-address-book__cancel,
	.commerce-auth-address-book__button,
	.commerce-auth-address-book__submit,
	.commerce-auth-location-detect__button,
	.commerce-auth-edit-account__button
):focus {
	color: var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff));
	background-size: 100% 100%, auto;
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-button-shadow-hover, var(--ca-shadow-sm, none));
	transform: translateY(-0.0625rem);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-account-dashboard__button,
	.commerce-auth-account-empty__button,
	.commerce-auth-account-order-card__button,
	.commerce-auth-account-download-card__button,
	.commerce-auth-account-orders__pagination-button,
	.commerce-auth-account-order-detail__button,
	.commerce-auth-address-card__edit,
	.commerce-auth-address-card__delete,
	.commerce-auth-address-book__cancel,
	.commerce-auth-address-book__button,
	.commerce-auth-address-book__submit,
	.commerce-auth-location-detect__button,
	.commerce-auth-edit-account__button
):active {
	background:
		var(--ca-button-primary-active-layer, linear-gradient(var(--ca-button-primary-bg-active, var(--ca-button-primary-bg-hover, #ffffff)), var(--ca-button-primary-bg-active, var(--ca-button-primary-bg-hover, #ffffff)))) left center / 100% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text-active, var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff)));
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-shadow-xs, none);
	transform: translateY(0);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-edit-account__input,
	.commerce-auth-address-book__input,
	.commerce-auth-address-book__select,
	.commerce-auth-address-book__textarea
) {
	border-color: var(--ca-input-border, var(--ca-color-border, #d9e2ec));
	border-radius: var(--ca-radius-sm, 6px);
	background: var(--ca-input-bg, var(--ca-color-surface, #ffffff));
	color: var(--ca-color-text, #172033);
}

body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account :where(
	.commerce-auth-edit-account__input,
	.commerce-auth-address-book__input,
	.commerce-auth-address-book__select,
	.commerce-auth-address-book__textarea
):focus {
	border-color: var(--ca-input-border-focus, var(--ca-color-primary, #0f766e));
	box-shadow: var(--commerce-auth-focus-ring, var(--ca-shadow-focus, 0 0 0 3px color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent)));
	outline: 0;
}

@media (max-width: 40rem) {
	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-ca-account-nav-ready="true"] .ca-account-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: var(--ca-space-3, 0.75rem);
		width: 100%;
		min-height: 2.75rem;
		padding: 0 var(--ca-space-3, 0.75rem);
		border: var(--ca-border-width, 1px) solid var(--ca-color-border, var(--ca-border));
		border-radius: var(--ca-radius-sm, 6px);
		background: var(--ca-color-surface-raised, var(--ca-color-surface, var(--ca-surface)));
		color: var(--ca-color-text, var(--ca-heading));
		font-family: var(--ca-font-ui, inherit);
		font-size: var(--ca-text-sm, 0.875rem);
		font-weight: var(--ca-weight-heavy, 800);
		line-height: var(--ca-line-height-ui, 1.1);
		text-align: left;
		box-shadow: none;
		transform: none;
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-ca-account-nav-ready="true"] .ca-account-nav__toggle:hover,
	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-ca-account-nav-ready="true"] .ca-account-nav__toggle:focus {
		border-color: var(--ca-color-primary, var(--ca-accent));
		background: var(--ca-color-surface-raised, var(--ca-color-surface, var(--ca-surface)));
		color: var(--ca-color-text, var(--ca-heading));
		box-shadow: var(--ca-shadow-focus, var(--ca-focus-ring));
		transform: none;
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-commerce-auth-account-nav-ready="true"] .ca-account-nav__panel {
		gap: var(--ca-space-3, 0.75rem);
		margin-top: 0;
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-commerce-auth-account-nav-ready="true"].is-open .ca-account-nav__panel {
		margin-top: var(--ca-space-3, 0.75rem);
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-commerce-auth-account-nav-ready="true"].is-open .ca-account-nav__menu-icon span:nth-child(1) {
		top: 0.375rem;
		transform: rotate(45deg);
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-commerce-auth-account-nav-ready="true"].is-open .ca-account-nav__menu-icon span:nth-child(2) {
		opacity: 0;
	}

	body.commerce-auth-layout-theme--myaccount #ca-app-root .commerce-auth-theme-account .ca-account-nav[data-commerce-auth-account-nav-ready="true"].is-open .ca-account-nav__menu-icon span:nth-child(3) {
		top: 0.375rem;
		transform: rotate(-45deg);
	}
}

body.commerce-auth-theme.single-product .commerce-auth-eta {
	margin: var(--ca-space-4, 1rem) 0 0;
	padding: var(--ca-space-4, 1rem);
	border: var(--ca-border-width, 1px) solid var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-md, 8px);
	background:
		linear-gradient(
			145deg,
			color-mix(in srgb, var(--ca-color-primary, #0f766e) 7%, transparent),
			transparent 56%
		),
		var(--ca-card-bg, var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff)));
	box-shadow: var(--ca-shadow-xs, none);
	color: var(--ca-color-text, #172033);
	font-family: var(--ca-font-body, inherit);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__header {
	margin-bottom: var(--ca-space-3, 0.75rem);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__eyebrow {
	margin: 0 0 var(--ca-space-1, 0.25rem);
	color: var(--ca-color-primary, #0f766e);
	font-family: var(--ca-font-ui, inherit);
	font-size: var(--ca-text-xs, 0.75rem);
	font-weight: var(--ca-weight-heavy, 800);
	letter-spacing: 0.12em;
	line-height: var(--ca-line-height-ui, 1.1);
	text-transform: uppercase;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__title {
	margin: 0;
	color: var(--ca-color-text, #172033);
	font-family: var(--ca-font-heading, inherit);
	font-size: clamp(1.125rem, 1.7vw, 1.35rem);
	font-weight: var(--ca-weight-heavy, 800);
	letter-spacing: 0;
	line-height: var(--ca-line-height-heading, 1.15);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__form {
	gap: var(--ca-space-2, 0.5rem);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__label {
	color: var(--ca-color-text, #172033);
	font-family: var(--ca-font-ui, inherit);
	font-size: var(--ca-text-xs, 0.75rem);
	font-weight: var(--ca-weight-heavy, 800);
	letter-spacing: 0.08em;
	line-height: var(--ca-line-height-ui, 1.1);
	text-transform: uppercase;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__row {
	gap: var(--ca-space-2, 0.5rem);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__input {
	min-height: var(--ca-control-height, 2.625rem);
	padding: 0 var(--ca-space-3, 0.75rem);
	border: var(--ca-border-width, 1px) solid var(--ca-input-border, var(--ca-color-border, #d9e2ec));
	border-radius: var(--ca-radius-sm, 6px);
	background: var(--ca-input-bg, var(--ca-color-surface, #ffffff));
	color: var(--ca-color-text, #172033);
	font-family: var(--ca-font-body, inherit);
	font-size: var(--ca-text-sm, 0.875rem);
	line-height: var(--ca-line-height-ui, 1.1);
	box-shadow: none;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__input::placeholder {
	color: var(--ca-color-muted, #64748b);
	opacity: 0.82;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__input:focus {
	border-color: var(--ca-input-border-focus, var(--ca-color-primary, #0f766e));
	box-shadow: var(--commerce-auth-focus-ring, var(--ca-shadow-focus, 0 0 0 3px color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent)));
	outline: 0;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__button {
	min-height: var(--ca-control-height, 2.625rem);
	padding: 0 var(--ca-space-4, 1rem);
	border: var(--ca-border-width, 1px) solid var(--ca-button-primary-border, transparent);
	border-radius: var(--ca-radius-sm, 6px);
	background:
		var(--ca-button-primary-hover-layer, linear-gradient(var(--ca-button-primary-bg-hover, #ffffff), var(--ca-button-primary-bg-hover, #ffffff))) left center / 0% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text, #ffffff);
	font-family: var(--ca-font-ui, inherit);
	font-size: var(--ca-text-sm, 0.875rem);
	font-weight: var(--ca-weight-heavy, 800);
	line-height: var(--ca-line-height-ui, 1.1);
	box-shadow: var(--ca-button-shadow, none);
	white-space: nowrap;
	transition:
		color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-size var(--ca-button-fill-duration, 420ms) var(--ca-button-fill-ease, ease),
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__button:hover,
body.commerce-auth-theme.single-product .commerce-auth-eta__button:focus {
	color: var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff));
	background-size: 100% 100%, auto;
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-button-shadow-hover, var(--ca-shadow-sm, none));
	transform: translateY(-0.0625rem);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__button:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result {
	margin-top: var(--ca-space-3, 0.75rem);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result-card {
	padding: var(--ca-space-3, 0.75rem);
	border: var(--ca-border-width, 1px) solid var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-sm, 6px);
	background: var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff));
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result-card.is-success {
	border-color: color-mix(in srgb, var(--ca-color-success, #166534) 30%, var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12))));
	background: var(--ca-color-success-bg, color-mix(in srgb, var(--ca-color-success, #166534) 10%, var(--ca-color-surface, #ffffff)));
	color: var(--ca-color-success, #166534);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result-card.is-error {
	border-color: color-mix(in srgb, var(--ca-color-error, #b42318) 30%, var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12))));
	background: var(--ca-color-error-bg, color-mix(in srgb, var(--ca-color-error, #b42318) 10%, var(--ca-color-surface, #ffffff)));
	color: var(--ca-color-error, #b42318);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result-title {
	font-size: var(--ca-text-sm, 0.875rem);
	line-height: var(--ca-line-height-body, 1.5);
}

body.commerce-auth-theme.single-product .commerce-auth-eta__result-meta {
	gap: var(--ca-space-3, 0.75rem);
	font-size: var(--ca-text-xs, 0.75rem);
}

@media (max-width: 640px) {
	body.commerce-auth-theme.single-product .commerce-auth-eta {
		padding: var(--ca-space-3, 0.75rem);
	}

	body.commerce-auth-theme.single-product .commerce-auth-eta__row {
		grid-template-columns: 1fr;
	}

	body.commerce-auth-theme.single-product .commerce-auth-eta__button {
		width: 100%;
	}
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-theme-track {
	padding-block: var(--ca-section-space, 3rem);
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-theme-track__inner {
	width: min(100% - (var(--ca-page-gutter, 1rem) * 2), var(--ca-container, 82rem));
	margin-inline: auto;
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-public-track__shell {
	border-color: var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-md, 8px);
	background: var(--ca-card-bg, var(--ca-color-surface, #ffffff));
	box-shadow: var(--ca-card-shadow, var(--ca-shadow-xs, none));
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-public-track__header {
	display: grid;
	gap: var(--ca-space-2, 0.5rem);
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-public-track__eyebrow,
body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-track-card__eyebrow {
	color: var(--ca-color-primary, #0f766e);
	font-family: var(--ca-font-ui, inherit);
	font-size: var(--ca-text-xs, 0.75rem);
	font-weight: var(--ca-weight-heavy, 800);
	letter-spacing: 0.12em;
	line-height: var(--ca-line-height-ui, 1.1);
	text-transform: uppercase;
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-public-track__title {
	color: var(--ca-color-text, #172033);
	font-family: var(--ca-font-heading, inherit);
	font-size: var(--ca-text-h2, clamp(1.625rem, 3vw, 2.5rem));
	font-weight: var(--ca-weight-heavy, 800);
	line-height: var(--ca-line-height-heading, 1.15);
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__form,
	.commerce-auth-public-track__notice,
	.commerce-auth-track-card,
	.commerce-auth-track-empty,
	.commerce-auth-track-card__meta-item,
	.commerce-auth-eta
) {
	border-color: var(--ca-card-border, var(--ca-color-border, rgba(15, 23, 42, 0.12)));
	border-radius: var(--ca-radius-md, 8px);
	background: var(--ca-color-surface-raised, var(--ca-color-surface, #ffffff));
	box-shadow: var(--ca-shadow-xs, none);
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__field input,
	.commerce-auth-eta input
) {
	border-color: var(--ca-input-border, var(--ca-color-border, #d9e2ec));
	border-radius: var(--ca-radius-sm, 6px);
	background: var(--ca-input-bg, var(--ca-color-surface, #ffffff));
	color: var(--ca-color-text, #172033);
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__field input,
	.commerce-auth-eta input
):focus {
	border-color: var(--ca-input-border-focus, var(--ca-color-primary, #0f766e));
	box-shadow: var(--commerce-auth-focus-ring, var(--ca-shadow-focus, 0 0 0 3px color-mix(in srgb, var(--ca-color-primary, #0f766e) 18%, transparent)));
	outline: 0;
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__submit,
	.commerce-auth-track-card__button:not(.commerce-auth-track-card__button--secondary),
	.commerce-auth-eta__button
) {
	border: var(--ca-border-width, 1px) solid var(--ca-button-primary-border, transparent);
	border-radius: var(--ca-radius-sm, 6px);
	background:
		var(--ca-button-primary-hover-layer, linear-gradient(var(--ca-button-primary-bg-hover, #ffffff), var(--ca-button-primary-bg-hover, #ffffff))) left center / 0% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text, #ffffff);
	font-family: var(--ca-font-ui, inherit);
	font-weight: var(--ca-weight-heavy, 800);
	line-height: var(--ca-line-height-ui, 1.1);
	box-shadow: var(--ca-button-shadow, none);
	transition:
		color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		background-size var(--ca-button-fill-duration, 420ms) var(--ca-button-fill-ease, ease),
		border-color var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		box-shadow var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__submit,
	.commerce-auth-track-card__button:not(.commerce-auth-track-card__button--secondary),
	.commerce-auth-eta__button
):hover,
body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__submit,
	.commerce-auth-track-card__button:not(.commerce-auth-track-card__button--secondary),
	.commerce-auth-eta__button
):focus {
	color: var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff));
	background-size: 100% 100%, auto;
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-button-shadow-hover, var(--ca-shadow-sm, none));
	transform: translateY(-0.0625rem);
}

body.commerce-auth-layout-theme--track-order #ca-app-root :where(
	.commerce-auth-public-track__submit,
	.commerce-auth-track-card__button:not(.commerce-auth-track-card__button--secondary),
	.commerce-auth-eta__button
):active {
	background:
		var(--ca-button-primary-active-layer, linear-gradient(var(--ca-button-primary-bg-active, var(--ca-button-primary-bg-hover, #ffffff)), var(--ca-button-primary-bg-active, var(--ca-button-primary-bg-hover, #ffffff)))) left center / 100% 100% no-repeat,
		var(--ca-button-primary-bg, var(--ca-color-primary, #0f766e));
	color: var(--ca-button-primary-text-active, var(--ca-button-primary-text-hover, var(--ca-button-primary-text, #ffffff)));
	border-color: var(--ca-button-primary-border-hover, var(--ca-button-primary-border, transparent));
	box-shadow: var(--ca-shadow-xs, none);
	transform: translateY(0);
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-track-card__button--secondary {
	border-color: var(--ca-button-secondary-border, var(--ca-color-border, #d9e2ec));
	background:
		var(--ca-button-secondary-hover-layer, var(--ca-button-secondary-bg-hover, var(--ca-gradient-primary, #0f766e))) left center / 0% 100% no-repeat,
		var(--ca-button-secondary-bg, var(--ca-color-surface, #ffffff));
	color: var(--ca-button-secondary-text, var(--ca-color-text, #172033));
}

body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-track-card__button--secondary:hover,
body.commerce-auth-layout-theme--track-order #ca-app-root .commerce-auth-track-card__button--secondary:focus {
	background-size: 100% 100%, auto;
	border-color: var(--ca-button-secondary-border-hover, transparent);
	color: var(--ca-button-secondary-text-hover, #ffffff);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration {
	position: fixed;
	top: var(--ca-space-6, 1.5rem);
	right: var(--ca-space-6, 1.5rem);
	z-index: 10020;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: var(--ca-space-3, 0.75rem);
	width: min(24rem, calc(100vw - 2rem));
	padding: var(--ca-space-4, 1rem);
	color: var(--ca-color-text, #172033);
	background: var(--ca-color-surface-raised, #ffffff);
	border: var(--ca-border-width, 1px) solid color-mix(in srgb, var(--ca-color-primary, #0f766e) 38%, var(--ca-color-border, #d9e2ec));
	border-radius: var(--ca-radius-md, 8px);
	box-shadow: var(--ca-shadow-lg, 0 1rem 2rem rgba(15, 23, 42, 0.16));
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transform: translateY(-0.75rem) scale(0.98);
	transition:
		opacity var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease),
		transform var(--ca-duration-fast, 160ms) var(--ca-ease-standard, ease);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__icon {
	display: grid;
	place-items: center;
	width: 2.625rem;
	height: 2.625rem;
	font-size: 1.5rem;
	background: color-mix(in srgb, var(--ca-color-primary, #0f766e) 12%, transparent);
	border-radius: 999px;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__copy {
	display: grid;
	gap: var(--ca-space-1, 0.25rem);
	min-width: 0;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__copy strong {
	color: var(--ca-color-heading, var(--ca-color-text, #172033));
	font-size: var(--ca-text-md, 1rem);
	font-weight: var(--ca-weight-heavy, 800);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__copy > span {
	color: var(--ca-color-muted, #617086);
	font-size: var(--ca-text-xs, 0.75rem);
	line-height: var(--ca-line-height-body, 1.6);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i {
	position: absolute;
	top: -0.5rem;
	width: 0.375rem;
	height: 0.75rem;
	background: var(--ca-color-primary, #0f766e);
	border-radius: 0.125rem;
	animation: commerce-auth-theme-confetti-fall 1.1s ease-out both;
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(3n + 2) {
	background: var(--ca-color-success, #15803d);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(3n) {
	background: var(--ca-color-warning, #d97706);
}

body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(1) { left: 8%; animation-delay: 20ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(2) { left: 16%; animation-delay: 90ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(3) { left: 25%; animation-delay: 40ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(4) { left: 34%; animation-delay: 140ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(5) { left: 43%; animation-delay: 70ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(6) { left: 52%; animation-delay: 10ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(7) { left: 60%; animation-delay: 120ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(8) { left: 68%; animation-delay: 55ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(9) { left: 76%; animation-delay: 160ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(10) { left: 84%; animation-delay: 80ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(11) { left: 91%; animation-delay: 130ms; }
body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti i:nth-child(12) { left: 96%; animation-delay: 30ms; }

@keyframes commerce-auth-theme-confetti-fall {
	0% {
		opacity: 0;
		transform: translate3d(0, -0.625rem, 0) rotate(0deg);
	}

	18% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translate3d(-1.125rem, 5.75rem, 0) rotate(240deg);
	}
}

@media (max-width: 520px) {
	body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration {
		top: var(--ca-space-3, 0.75rem);
		right: var(--ca-space-4, 1rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration {
		transition: none;
	}

	body.commerce-auth-layout-theme--checkout #ca-app-root .commerce-auth-prepaid-celebration__confetti {
		display: none;
	}
}
