/*!
 * Nexus Checkout Pro — frontend
 *
 * Regras:
 * - Todo seletor é escopado em .nxc-root (ou body.nxc-*), sem estilos globais.
 * - Todas as cores/medidas vêm dos tokens definidos inline em .nxc-root
 *   (gerados a partir do painel). Valores abaixo são apenas fallbacks.
 * - O interior de .payment_box (campos dos gateways) NÃO é estilizado.
 * - Mobile first. Breakpoints: 640px (sm) e 960px (lg).
 */

/* ------------------------------------------------------------------ *
 * Tokens (fallback)
 * ------------------------------------------------------------------ */
.nxc-root {
	--nxc-navy: #101828;
	--nxc-primary: #2457AA;
	--nxc-accent: #377DFF;
	--nxc-button: #2457AA;
	--nxc-button-text: #FFFFFF;
	--nxc-surface: #FFFFFF;
	--nxc-bg: #F5F7FB;
	--nxc-text: #172033;
	--nxc-muted: #667085;
	--nxc-border: #E4E7EC;
	--nxc-success: #12B76A;
	--nxc-warning: #F79009;
	--nxc-error: #F04438;
	--nxc-accent-soft: rgba(55, 125, 255, .12);
	--nxc-primary-soft: rgba(36, 87, 170, .08);
	--nxc-success-soft: rgba(18, 183, 106, .12);
	--nxc-warning-soft: rgba(247, 144, 9, .14);
	--nxc-error-soft: rgba(240, 68, 56, .10);
	--nxc-focus: rgba(55, 125, 255, .28);
	--nxc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--nxc-font-heading: var(--nxc-font);
	--nxc-size: 15px;
	--nxc-heading-weight: 700;
	--nxc-radius-sm: 8px;
	--nxc-radius-md: 12px;
	--nxc-radius-lg: 16px;
	--nxc-radius-btn: 10px;
	--nxc-gap: 16px;
	--nxc-pad: 22px;
	--nxc-section: 28px;
	--nxc-container: 1160px;
	--nxc-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
	--nxc-shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, .18);
	--nxc-duration: 180ms;
	--nxc-z: 50;
	--nxc-input-h: 48px;
	--nxc-ease: cubic-bezier(.2, .7, .2, 1);

	box-sizing: border-box;
	color: var(--nxc-text);
	font-family: var(--nxc-font);
	font-size: var(--nxc-size);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.nxc-root *,
.nxc-root *::before,
.nxc-root *::after {
	box-sizing: inherit;
}

.nxc-root.nxc-input-md { --nxc-input-h: 44px; }
.nxc-root.nxc-input-lg { --nxc-input-h: 50px; }

/* ------------------------------------------------------------------ *
 * Página própria (canvas)
 * ------------------------------------------------------------------ */
body.nxc-canvas {
	margin: 0;
}

.nxc-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--nxc-bg);
}

.nxc-shell__main {
	flex: 1 0 auto;
	width: 100%;
	max-width: var(--nxc-container);
	margin: 0 auto;
	padding: var(--nxc-gap) 16px calc(var(--nxc-section) * 2);
}

.nxc-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: calc(var(--nxc-z) + 10);
	padding: 8px 14px;
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-navy);
	color: #fff;
}

.nxc-skip:focus {
	left: 8px;
}

/* Cabeçalho */
.nxc-root .nxc-header {
	position: relative;
	z-index: var(--nxc-z);
	background: var(--nxc-surface);
	border-bottom: 1px solid var(--nxc-border);
}

.nxc-root .nxc-header--dark {
	background: var(--nxc-navy);
	border-bottom-color: transparent;
	color: #fff;
}

.nxc-root .nxc-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--nxc-gap);
	max-width: var(--nxc-container);
	min-height: 64px;
	margin: 0 auto;
	padding: 10px 16px;
}

.nxc-root .nxc-header--left .nxc-header__inner {
	grid-template-columns: auto 1fr auto;
}

.nxc-root .nxc-header--left .nxc-logo {
	order: -1;
}

.nxc-root .nxc-header--left .nxc-header__back {
	justify-self: end;
	order: 1;
}

.nxc-root .nxc-header--left .nxc-header__secure,
.nxc-root .nxc-header--left .nxc-header__spacer {
	order: 2;
}

.nxc-root .nxc-header__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	font-size: .875em;
	font-weight: 500;
	text-decoration: none;
	opacity: .75;
	transition: opacity var(--nxc-duration);
}

.nxc-root .nxc-header__back:hover {
	opacity: 1;
}

.nxc-root .nxc-header__back span {
	display: none;
}

.nxc-root .nxc-logo {
	display: inline-flex;
	align-items: center;
	justify-self: center;
	color: inherit;
	text-decoration: none;
}

.nxc-root .nxc-logo__img {
	display: block;
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.nxc-root .nxc-logo__text {
	font-family: var(--nxc-font-heading);
	font-size: 1.25em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.01em;
}

.nxc-root .nxc-header__secure {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--nxc-success-soft);
	color: var(--nxc-success);
	font-size: .8125em;
	font-weight: 600;
	white-space: nowrap;
}

.nxc-root .nxc-header--dark .nxc-header__secure {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.nxc-root .nxc-header__secure span {
	display: none;
}

/* Rodapé */
.nxc-root .nxc-footer {
	border-top: 1px solid var(--nxc-border);
	background: var(--nxc-surface);
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-footer__inner {
	max-width: var(--nxc-container);
	margin: 0 auto;
	padding: 18px 16px;
	text-align: center;
}

.nxc-root .nxc-footer p {
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * Tipografia e utilitários
 * ------------------------------------------------------------------ */
.nxc-root .nxc-page-title {
	margin: 0 0 var(--nxc-gap);
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.6em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.02em;
	line-height: 1.2;
}

.nxc-root .nxc-muted {
	color: var(--nxc-muted);
}

.nxc-root .nxc-label {
	margin: 0 0 4px;
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.nxc-root .nxc-link,
.nxc-root .nxc-root a.nxc-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--nxc-primary);
	font: inherit;
	font-size: .875em;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.nxc-root .nxc-link:hover {
	text-decoration: underline;
}

.nxc-root .nxc-icon {
	flex: none;
	vertical-align: middle;
}

.nxc-root .screen-reader-text,
.nxc-root .nxc-visually-hidden-row {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.nxc-root .nxc-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: .75em;
	font-weight: 600;
	line-height: 1.6;
	vertical-align: middle;
}

.nxc-root .nxc-badge--success {
	background: var(--nxc-success-soft);
	color: var(--nxc-success);
}

.nxc-root .nxc-badge--accent {
	background: var(--nxc-accent-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-free {
	color: var(--nxc-success);
	font-weight: 600;
}

/* Cartões */
.nxc-root .nxc-card {
	position: relative;
	padding: var(--nxc-pad);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
}

.nxc-root .nxc-card + .nxc-card {
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 var(--nxc-gap);
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.05em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.01em;
}

/* ------------------------------------------------------------------ *
 * Botões
 * ------------------------------------------------------------------ */
.nxc-root .nxc-btn,
.nxc-root .woocommerce .nxc-btn,
.nxc-root button.nxc-btn.button,
.nxc-root a.nxc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--nxc-input-h);
	margin: 0;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--nxc-radius-btn);
	box-shadow: none;
	font-family: var(--nxc-font);
	font-size: 1em;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	white-space: normal;
	cursor: pointer;
	transition: background-color var(--nxc-duration) var(--nxc-ease), border-color var(--nxc-duration), box-shadow var(--nxc-duration), transform var(--nxc-duration);
	-webkit-tap-highlight-color: transparent;
}

.nxc-root .nxc-btn--primary,
.nxc-root button.nxc-btn--primary.button.alt,
.nxc-root #place_order.nxc-btn {
	background: var(--nxc-button);
	color: var(--nxc-button-text);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 -1px 0 rgba(0, 0, 0, .08);
}

.nxc-root .nxc-btn--primary:hover,
.nxc-root #place_order.nxc-btn:hover {
	background: var(--nxc-button);
	color: var(--nxc-button-text);
	filter: brightness(1.06);
}

.nxc-root .nxc-btn--primary:active,
.nxc-root #place_order.nxc-btn:active {
	transform: translateY(1px);
}

.nxc-root .nxc-btn--secondary,
.nxc-root a.nxc-btn--secondary,
.nxc-root button.nxc-btn--secondary.button {
	border-color: var(--nxc-border);
	background: var(--nxc-surface);
	color: var(--nxc-text);
}

.nxc-root .nxc-btn--secondary:hover,
.nxc-root a.nxc-btn--secondary:hover {
	border-color: var(--nxc-primary);
	background: var(--nxc-surface);
	color: var(--nxc-primary);
}

.nxc-root .nxc-btn--ghost {
	background: transparent;
	color: var(--nxc-primary);
}

.nxc-root .nxc-btn--ghost:hover {
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-btn--block {
	width: 100%;
}

.nxc-root .nxc-btn:focus-visible,
.nxc-root .nxc-link:focus-visible,
.nxc-root a:focus-visible,
.nxc-root button:focus-visible,
.nxc-root summary:focus-visible {
	outline: 2px solid var(--nxc-accent);
	outline-offset: 2px;
}

.nxc-root .nxc-btn[disabled],
.nxc-root .nxc-btn.is-loading {
	cursor: not-allowed;
	opacity: .65;
	filter: none;
}

.nxc-root .nxc-btn.is-loading::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: nxc-spin .7s linear infinite;
}

.nxc-root .nxc-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	vertical-align: -2px;
	animation: nxc-spin .7s linear infinite;
}

@keyframes nxc-spin {
	to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ *
 * Progresso
 * ------------------------------------------------------------------ */
.nxc-root .nxc-progress {
	margin: 0 0 var(--nxc-gap);
}

.nxc-root .nxc-progress__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: nxc;
}

.nxc-root .nxc-progress__step {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 600;
	text-align: center;
}

.nxc-root .nxc-progress__step::before {
	content: "";
	position: absolute;
	top: 13px;
	right: 50%;
	left: -50%;
	height: 2px;
	background: var(--nxc-border);
}

.nxc-root .nxc-progress__step:first-child::before {
	display: none;
}

.nxc-root .nxc-progress__step.is-done::before,
.nxc-root .nxc-progress__step.is-current::before {
	background: var(--nxc-primary);
}

.nxc-root .nxc-progress__link {
	display: contents;
	color: inherit;
	text-decoration: none;
}

.nxc-root .nxc-progress__dot {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--nxc-border);
	border-radius: 50%;
	background: var(--nxc-surface);
	color: var(--nxc-muted);
	font-size: .9em;
	transition: all var(--nxc-duration);
}

.nxc-root .nxc-progress__dot .nxc-icon {
	display: none;
}

.nxc-root .nxc-progress__step.is-current {
	color: var(--nxc-text);
}

.nxc-root .nxc-progress__step.is-current .nxc-progress__dot {
	border-color: var(--nxc-primary);
	color: var(--nxc-primary);
	box-shadow: 0 0 0 4px var(--nxc-primary-soft);
}

.nxc-root .nxc-progress__step.is-done .nxc-progress__dot {
	border-color: var(--nxc-primary);
	background: var(--nxc-primary);
	color: #fff;
}

.nxc-root .nxc-progress__step.is-done .nxc-progress__dot .nxc-icon {
	display: block;
}

.nxc-root .nxc-progress__step.is-done .nxc-progress__dot span {
	display: none;
}

/* ------------------------------------------------------------------ *
 * Layout do checkout
 * ------------------------------------------------------------------ */
.nxc-root.nxc-checkout {
	width: 100%;
}

.nxc-root .nxc-layout {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

.nxc-root .nxc-main,
.nxc-root .nxc-aside {
	min-width: 0;
}

.nxc-root .nxc-form {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	margin: 0;
}

/* Resumo recolhível (celular) */
.nxc-root .nxc-summary-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
	color: var(--nxc-primary);
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.nxc-root .nxc-summary-toggle__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.nxc-root .nxc-summary-toggle .nxc-icon--chevron {
	transition: transform var(--nxc-duration);
}

.nxc-root .nxc-summary-toggle[aria-expanded="true"] .nxc-icon--chevron {
	transform: rotate(180deg);
}

.nxc-root .nxc-summary-toggle__total {
	color: var(--nxc-text);
	font-size: 1.05em;
	font-weight: 700;
	white-space: nowrap;
}

.nxc-root .nxc-aside__body {
	display: none;
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-aside.is-open .nxc-aside__body {
	display: block;
}

/* ------------------------------------------------------------------ *
 * Seções
 * ------------------------------------------------------------------ */
.nxc-root .nxc-section {
	scroll-margin-top: 16px;
}

.nxc-root .nxc-section__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: var(--nxc-gap);
}

.nxc-root .nxc-section__num {
	display: none;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
	font-size: .875em;
	font-weight: 700;
}

.nxc-root.nxc-numbered .nxc-section__num {
	display: grid;
}

.nxc-root .nxc-section__num .nxc-icon {
	display: none;
}

.nxc-root .nxc-section.is-complete .nxc-section__num {
	background: var(--nxc-primary);
	color: #fff;
}

.nxc-root .nxc-section.is-complete .nxc-section__num .nxc-icon {
	display: block;
}

.nxc-root .nxc-section.is-complete .nxc-section__num-text {
	display: none;
}

.nxc-root .nxc-section__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	color: var(--nxc-primary);
}

.nxc-root.nxc-numbered .nxc-section__icon {
	display: none;
}

.nxc-root .nxc-section__titles {
	flex: 1;
	min-width: 0;
}

.nxc-root .nxc-section__title {
	margin: 3px 0 0;
	padding: 0;
	border: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.125em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.01em;
	line-height: 1.3;
	text-transform: none;
}

.nxc-root .nxc-section__desc {
	margin: 4px 0 0;
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root .nxc-section__edit {
	margin-top: 5px;
}

.nxc-root .nxc-section__summary {
	margin: -4px 0 0;
	color: var(--nxc-muted);
	font-size: .9em;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.nxc-root .nxc-section__foot {
	display: none;
	margin-top: var(--nxc-gap);
}

/* Modo etapas */
.nxc-root.nxc-flow-steps .nxc-section__foot {
	display: block;
}

.nxc-root.nxc-flow-steps .nxc-section__foot .nxc-btn {
	width: 100%;
}

.nxc-root.nxc-flow-steps .nxc-section.is-collapsed .nxc-section__body,
.nxc-root.nxc-flow-steps .nxc-section.is-collapsed .nxc-section__foot,
.nxc-root.nxc-flow-steps .nxc-section.is-locked .nxc-section__body,
.nxc-root.nxc-flow-steps .nxc-section.is-locked .nxc-section__foot {
	display: none;
}

.nxc-root.nxc-flow-steps .nxc-section.is-locked {
	opacity: .55;
}

.nxc-root.nxc-flow-steps .nxc-section.is-locked .nxc-section__head,
.nxc-root.nxc-flow-steps .nxc-section.is-collapsed .nxc-section__head {
	margin-bottom: 0;
}

.nxc-root.nxc-flow-steps .nxc-section.is-collapsed .nxc-section__summary {
	margin-top: 8px;
	padding-left: 42px;
}

.nxc-root.nxc-flow-steps:not(.nxc-numbered) .nxc-section.is-collapsed .nxc-section__summary {
	padding-left: 42px;
}

/* ------------------------------------------------------------------ *
 * Campos (somente nos contêineres do plugin — nunca dentro de .payment_box)
 * ------------------------------------------------------------------ */
.nxc-root .nxc-fields,
.nxc-root .create-account,
.nxc-root .woocommerce-shipping-fields__field-wrapper,
.nxc-root .woocommerce-additional-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 12px;
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-account, .nxc-coupon, .nxc-tracking) .form-row {
	flex: 1 1 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
}

@media (min-width: 480px) {
	.nxc-root :where(.nxc-fields, .create-account) .form-row-first,
	.nxc-root :where(.nxc-fields, .create-account) .form-row-last {
		flex: 1 1 calc(50% - 6px);
	}
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-tracking) .form-row label:not(.checkbox):not(.nxc-check) {
	display: block;
	margin: 0 0 6px;
	color: var(--nxc-text);
	font-size: .875em;
	font-weight: 600;
	line-height: 1.35;
}

.nxc-root :where(.nxc-fields, .create-account) .form-row .required {
	border: 0;
	color: var(--nxc-error);
	font-weight: 600;
	text-decoration: none;
}

.nxc-root :where(.nxc-fields, .create-account) .form-row .optional {
	color: var(--nxc-muted);
	font-weight: 400;
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-coupon, .nxc-tracking) :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea) {
	display: block;
	width: 100%;
	min-height: var(--nxc-input-h);
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	outline: 0;
	background: var(--nxc-surface);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	color: var(--nxc-text);
	font-family: var(--nxc-font);
	/* 16px evita zoom automático no iOS */
	font-size: max(16px, var(--nxc-size));
	line-height: 1.3;
	transition: border-color var(--nxc-duration), box-shadow var(--nxc-duration);
	-webkit-appearance: none;
	appearance: none;
}

.nxc-root :where(.nxc-fields, .create-account) textarea {
	min-height: 96px;
	padding: 12px 14px;
	resize: vertical;
}

.nxc-root :where(.nxc-fields, .create-account) select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-coupon, .nxc-tracking) :is(input, select, textarea)::placeholder {
	color: var(--nxc-muted);
	opacity: .7;
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-coupon, .nxc-tracking) :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea):hover {
	border-color: #cfd4dc;
}

.nxc-root :where(.nxc-fields, .create-account, .nxc-coupon, .nxc-tracking) :is(input, select, textarea):focus {
	border-color: var(--nxc-accent);
	box-shadow: 0 0 0 4px var(--nxc-focus);
}

/* Autofill do navegador */
.nxc-root :where(.nxc-fields, .create-account) input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 100px var(--nxc-surface) inset, 0 0 0 1px var(--nxc-accent);
	-webkit-text-fill-color: var(--nxc-text);
	caret-color: var(--nxc-text);
}

.nxc-root :where(.nxc-fields, .create-account) .woocommerce-input-wrapper {
	position: relative;
	display: block;
}

.nxc-root :where(.nxc-fields, .create-account) .description {
	display: block;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nxc-muted);
	font-size: .8125em;
	line-height: 1.4;
	box-shadow: none;
}

.nxc-root :where(.nxc-fields, .create-account) .description::before {
	display: none;
}

/* País oculto quando fixo: o WooCommerce exibe texto em <strong> */
.nxc-root .nxc-fields #billing_country_field strong,
.nxc-root .nxc-fields #shipping_country_field strong {
	display: block;
	min-height: var(--nxc-input-h);
	padding: 12px 14px;
	border: 1px dashed var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	color: var(--nxc-muted);
	font-weight: 500;
}

/* Estados de validação (classes do wc-checkout.js) */
.nxc-root .form-row.woocommerce-invalid :is(input.input-text, select, textarea),
.nxc-root .form-row.woocommerce-invalid .select2-selection,
.nxc-root .form-row.nxc-invalid :is(input.input-text, select, textarea) {
	border-color: var(--nxc-error);
	box-shadow: 0 0 0 3px var(--nxc-error-soft);
}

.nxc-root .form-row.woocommerce-invalid label,
.nxc-root .form-row.nxc-invalid label {
	color: var(--nxc-error);
}

.nxc-root .form-row.woocommerce-validated :is(input.input-text, select) {
	border-color: var(--nxc-border);
}

.nxc-root .checkout-inline-error-message,
.nxc-root .nxc-field-message {
	display: flex;
	align-items: flex-start;
	gap: 4px;
	margin: 6px 0 0;
	color: var(--nxc-error);
	font-size: .8125em;
	font-weight: 500;
	line-height: 1.4;
}

.nxc-root .nxc-field-message--info {
	color: var(--nxc-muted);
}

.nxc-root .nxc-field-message--loading {
	color: var(--nxc-primary);
}

/* "Sem número" */
.nxc-root .nxc-no-number {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 500;
	cursor: pointer;
}

/* Checkbox */
.nxc-root .nxc-check,
.nxc-root :where(.nxc-fields, .create-account, .nxc-account) label.checkbox,
.nxc-root .woocommerce-terms-and-conditions-wrapper label.checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--nxc-text);
	font-size: .9375em;
	font-weight: 500;
	line-height: 1.45;
	cursor: pointer;
}

.nxc-root :where(.nxc-check, label.checkbox) input[type="checkbox"] {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border: 1.5px solid #cfd4dc;
	border-radius: 6px;
	background: var(--nxc-surface);
	cursor: pointer;
	transition: all var(--nxc-duration);
	-webkit-appearance: none;
	appearance: none;
}

.nxc-root :where(.nxc-check, label.checkbox) input[type="checkbox"]:checked {
	border-color: var(--nxc-primary);
	background: var(--nxc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.nxc-root :where(.nxc-check, label.checkbox) input[type="checkbox"]:focus-visible {
	outline: 0;
	box-shadow: 0 0 0 4px var(--nxc-focus);
}

.nxc-root .woocommerce-account-fields.nxc-account {
	margin-top: var(--nxc-gap);
	padding-top: var(--nxc-gap);
	border-top: 1px dashed var(--nxc-border);
}

.nxc-root .woocommerce-account-fields.nxc-account .create-account:not(.form-row) {
	margin-top: 14px;
}

.nxc-root .nxc-ship-diff,
.nxc-root .nxc-notes {
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-ship-diff .shipping_address {
	margin-top: var(--nxc-gap);
	padding-top: var(--nxc-gap);
	border-top: 1px dashed var(--nxc-border);
}

.nxc-root .nxc-notes__details summary {
	display: inline-block;
	list-style: none;
}

.nxc-root .nxc-notes__details summary::-webkit-details-marker {
	display: none;
}

.nxc-root .nxc-notes__details[open] summary {
	margin-bottom: 12px;
}

/* Select2/SelectWoo (estado) */
.nxc-root .nxc-fields .select2-container {
	width: 100% !important;
}

.nxc-root .nxc-fields .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	height: var(--nxc-input-h);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
}

.nxc-root .nxc-fields .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 14px;
	color: var(--nxc-text);
	font-size: max(16px, var(--nxc-size));
	line-height: calc(var(--nxc-input-h) - 2px);
}

.nxc-root .nxc-fields .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 10px;
	height: 100%;
}

.nxc-root .nxc-fields .select2-container--focus .select2-selection--single,
.nxc-root .nxc-fields .select2-container--open .select2-selection--single {
	border-color: var(--nxc-accent);
	box-shadow: 0 0 0 4px var(--nxc-focus);
}

/* ------------------------------------------------------------------ *
 * Opções (frete e pagamento)
 * ------------------------------------------------------------------ */
.nxc-root .nxc-options,
.nxc-root ul.wc_payment_methods.nxc-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.nxc-root .nxc-option,
.nxc-root ul.wc_payment_methods li.nxc-option {
	position: relative;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-surface);
	list-style: none;
	transition: border-color var(--nxc-duration), box-shadow var(--nxc-duration), background-color var(--nxc-duration);
}

.nxc-root .nxc-option:hover {
	border-color: #cfd4dc;
}

.nxc-root .nxc-option.is-selected,
.nxc-root .nxc-option:has(> .nxc-option__input:checked) {
	border-color: var(--nxc-primary);
	background: var(--nxc-primary-soft);
	box-shadow: 0 0 0 1px var(--nxc-primary);
}

.nxc-root .nxc-option__input,
.nxc-root ul.wc_payment_methods li.nxc-option > input.input-radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.nxc-root .nxc-option__label,
.nxc-root ul.wc_payment_methods li.nxc-option > label.nxc-option__label {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 60px;
	margin: 0;
	padding: 14px 16px;
	color: var(--nxc-text);
	font-size: 1em;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.nxc-root .nxc-option__radio {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	border: 1.5px solid #cfd4dc;
	border-radius: 50%;
	background: var(--nxc-surface);
	transition: all var(--nxc-duration);
}

.nxc-root .nxc-option.is-selected .nxc-option__radio,
.nxc-root .nxc-option__input:checked + .nxc-option__label .nxc-option__radio {
	border: 6px solid var(--nxc-primary);
}

.nxc-root .nxc-option__input:focus-visible + .nxc-option__label {
	outline: 2px solid var(--nxc-accent);
	outline-offset: 2px;
	border-radius: var(--nxc-radius-md);
}

/* Tarifa única (input hidden): sem rádio. */
.nxc-root .nxc-shipping-option > input[type="hidden"] + .nxc-option__label .nxc-option__radio {
	display: none;
}

.nxc-root .nxc-option__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nxc-root .nxc-option__title {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.nxc-root .nxc-option__meta {
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 400;
}

.nxc-root .nxc-option__price {
	flex: none;
	font-weight: 700;
	white-space: nowrap;
}

.nxc-root .nxc-option__icons {
	display: flex;
	flex: none;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 4px;
	max-width: 45%;
}

.nxc-root .nxc-option__icons img {
	display: inline-block;
	max-height: 24px;
	width: auto;
	margin: 0;
	float: none;
}

/* Saída de "woocommerce_after_shipping_rate" (plugins de frete) */
.nxc-root .nxc-shipping-option > :not(input):not(label) {
	margin: 0 16px 12px 48px;
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-shipping-empty {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	border: 1px dashed var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	color: var(--nxc-muted);
	font-size: .9375em;
}

.nxc-root .nxc-shipping-empty--none {
	border-style: solid;
	border-color: var(--nxc-warning);
	background: var(--nxc-warning-soft);
	color: var(--nxc-text);
}

.nxc-root .nxc-shipping-package + .nxc-shipping-package {
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-shipping-package__title {
	margin: 0 0 2px;
	font-weight: 700;
}

.nxc-root .nxc-shipping-package__contents {
	margin: 0 0 10px;
	color: var(--nxc-muted);
	font-size: .8125em;
}

/* Pagamento: contêiner do gateway (interior intocado) */
.nxc-root .nxc-payment {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.nxc-root .nxc-payment .payment_box {
	position: relative;
	margin: 0 12px 12px;
	padding: 16px;
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
	box-shadow: inset 0 0 0 1px var(--nxc-border);
	color: var(--nxc-text);
	font-size: .9375em;
}

.nxc-root .nxc-payment .payment_box::before {
	display: none;
}

.nxc-root .nxc-payment .payment_box > p:last-child {
	margin-bottom: 0;
}

.nxc-root .nxc-payment-empty {
	list-style: none;
}

.nxc-root .nxc-place-order-row {
	margin: var(--nxc-gap) 0 0;
	padding: 0;
}

.nxc-root #place_order.nxc-btn {
	min-height: calc(var(--nxc-input-h) + 6px);
	font-size: 1.0625em;
	font-weight: 700;
}

.nxc-root .nxc-secure-note {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 0;
	color: var(--nxc-muted);
	font-size: .8125em;
	text-align: center;
}

.nxc-root .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: var(--nxc-gap);
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p {
	margin: 0 0 10px;
}

.nxc-root .woocommerce-terms-and-conditions {
	max-height: 200px;
	margin-bottom: 12px;
	padding: 12px;
	overflow: auto;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
}

.nxc-root .nxc-preview-box {
	color: var(--nxc-muted);
	font-style: italic;
}

/* ------------------------------------------------------------------ *
 * Resumo do pedido
 * ------------------------------------------------------------------ */
.nxc-root .nxc-summary__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-bottom: 14px;
}

.nxc-root .nxc-summary__title {
	margin: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.05em;
	font-weight: var(--nxc-heading-weight);
}

.nxc-root .nxc-summary-count {
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-summary__edit {
	margin-left: auto;
}

.nxc-root .nxc-review-table,
.nxc-root table.shop_table.nxc-review-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	background: none;
	table-layout: auto;
}

.nxc-root .nxc-review-table th,
.nxc-root .nxc-review-table td {
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--nxc-text);
	font-size: .9375em;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
}

.nxc-root .nxc-review-table td:last-child,
.nxc-root .nxc-review-table tfoot td {
	text-align: right;
	white-space: nowrap;
}

.nxc-root .nxc-items td.product-name {
	width: 100%;
}

.nxc-root .nxc-items tr td {
	padding: 10px 0;
	border-bottom: 1px solid var(--nxc-border);
}

.nxc-root .nxc-items tr:first-child td {
	padding-top: 0;
}

.nxc-root .nxc-items .product-total {
	padding-left: 10px;
	font-weight: 600;
}

.nxc-root .nxc-item__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nxc-root .nxc-item__thumb {
	position: relative;
	flex: none;
	width: 56px;
	height: 56px;
}

.nxc-root .nxc-item__thumb img,
.nxc-root .nxc-item__img {
	display: block;
	width: 56px;
	height: 56px;
	margin: 0;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-bg);
	object-fit: cover;
}

.nxc-root .nxc-item__qty {
	position: absolute;
	top: -7px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border: 2px solid var(--nxc-surface);
	border-radius: 999px;
	background: var(--nxc-navy);
	color: #fff;
	font-size: .6875em;
	font-weight: 700;
}

.nxc-root .nxc-item__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nxc-root .nxc-item__name {
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

/* A quantidade aparece no selo da imagem; o texto "× N" só sem imagens. */
.nxc-root .nxc-item__thumb ~ .nxc-item__info .product-quantity {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.nxc-root .nxc-item__info .product-quantity {
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 500;
}

.nxc-root .nxc-item__meta,
.nxc-root .nxc-item__info .variation,
.nxc-root .nxc-item__info dl.variation {
	margin: 0;
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-item__info dl.variation dt,
.nxc-root .nxc-item__info dl.variation dd {
	display: inline;
	margin: 0;
	float: none;
}

.nxc-root .nxc-item__info dl.variation dd p {
	display: inline;
	margin: 0;
}

.nxc-root .nxc-totals tr:first-child th,
.nxc-root .nxc-totals tr:first-child td {
	padding-top: 14px;
}

.nxc-root .nxc-totals th {
	color: var(--nxc-muted);
}

.nxc-root .nxc-totals .cart-discount td,
.nxc-root .nxc-totals .cart-discount th {
	color: var(--nxc-success);
}

.nxc-root .nxc-totals .woocommerce-remove-coupon {
	margin-left: 4px;
	color: var(--nxc-muted);
	font-size: .8125em;
	text-decoration: underline;
}

.nxc-root .nxc-totals .order-total th,
.nxc-root .nxc-totals .order-total td {
	padding-top: 14px;
	border-top: 1px solid var(--nxc-border);
	color: var(--nxc-text);
	font-size: 1.125em;
	font-weight: 700;
}

.nxc-root .nxc-totals .order-total td small,
.nxc-root .nxc-totals .includes_tax {
	display: block;
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 400;
}

/* Cupom */
.nxc-root .nxc-coupon__toggle {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--nxc-primary);
	font-weight: 600;
	text-decoration: none;
}

.nxc-root .nxc-coupon__toggle .nxc-icon--chevron {
	margin-left: auto;
	transition: transform var(--nxc-duration);
}

.nxc-root .nxc-coupon__toggle[aria-expanded="true"] .nxc-icon--chevron {
	transform: rotate(180deg);
}

.nxc-root .nxc-coupon__form {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
}

.nxc-root .nxc-coupon__row {
	display: flex;
	gap: 8px;
}

.nxc-root .nxc-coupon__field {
	flex: 1;
}

.nxc-root .nxc-coupon .coupon-error-notice {
	display: block;
	margin-top: 8px;
	color: var(--nxc-error);
	font-size: .8125em;
}

/* Confiança, políticas e suporte */
.nxc-root .nxc-trust__list,
.nxc-root .nxc-support__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--nxc-text);
	font-size: .875em;
}

.nxc-root .nxc-trust__icon {
	color: var(--nxc-success);
}

.nxc-root .nxc-policies {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 16px;
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-policies .nxc-link {
	color: var(--nxc-muted);
	font-weight: 500;
}

.nxc-root .nxc-support__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-weight: 700;
}

.nxc-root .nxc-support__text,
.nxc-root .nxc-support__hours {
	margin: 0 0 10px;
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root .nxc-support__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--nxc-primary);
	font-size: .875em;
	font-weight: 600;
	text-decoration: none;
}

/* ------------------------------------------------------------------ *
 * Avisos do WooCommerce dentro do plugin
 * ------------------------------------------------------------------ */
.nxc-root .woocommerce-error,
.nxc-root .woocommerce-message,
.nxc-root .woocommerce-info,
.nxc-root .wc-block-components-notice-banner,
.nxc-root .nxc-alert {
	position: relative;
	display: block;
	margin: 0 0 var(--nxc-gap);
	padding: 14px 16px 14px 44px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font-size: .9375em;
	list-style: none;
}

.nxc-root .woocommerce-error::before,
.nxc-root .woocommerce-message::before,
.nxc-root .woocommerce-info::before,
.nxc-root .nxc-alert::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 16px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--nxc-accent);
	font-family: inherit;
}

.nxc-root .woocommerce-error,
.nxc-root .nxc-alert--error {
	border-color: var(--nxc-error);
	background: var(--nxc-error-soft);
}

.nxc-root .woocommerce-error::before,
.nxc-root .nxc-alert--error::before {
	background: var(--nxc-error);
}

.nxc-root .woocommerce-message {
	border-color: var(--nxc-success);
	background: var(--nxc-success-soft);
}

.nxc-root .woocommerce-message::before {
	background: var(--nxc-success);
}

/* Avisos no formato de temas de blocos (WooCommerce 8.5+) */
.nxc-root .wc-block-components-notice-banner {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding-left: 16px;
}

.nxc-root .wc-block-components-notice-banner > svg {
	flex: none;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.nxc-root .wc-block-components-notice-banner.is-error {
	border-color: var(--nxc-error);
	background: var(--nxc-error-soft);
	color: var(--nxc-text);
}

.nxc-root .wc-block-components-notice-banner.is-error > svg {
	color: var(--nxc-error);
}

.nxc-root .wc-block-components-notice-banner.is-success {
	border-color: var(--nxc-success);
	background: var(--nxc-success-soft);
}

.nxc-root .wc-block-components-notice-banner.is-success > svg {
	color: var(--nxc-success);
}

.nxc-root .wc-block-components-notice-banner.is-info > svg {
	color: var(--nxc-accent);
}

.nxc-root .wc-block-components-notice-banner + .wc-block-components-notice-banner {
	margin-top: -8px;
}

.nxc-root .woocommerce-error li {
	margin: 0;
	list-style: none;
}

.nxc-root .woocommerce-error li + li {
	margin-top: 4px;
}

.nxc-root .woocommerce-info a,
.nxc-root .woocommerce-message a,
.nxc-root .woocommerce-error a {
	color: var(--nxc-primary);
	font-weight: 600;
}

.nxc-root .woocommerce-form-login-toggle .woocommerce-info,
.nxc-root .woocommerce-form-coupon-toggle .woocommerce-info {
	padding: 12px 16px;
	background: var(--nxc-surface);
}

.nxc-root .woocommerce-form-login-toggle .woocommerce-info::before,
.nxc-root .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

/* Login do WooCommerce (acima do formulário) */
.nxc-root form.woocommerce-form-login {
	margin: 0 0 var(--nxc-gap);
	padding: var(--nxc-pad);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
}

.nxc-root form.woocommerce-form-login .form-row {
	margin: 0 0 12px;
	padding: 0;
}

.nxc-root form.woocommerce-form-login label {
	display: block;
	margin-bottom: 6px;
	font-size: .875em;
	font-weight: 600;
}

.nxc-root form.woocommerce-form-login .input-text {
	width: 100%;
	min-height: var(--nxc-input-h);
	padding: 0 14px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	font-size: max(16px, var(--nxc-size));
}

.nxc-root form.woocommerce-form-login .button {
	min-height: var(--nxc-input-h);
	padding: 0 22px;
	border: 0;
	border-radius: var(--nxc-radius-btn);
	background: var(--nxc-button);
	color: var(--nxc-button-text);
	font-weight: 600;
	cursor: pointer;
}

/* Bloqueio (blockUI) durante atualizações */
.nxc-root .blockUI.blockOverlay {
	border-radius: inherit;
	background: var(--nxc-surface) !important;
	opacity: .6 !important;
}

/* ------------------------------------------------------------------ *
 * Página de agradecimento
 * ------------------------------------------------------------------ */
.nxc-root.nxc-thankyou {
	width: 100%;
}

.nxc-root .nxc-thankyou__inner {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	max-width: 760px;
	margin: 0 auto;
}

.nxc-root .nxc-thankyou__inner > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-status {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: calc(var(--nxc-pad) * 1.4) var(--nxc-pad);
	text-align: center;
}

.nxc-root .nxc-status__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-status--approved .nxc-status__icon {
	background: var(--nxc-success-soft);
	color: var(--nxc-success);
	box-shadow: 0 0 0 8px rgba(18, 183, 106, .06);
}

.nxc-root .nxc-status--pending .nxc-status__icon,
.nxc-root .nxc-status--onhold .nxc-status__icon {
	background: var(--nxc-warning-soft);
	color: var(--nxc-warning);
}

.nxc-root .nxc-status--failed .nxc-status__icon,
.nxc-root .nxc-status--cancelled .nxc-status__icon {
	background: var(--nxc-error-soft);
	color: var(--nxc-error);
}

.nxc-root .nxc-status__body {
	max-width: 560px;
}

.nxc-root .nxc-status__order {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 6px;
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root .nxc-status__title {
	margin: 0 0 8px;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.6em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.02em;
	line-height: 1.2;
}

.nxc-root .nxc-status__text,
.nxc-root .nxc-status__email {
	margin: 0;
	color: var(--nxc-muted);
}

.nxc-root .nxc-status__email {
	margin-top: 10px;
	font-size: .875em;
}

.nxc-root .nxc-status__checking {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--nxc-warning-soft);
	color: var(--nxc-text);
	font-size: .8125em;
	font-weight: 500;
}

.nxc-root .nxc-copy {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--nxc-muted);
	cursor: pointer;
}

.nxc-root .nxc-copy:hover {
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-copy.is-copied {
	color: var(--nxc-success);
}

.nxc-root .nxc-instructions__gateway {
	overflow-wrap: anywhere;
}

.nxc-root .nxc-instructions__gateway img {
	max-width: 100%;
	height: auto;
}

.nxc-root .nxc-instructions {
	border-color: var(--nxc-warning);
	box-shadow: 0 0 0 3px var(--nxc-warning-soft);
}

.nxc-root.nxc-state-approved .nxc-instructions {
	border-color: var(--nxc-border);
	box-shadow: var(--nxc-shadow);
}

.nxc-root .nxc-overview__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	margin: 0;
}

.nxc-root .nxc-overview__item dt {
	margin: 0 0 2px;
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.nxc-root .nxc-overview__item dd {
	margin: 0;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.nxc-root .nxc-items-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-items-list .nxc-item {
	padding: 12px 0;
	border-bottom: 1px solid var(--nxc-border);
}

.nxc-root .nxc-items-list .nxc-item:first-child {
	padding-top: 0;
}

.nxc-root .nxc-items-list .nxc-item__info {
	flex: 1;
}

.nxc-root .nxc-item__total {
	flex: none;
	font-weight: 600;
}

.nxc-root .nxc-totals-list {
	margin: 12px 0 0;
}

.nxc-root .nxc-totals-list__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 5px 0;
	font-size: .9375em;
}

.nxc-root .nxc-totals-list__row dt {
	color: var(--nxc-muted);
}

.nxc-root .nxc-totals-list__row dd {
	margin: 0;
	text-align: right;
}

.nxc-root .nxc-totals-list__row--order_total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid var(--nxc-border);
	font-size: 1.0625em;
	font-weight: 700;
}

.nxc-root .nxc-totals-list__row--order_total dt {
	color: var(--nxc-text);
}

.nxc-root .nxc-addresses__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--nxc-gap);
}

.nxc-root .nxc-addresses__grid p {
	margin: 0;
}

.nxc-root .nxc-address {
	font-style: normal;
	line-height: 1.6;
}

.nxc-root .nxc-next p {
	margin: 0;
	color: var(--nxc-muted);
}

.nxc-root .nxc-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Consulta de pedido */
.nxc-root.nxc-tracking {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	max-width: 760px;
	margin: 0 auto;
}

.nxc-root.nxc-tracking > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-tracking__form .nxc-fields {
	margin: var(--nxc-gap) 0;
}

.nxc-root .nxc-timeline {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-timeline__step {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 600;
	text-align: center;
}

.nxc-root .nxc-timeline__dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--nxc-border);
	border-radius: 50%;
	background: var(--nxc-surface);
	color: transparent;
}

.nxc-root .nxc-timeline__step.is-done {
	color: var(--nxc-text);
}

.nxc-root .nxc-timeline__step.is-done .nxc-timeline__dot {
	border-color: var(--nxc-success);
	background: var(--nxc-success);
	color: #fff;
}

.nxc-root .nxc-notes-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-notes-list li + li {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--nxc-border);
}

.nxc-root .nxc-notes-list time {
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-notes-list p {
	margin: 4px 0 0;
}

/* Pré-visualização */
.nxc-root .nxc-preview-banner {
	position: sticky;
	top: 0;
	z-index: calc(var(--nxc-z) + 5);
	padding: 8px 16px;
	background: var(--nxc-navy);
	color: #fff;
	font-size: .8125em;
	font-weight: 500;
	text-align: center;
}

.nxc-root .nxc-preview-theme-bar {
	padding: 18px 16px;
	border-bottom: 1px dashed var(--nxc-border);
	background: repeating-linear-gradient(45deg, var(--nxc-surface), var(--nxc-surface) 10px, var(--nxc-bg) 10px, var(--nxc-bg) 20px);
	color: var(--nxc-muted);
	font-size: .8125em;
	text-align: center;
}

/* ------------------------------------------------------------------ *
 * Breakpoint sm (≥ 640px)
 * ------------------------------------------------------------------ */
@media (min-width: 640px) {
	.nxc-root .nxc-header__back span,
	.nxc-root .nxc-header__secure span {
		display: inline;
	}

	.nxc-root .nxc-progress__step {
		flex-direction: row;
		justify-content: center;
		gap: 8px;
		font-size: .8125em;
	}

	.nxc-root .nxc-progress__step::before {
		display: none;
	}

	.nxc-root .nxc-progress__list {
		gap: 0;
	}

	.nxc-root .nxc-progress__step + .nxc-progress__step {
		padding-left: 12px;
	}

	.nxc-root .nxc-progress__step + .nxc-progress__step::after {
		content: "";
		order: -1;
		flex: 1;
		max-width: 60px;
		height: 2px;
		margin-right: 4px;
		background: var(--nxc-border);
	}

	.nxc-root .nxc-progress__step.is-done + .nxc-progress__step::after,
	.nxc-root .nxc-progress__step.is-current::after {
		background: var(--nxc-primary);
	}

	.nxc-root .nxc-actions {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}

	.nxc-root.nxc-flow-steps .nxc-section__foot .nxc-btn {
		width: auto;
		min-width: 200px;
	}

	.nxc-root .nxc-shell__main {
		padding-top: calc(var(--nxc-section) * 1.2);
	}
}

/* ------------------------------------------------------------------ *
 * Breakpoint lg (≥ 960px): duas colunas
 * ------------------------------------------------------------------ */
@media (min-width: 960px) {
	.nxc-root .nxc-progress {
		margin-bottom: var(--nxc-section);
	}

	.nxc-root.nxc-cols-two .nxc-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
		align-items: start;
		gap: var(--nxc-section);
	}

	.nxc-root.nxc-cols-two .nxc-main {
		grid-column: 1;
		grid-row: 1;
	}

	.nxc-root.nxc-cols-two .nxc-aside {
		grid-column: 2;
		grid-row: 1;
	}

	.nxc-root.nxc-cols-two.nxc-sidebar-left .nxc-layout {
		grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
	}

	.nxc-root.nxc-cols-two.nxc-sidebar-left .nxc-main {
		grid-column: 2;
	}

	.nxc-root.nxc-cols-two.nxc-sidebar-left .nxc-aside {
		grid-column: 1;
	}

	.nxc-root.nxc-cols-two.nxc-sticky-summary .nxc-aside {
		position: sticky;
		top: calc(var(--nxc-gap) + var(--nxc-admin-bar, 0px));
	}

	.nxc-root.nxc-cols-two .nxc-summary-toggle {
		display: none;
	}

	.nxc-root.nxc-cols-two .nxc-aside__body {
		display: block;
		margin-top: 0;
	}

	/* Uma coluna: resumo abaixo do formulário, centralizado */
	.nxc-root.nxc-cols-one .nxc-layout {
		max-width: 720px;
		margin: 0 auto;
	}

	.nxc-root.nxc-cols-one .nxc-aside {
		order: 2;
	}

	.nxc-root.nxc-cols-one .nxc-summary-toggle {
		display: none;
	}

	.nxc-root.nxc-cols-one .nxc-aside__body {
		display: block;
		margin-top: 0;
	}

	.nxc-root .nxc-status__title {
		font-size: 1.85em;
	}
}

body.admin-bar .nxc-root {
	--nxc-admin-bar: 32px;
}

/* ------------------------------------------------------------------ *
 * Modo "dentro do tema": neutraliza contêineres estreitos e floats
 * herdados de temas (validar no Fashiro/Avanam reais).
 * ------------------------------------------------------------------ */
body.nxc-mode-theme .nxc-root.nxc-checkout,
body.nxc-mode-theme .nxc-root.nxc-thankyou {
	clear: both;
	max-width: var(--nxc-container);
	margin-right: auto;
	margin-left: auto;
	padding: var(--nxc-gap) 0 var(--nxc-section);
}

body.nxc-mode-theme .nxc-root .col2-set,
body.nxc-mode-theme .nxc-root .col-1,
body.nxc-mode-theme .nxc-root .col-2 {
	width: auto;
	float: none;
}

body.nxc-theme-fashiro.nxc-mode-theme .nxc-root,
body.nxc-theme-avanam.nxc-mode-theme .nxc-root {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------------ *
 * Preferências de acessibilidade
 * ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.nxc-root *,
	.nxc-root *::before,
	.nxc-root *::after {
		transition-duration: 0ms !important;
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

@media (forced-colors: active) {
	.nxc-root .nxc-option.is-selected {
		outline: 2px solid Highlight;
	}
}

@media print {
	.nxc-root .nxc-header__back,
	.nxc-root .nxc-actions,
	.nxc-root .nxc-copy {
		display: none !important;
	}
}

/* ------------------------------------------------------------------ *
 * Blindagem contra CSS/marcação de temas e plugins
 * Temas costumam definir larguras, floats e "display:block" em células
 * de tabela para #payment, #order_review e .shop_table do checkout.
 * ------------------------------------------------------------------ */
.nxc-root.nxc-checkout #payment,
.nxc-root.nxc-checkout .woocommerce-checkout-payment,
.nxc-root.nxc-checkout #order_review,
.nxc-root.nxc-checkout .woocommerce-checkout-review-order,
.nxc-root.nxc-checkout .woocommerce-checkout-review-order-table,
.nxc-root.nxc-checkout ul.wc_payment_methods,
.nxc-root.nxc-checkout .place-order,
.nxc-root.nxc-checkout .nxc-order-review-extra,
.nxc-root.nxc-checkout form.checkout,
.nxc-root.nxc-checkout .nxc-section__body {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	clear: both;
}

.nxc-root.nxc-checkout ul.wc_payment_methods li.wc_payment_method {
	float: none !important;
	width: auto !important;
}

/* Título "Seu pedido" do WooCommerce/tema não se aplica a este layout. */
.nxc-root.nxc-checkout #order_review_heading {
	display: none !important;
}

/* Resumo: tabela de largura fixa (nunca ultrapassa o cartão). */
.nxc-root .nxc-review-table {
	table-layout: fixed !important;
	width: 100% !important;
	max-width: 100% !important;
}

.nxc-root .nxc-review-table tr {
	display: table-row !important;
}

.nxc-root .nxc-review-table th,
.nxc-root .nxc-review-table td {
	display: table-cell !important;
	float: none !important;
	width: auto !important;
	overflow-wrap: anywhere;
}

.nxc-root .nxc-review-table td.product-total,
.nxc-root .nxc-review-table tfoot td {
	width: 38% !important;
	white-space: normal !important;
}

/* Imagens/preços injetados no nome do item por temas: a miniatura do plugin já existe. */
.nxc-root .nxc-item__info img,
.nxc-root .nxc-item__name img,
.nxc-root .nxc-item__info picture,
.nxc-root .nxc-item__info figure {
	display: none !important;
}

.nxc-root .nxc-item__thumb img {
	width: 56px !important;
	height: 56px !important;
	max-width: 56px !important;
}

/* Contêineres injetados por temas/plugins em volta do pagamento (inclusive com largura inline). */
.nxc-root .nxc-section--payment .nxc-section__body > div,
.nxc-root .nxc-section--payment .nxc-section__body div:has(> #payment),
.nxc-root .nxc-section--payment .nxc-section__body div:has(#payment) {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	border: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* ------------------------------------------------------------------ *
 * Passo a passo (Identificação → Entrega → Pagamento)
 * ------------------------------------------------------------------ */
.nxc-root .nxc-step-hidden {
	display: none !important;
}

.nxc-root.nxc-flow-wizard .nxc-step-enter {
	animation: nxc-step-in calc(var(--nxc-duration) * 1.6) var(--nxc-ease) both;
}

@keyframes nxc-step-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

/* Numeração das seções não se aplica (a etapa é indicada no progresso). */
.nxc-root.nxc-flow-wizard .nxc-section__num {
	display: none !important;
}

.nxc-root.nxc-flow-wizard .nxc-section__icon {
	display: grid;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
}

.nxc-root.nxc-flow-wizard .nxc-section__foot,
.nxc-root.nxc-flow-wizard .nxc-section__edit,
.nxc-root.nxc-flow-wizard .nxc-section__summary {
	display: none !important;
}

/* Navegação */
.nxc-root .nxc-wizard {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.nxc-root .nxc-wizard__next {
	flex: 1 1 100%;
	order: 1;
	min-height: calc(var(--nxc-input-h) + 6px);
	font-size: 1.0625em;
	font-weight: 700;
}

.nxc-root .nxc-wizard__back {
	order: 2;
}

.nxc-root .nxc-wizard__counter {
	order: 3;
	margin-left: auto;
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 500;
}

.nxc-root .nxc-wizard.is-last {
	justify-content: space-between;
}

.nxc-root .nxc-wizard.is-last .nxc-wizard__back {
	order: 0;
	border-color: transparent;
	background: transparent;
	color: var(--nxc-primary);
}

@media (min-width: 640px) {
	.nxc-root .nxc-wizard__next {
		flex: 0 1 auto;
		order: 3;
		min-width: 260px;
	}

	.nxc-root .nxc-wizard__back {
		order: 1;
	}

	.nxc-root .nxc-wizard__counter {
		order: 2;
		margin-left: 0;
		margin-right: auto;
	}
}

/* Resumo das etapas concluídas */
.nxc-root .nxc-recap {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 4px var(--nxc-pad);
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
}

.nxc-root .nxc-recap[hidden] {
	display: none;
}

.nxc-root .nxc-recap__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
}

.nxc-root .nxc-recap__item + .nxc-recap__item {
	border-top: 1px solid var(--nxc-border);
}

.nxc-root .nxc-recap__check {
	display: grid;
	flex: none;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--nxc-primary);
}

.nxc-root .nxc-recap__check::after {
	content: "";
	width: 10px;
	height: 6px;
	margin-top: -2px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(-45deg);
}

.nxc-root .nxc-recap__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	font-size: .875em;
}

.nxc-root .nxc-recap__body strong {
	color: var(--nxc-text);
	font-weight: 700;
}

.nxc-root .nxc-recap__body span {
	overflow: hidden;
	color: var(--nxc-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxc-root .nxc-progress__step.is-clickable {
	cursor: pointer;
}

.nxc-root .nxc-progress__step.is-clickable:hover .nxc-progress__label {
	color: var(--nxc-primary);
}

/* ------------------------------------------------------------------ *
 * Página própria: oculta botões "voltar ao topo" e elementos flutuantes
 * comuns que temas/plugins adicionam ao rodapé de todas as páginas.
 * ------------------------------------------------------------------ */
body.nxc-canvas :is(
	#back-to-top, .back-to-top, #backtotop, .backtotop, .back-top, #back-top,
	#scroll-top, .scroll-top, #scrollTop, .scrollTop, #scroll-to-top, .scroll-to-top, .scrollToTop,
	#scrollUp, .scrollup, #scrollup, .scroll-up, #toTop, .to-top, #totop, .totop, .go-top, #go-top, .gotop, #gotop,
	.ast-scroll-to-top, #ast-scroll-top, .return-to-top, #return-to-top, .progress-wrap, .ct-back-to-top,
	[class*="back-to-top"], [id*="back-to-top"], [class*="scroll-to-top"], [id*="scroll-to-top"], [class*="backtotop"], [id*="backtotop"], [class*="scrolltop"], [id*="scrolltop"]
) {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Editar carrinho no resumo
 * ------------------------------------------------------------------ */
.nxc-root .nxc-qty {
	display: none;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.nxc-root .nxc-summary.is-editing .nxc-qty {
	display: inline-flex;
}

.nxc-root .nxc-qty__btn {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: border-color var(--nxc-duration), color var(--nxc-duration);
}

.nxc-root .nxc-qty__btn:hover:not(:disabled) {
	border-color: var(--nxc-primary);
	color: var(--nxc-primary);
}

.nxc-root .nxc-qty__btn:disabled {
	cursor: not-allowed;
	opacity: .4;
}

.nxc-root .nxc-qty__value {
	min-width: 22px;
	font-weight: 700;
	text-align: center;
}

.nxc-root .nxc-qty__remove {
	margin: 0 0 0 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--nxc-error);
	font: inherit;
	font-size: .8125em;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.nxc-root .nxc-summary.is-busy .nxc-qty {
	pointer-events: none;
	opacity: .5;
}

.nxc-root .nxc-summary.is-editing .nxc-item__qty {
	display: none;
}

.nxc-root .nxc-summary__msg {
	margin: -4px 0 12px;
	padding: 10px 12px;
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-error-soft);
	color: var(--nxc-text);
	font-size: .8125em;
}

.nxc-root .nxc-summary__msg[hidden] {
	display: none;
}

.nxc-root button.nxc-summary__edit {
	margin-left: auto;
}

/* Mais espaço para o nome e os controles; o valor do item ocupa menos. */
.nxc-root .nxc-review-table .nxc-items td.product-total {
	width: 28% !important;
}

.nxc-root .nxc-qty {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.nxc-root .nxc-qty__remove {
	white-space: nowrap;
}

/* Elementos ocultos pelo atributo [hidden] (ex.: "Voltar" no 1º passo e
   "Continuar" no último) não podem ser reexibidos por estilos de botão. */
.nxc-root [hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Login no checkout
 * ------------------------------------------------------------------ */
.nxc-root .nxc-login {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: var(--nxc-gap);
}

.nxc-root .nxc-login .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-login__toggle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 14px var(--nxc-pad);
}

.nxc-root .nxc-login__icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-login__question {
	color: var(--nxc-text);
	font-weight: 500;
}

.nxc-root .nxc-login__link {
	font-size: 1em;
}

.nxc-root form.nxc-login__form {
	margin: 0;
	padding: var(--nxc-pad);
}

.nxc-root .nxc-login__head {
	margin-bottom: var(--nxc-gap);
}

.nxc-root .nxc-login__title {
	margin: 0 0 4px;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.125em;
	font-weight: var(--nxc-heading-weight);
}

.nxc-root .nxc-login__desc {
	margin: 0;
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root form.nxc-login__form .form-row {
	margin: 0;
}

.nxc-root .nxc-password {
	position: relative;
	display: block;
}

.nxc-root .nxc-password input.input-text {
	padding-right: 84px;
}

.nxc-root .nxc-password__toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	padding: 6px 10px;
	border: 0;
	border-radius: var(--nxc-radius-sm);
	background: transparent;
	color: var(--nxc-primary);
	font: inherit;
	font-size: .8125em;
	font-weight: 600;
	cursor: pointer;
	transform: translateY(-50%);
}

.nxc-root .nxc-password__toggle:hover {
	background: var(--nxc-primary-soft);
}

.nxc-root .nxc-login__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 14px 0 var(--nxc-gap);
}

.nxc-root .nxc-login__row .nxc-check {
	font-size: .875em;
}

.nxc-root .nxc-login__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nxc-root form.nxc-login__form .nxc-login__actions .nxc-btn {
	width: 100%;
}

@media (min-width: 640px) {
	.nxc-root .nxc-login__actions {
		flex-direction: row;
		align-items: center;
	}

	.nxc-root form.nxc-login__form .nxc-login__actions .nxc-btn {
		width: auto;
		min-width: 180px;
	}
}

/* Passo a passo: o login só faz sentido na etapa de identificação. */
.nxc-root.nxc-flow-wizard[data-nxc-step]:not([data-nxc-step="contact"]) .nxc-login {
	display: none !important;
}

/* Login: checkbox alinhado e botão de senha do WooCommerce (ícone de olho). */
.nxc-root form.nxc-login__form label.nxc-check {
	display: flex;
	margin: 0;
	font-size: .875em;
}

.nxc-root form.nxc-login__form .password-input {
	position: relative;
	display: block;
}

.nxc-root form.nxc-login__form .password-input input.input-text {
	padding-right: 48px;
}

.nxc-root form.nxc-login__form .show-password-input {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--nxc-radius-sm);
	background-color: var(--nxc-muted);
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.nxc-root form.nxc-login__form .show-password-input::after {
	display: none;
}

.nxc-root form.nxc-login__form .show-password-input.display-password {
	background-color: var(--nxc-primary);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.1A10 10 0 0 1 12 6c6.5 0 10 6 10 6a17 17 0 0 1-3.3 4M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a9.6 9.6 0 0 0 4.4-1.1'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 6.1A10 10 0 0 1 12 6c6.5 0 10 6 10 6a17 17 0 0 1-3.3 4M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a9.6 9.6 0 0 0 4.4-1.1'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}

/* Cupom em pop-up do TemplateMela (Avanam/Fashiro): o checkout já tem o cupom no resumo. */
.nxc-root .coupon_inner_checkout,
.nxc-root #base-coupon-modal,
.nxc-root .bt-coupon-modal-overlay,
body.nxc-canvas #base-coupon-modal,
body.nxc-canvas .bt-coupon-modal-overlay {
	display: none !important;
}

/* ================================================================== *
 * ÁREA DO CLIENTE
 * ================================================================== */
body.nxc-mode-theme .nxc-root.nxc-account,
body.nxc-mode-theme .nxc-root.nxc-auth {
	max-width: var(--nxc-container);
	margin: 0 auto;
	padding: var(--nxc-gap) 0 var(--nxc-section);
}

.nxc-root .nxc-eyebrow {
	display: block;
	margin: 0 0 4px;
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Cabeçalho (página própria) */
.nxc-root .nxc-header--account .nxc-header__inner {
	grid-template-columns: auto 1fr;
}

.nxc-root .nxc-header__links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.nxc-root .nxc-header__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: var(--nxc-radius-sm);
	color: inherit;
	font-size: .875em;
	font-weight: 600;
	text-decoration: none;
}

.nxc-root .nxc-header__link:hover {
	background: var(--nxc-primary-soft);
}

.nxc-root .nxc-header__link span {
	display: none;
}

.nxc-root .nxc-header__cart span.nxc-header__count {
	position: absolute;
	top: 2px;
	right: 2px;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--nxc-primary);
	color: #fff;
	font-size: .6875em;
}

@media (min-width: 640px) {
	.nxc-root .nxc-header__link span {
		display: inline;
	}
}

/* Estrutura */
.nxc-root .nxc-account__layout {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

.nxc-root .nxc-account__content {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	min-width: 0;
}

/* O CSS do WooCommerce limita .woocommerce-MyAccount-content a 68% (float);
 * aqui a coluna é do grid e ocupa todo o espaço. */
.woocommerce-account .nxc-root .nxc-account__content.woocommerce-MyAccount-content,
.nxc-root .nxc-account__content.woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.nxc-root .nxc-account__content .nxc-card + .nxc-card {
	margin-top: 0;
}

/* Perfil + menu */
.nxc-root .nxc-account__aside {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.nxc-root .nxc-account__aside .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-profile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px var(--nxc-pad);
}

.nxc-root .nxc-profile__avatar {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--nxc-primary), var(--nxc-accent));
	color: #fff;
	font-weight: 700;
	letter-spacing: .02em;
}

.nxc-root .nxc-profile__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nxc-root .nxc-profile__name {
	overflow: hidden;
	color: var(--nxc-text);
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxc-root .nxc-profile__email {
	overflow: hidden;
	color: var(--nxc-muted);
	font-size: .8125em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxc-root .nxc-menu {
	padding: 6px;
}

.nxc-root .nxc-menu__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.nxc-root .nxc-menu__list::-webkit-scrollbar {
	display: none;
}

.nxc-root .nxc-menu__item {
	flex: none;
	margin: 0;
}

.nxc-root .nxc-menu__link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--nxc-radius-sm);
	color: var(--nxc-muted);
	font-size: .875em;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--nxc-duration), color var(--nxc-duration);
}

.nxc-root .nxc-menu__link:hover {
	background: var(--nxc-bg);
	color: var(--nxc-text);
}

.nxc-root .nxc-menu__item.is-current .nxc-menu__link {
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-menu__item--logout .nxc-menu__link:hover {
	color: var(--nxc-error);
}

@media (min-width: 960px) {
	.nxc-root .nxc-account__layout {
		display: grid;
		grid-template-columns: 260px minmax(0, 1fr);
		align-items: start;
		gap: var(--nxc-section);
	}

	.nxc-root .nxc-account__aside {
		position: sticky;
		top: calc(var(--nxc-gap) + var(--nxc-admin-bar, 0px));
	}

	.nxc-root .nxc-menu__list {
		flex-direction: column;
		overflow: visible;
	}

	.nxc-root .nxc-menu__item--logout {
		margin-top: 6px;
		padding-top: 6px;
		border-top: 1px solid var(--nxc-border);
	}
}

/* Títulos de página */
.nxc-root .nxc-account-hero__title,
.nxc-root .nxc-page-head__title {
	margin: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.6em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.02em;
	line-height: 1.2;
}

.nxc-root .nxc-account-hero__text,
.nxc-root .nxc-page-head__meta {
	margin: 6px 0 0;
	color: var(--nxc-muted);
}

.nxc-root .nxc-page-head--order {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nxc-root .nxc-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	color: var(--nxc-muted);
	font-size: .875em;
	font-weight: 600;
	text-decoration: none;
}

.nxc-root .nxc-back:hover {
	color: var(--nxc-primary);
}

.nxc-root .nxc-section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 8px 0 12px;
}

.nxc-root .nxc-section-title h2 {
	margin: 0;
	font-family: var(--nxc-font-heading);
	font-size: 1.125em;
	font-weight: var(--nxc-heading-weight);
}

.nxc-root .nxc-dashboard,
.nxc-root .nxc-orders,
.nxc-root .nxc-order-view,
.nxc-root .nxc-edit-page,
.nxc-root .nxc-addresses-page {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

/* Botão pequeno */
.nxc-root .nxc-btn--sm,
.nxc-root a.nxc-btn--sm,
.nxc-root button.nxc-btn--sm {
	min-height: 38px;
	padding: 0 14px;
	font-size: .875em;
}

/* Selo de status */
.nxc-root .nxc-status-chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--nxc-bg);
	color: var(--nxc-text);
	font-size: .8125em;
	font-weight: 700;
	white-space: nowrap;
}

.nxc-root .nxc-status-chip__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
}

.nxc-root .nxc-status-chip--success { background: var(--nxc-success-soft); color: var(--nxc-success); }
.nxc-root .nxc-status-chip--warning { background: var(--nxc-warning-soft); color: #b54708; }
.nxc-root .nxc-status-chip--error { background: var(--nxc-error-soft); color: var(--nxc-error); }
.nxc-root .nxc-status-chip--info { background: var(--nxc-primary-soft); color: var(--nxc-primary); }

.nxc-root .nxc-tone-text-success { color: var(--nxc-success); }
.nxc-root .nxc-tone-text-warning { color: #b54708; }
.nxc-root .nxc-tone-text-error { color: var(--nxc-error); }

/* Cartão de pedido */
.nxc-root .nxc-order-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nxc-root .nxc-order-list > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-order-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--nxc-pad);
	transition: box-shadow var(--nxc-duration), border-color var(--nxc-duration);
}

.nxc-root .nxc-order-card:hover {
	border-color: #d0d5dd;
	box-shadow: var(--nxc-shadow-lg);
}

.nxc-root .nxc-order-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.nxc-root .nxc-order-card__id {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nxc-root .nxc-order-card__number {
	color: var(--nxc-text);
	font-weight: 700;
	text-decoration: none;
}

.nxc-root .nxc-order-card__date {
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-order-card__body {
	display: flex;
	align-items: center;
	gap: 14px;
	color: inherit;
	text-decoration: none;
}

.nxc-root .nxc-order-card__summary {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nxc-root .nxc-order-card__message {
	color: var(--nxc-text);
	font-weight: 600;
	line-height: 1.4;
}

.nxc-root .nxc-order-card__expected {
	color: var(--nxc-success);
	font-size: .8125em;
	font-weight: 600;
}

.nxc-root .nxc-order-card__total {
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root .nxc-order-card__chevron {
	flex: none;
	color: var(--nxc-muted);
}

.nxc-root .nxc-order-card__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.nxc-root .nxc-order-card--featured {
	border-color: var(--nxc-primary);
	box-shadow: 0 0 0 1px var(--nxc-primary), var(--nxc-shadow-lg);
}

/* Miniaturas */
.nxc-root .nxc-thumbs {
	display: flex;
	flex: none;
}

.nxc-root .nxc-thumb {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	overflow: hidden;
	border: 2px solid var(--nxc-surface);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-bg);
	box-shadow: 0 0 0 1px var(--nxc-border);
}

.nxc-root .nxc-thumb + .nxc-thumb {
	margin-left: -14px;
}

.nxc-root .nxc-thumb img,
.nxc-root .nxc-thumb__img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.nxc-root .nxc-thumb--more {
	color: var(--nxc-muted);
	font-size: .8125em;
	font-weight: 700;
}

/* Barra de progresso */
.nxc-root .nxc-progressbar {
	height: 6px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--nxc-bg);
}

.nxc-root .nxc-progressbar__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--nxc-primary), var(--nxc-accent));
	transition: width .6s var(--nxc-ease);
}

.nxc-root .nxc-tone-success .nxc-progressbar__fill {
	background: var(--nxc-success);
}

/* Atalhos: colunas conforme a quantidade de cartões e a largura disponível
 * (sem cartão "sobrando" sozinho numa linha). */
.nxc-root .nxc-dashboard {
	container-type: inline-size;
}

.nxc-root .nxc-tiles {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}

@container (min-width: 440px) {
	.nxc-root .nxc-tiles--2,
	.nxc-root .nxc-tiles--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@container (min-width: 600px) {
	.nxc-root .nxc-tiles--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container (min-width: 860px) {
	.nxc-root .nxc-tiles--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nxc-root .nxc-tiles > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-tile {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 16px 18px;
	color: inherit;
	text-decoration: none;
	transition: border-color var(--nxc-duration), transform var(--nxc-duration), box-shadow var(--nxc-duration);
}

.nxc-root .nxc-tile:hover {
	border-color: var(--nxc-primary);
	box-shadow: var(--nxc-shadow);
	transform: translateY(-1px);
}

.nxc-root .nxc-tile__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-tile__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nxc-root .nxc-tile__text strong {
	overflow: hidden;
	color: var(--nxc-text);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nxc-root .nxc-tile__text span {
	color: var(--nxc-muted);
	font-size: .8125em;
}

/* Estado vazio */
.nxc-root .nxc-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: calc(var(--nxc-pad) * 1.5);
	text-align: center;
}

.nxc-root .nxc-empty-state h2 {
	margin: 6px 0 0;
	font-family: var(--nxc-font-heading);
	font-size: 1.2em;
}

.nxc-root .nxc-empty-state p {
	max-width: 420px;
	margin: 0 0 8px;
	color: var(--nxc-muted);
}

.nxc-root .nxc-empty-state__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

/* Paginação */
.nxc-root .nxc-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.nxc-root .nxc-pagination__info {
	color: var(--nxc-muted);
	font-size: .875em;
}

/* Linha do tempo */
.nxc-root .nxc-track__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: var(--nxc-pad);
}

.nxc-root .nxc-track__title {
	margin: 0;
	font-family: var(--nxc-font-heading);
	font-size: 1.4em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.01em;
}

.nxc-root .nxc-track__message {
	margin: 4px 0 0;
	color: var(--nxc-muted);
}

.nxc-root .nxc-track__expected {
	display: flex;
	flex-direction: column;
	padding: 10px 14px;
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-success-soft);
	color: var(--nxc-text);
}

.nxc-root .nxc-track__expected span {
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 600;
}

.nxc-root .nxc-steps {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-steps__item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 18px;
}

.nxc-root .nxc-steps__item:last-child {
	padding-bottom: 0;
}

.nxc-root .nxc-steps__item::before {
	content: "";
	position: absolute;
	top: 26px;
	bottom: 2px;
	left: 12px;
	width: 2px;
	background: var(--nxc-border);
}

.nxc-root .nxc-steps__item:last-child::before {
	display: none;
}

.nxc-root .nxc-steps__item.is-done::before {
	background: var(--nxc-primary);
}

.nxc-root .nxc-steps__dot {
	position: relative;
	z-index: 1;
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 2px solid var(--nxc-border);
	border-radius: 50%;
	background: var(--nxc-surface);
	color: #fff;
}

.nxc-root .nxc-steps__item.is-done .nxc-steps__dot {
	border-color: var(--nxc-primary);
	background: var(--nxc-primary);
}

.nxc-root .nxc-steps__item.is-current .nxc-steps__dot {
	border-color: var(--nxc-primary);
	box-shadow: 0 0 0 5px var(--nxc-primary-soft);
}

.nxc-root .nxc-steps__item.is-current .nxc-steps__dot::after {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--nxc-primary);
	animation: nxc-pulse 1.6s ease-in-out infinite;
}

.nxc-root .nxc-steps__item.is-error .nxc-steps__dot {
	border-color: var(--nxc-error);
	background: var(--nxc-error);
}

.nxc-root .nxc-steps__item.is-warning .nxc-steps__dot {
	border-color: var(--nxc-warning);
	background: var(--nxc-warning);
}

@keyframes nxc-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(.7); opacity: .6; }
}

.nxc-root .nxc-steps__text {
	display: flex;
	flex-direction: column;
	padding-top: 2px;
}

.nxc-root .nxc-steps__label {
	color: var(--nxc-muted);
	font-weight: 600;
}

.nxc-root .nxc-steps__item.is-done .nxc-steps__label,
.nxc-root .nxc-steps__item.is-error .nxc-steps__label,
.nxc-root .nxc-steps__item.is-warning .nxc-steps__label {
	color: var(--nxc-text);
}

.nxc-root .nxc-steps__item.is-current .nxc-steps__label {
	color: var(--nxc-primary);
}

.nxc-root .nxc-steps__date {
	color: var(--nxc-muted);
	font-size: .8125em;
}

/* Horizontal só quando o próprio cartão é largo o suficiente (container query). */
.nxc-root .nxc-track {
	container-type: inline-size;
}

@container (min-width: 640px) {
	.nxc-root .nxc-steps {
		flex-direction: row;
	}

	.nxc-root .nxc-steps__item {
		flex: 1;
		flex-direction: column;
		align-items: center;
		padding-bottom: 0;
		text-align: center;
	}

	.nxc-root .nxc-steps__item::before {
		top: 12px;
		right: -50%;
		bottom: auto;
		left: 50%;
		width: auto;
		height: 2px;
	}

	.nxc-root .nxc-steps__text {
		align-items: center;
		padding: 0 4px;
	}

	.nxc-root .nxc-steps__label {
		font-size: .875em;
		line-height: 1.3;
	}
}

/* Rota (eventos dos Correios) */
.nxc-root .nxc-route {
	margin-top: var(--nxc-pad);
	padding-top: var(--nxc-pad);
	border-top: 1px solid var(--nxc-border);
}

.nxc-root .nxc-route__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.nxc-root .nxc-route__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-route__code {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.nxc-root .nxc-route__code span {
	color: var(--nxc-muted);
	font-size: .75em;
	font-weight: 600;
}

.nxc-root .nxc-route__code strong {
	color: var(--nxc-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05em;
	letter-spacing: .04em;
}

.nxc-root [data-nxc-copy].is-copied {
	border-color: var(--nxc-success);
	color: var(--nxc-success);
}

.nxc-root .nxc-route__events {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-route__event {
	position: relative;
	display: flex;
	gap: 14px;
	padding-bottom: 18px;
}

.nxc-root .nxc-route__event:last-child {
	padding-bottom: 0;
}

.nxc-root .nxc-route__event::before {
	content: "";
	position: absolute;
	top: 16px;
	bottom: -2px;
	left: 6px;
	width: 2px;
	background: var(--nxc-border);
}

.nxc-root .nxc-route__event:last-child::before {
	display: none;
}

.nxc-root .nxc-route__dot {
	position: relative;
	z-index: 1;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 4px;
	border: 3px solid var(--nxc-surface);
	border-radius: 50%;
	background: #c0c5cf;
	box-shadow: 0 0 0 1px #c0c5cf;
}

.nxc-root .nxc-route__event.is-latest .nxc-route__dot {
	background: var(--nxc-primary);
	box-shadow: 0 0 0 4px var(--nxc-primary-soft);
}

.nxc-root .nxc-route__event--delivered.is-latest .nxc-route__dot {
	background: var(--nxc-success);
	box-shadow: 0 0 0 4px var(--nxc-success-soft);
}

.nxc-root .nxc-route__event--issue.is-latest .nxc-route__dot {
	background: var(--nxc-warning);
	box-shadow: 0 0 0 4px var(--nxc-warning-soft);
}

.nxc-root .nxc-route__body p {
	margin: 0;
}

.nxc-root .nxc-route__desc {
	color: var(--nxc-text);
	font-weight: 600;
	line-height: 1.4;
}

.nxc-root .nxc-route__event:not(.is-latest) .nxc-route__desc {
	color: #475467;
	font-weight: 500;
}

.nxc-root .nxc-route__detail {
	color: var(--nxc-muted);
	font-size: .875em;
}

.nxc-root .nxc-route__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-top: 2px !important;
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-route__meta span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.nxc-root .nxc-route__empty {
	margin: 0;
	padding: 12px 14px;
	border: 1px dashed var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	color: var(--nxc-muted);
	font-size: .875em;
}

/* Detalhe do pedido */
.nxc-root .nxc-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nxc-root .nxc-order-view__grid {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

.nxc-root .nxc-order-view__main,
.nxc-root .nxc-order-view__side {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	min-width: 0;
}

.nxc-root .nxc-order-view__main > .nxc-card + .nxc-card,
.nxc-root .nxc-order-view__side > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-order-view {
	container-type: inline-size;
}

@container (min-width: 980px) {
	.nxc-root .nxc-order-view__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 340px;
		align-items: start;
	}
}

.nxc-root .nxc-order-items .nxc-item__name {
	color: var(--nxc-text);
	text-decoration: none;
}

.nxc-root .nxc-order-items .nxc-item__name:hover {
	color: var(--nxc-primary);
}

.nxc-root .nxc-order-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nxc-root .nxc-order-info__block p {
	margin: 0;
}

.nxc-root .nxc-order-info .nxc-label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

/* Saída do Correios Automático (ex.: "Solicitar devolução") */
.nxc-root .nxc-order-extras .button,
.nxc-root .nxc-order-extras button {
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-btn);
	background: var(--nxc-surface);
	color: var(--nxc-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.nxc-root .nxc-order-extras .button:hover,
.nxc-root .nxc-order-extras button:hover {
	border-color: var(--nxc-primary);
	color: var(--nxc-primary);
}

.nxc-root .nxc-order-extras .infixs-caref-return-confirm {
	border-color: var(--nxc-button);
	background: var(--nxc-button);
	color: var(--nxc-button-text);
}

.nxc-root .infixs-caref-return-modal-content {
	max-width: 480px;
	margin: 0 auto;
	padding: var(--nxc-pad);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow-lg);
}

.nxc-root .infixs-caref-return-modal-content h3 {
	margin-top: 0;
}

.nxc-root .infixs-caref-return-modal-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

/* Endereços */
.nxc-root .nxc-address-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--nxc-gap);
}

@media (min-width: 720px) {
	.nxc-root .nxc-address-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nxc-root .nxc-address-grid > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-address-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.nxc-root .nxc-address-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nxc-root .nxc-address-card__head .nxc-card__title {
	margin: 0;
}

.nxc-root .nxc-address-card__icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

/* Formulários */
.nxc-root .nxc-form-card-group {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	margin: 0;
}

.nxc-root .nxc-form-card-group > .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root form.nxc-form-card {
	margin: 0;
}

.nxc-root .nxc-form-card__hint {
	margin: -8px 0 14px;
	font-size: .875em;
}

.nxc-root .nxc-form-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-form-card .nxc-fields .form-row {
	margin: 0;
}

/* Entrar / criar conta / senha */
.nxc-root.nxc-auth {
	display: flex;
	justify-content: center;
	padding: var(--nxc-gap) 0;
}

.nxc-root .nxc-auth__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	max-width: 440px;
	padding: calc(var(--nxc-pad) * 1.3);
}

.nxc-root .nxc-auth__card--center {
	align-items: center;
	text-align: center;
}

.nxc-root .nxc-auth__brand {
	display: flex;
	justify-content: center;
}

.nxc-root .nxc-auth__brand .nxc-logo__img {
	max-height: 56px;
}

.nxc-root .nxc-auth__tabs {
	display: flex;
	width: 100%;
	padding: 4px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-bg);
}

.nxc-root .nxc-auth__tabs .nxc-segmented__btn {
	flex: 1;
	padding: 10px;
	border: 0;
	border-radius: var(--nxc-radius-sm);
	background: transparent;
	color: var(--nxc-muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.nxc-root .nxc-auth__tabs .nxc-segmented__btn.is-active,
.nxc-root .nxc-auth__tabs .nxc-segmented__btn[aria-selected="true"] {
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
	color: var(--nxc-text);
}

.nxc-root .nxc-auth.is-js[data-nxc-tab="login"] [data-nxc-tab-panel="register"],
.nxc-root .nxc-auth.is-js[data-nxc-tab="register"] [data-nxc-tab-panel="login"],
.nxc-root.nxc-auth.is-js[data-nxc-tab="login"] [data-nxc-tab-panel="register"],
.nxc-root.nxc-auth.is-js[data-nxc-tab="register"] [data-nxc-tab-panel="login"] {
	display: none;
}

.nxc-root .nxc-auth__panel + .nxc-auth__panel {
	padding-top: 14px;
	border-top: 1px solid var(--nxc-border);
}

.nxc-root.nxc-auth.is-js .nxc-auth__panel + .nxc-auth__panel {
	padding-top: 0;
	border-top: 0;
}

.nxc-root .nxc-auth__title {
	margin: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.4em;
	font-weight: var(--nxc-heading-weight);
	letter-spacing: -.01em;
}

.nxc-root .nxc-auth__text {
	margin: 4px 0 16px;
	color: var(--nxc-muted);
}

.nxc-root .nxc-auth form {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

.nxc-root .nxc-auth .form-row {
	margin: 0;
}

.nxc-root .nxc-auth__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 14px 0 var(--nxc-gap);
}

.nxc-root .nxc-auth__row .nxc-check {
	font-size: .875em;
}

.nxc-root .nxc-auth__hint {
	margin: 0;
	font-size: .875em;
}

.nxc-root .nxc-auth form .nxc-fields + .nxc-btn--block,
.nxc-root .nxc-auth form input[type="hidden"] + .nxc-btn--block {
	margin-top: var(--nxc-gap);
}

.nxc-root .nxc-auth__secure,
.nxc-root .nxc-auth__footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 4px 0 0;
	color: var(--nxc-muted);
	font-size: .8125em;
}

/* Botão de senha do WooCommerce (olho) em todos os formulários do plugin */
.nxc-root .password-input {
	position: relative;
	display: block;
}

.nxc-root .password-input input.input-text {
	padding-right: 48px;
}

.nxc-root .show-password-input {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--nxc-radius-sm);
	background-color: var(--nxc-muted);
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.nxc-root .show-password-input::after {
	display: none;
}

.nxc-root .show-password-input.display-password {
	background-color: var(--nxc-primary);
}

/* Menu/perfil: espaçamento próprio e sem estilos de lista/links do tema. */
.nxc-root .nxc-card.nxc-menu {
	padding: 6px;
}

.nxc-root .nxc-card.nxc-profile {
	padding: 14px var(--nxc-pad);
}

.nxc-root .nxc-menu .nxc-menu__item {
	padding: 0;
	border: 0;
	list-style: none;
}

.nxc-root .nxc-menu .nxc-menu__link,
.nxc-root.nxc-account a.nxc-btn,
.nxc-root.nxc-account a.nxc-tile,
.nxc-root.nxc-account a.nxc-order-card__body,
.nxc-root.nxc-account a.nxc-back {
	text-decoration: none !important;
}

.nxc-root .nxc-menu .nxc-menu__list {
	margin: 0 !important;
	padding: 0 !important;
}

/* Checkbox + rótulo sempre alinhados (inclusive dentro de formulários de login). */
.nxc-root label.nxc-check {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin: 0;
}

/* ------------------------------------------------------------------ *
 * Formulários do plugin: sem bordas/padding que o tema aplica a
 * form.login, form.register, form.lost_reset_password, edit-account...
 * ------------------------------------------------------------------ */
.nxc-root form.woocommerce-form-login,
.nxc-root form.woocommerce-form-register,
.nxc-root form.lost_reset_password,
.nxc-root form.woocommerce-EditAccountForm,
.nxc-root.nxc-auth form,
.nxc-root .nxc-auth form {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* O cartão de login do checkout continua sendo um cartão. */
.nxc-root form.nxc-login__form.woocommerce-form-login {
	padding: var(--nxc-pad) !important;
	border: 1px solid var(--nxc-border) !important;
	border-radius: var(--nxc-radius-lg) !important;
	background: var(--nxc-surface) !important;
	box-shadow: var(--nxc-shadow) !important;
}

.nxc-root.nxc-auth .form-row,
.nxc-root .nxc-auth .form-row,
.nxc-root .nxc-form-card .form-row {
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* ------------------------------------------------------------------ *
 * Pop-up de login
 * ------------------------------------------------------------------ */
html.nxc-modal-open,
html.nxc-modal-open body {
	overflow: hidden !important;
}

html.nxc-modal-loading,
html.nxc-modal-loading * {
	cursor: progress !important;
}

.nxc-root.nxc-modal {
	position: fixed;
	inset: 0;
	z-index: var(--nxc-z, 99990);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: var(--nxc-font);
}

.nxc-root.nxc-modal[hidden] {
	display: none !important;
}

.nxc-root .nxc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .55);
	opacity: 0;
	transition: opacity var(--nxc-duration) var(--nxc-ease);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.nxc-root .nxc-modal__panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	overflow-y: auto;
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: 0 24px 64px rgba(16, 24, 40, .28);
	opacity: 0;
	transform: translateY(12px) scale(.98);
	transition: opacity var(--nxc-duration) var(--nxc-ease), transform var(--nxc-duration) var(--nxc-ease);
	overscroll-behavior: contain;
	/* Rola se a tela for baixa, mas sem barra de rolagem visível. */
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.nxc-root .nxc-modal__panel::-webkit-scrollbar {
	display: none;
}

.nxc-root.nxc-modal.is-open .nxc-modal__backdrop {
	opacity: 1;
}

.nxc-root.nxc-modal.is-open .nxc-modal__panel {
	opacity: 1;
	transform: none;
}

/* O tema aplica espaçamento entre letras em tudo; no pop-up, não. */
.nxc-root.nxc-modal,
.nxc-root.nxc-modal * {
	letter-spacing: normal !important;
}

.nxc-root.nxc-modal .nxc-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 32px;
	min-width: 0;
	height: 32px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--nxc-muted);
	font-family: inherit;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background var(--nxc-duration) var(--nxc-ease), color var(--nxc-duration) var(--nxc-ease);
}

.nxc-root.nxc-modal .nxc-modal__close:hover,
.nxc-root.nxc-modal .nxc-modal__close:focus-visible {
	background: var(--nxc-bg);
	color: var(--nxc-text);
}

/* O conteúdo do pop-up é o próprio cartão de login, sem moldura extra. */
.nxc-root.nxc-modal .nxc-auth {
	display: block;
	margin: 0;
	padding: 0;
}

.nxc-root.nxc-modal .nxc-auth__card {
	gap: 12px;
	max-width: none;
	margin: 0;
	padding: 28px 28px 20px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.nxc-root.nxc-modal .nxc-auth__brand .nxc-logo__img {
	max-height: 44px;
}

.nxc-root.nxc-modal .nxc-auth__tabs .nxc-segmented__btn {
	padding: 8px;
}

.nxc-root.nxc-modal .nxc-auth__title {
	font-size: 1.25em;
}

.nxc-root.nxc-modal .nxc-auth__text {
	margin: 2px 0 12px;
	font-size: .9375em;
}

.nxc-root.nxc-modal .nxc-fields {
	gap: 12px;
}

.nxc-root.nxc-modal .nxc-auth__row {
	margin: 12px 0 16px;
}

@media (max-width: 480px) {
	.nxc-root.nxc-modal {
		align-items: flex-end;
		padding: 0;
	}

	.nxc-root .nxc-modal__panel {
		max-width: none;
		max-height: 92vh;
		max-height: 92dvh;
		border-radius: var(--nxc-radius-lg) var(--nxc-radius-lg) 0 0;
		transform: translateY(24px);
	}

	.nxc-root.nxc-modal .nxc-auth__card {
		padding: 24px 20px 20px;
	}
}

/* ================================================================== *
 * PÁGINA DO CARRINHO
 * ================================================================== */

/* Carrinho e área do cliente (página própria) aproveitam telas largas. */
.nxc-root.nxc-shell--cart,
.nxc-root.nxc-shell--account {
	--nxc-container: var(--nxc-container-wide, 1600px);
}

/* O contêiner .woocommerce do shortcode não limita a largura do plugin
   (o CSS de temas de blocos do WooCommerce o fixa em 1000px). */
.nxc-shell__main > .woocommerce,
.woocommerce:has(> .nxc-root.nxc-cart),
.woocommerce:has(> .nxc-root.nxc-account) {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

@media (min-width: 1200px) {
	.nxc-shell--cart .nxc-shell__main,
	.nxc-shell--account .nxc-shell__main {
		padding-right: 32px;
		padding-left: 32px;
	}
}

body.nxc-mode-theme .nxc-root.nxc-cart {
	clear: both;
	max-width: var(--nxc-container-wide, 1600px);
	margin-right: auto;
	margin-left: auto;
	padding: var(--nxc-gap) 0 var(--nxc-section);
}

.nxc-root.nxc-cart {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	color: var(--nxc-text);
	font-family: var(--nxc-font);
}

.nxc-root.nxc-cart .nxc-card + .nxc-card {
	margin-top: 0;
}

.nxc-root .nxc-cart__progress {
	margin: 0;
}

.nxc-root .nxc-cart__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
}

.nxc-root .nxc-cart__title {
	margin: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.6em;
	font-weight: var(--nxc-heading-weight);
	line-height: 1.2;
	letter-spacing: -.01em;
}

.nxc-root .nxc-cart__count {
	margin: 2px 0 0;
	font-size: .9375em;
}

.nxc-root .nxc-cart__continue {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none !important;
}

.nxc-root .nxc-cart__layout {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

.nxc-root .nxc-cart__main,
.nxc-root .nxc-cart__side {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	min-width: 0;
}

.nxc-root .nxc-cart__side .nxc-card + .nxc-card {
	margin-top: 0;
}

/* Coluna do resumo: sem floats/larguras do WooCommerce ou do tema. */
.nxc-root.nxc-cart .cart-collaterals,
.nxc-root.nxc-cart .cart-collaterals .cart_totals,
.nxc-root.nxc-cart .cart_totals {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.nxc-root .nxc-cart__collaterals {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
}

.nxc-root .nxc-cart__extra {
	min-width: 0;
}

@media (min-width: 960px) {
	.nxc-root .nxc-cart__layout {
		display: grid;
		grid-template-areas:
			"main side"
			"extra side";
		grid-template-columns: minmax(0, 1fr) clamp(340px, 28vw, 420px);
		grid-template-rows: auto 1fr;
		align-items: start;
		gap: var(--nxc-gap) var(--nxc-section);
	}

	.nxc-root .nxc-cart__main {
		grid-area: main;
	}

	.nxc-root .nxc-cart__extra {
		grid-area: extra;
	}

	.nxc-root .nxc-cart__side {
		grid-area: side;
	}
}

/* Resumo "grudado" ao rolar: só na página própria e com tela alta o bastante
   para mostrar o resumo inteiro (senão o botão "Fechar pedido" fica fora da
   tela). Dentro do tema não, pois cabeçalhos fixos do tema o cobririam. */
@media (min-width: 960px) and (min-height: 860px) {
	.nxc-shell .nxc-root .nxc-cart__side {
		position: sticky;
		top: calc(var(--nxc-gap) + var(--nxc-admin-bar, 0px));
	}
}

/* ---------------- Itens ---------------- */
.nxc-root .nxc-cart__items {
	padding-top: 6px;
	padding-bottom: 6px;
}

.nxc-root .nxc-cart-table,
.nxc-root table.shop_table.nxc-cart-table {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

.nxc-root .nxc-cart-table thead.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.nxc-root .nxc-cart-table tbody {
	display: block;
}

.nxc-root .nxc-cart-table tr {
	display: block;
	margin: 0;
	border: 0;
	background: none !important;
}

.nxc-root .nxc-cart-table td,
.nxc-root .nxc-cart-table th {
	display: block !important;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: inherit;
	text-align: left;
	vertical-align: middle;
}

/* Tabela responsiva do WooCommerce/tema: rótulos "Produto:", "Preço:" nas células. */
.nxc-root .nxc-cart-table td::before {
	display: none !important;
	content: none !important;
}

.nxc-root .nxc-cart-table tr.nxc-cart-item {
	display: grid !important;
	grid-template-areas:
		"thumb name subtotal"
		"thumb qty remove";
	grid-template-columns: 88px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--nxc-border);
}

.nxc-root .nxc-cart-table td.product-thumbnail {
	grid-area: thumb;
	align-self: start;
}

.nxc-root .nxc-cart-table td.product-thumbnail a {
	display: block;
}

.nxc-root .nxc-cart-table td.product-thumbnail img {
	display: block;
	width: 88px !important;
	max-width: 88px !important;
	height: 88px !important;
	margin: 0;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-bg);
	object-fit: cover;
}

.nxc-root .nxc-cart-table td.product-name {
	grid-area: name;
	display: flex !important;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	align-self: start;
}

.nxc-root .nxc-cart-item__name,
.nxc-root .nxc-cart-item__name a {
	color: var(--nxc-text) !important;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	overflow-wrap: anywhere;
}

.nxc-root .nxc-cart-item__name a:hover {
	color: var(--nxc-primary) !important;
}

/* Imagens que temas injetam no nome: a miniatura já existe. */
.nxc-root .nxc-cart-item__name img {
	display: none !important;
}

.nxc-root .nxc-cart-table td.product-name dl.variation,
.nxc-root .nxc-cart-table td.product-name .variation {
	margin: 0;
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-cart-table td.product-name dl.variation dt,
.nxc-root .nxc-cart-table td.product-name dl.variation dd {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
}

.nxc-root .nxc-cart-table td.product-name dl.variation dd p {
	display: inline;
	margin: 0;
}

.nxc-root .nxc-cart-table td.product-name dl.variation dd::after {
	content: "";
	display: block;
}

.nxc-root .nxc-cart-table .backorder_notification {
	margin: 0;
	color: var(--nxc-warning);
	font-size: .8125em;
}

.nxc-root .nxc-cart-item__unit {
	color: var(--nxc-muted);
	font-size: .8125em;
}

.nxc-root .nxc-cart-table td.product-quantity {
	grid-area: qty;
}

.nxc-root .nxc-cart-table td.product-subtotal {
	grid-area: subtotal;
	align-self: start;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.nxc-root .nxc-cart-table td.product-remove {
	grid-area: remove;
	text-align: right;
}

/* Quantidade: − [campo] + */
.nxc-root .nxc-stepper {
	display: inline-flex;
	align-items: stretch;
	height: 38px;
	overflow: hidden;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
}

.nxc-root .nxc-stepper.is-single .nxc-stepper__btn {
	display: none;
}

.nxc-root .nxc-stepper__btn {
	display: grid;
	place-items: center;
	width: 36px;
	min-width: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--nxc-text);
	font: inherit;
	font-size: 1.15em;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background var(--nxc-duration), color var(--nxc-duration);
}

.nxc-root .nxc-stepper__btn:hover:not(:disabled) {
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary);
}

.nxc-root .nxc-stepper__btn:disabled {
	cursor: not-allowed;
	opacity: .35;
}

.nxc-root .nxc-stepper .quantity {
	display: flex !important;
	align-items: stretch;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
}

/* Botões +/- que o tema injeta por JavaScript: os do plugin já existem. */
.nxc-root .nxc-stepper .quantity :is(.minus, .plus, .qty-minus, .qty-plus, .quantity-button, input[type="button"], button) {
	display: none !important;
}

.nxc-root .nxc-stepper .quantity input.qty {
	width: 44px !important;
	min-width: 0 !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-right: 1px solid var(--nxc-border) !important;
	border-left: 1px solid var(--nxc-border) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--nxc-text) !important;
	font: inherit;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.nxc-root .nxc-stepper.is-single .quantity input.qty {
	border: 0 !important;
}

.nxc-root .nxc-stepper .quantity input.qty::-webkit-outer-spin-button,
.nxc-root .nxc-stepper .quantity input.qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.nxc-root .nxc-stepper .quantity input.qty:focus {
	outline: 0;
	background: var(--nxc-primary-soft) !important;
}

/* Remover */
.nxc-root .nxc-cart-table .product-remove > a.remove {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
	width: auto !important;
	height: auto !important;
	margin: 0;
	padding: 4px 6px !important;
	border: 0 !important;
	border-radius: var(--nxc-radius-sm) !important;
	background: transparent !important;
	color: var(--nxc-muted) !important;
	font-size: .8125em !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-align: left;
	text-decoration: none !important;
	text-indent: 0 !important;
}

.nxc-root .nxc-cart-table .product-remove > a.remove:hover {
	background: var(--nxc-error-soft) !important;
	color: var(--nxc-error) !important;
}

.nxc-root .nxc-cart-table .product-remove > a.remove::before,
.nxc-root .nxc-cart-table .product-remove > a.remove::after {
	display: none !important;
}

/* Linha de ações: cupom + atualizar */
.nxc-root .nxc-cart-table tr.nxc-cart-actions td.actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0 10px !important;
}

.nxc-root .nxc-cart-coupon {
	display: flex !important;
	flex: 1 1 320px;
	flex-direction: column;
	align-items: stretch !important;
	gap: 8px;
	text-align: left;
	float: none !important;
	width: auto !important;
	max-width: 440px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.nxc-root .nxc-cart-coupon__label {
	display: inline-flex !important;
	align-self: flex-start;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--nxc-text);
	font-size: .9375em;
	font-weight: 600;
}

.nxc-root .nxc-cart-coupon__label .nxc-icon {
	color: var(--nxc-primary);
}

.nxc-root .nxc-cart-coupon__row,
.nxc-root .nxc-cep-calc__row {
	display: flex;
	gap: 8px;
}

.nxc-root.nxc-cart :is(.nxc-cart-coupon__row, .nxc-cep-calc__row) input.input-text {
	flex: 1;
	width: auto !important;
	min-width: 0;
	height: var(--nxc-input-h) !important;
	min-height: var(--nxc-input-h);
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--nxc-border) !important;
	border-radius: var(--nxc-radius-sm) !important;
	background: var(--nxc-surface) !important;
	box-shadow: none !important;
	color: var(--nxc-text) !important;
	font: inherit;
	font-size: 1em;
	line-height: normal;
}

.nxc-root.nxc-cart :is(.nxc-cart-coupon__row, .nxc-cep-calc__row) input.input-text:focus {
	border-color: var(--nxc-primary) !important;
	outline: 0;
	box-shadow: 0 0 0 4px var(--nxc-focus) !important;
}

.nxc-root.nxc-cart :is(.nxc-cart-coupon__row, .nxc-cep-calc__row) .nxc-btn {
	flex: none;
	width: auto !important;
	min-height: var(--nxc-input-h);
	padding: 0 18px;
}

.nxc-root .nxc-cart-coupon .coupon-error-notice {
	margin: 0;
	color: var(--nxc-error);
	font-size: .8125em;
}

.nxc-root .nxc-cart-update {
	float: none !important;
}

/* Com JavaScript, a quantidade atualiza sozinha: o botão fica oculto
   (continua no formulário, pois o cart.js o usa para salvar). */
body.woocommerce-js .nxc-root .nxc-cart-update {
	position: absolute !important;
	width: 1px !important;
	min-height: 0 !important;
	height: 1px !important;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	padding: 0 !important;
	border: 0 !important;
}

/* ---------------- Resumo ---------------- */
.nxc-root .nxc-cart-summary .nxc-card__title {
	margin-bottom: 6px;
}

.nxc-root .nxc-cart-summary .nxc-totals th,
.nxc-root .nxc-cart-summary .nxc-totals td {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.nxc-root .nxc-cart-summary .nxc-totals tr:first-child th,
.nxc-root .nxc-cart-summary .nxc-totals tr:first-child td {
	padding-top: 8px;
}

.nxc-root .nxc-cart-summary table.nxc-review-table tr.nxc-cart-shipping td {
	width: 100% !important;
	padding: 12px 0 !important;
	border-top: 1px solid var(--nxc-border) !important;
	border-bottom: 1px solid var(--nxc-border) !important;
	text-align: left !important;
	white-space: normal !important;
}

.nxc-root .nxc-cart-summary tr.nxc-cart-shipping + tr th,
.nxc-root .nxc-cart-summary tr.nxc-cart-shipping + tr td {
	padding-top: 12px;
}

.nxc-root .nxc-cart-shipping__head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: var(--nxc-text);
	font-weight: 600;
}

.nxc-root .nxc-cart-shipping__head .nxc-icon {
	color: var(--nxc-primary);
}

.nxc-root .nxc-cart-shipping .nxc-shipping-list {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-cart-shipping .nxc-option + .nxc-option {
	margin-top: 8px;
}

.nxc-root .nxc-cart-shipping .nxc-option__label {
	padding: 12px;
	font-size: .9375em;
}

.nxc-root .nxc-cart-shipping__dest,
.nxc-root .nxc-cart-shipping__hint,
.nxc-root .nxc-cart-shipping__contents {
	margin: 4px 0 0;
	color: var(--nxc-muted);
	font-size: .8125em;
	line-height: 1.45;
}

.nxc-root .nxc-cart-shipping__dest strong {
	color: var(--nxc-text);
}

.nxc-root .nxc-cart-shipping .nxc-shipping-empty {
	margin: 0 0 8px;
}

/* Calcular frete (CEP) */
.nxc-root .nxc-cep-calc {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}

.nxc-root .nxc-cep-calc__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .875em;
	font-weight: 600;
	text-decoration: none !important;
}

.nxc-root .nxc-cep-calc.is-open .nxc-cep-calc__form,
.nxc-root .nxc-cep-calc__toggle + .nxc-cep-calc__form {
	margin-top: 8px;
}

.nxc-root .nxc-cep-calc .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.nxc-root .nxc-cep-calc label {
	display: block !important;
	margin: 0;
	color: var(--nxc-text);
	font-size: .875em;
	font-weight: 600;
}

.nxc-root .nxc-cep-calc select {
	width: 100%;
	height: var(--nxc-input-h);
	padding: 0 12px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
	color: var(--nxc-text);
}

.nxc-root .nxc-cep-calc__help {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	margin-top: 6px;
	color: var(--nxc-muted) !important;
	font-size: .75em;
	text-decoration: underline !important;
}

.nxc-root .nxc-cart-summary__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: var(--nxc-gap) 0 0 !important;
	padding: 0 !important;
}

.nxc-root .nxc-cart-summary__actions a.checkout-button.nxc-btn {
	display: inline-flex !important;
	width: 100% !important;
	min-height: calc(var(--nxc-input-h) + 4px);
	margin: 0 !important;
	padding: 0 22px !important;
	font-size: 1.05em !important;
}

/* ---------------- Sugestões ---------------- */
.nxc-root .nxc-xsell__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nxc-root .nxc-xsell__item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	margin: 0;
}

.nxc-root .nxc-xsell__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-md);
	background: var(--nxc-bg);
	object-fit: cover;
}

.nxc-root .nxc-xsell__name {
	display: -webkit-box;
	overflow: hidden;
	color: var(--nxc-text) !important;
	font-size: .875em;
	font-weight: 600;
	line-height: 1.35;
	text-decoration: none !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nxc-root .nxc-xsell__price {
	color: var(--nxc-text);
	font-size: .875em;
	font-weight: 700;
}

.nxc-root .nxc-xsell__price del {
	color: var(--nxc-muted);
	font-weight: 400;
}

.nxc-root .nxc-xsell__price ins {
	text-decoration: none;
}

.nxc-root a.nxc-xsell__add.nxc-btn {
	width: 100%;
	min-height: 36px;
	margin-top: auto;
	font-size: .8125em;
}

.nxc-root .nxc-xsell .added_to_cart {
	color: var(--nxc-primary);
	font-size: .8125em;
	font-weight: 600;
	text-align: center;
}

@media (min-width: 640px) {
	.nxc-root .nxc-xsell__list {
		grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	}
}

/* ---------------- Celular ---------------- */
@media (max-width: 560px) {
	.nxc-root .nxc-cart__title {
		font-size: 1.35em;
	}

	.nxc-root .nxc-cart-table tr.nxc-cart-item {
		grid-template-areas:
			"thumb name name"
			"thumb qty subtotal"
			"thumb remove remove";
		grid-template-columns: 72px auto minmax(0, 1fr);
		gap: 8px 12px;
	}

	.nxc-root .nxc-cart-table td.product-thumbnail img {
		width: 72px !important;
		max-width: 72px !important;
		height: 72px !important;
	}

	.nxc-root .nxc-cart-table td.product-subtotal {
		align-self: center;
	}

	.nxc-root .nxc-cart-table td.product-remove {
		text-align: left;
	}

	.nxc-root .nxc-cart-table td.product-remove > a.remove {
		margin-left: -6px;
	}

	.nxc-root .nxc-cart-coupon {
		max-width: none;
	}
}

/* ------------------------------------------------------------------ *
 * Carrinho dentro do tema: blindagem contra o CSS do tema/WooCommerce
 * (ex.: Avanam aplica float/largura no formulário, estilos próprios em
 * botões, rádios e rótulos de frete e espaçamento entre letras).
 * ------------------------------------------------------------------ */
.nxc-root.nxc-cart,
.nxc-root.nxc-cart * {
	letter-spacing: normal !important;
}

/* O tema (Avanam) deixa .cart-collaterals "grudado" (sticky, top: 50px): o
   resumo descola do topo da coluna e o botão some ao rolar. */
.nxc-root.nxc-cart .cart-collaterals,
.nxc-root.nxc-cart .cart_totals {
	position: static !important;
	top: auto !important;
}

.nxc-root.nxc-cart form.woocommerce-cart-form {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.nxc-root.nxc-cart .nxc-btn--primary,
.nxc-root.nxc-cart a.checkout-button.nxc-btn {
	border: 1px solid transparent !important;
	background: var(--nxc-button) !important;
	color: var(--nxc-button-text) !important;
}

.nxc-root.nxc-cart .nxc-btn--primary:hover,
.nxc-root.nxc-cart a.checkout-button.nxc-btn:hover {
	filter: brightness(1.06);
}

.nxc-root.nxc-cart .nxc-btn--secondary {
	border: 1px solid var(--nxc-border) !important;
	background: var(--nxc-surface) !important;
	color: var(--nxc-text) !important;
}

.nxc-root.nxc-cart .nxc-btn--secondary:hover {
	border-color: var(--nxc-primary) !important;
	color: var(--nxc-primary) !important;
}

.nxc-root.nxc-cart .nxc-btn {
	border-radius: var(--nxc-radius-btn) !important;
	box-shadow: none;
	font-family: var(--nxc-font) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

.nxc-root.nxc-cart .nxc-option {
	margin: 0 !important;
	padding: 0 !important;
}

.nxc-root.nxc-cart .nxc-option__input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	opacity: 0 !important;
	pointer-events: none;
}

.nxc-root.nxc-cart .nxc-option__label {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	margin: 0 !important;
}

.nxc-root.nxc-cart .nxc-option__radio {
	display: block !important;
	flex: none !important;
	box-sizing: border-box;
}

.nxc-root.nxc-cart .nxc-option__body {
	display: flex !important;
}

.nxc-root.nxc-cart .nxc-option__price {
	margin-left: auto;
}

.nxc-root.nxc-cart .nxc-cart-summary table,
.nxc-root.nxc-cart .nxc-cart-summary th,
.nxc-root.nxc-cart .nxc-cart-summary td {
	border-right: 0 !important;
	border-left: 0 !important;
	background: none !important;
}

.nxc-root.nxc-cart .nxc-cart-summary th {
	font-weight: 400 !important;
	text-transform: none !important;
}

/* "Clearfix" de temas/WooCommerce (::before/::after com display:table)
   vira item do flex/grid e desalinha os cartões. */
.nxc-root.nxc-cart :is(.nxc-cart__layout, .nxc-cart__main, .nxc-cart__side, .cart-collaterals, .cart_totals, .woocommerce-cart-form, .nxc-cart-coupon, .nxc-cep-calc)::before,
.nxc-root.nxc-cart :is(.nxc-cart__layout, .nxc-cart__main, .nxc-cart__side, .cart-collaterals, .cart_totals, .woocommerce-cart-form, .nxc-cart-coupon, .nxc-cep-calc)::after {
	content: none !important;
	display: none !important;
}

/* Calcular frete: alinhado à esquerda (temas costumam flutuar o link). */
.nxc-root.nxc-cart .nxc-cep-calc,
.nxc-root.nxc-cart .nxc-cep-calc__form {
	text-align: left !important;
}

.nxc-root.nxc-cart .nxc-cep-calc__toggle {
	float: none !important;
	margin: 0 !important;
}

/* O tema alinha à direita todo link da calculadora de frete. */
.nxc-root.nxc-cart .nxc-cep-calc a {
	display: inline-flex !important;
	justify-content: flex-start !important;
	width: auto !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.nxc-root.nxc-cart .nxc-cart-summary .order-total th,
.nxc-root.nxc-cart .nxc-cart-summary .order-total td {
	font-weight: 700 !important;
}

/* Faixa de título do tema na página do carrinho (opção "Ocultar a faixa de
   título do tema"): Avanam/Kadence (entry-hero), cabeçalhos de página comuns
   e temas de blocos. */
body.nxc-cart-page.nxc-hide-theme-title .entry-hero.page-hero-section,
body.nxc-cart-page.nxc-hide-theme-title .page-hero-section,
body.nxc-cart-page.nxc-hide-theme-title article.page > .entry-header,
body.nxc-cart-page.nxc-hide-theme-title .entry-content-wrap > .entry-header.page-title,
body.nxc-cart-page.nxc-hide-theme-title .wp-block-post-title,
body.nxc-cart-page.nxc-hide-theme-title .woocommerce-breadcrumb {
	display: none !important;
}

/* Tamanho do botão "Fechar pedido" (Nexus → Botões da loja). */
.nxc-root.nxc-cart--btn-sm .nxc-cart-summary__actions a.checkout-button.nxc-btn {
	min-height: 42px;
	font-size: .9375em !important;
}

.nxc-root.nxc-cart--btn-lg .nxc-cart-summary__actions a.checkout-button.nxc-btn {
	min-height: 58px;
	font-size: 1.125em !important;
}

.nxc-root.nxc-cart--btn-xl .nxc-cart-summary__actions a.checkout-button.nxc-btn {
	min-height: 66px;
	font-size: 1.25em !important;
}

/* Carrinho vazio */
.nxc-root.nxc-cart--empty .nxc-empty-state h1 {
	margin: 6px 0 0;
	font-family: var(--nxc-font-heading);
	font-size: 1.3em;
}

.nxc-root.nxc-cart--empty .wc-empty-cart-message {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* ================================================================== *
 * FAVORITOS (WPC Smart Wishlist)
 * A lista é do plugin de favoritos; aqui só o visual em cartões.
 * ================================================================== */
body.nxc-mode-theme .nxc-root.nxc-wishlist:not(.nxc-wishlist--account) {
	clear: both;
	max-width: var(--nxc-container-wide, 1600px);
	margin-right: auto;
	margin-left: auto;
	padding: var(--nxc-gap) 0 var(--nxc-section);
}

/* Faixa de título do tema (mesma opção do carrinho). */
body.nxc-wishlist-page.nxc-hide-theme-title .entry-hero.page-hero-section,
body.nxc-wishlist-page.nxc-hide-theme-title .page-hero-section,
body.nxc-wishlist-page.nxc-hide-theme-title article.page > .entry-header,
body.nxc-wishlist-page.nxc-hide-theme-title .entry-content-wrap > .entry-header.page-title,
body.nxc-wishlist-page.nxc-hide-theme-title .wp-block-post-title {
	display: none !important;
}

.nxc-root.nxc-wishlist {
	display: flex;
	flex-direction: column;
	gap: var(--nxc-gap);
	color: var(--nxc-text);
	font-family: var(--nxc-font);
}

.nxc-root.nxc-wishlist,
.nxc-root.nxc-wishlist * {
	letter-spacing: normal !important;
}

.nxc-root .nxc-wishlist__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
}

.nxc-root .nxc-wishlist__title {
	margin: 0;
	color: var(--nxc-text);
	font-family: var(--nxc-font-heading);
	font-size: 1.6em;
	font-weight: var(--nxc-heading-weight);
	line-height: 1.2;
}

.nxc-root.nxc-wishlist--account .nxc-wishlist__title {
	font-size: 1.35em;
}

.nxc-root .nxc-wishlist__count {
	margin: 2px 0 0;
	color: var(--nxc-muted);
	font-size: .9375em;
}

.nxc-root .nxc-wishlist__continue {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none !important;
}

.nxc-root .nxc-wishlist__empty h2 {
	margin: 6px 0 0;
	font-family: var(--nxc-font-heading);
	font-size: 1.25em;
}

.nxc-root .nxc-wishlist__empty[hidden] {
	display: none !important;
}

/* Lista vazia: o estado vazio do plugin substitui a mensagem e o nome da lista. */
.nxc-root.nxc-wishlist.is-empty .woosw-popup-content-mid-message,
.nxc-root.nxc-wishlist.is-empty .woosw-switcher,
.nxc-root.nxc-wishlist.is-empty .woosw-actions,
.nxc-root.nxc-wishlist.is-empty .woosw-items {
	display: none !important;
}

/* Nome da lista ("Lista de desejos ✎"): o título já existe. Com várias
   listas, o seletor de listas continua visível. */
.nxc-root.nxc-wishlist .woosw-switcher {
	margin: 0 0 var(--nxc-gap) !important;
}

.nxc-root.nxc-wishlist .woosw-switcher:not(:has(.woosw-switcher-dropdown)):not(:has(.woosw-add-collab-btn)) {
	display: none !important;
}

.nxc-root.nxc-wishlist .woosw-switcher-dropdown {
	height: var(--nxc-input-h);
	padding: 0 12px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-sm);
	background: var(--nxc-surface);
}

/* Grade de cartões */
.nxc-root.nxc-wishlist table.woosw-items {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: var(--nxc-gap);
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-collapse: separate;
	background: none !important;
}

.nxc-root.nxc-wishlist table.woosw-items > tbody {
	display: contents;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item {
	position: relative;
	display: flex !important;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface) !important;
	box-shadow: var(--nxc-shadow);
	transition: box-shadow var(--nxc-duration), border-color var(--nxc-duration);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item:hover {
	border-color: #cfd4dc;
	box-shadow: var(--nxc-shadow-lg);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item > td,
.nxc-root.nxc-wishlist .woosw-items .woosw-item-inner > div {
	display: block !important;
	width: auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	text-align: left;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item-inner {
	display: flex;
	flex: 1;
	flex-direction: column;
}

/* Remover: botão redondo sobre a foto */
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove {
	position: absolute !important;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: auto !important;
	flex: none !important;
	font-size: 0;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove span {
	display: grid !important;
	place-items: center;
	width: 34px !important;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 4px rgba(16, 24, 40, .18);
	color: var(--nxc-muted);
	cursor: pointer;
	transition: background var(--nxc-duration), color var(--nxc-duration);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove span:before {
	content: "\00d7";
	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: inherit;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove span:hover {
	background: var(--nxc-error);
	color: #fff;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove span:hover:before {
	color: #fff;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--remove span.woosw-item--removing:before {
	content: "\e913";
	font-family: "woosw";
	font-size: 16px;
}

/* Foto */
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--image {
	width: 100% !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--image a {
	display: block;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--nxc-bg);
	object-fit: cover;
}

/* Informações */
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--info {
	display: flex !important;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 0 !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--name,
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--name a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--nxc-text) !important;
	font-size: .9375em;
	font-weight: 600 !important;
	line-height: 1.35;
	text-decoration: none !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--name a:hover {
	color: var(--nxc-primary) !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price {
	color: var(--nxc-text);
	font-size: 1.05em;
	font-weight: 700;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price del {
	color: var(--nxc-muted);
	font-size: .85em;
	font-weight: 400;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price ins {
	text-decoration: none;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price-change {
	font-size: .8125em;
	font-weight: 600;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price-decrease {
	color: var(--nxc-success);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--price-increase {
	color: var(--nxc-warning);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--time {
	color: var(--nxc-muted);
	font-size: .75em;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--note {
	padding-left: 8px;
	border-left: 2px solid var(--nxc-border);
	color: var(--nxc-muted);
	font-size: .8125em;
}

/* Estoque + comprar */
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--actions {
	display: flex !important;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	padding: 10px 16px 16px !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--stock p,
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--stock .stock {
	margin: 0 !important;
	font-size: .8125em;
	font-weight: 600;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--stock .in-stock {
	color: var(--nxc-success);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--stock .out-of-stock {
	color: var(--nxc-error);
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc p,
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc .add_to_cart_inline {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc .price {
	display: none !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc a.button,
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 42px;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid transparent !important;
	border-radius: var(--nxc-radius-btn) !important;
	background: var(--nxc-button) !important;
	box-shadow: none !important;
	color: var(--nxc-button-text) !important;
	font-family: var(--nxc-font) !important;
	font-size: .875em !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc a.button:hover {
	filter: brightness(1.06);
}

/* Esgotado/indisponível ("Leia mais"): leva ao produto, não compra. */
.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc a.button:not(.add_to_cart_button) {
	border-color: var(--nxc-border) !important;
	background: var(--nxc-surface) !important;
	color: var(--nxc-text) !important;
}

.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--atc a.added_to_cart {
	display: block;
	margin-top: 6px;
	color: var(--nxc-primary);
	font-size: .8125em;
	font-weight: 600;
	text-align: center;
}

/* Compartilhar + link da lista */
.nxc-root.nxc-wishlist .woosw-actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: var(--nxc-gap) 0 0 !important;
	padding: 16px 18px;
	border: 1px solid var(--nxc-border);
	border-radius: var(--nxc-radius-lg);
	background: var(--nxc-surface);
	box-shadow: var(--nxc-shadow);
}

.nxc-root.nxc-wishlist .woosw-share {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nxc-root.nxc-wishlist .woosw-share .woosw-share-label,
.nxc-root.nxc-wishlist .woosw-copy .woosw-copy-label {
	margin: 0 6px 0 0 !important;
	color: var(--nxc-muted);
	font-size: .875em;
	font-weight: 600;
}

.nxc-root.nxc-wishlist .woosw-share a {
	display: grid !important;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--nxc-primary-soft);
	color: var(--nxc-primary) !important;
}

.nxc-root.nxc-wishlist .woosw-share a:hover {
	background: var(--nxc-primary);
	color: #fff !important;
}

.nxc-root.nxc-wishlist .woosw-copy {
	display: flex !important;
	flex: 1 1 320px;
	align-items: center;
	gap: 8px;
	max-width: 560px;
}

.nxc-root.nxc-wishlist .woosw-copy .woosw-copy-url {
	flex: 1;
	min-width: 0;
	margin: 0 !important;
}

.nxc-root.nxc-wishlist .woosw-copy input {
	width: 100% !important;
	height: 40px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--nxc-border) !important;
	border-radius: var(--nxc-radius-sm) !important;
	background: var(--nxc-bg) !important;
	color: var(--nxc-muted) !important;
	font-size: .8125em !important;
}

.nxc-root.nxc-wishlist .woosw-copy button {
	height: 40px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid var(--nxc-border) !important;
	border-radius: var(--nxc-radius-btn) !important;
	background: var(--nxc-surface) !important;
	color: var(--nxc-text) !important;
	font-family: var(--nxc-font) !important;
	font-size: .875em !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

.nxc-root.nxc-wishlist .woosw-copy button:hover {
	border-color: var(--nxc-primary) !important;
	color: var(--nxc-primary) !important;
}

@media (max-width: 560px) {
	.nxc-root .nxc-wishlist__title {
		font-size: 1.35em;
	}

	.nxc-root.nxc-wishlist table.woosw-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--info {
		padding: 10px 10px 0 !important;
	}

	.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--actions {
		padding: 8px 10px 10px !important;
	}

	.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--name,
	.nxc-root.nxc-wishlist .woosw-items .woosw-item .woosw-item--name a {
		font-size: .875em;
	}

	.nxc-root.nxc-wishlist .woosw-copy {
		flex-basis: 100%;
	}
}
