/* Nexo Loja (WooCommerce) — base visual dos widgets; cores e fontes vêm dos controles do Elementor. */

.elementor-widget-container .nexo-wc-notice,
.nexo-wc-notice {
	padding: 10px 14px;
	font-size: 13px;
	line-height: 1.4;
	color: #6b4e00;
	background: #fff8db;
	border: 1px dashed #e0c25a;
	border-radius: 8px;
}

/* ================================================================ Ícone do Carrinho */
.nexo-wc-cart {
	--nexo-cart-icon: 22px;
	--nexo-cart-badge-color: #fff;
	--nexo-cart-badge-bg: #6d28d9;
	--nexo-cart-panel-width: 380px;
	--nexo-cart-panel-bg: #fff;
	--nexo-cart-overlay: rgba(17, 24, 39, .45);
	--nexo-cart-badge-size: 18px;
	--nexo-cart-badge-x: -.7em;
	--nexo-cart-badge-y: -.55em;
	--nexo-cart-dd-offset: 10px;
	--nexo-cart-panel-max-h: 70vh;
	--nexo-cart-speed: .25s;
	--nexo-mc-thumb: 64px;

	position: relative;
	display: flex;
}

.nexo-wc-cart__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

.nexo-wc-cart__icon {
	position: relative;
	display: inline-flex;
	font-size: var(--nexo-cart-icon);
	line-height: 1;
}

.nexo-wc-cart__icon svg,
.nexo-wc-cart__icon i {
	width: 1em;
	height: 1em;
	font-size: 1em;
	fill: currentColor;
}

.nexo-wc-cart__count {
	position: absolute;
	top: var(--nexo-cart-badge-y);
	right: var(--nexo-cart-badge-x);
	min-width: var(--nexo-cart-badge-size);
	height: var(--nexo-cart-badge-size);
	padding: 0 5px;
	box-sizing: border-box;
	font-size: 11px;
	font-weight: 700;
	line-height: var(--nexo-cart-badge-size);
	text-align: center;
	color: var(--nexo-cart-badge-color);
	background: var(--nexo-cart-badge-bg);
	border-radius: 999px;
}

.nexo-wc-cart-hide-empty-yes .nexo-wc-cart__count[data-count="0"] {
	display: none;
}

.nexo-wc-cart__panel {
	z-index: 9999;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: min(var(--nexo-cart-panel-width), 100vw);
	color: #111827;
	text-align: left;
	background: var(--nexo-cart-panel-bg);
	box-shadow: 0 20px 50px rgba(17, 24, 39, .18);
}

.nexo-wc-cart__panel[hidden],
.nexo-wc-cart__overlay[hidden] {
	display: none;
}

.nexo-wc-cart--dropdown .nexo-wc-cart__panel {
	position: absolute;
	top: calc(100% + var(--nexo-cart-dd-offset));
	right: 0;
	max-height: var(--nexo-cart-panel-max-h);
	border-radius: 14px;
}

.nexo-wc-cart--drawer .nexo-wc-cart__panel {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	animation: nexo-wc-slide-right var(--nexo-cart-speed) ease;
}

.nexo-wc-cart--drawer.nexo-wc-cart--left .nexo-wc-cart__panel {
	right: auto;
	left: 0;
	animation-name: nexo-wc-slide-left;
}

.nexo-wc-cart__overlay {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: var(--nexo-cart-overlay);
}

html.nexo-wc-cart-locked {
	overflow: hidden;
}

@keyframes nexo-wc-slide-right {
	from { transform: translateX(100%); }
	to { transform: none; }
}

@keyframes nexo-wc-slide-left {
	from { transform: translateX(-100%); }
	to { transform: none; }
}

.nexo-wc-cart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-bottom: 1px solid #eef0f3;
}

.nexo-wc-cart__title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 700;
}

.nexo-wc-cart__close {
	width: 36px;
	height: 36px;
	padding: 0;
	font-size: 24px;
	line-height: 1;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.nexo-wc-cart__close:hover,
.nexo-wc-cart__close:focus-visible {
	background: #f3f4f6;
}

.nexo-wc-cart__panel .widget_shopping_cart_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 16px 20px 20px;
}

.nexo-wc-cart__panel .woocommerce-mini-cart {
	flex: 1;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item {
	position: relative;
	min-height: 64px;
	margin: 0;
	padding: 12px 28px 12px calc(var(--nexo-mc-thumb) + 12px);
	font-size: .92rem;
	line-height: 1.35;
	list-style: none;
	border-bottom: 1px solid #f1f2f4;
}

/* O CSS do Woo põe a foto do mini carrinho flutuando à direita com 32px: aqui ela fica à esquerda, 64px. */
.nexo-wc-cart__panel .woocommerce-mini-cart-item > a:not(.remove) {
	display: block;
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item img {
	position: absolute;
	top: 12px;
	left: 0;
	float: none !important;
	width: var(--nexo-mc-thumb) !important;
	height: var(--nexo-mc-thumb) !important;
	margin: 0 !important;
	object-fit: cover;
	border-radius: 8px;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item .quantity {
	display: block;
	margin-top: 4px;
	color: #6b7280;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item .variation {
	margin: 4px 0 0;
	font-size: .85em;
	color: #6b7280;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: 10px;
	right: 0;
	width: 22px;
	height: 22px;
	font-size: 18px;
	line-height: 20px;
	text-align: center;
	color: #9ca3af;
	text-decoration: none;
	border-radius: 50%;
}

.nexo-wc-cart__panel .woocommerce-mini-cart-item .remove:hover {
	color: #fff;
	background: #dc2626;
}

.nexo-wc-cart__panel .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	margin: 14px 0;
	font-size: 1rem;
}

.nexo-wc-cart__panel .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 8px;
	margin: 0;
}

.nexo-wc-cart__panel .woocommerce-mini-cart__buttons .button {
	display: block;
	padding: 12px 16px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: #111827;
	background: #f3f4f6;
	border: 1px solid transparent;
	border-radius: 10px;
}

.nexo-wc-cart__panel .woocommerce-mini-cart__buttons .button.checkout {
	color: #fff;
	background: #6d28d9;
}

.nexo-wc-cart__panel .woocommerce-mini-cart__empty-message {
	margin: 24px 0;
	color: #6b7280;
	text-align: center;
}

/* ================================================================ Loop de Produtos */
.nexo-wc-products {
	--nexo-cols: 4;
	--nexo-col-gap: 24px;
	--nexo-row-gap: 32px;
	--nexo-page-color: #374151;
	--nexo-page-active: #6d28d9;
}

.nexo-wc-products__grid {
	display: grid;
	grid-template-columns: repeat(var(--nexo-cols), minmax(0, 1fr));
	gap: var(--nexo-row-gap) var(--nexo-col-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexo-wc-products__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
}

.nexo-wc-products__item > .elementor {
	flex: 1;
}

.nexo-wc-products__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.nexo-wc-products__toolbar .woocommerce-result-count,
.nexo-wc-products__toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.nexo-wc-products__toolbar select {
	padding: 8px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
}

.nexo-wc-products__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 32px;
}

.nexo-wc-products__pagination .page-numbers {
	min-width: 38px;
	padding: 8px 10px;
	box-sizing: border-box;
	text-align: center;
	color: var(--nexo-page-color);
	text-decoration: none;
	border-radius: 8px;
}

.nexo-wc-products__pagination .page-numbers.current {
	color: #fff;
	background: var(--nexo-page-active);
}

.nexo-wc-products__empty {
	color: #6b7280;
}

/* Card simples */
.nexo-wc-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 1px 3px rgba(17, 24, 39, .08);
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nexo-wc-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f6f6f8;
}

.nexo-wc-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.nexo-wc-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
}

.nexo-wc-card__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

.nexo-wc-card__title a {
	color: inherit;
	text-decoration: none;
}

.nexo-wc-card .button {
	margin-top: auto;
}

/* ================================================================ Dados do produto */
.nexo-wc-title {
	margin: 0;
}

.nexo-wc-title a {
	color: inherit;
	text-decoration: none;
}

.nexo-wc-title--clamp {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--nexo-lines, 2);
}

.nexo-wc-image {
	--nexo-ratio: 1/1;
	--nexo-zoom: 1.08;
	--nexo-img-speed: 500ms;

	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--nexo-ratio);
	background: #f6f6f8;
}

.nexo-wc-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: opacity var(--nexo-img-speed) ease, transform var(--nexo-img-speed) ease, filter var(--nexo-img-speed) ease;
}

.nexo-wc-image__hover {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.nexo-wc-image.has-hover:hover .nexo-wc-image__hover,
.nexo-wc-image.has-hover:focus-visible .nexo-wc-image__hover {
	opacity: 1;
}

.nexo-wc-badge {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
	letter-spacing: .02em;
	background: #dc2626;
	border-radius: 999px;
}

.nexo-wc-badge--out {
	background: #6b7280;
}

.nexo-wc-image .nexo-wc-badge,
.nexo-wc-card__media .nexo-wc-badge,
.nexo-wc-gallery__badge {
	position: absolute;
	top: var(--nexo-badge-y, 12px);
	left: var(--nexo-badge-x, 12px);
	z-index: 2;
}

.nexo-wc-price {
	display: flex;
	flex-direction: column;
	align-items: var(--nexo-price-align, flex-start);
	gap: 2px;
}

.nexo-wc-price .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: var(--nexo-price-align, flex-start);
	gap: 0 8px;
	font-weight: 700;
	color: #111827;
}

/* Empilhado: o preço antigo ocupa a linha de cima; prefixo, preço e sufixo seguem juntos embaixo. */
.nexo-wc-price--stacked .nexo-wc-price .price del {
	flex-basis: 100%;
	order: -2;
}

.nexo-wc-price__prefix {
	order: -1;
}

.nexo-wc-price__suffix {
	order: 5;
}

.nexo-wc-price--after .nexo-wc-price .price del {
	order: 4;
}

.nexo-wc-price--hidden .nexo-wc-price .price del {
	display: none !important; /* o CSS do Woo (.woocommerce div.product span.price del) tem mais especificidade */
}

.nexo-wc-price .price del {
	font-size: .85em;
	font-weight: 400;
	color: #9ca3af;
}

.nexo-wc-price .price ins {
	text-decoration: none;
}

.nexo-wc-price__installments {
	font-size: .85em;
	color: #6b7280;
}

.nexo-wc-atc {
	--nexo-atc-gap: 10px;
	--nexo-field-bg: #fff;
	--nexo-field-color: inherit;
	--nexo-field-border: #d1d5db;
	--nexo-field-border-w: 1px;
	--nexo-field-focus: #6d28d9;
	--nexo-field-radius: 10px;
	--nexo-field-pad: 8px;
	--nexo-field-pad-x: 8px;

	display: flex;
}

.nexo-wc-atc .button,
.nexo-wc-card .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	background: #6d28d9;
	border: 1px solid transparent;
	border-radius: 10px;
	transition: background-color .2s ease, color .2s ease;
}

.nexo-wc-atc .button:hover,
.nexo-wc-card .button:hover {
	background: #5b21b6;
}

.nexo-wc-atc .button.loading {
	opacity: .65;
}

.nexo-wc-atc .added_to_cart {
	margin-left: 10px;
	align-self: center;
	font-size: .9em;
}

.nexo-wc-atc form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: var(--nexo-atc-gap);
	width: 100%;
	margin: 0;
}

.nexo-wc-atc form.variations_form {
	flex-direction: column;
	align-items: stretch;
}

.nexo-wc-atc .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	gap: var(--nexo-atc-gap);
}

.nexo-wc-atc .quantity .qty {
	width: var(--nexo-qty-w, 72px);
	height: 100%;
	min-height: 44px;
	box-sizing: border-box;
	padding: var(--nexo-field-pad) var(--nexo-field-pad-x);
	text-align: center;
	color: var(--nexo-field-color);
	background: var(--nexo-field-bg);
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-atc table.variations {
	width: 100%;
	margin: 0 0 4px;
	border: 0;
	border-collapse: collapse;
}

.nexo-wc-atc table.variations th,
.nexo-wc-atc table.variations td {
	display: block;
	padding: 4px 0;
	text-align: left;
	border: 0;
}

.nexo-wc-atc table.variations select {
	width: 100%;
	max-width: 320px;
	padding: calc(var(--nexo-field-pad) + 2px) calc(var(--nexo-field-pad-x) + 4px);
	color: var(--nexo-field-color);
	/* O Woo zera o fundo do select com .woocommerce div.product form.cart .variations select (mais específico). */
	background-color: var(--nexo-field-bg) !important;
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-atc .qty:focus,
.nexo-wc-atc table.variations select:focus,
.nexo-wc-atc select:focus {
	border-color: var(--nexo-field-focus);
	background-color: var(--nexo-field-focus-bg, var(--nexo-field-bg)) !important;
	outline: 2px solid color-mix(in srgb, var(--nexo-field-focus) 25%, transparent);
}

.nexo-wc-atc .reset_variations {
	font-size: .85em;
}

.nexo-wc-atc-full-yes .nexo-wc-atc .button,
.nexo-wc-atc-full-yes .nexo-wc-atc .single_add_to_cart_button {
	flex: 1;
	width: 100%;
}

.nexo-wc-atc-noqty-yes .nexo-wc-atc .quantity {
	display: none;
}

.nexo-wc-rating {
	--nexo-star: #f59e0b;
	--nexo-star-empty: #e5e7eb;
	--nexo-star-size: 16px;
	--nexo-star-gap: 2px;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.nexo-wc-stars {
	position: relative;
	display: inline-block;
	font-size: var(--nexo-star-size);
	line-height: 1;
	letter-spacing: var(--nexo-star-gap);
	color: var(--nexo-star-empty);
}

.nexo-wc-stars::before {
	content: var(--nexo-stars, "★★★★★");
}

.nexo-wc-stars::after {
	content: var(--nexo-stars, "★★★★★");
	position: absolute;
	top: 0;
	left: 0;
	width: var(--nexo-rating, 0%);
	overflow: hidden;
	color: var(--nexo-star);
	white-space: nowrap;
}

.nexo-wc-rating__count {
	font-size: .85em;
	color: #6b7280;
	text-decoration: none;
}

.nexo-wc-stock .stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-weight: 600;
}

.nexo-wc-stock__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nexo-wc-stock .in-stock {
	color: #15803d;
}

.nexo-wc-stock .out-of-stock {
	color: #b91c1c;
}

.nexo-wc-short-description > :first-child {
	margin-top: 0;
}

.nexo-wc-short-description > :last-child {
	margin-bottom: 0;
}

.nexo-wc-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: .9em;
}

.nexo-wc-meta--inline .nexo-wc-meta {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.nexo-wc-meta__label {
	font-weight: 600;
}

/* Galeria (zoom, lightbox e miniaturas do Woo) */
.nexo-wc-gallery {
	--nexo-thumbs: 4;
	--nexo-thumb-gap: 10px;

	position: relative;
}

.nexo-wc-gallery .woocommerce-product-gallery {
	position: relative;
	width: 100% !important; /* o CSS do Woo usa 48% para o layout de 2 colunas do tema */
	float: none !important;
	margin: 0;
	opacity: 1 !important;
}

.nexo-wc-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.nexo-wc-gallery .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
}

.nexo-wc-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(var(--nexo-thumbs), minmax(0, 1fr));
	gap: var(--nexo-thumb-gap);
	margin: var(--nexo-thumb-gap) 0 0;
	padding: 0;
	list-style: none;
}

.nexo-wc-gallery .flex-control-thumbs li {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.nexo-wc-gallery .flex-control-thumbs img {
	display: block;
	width: 100%;
	cursor: pointer;
	opacity: .55;
	transition: opacity .2s ease;
}

.nexo-wc-gallery .flex-control-thumbs img.flex-active,
.nexo-wc-gallery .flex-control-thumbs img:hover {
	opacity: 1;
}

.elementor-widget.elementor-widget-nexo-wc-product-gallery .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: var(--nexo-trigger-offset, 12px);
	right: var(--nexo-trigger-offset, 12px);
	left: auto;
	bottom: auto;
	z-index: 3;
	width: var(--nexo-trigger-size, 36px);
	height: var(--nexo-trigger-size, 36px);
	background: var(--nexo-trigger-bg, #fff);
	border-radius: 50%;
}

.elementor-widget.elementor-widget-nexo-wc-product-gallery .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
	border-color: var(--nexo-trigger-color, #111827);
}

.elementor-widget.elementor-widget-nexo-wc-product-gallery .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
	background: var(--nexo-trigger-color, #111827);
}

.nexo-wc-gallery-trigger-at-top-left .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	right: auto !important;
	left: var(--nexo-trigger-offset, 12px) !important;
}

.nexo-wc-gallery-trigger-at-bottom-left .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	top: auto !important;
	right: auto !important;
	bottom: var(--nexo-trigger-offset, 12px) !important;
	left: var(--nexo-trigger-offset, 12px) !important;
}

.nexo-wc-gallery-trigger-at-bottom-right .nexo-wc-gallery .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	top: auto !important;
	bottom: var(--nexo-trigger-offset, 12px) !important;
}

.elementor-widget-nexo-wc-product-gallery:not(.nexo-wc-gallery-trigger-yes) .woocommerce-product-gallery__trigger {
	display: none !important;
}

.elementor-widget-nexo-wc-product-gallery:not(.nexo-wc-gallery-thumbs-yes) .flex-control-thumbs {
	display: none !important;
}

/* Abas — prefixo do widget para vencer o CSS do Woo (.woocommerce div.product .woocommerce-tabs ...) */
.nexo-wc-tabs {
	--nexo-tab-color: #6b7280;
	--nexo-tab-active: #111827;
	--nexo-tab-border: #e5e7eb;
	--nexo-tab-line: 1px;
	--nexo-tab-indicator: 2px;
	--nexo-tab-pad: 10px 0;
	--nexo-tab-gap: 24px;
	--nexo-tabs-space: 20px;
	--nexo-tabs-col: 220px;
	--nexo-field-bg: #fff;
	--nexo-field-color: inherit;
	--nexo-field-border: #d1d5db;
	--nexo-field-border-w: 1px;
	--nexo-field-focus: #6d28d9;
	--nexo-field-radius: 8px;
	--nexo-field-pad: 10px;
	--nexo-field-pad-x: 12px;
	--nexo-attr-line: #e5e7eb;
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px var(--nexo-tab-gap);
	margin: 0 0 var(--nexo-tabs-space);
	padding: 0;
	overflow: visible;
	list-style: none;
	border-bottom: var(--nexo-tab-line) solid var(--nexo-tab-border);
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs::before,
.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li::before,
.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li::after {
	display: none;
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li {
	flex-grow: var(--nexo-tab-grow, 0);
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li a {
	display: block;
	margin-bottom: calc(var(--nexo-tab-line) * -1);
	padding: var(--nexo-tab-pad);
	font-weight: 600;
	color: var(--nexo-tab-color);
	text-decoration: none;
	background: var(--nexo-tab-bg, transparent);
	border-bottom: var(--nexo-tab-indicator) solid transparent;
	border-radius: var(--nexo-tab-radius, 0);
	transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li a:hover {
	color: var(--nexo-tab-hover, var(--nexo-tab-active));
	background: var(--nexo-tab-hover-bg, var(--nexo-tab-bg, transparent));
}

.elementor-widget-nexo-wc-product-tabs.elementor-widget .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li.active a {
	color: var(--nexo-tab-active);
	background: var(--nexo-tab-active-bg, var(--nexo-tab-bg, transparent));
	border-bottom-color: var(--nexo-tab-indicator-color, currentColor);
}

/* Abas na lateral (desktop e tablet) */
@media (min-width: 768px) {
	.nexo-wc-tabs--vertical .nexo-wc-tabs .woocommerce-tabs {
		display: grid;
		grid-template-columns: var(--nexo-tabs-col) minmax(0, 1fr);
		gap: var(--nexo-tabs-space);
		align-items: start;
	}

	.elementor-widget-nexo-wc-product-tabs.elementor-widget.nexo-wc-tabs--vertical .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: var(--nexo-tab-gap);
		margin: 0;
		border-bottom: 0;
		border-right: var(--nexo-tab-line) solid var(--nexo-tab-border);
	}

	.elementor-widget-nexo-wc-product-tabs.elementor-widget.nexo-wc-tabs--vertical .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li a {
		margin: 0 calc(var(--nexo-tab-line) * -1) 0 0;
		border-bottom: 0;
		border-right: var(--nexo-tab-indicator) solid transparent;
	}

	.elementor-widget-nexo-wc-product-tabs.elementor-widget.nexo-wc-tabs--vertical .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs li.active a {
		border-right-color: var(--nexo-tab-indicator-color, currentColor);
	}

	.elementor-widget.nexo-wc-tabs--vertical .nexo-wc-tabs .woocommerce-tabs ul.tabs.wc-tabs ~ * {
		grid-column: 2;
	}
}

.nexo-wc-tabs-noheading-yes .nexo-wc-tabs .woocommerce-Tabs-panel > h2:first-child {
	display: none;
}

.nexo-wc-tabs table.woocommerce-product-attributes.shop_attributes {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.nexo-wc-tabs table.woocommerce-product-attributes.shop_attributes th,
.nexo-wc-tabs table.woocommerce-product-attributes.shop_attributes td {
	font-style: normal;
	padding: 10px 12px;
	text-align: left;
	border: 0;
	border-bottom: 1px solid var(--nexo-attr-line);
}

.nexo-wc-tabs table.woocommerce-product-attributes.shop_attributes td p {
	margin: 0;
}

.nexo-wc-tabs .commentlist img.avatar {
	width: var(--nexo-avatar, 32px);
	height: var(--nexo-avatar, 32px);
}

.nexo-wc-tabs #review_form input[type="text"],
.nexo-wc-tabs #review_form input[type="email"],
.nexo-wc-tabs #review_form textarea,
.nexo-wc-tabs #review_form select {
	box-sizing: border-box;
	width: 100%;
	padding: var(--nexo-field-pad) var(--nexo-field-pad-x);
	color: var(--nexo-field-color);
	background: var(--nexo-field-bg);
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-tabs #review_form input:focus,
.nexo-wc-tabs #review_form textarea:focus {
	border-color: var(--nexo-field-focus);
	background-color: var(--nexo-field-focus-bg, var(--nexo-field-bg));
	outline: 2px solid color-mix(in srgb, var(--nexo-field-focus) 25%, transparent);
}

.elementor-widget-nexo-wc-product-tabs .nexo-wc-tabs .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
}

/* ================================================================ Carrinho */
.nexo-wc-cart-page {
	--nexo-line: #e5e7eb;
	--nexo-line-w: 1px;
	--nexo-row-pad: 14px;
	--nexo-thumb: 72px;
	--nexo-thumb-radius: 8px;
	--nexo-field-bg: #fff;
	--nexo-field-color: inherit;
	--nexo-field-border: #d1d5db;
	--nexo-field-border-w: 1px;
	--nexo-field-focus: #6d28d9;
	--nexo-field-radius: 8px;
	--nexo-field-pad: 8px;
	--nexo-field-pad-x: 12px;
	--nexo-cart-totals-w: 380px;
	--nexo-cart-gap: 32px;
	--nexo-remove: #9ca3af;
	--nexo-remove-bg: transparent;
	--nexo-remove-hover: #fff;
	--nexo-remove-hover-bg: #dc2626;
	--nexo-remove-size: 26px;
}

.nexo-wc-cart-page .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--nexo-cart-gap);
}

.nexo-wc-cart-page .woocommerce-notices-wrapper,
.nexo-wc-cart-page .woocommerce-notices-wrapper:empty {
	grid-column: 1 / -1;
}

.nexo-wc-cart-page .woocommerce-notices-wrapper:empty {
	display: none;
}

@media (min-width: 1025px) {
	.nexo-wc-cart-layout-two .nexo-wc-cart-page .woocommerce {
		grid-template-columns: minmax(0, 1fr) minmax(min(300px, var(--nexo-cart-totals-w)), var(--nexo-cart-totals-w));
		align-items: start;
	}
}

.nexo-wc-cart-page .woocommerce-cart-form,
.nexo-wc-cart-page .cart-collaterals {
	margin: 0;
}

.nexo-wc-cart-page .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	box-sizing: border-box;
	padding: 24px;
	background: #f9fafb;
	border-radius: 14px;
}

.nexo-wc-cart-page .cart-collaterals .cross-sells {
	float: none;
	width: 100%;
}

.nexo-wc-cart-page table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.nexo-wc-cart-page table.shop_table th,
.nexo-wc-cart-page table.shop_table td {
	padding: var(--nexo-row-pad) 10px;
	text-align: left;
	vertical-align: middle;
	background: none;
	border: 0;
	border-bottom: var(--nexo-line-w) solid var(--nexo-line);
}

.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table .product-thumbnail img {
	display: block;
	width: var(--nexo-thumb) !important;
	max-width: 100%;
	height: auto;
	border-radius: var(--nexo-thumb-radius);
}

.nexo-wc-cart-page .product-name a {
	font-weight: 600;
	color: inherit;
	text-decoration: none;
}

.nexo-wc-cart-page .product-remove a.remove {
	display: inline-block;
	width: var(--nexo-remove-size);
	height: var(--nexo-remove-size);
	font-size: calc(var(--nexo-remove-size) * .77);
	line-height: calc(var(--nexo-remove-size) - 2px);
	text-align: center;
	color: var(--nexo-remove) !important;
	text-decoration: none;
	background: var(--nexo-remove-bg);
	border-radius: 50%;
}

.nexo-wc-cart-page .product-remove a.remove:hover {
	color: var(--nexo-remove-hover) !important;
	background: var(--nexo-remove-hover-bg);
}

.elementor-widget-nexo-wc-cart:not(.nexo-wc-cart-thumb-yes) .nexo-wc-cart-page .product-thumbnail,
.elementor-widget-nexo-wc-cart:not(.nexo-wc-cart-price-yes) .nexo-wc-cart-page .woocommerce-cart-form .product-price {
	display: none !important;
}

.elementor-widget-nexo-wc-cart:not(.nexo-wc-cart-head-yes) .nexo-wc-cart-page .woocommerce-cart-form thead {
	display: none;
}

/* O campo do cupom tem regra própria do Woo (.woocommerce-cart table.cart td.actions .coupon .input-text), mais específica. */
.nexo-wc-cart-page .input-text,
.nexo-wc-cart-page .qty,
.nexo-wc-cart-page select,
.nexo-wc-cart-page .woocommerce-cart-form table.cart td.actions .coupon .input-text {
	min-height: 42px;
	box-sizing: border-box;
	padding: var(--nexo-field-pad) var(--nexo-field-pad-x);
	color: var(--nexo-field-color);
	background: var(--nexo-field-bg);
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-cart-page .qty {
	width: var(--nexo-qty-w, 76px);
	text-align: center;
}

.nexo-wc-cart-page .input-text:focus,
.nexo-wc-cart-page .qty:focus,
.nexo-wc-cart-page .woocommerce-cart-form table.cart td.actions .coupon .input-text:focus {
	border-color: var(--nexo-field-focus);
	background-color: var(--nexo-field-focus-bg, var(--nexo-field-bg));
	outline: 2px solid color-mix(in srgb, var(--nexo-field-focus) 25%, transparent);
}

.nexo-wc-cart-page td.actions {
	padding-top: 18px;
	border-bottom: 0;
}

.nexo-wc-cart-page td.actions .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nexo-wc-cart-page td.actions .coupon label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.elementor-widget-nexo-wc-cart:not(.nexo-wc-coupon-yes) .nexo-wc-cart-page td.actions .coupon {
	display: none;
}

.nexo-wc-autoupdate-yes .nexo-wc-cart-page [name="update_cart"] {
	display: none !important; /* o CSS mobile do Woo força display:block nos botões de ações */
}

.nexo-wc-cart-page .button,
.nexo-wc-checkout-page .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	font-weight: 600;
	line-height: 1.2;
	color: #111827;
	text-decoration: none;
	cursor: pointer;
	background: #f3f4f6;
	border: 1px solid transparent;
	border-radius: 10px;
}

.nexo-wc-cart-page .wc-proceed-to-checkout .checkout-button {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	padding: 15px 20px;
	font-size: 1.05rem;
	color: #fff;
	background: #6d28d9;
}

.nexo-wc-cart-page .cart_totals h2 {
	margin: 0 0 12px;
	font-size: 1.2rem;
}

.nexo-wc-cart-page .cart_totals table.shop_table th {
	padding-left: 0;
	font-weight: 500;
}

.nexo-wc-cart-page .cart_totals .order-total td {
	font-size: 1.15rem;
	font-weight: 700;
}

.nexo-wc-cart-page .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexo-wc-cart-page .cart-empty,
.nexo-wc-cart-page .return-to-shop {
	grid-column: 1 / -1;
	text-align: center;
}

/* Tabela do carrinho vira cartões no celular. Prefixo do widget + "tr td" para vencer o
   woocommerce-smallscreen.css do Woo (que esconde a foto, alinha à direita e listra as linhas). */
@media (max-width: 768px) {
	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive thead {
		display: none;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr {
		display: grid;
		grid-template-columns: var(--nexo-thumb) 1fr auto;
		gap: 6px 12px;
		align-items: center;
		padding: var(--nexo-row-pad) 0;
		border-bottom: var(--nexo-line-w) solid var(--nexo-line);
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td {
		display: block;
		padding: 0;
		text-align: left !important;
		background: none !important;
		border: 0;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td::before {
		display: none;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-thumbnail {
		display: block !important;
		grid-column: 1;
		grid-row: 1 / span 3;
		align-self: start;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-name {
		grid-column: 2;
		grid-row: 1;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-remove {
		grid-column: 3;
		grid-row: 1;
		text-align: right !important;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-price {
		grid-column: 2 / -1;
		grid-row: 2;
		color: #6b7280;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-quantity {
		grid-column: 2;
		grid-row: 3;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr td.product-subtotal {
		grid-column: 3;
		grid-row: 3;
		font-weight: 700;
	}

	/* Linha de ações (cupom + atualizar) e linhas da caixa de totais não são itens */
	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page table.shop_table_responsive tbody tr:has(> td.actions) {
		display: block;
		border-bottom: 0;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page td.actions .coupon {
		display: flex;
		width: 100%;
		margin-bottom: 10px;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page td.actions .coupon .input-text {
		flex: 1;
		width: auto;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page .cart_totals table.shop_table_responsive tbody tr {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 0;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page .cart_totals table.shop_table_responsive tbody tr th {
		display: block;
		padding: 0;
		border: 0;
	}

	.elementor-widget-nexo-wc-cart .nexo-wc-cart-page .cart_totals table.shop_table_responsive tbody tr td {
		text-align: right !important;
	}
}

/* ================================================================ Checkout */
.nexo-wc-checkout-page {
	--nexo-field-bg: #fff;
	--nexo-field-color: #111827;
	--nexo-field-border: #d1d5db;
	--nexo-field-focus: #6d28d9;
	--nexo-field-radius: 8px;
	--nexo-field-pad: 11px;
	--nexo-field-pad-x: 12px;
	--nexo-field-border-w: 1px;
	--nexo-field-error: #dc2626;
	--nexo-review-bg: #f9fafb;
	--nexo-review-w: 420px;
	--nexo-review-line: #e5e7eb;
	--nexo-review-thumb: 44px;
	--nexo-checkout-gap: 40px;
	--nexo-sticky-top: 24px;
}

@media (min-width: 1025px) {
	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(min(320px, var(--nexo-review-w)), var(--nexo-review-w));
		grid-template-rows: auto 1fr;
		gap: 0 var(--nexo-checkout-gap);
		align-items: start;
	}

	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page form.checkout > * {
		grid-column: 1;
	}

	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page #customer_details {
		grid-row: 1 / span 3;
	}

	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page #order_review_heading,
	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page #order_review {
		grid-column: 2;
	}

	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page #order_review_heading {
		grid-row: 1;
		margin-top: 0;
	}

	.nexo-wc-checkout-layout-two .nexo-wc-checkout-page #order_review {
		grid-row: 2;
	}

	.nexo-wc-review-sticky-yes .nexo-wc-checkout-page #order_review {
		position: sticky;
		top: var(--nexo-sticky-top);
	}
}

.nexo-wc-checkout-page #customer_details .col-1,
.nexo-wc-checkout-page #customer_details .col-2 {
	float: none;
	width: 100%;
	max-width: none;
}

.nexo-wc-checkout-page #customer_details .col-2 {
	margin-top: 24px;
}

.nexo-wc-checkout-page .woocommerce-billing-fields__field-wrapper,
.nexo-wc-checkout-page .woocommerce-shipping-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}

.nexo-wc-checkout-page .form-row {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
}

.nexo-wc-checkout-page .form-row-first,
.nexo-wc-checkout-page .form-row-last {
	float: none;
	width: calc(50% - 8px);
}

.nexo-wc-fields-one .nexo-wc-checkout-page .form-row-first,
.nexo-wc-fields-one .nexo-wc-checkout-page .form-row-last {
	width: 100%;
}

@media (max-width: 600px) {
	.nexo-wc-checkout-page .form-row-first,
	.nexo-wc-checkout-page .form-row-last {
		width: 100%;
	}
}

.nexo-wc-checkout-page .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: .92em;
	font-weight: 600;
}

/* As linhas com .woocommerce form .form-row do Woo são mais específicas: sem elas o estilo dos campos não pega. */
.nexo-wc-checkout-page .input-text,
.nexo-wc-checkout-page select,
.nexo-wc-checkout-page textarea,
.nexo-wc-checkout-page.woocommerce form .form-row .input-text,
.nexo-wc-checkout-page.woocommerce form .form-row select,
.nexo-wc-checkout-page.woocommerce form .form-row textarea,
.nexo-wc-checkout-page .select2-container .select2-selection--single {
	width: 100%;
	min-height: calc(var(--nexo-field-pad) * 2 + 1.4em);
	box-sizing: border-box;
	padding: var(--nexo-field-pad) var(--nexo-field-pad-x);
	color: var(--nexo-field-color);
	background: var(--nexo-field-bg);
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-checkout-page .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 1.4;
}

.nexo-wc-checkout-page .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	transform: translateY(-50%);
}

.nexo-wc-checkout-page .input-text:focus,
.nexo-wc-checkout-page select:focus,
.nexo-wc-checkout-page textarea:focus,
.nexo-wc-checkout-page.woocommerce form .form-row .input-text:focus,
.nexo-wc-checkout-page.woocommerce form .form-row select:focus,
.nexo-wc-checkout-page.woocommerce form .form-row textarea:focus {
	border-color: var(--nexo-field-focus);
	background-color: var(--nexo-field-focus-bg, var(--nexo-field-bg));
	outline: 2px solid color-mix(in srgb, var(--nexo-field-focus) 25%, transparent);
}

.nexo-wc-checkout-page .woocommerce-invalid .input-text,
.nexo-wc-checkout-page .woocommerce-invalid select {
	border-color: var(--nexo-field-error);
}

.nexo-wc-checkout-page #order_review {
	box-sizing: border-box;
	padding: 24px;
	background: var(--nexo-review-bg);
	border-radius: 14px;
}

.nexo-wc-checkout-page table.shop_table {
	width: 100%;
	margin: 0 0 16px;
	border: 0;
	border-collapse: collapse;
}

.nexo-wc-checkout-page table.shop_table th,
.nexo-wc-checkout-page table.shop_table td {
	padding: 10px 0;
	text-align: left;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--nexo-review-line);
}

.nexo-wc-checkout-page table.shop_table td:last-child,
.nexo-wc-checkout-page table.shop_table th:last-child {
	text-align: right;
}

.nexo-wc-checkout-page .order-total td,
.nexo-wc-checkout-page .order-total th {
	font-size: 1.1rem;
	font-weight: 700;
}

.nexo-wc-checkout-page #payment {
	background: transparent;
	border-radius: 10px;
}

.nexo-wc-checkout-page #payment ul.payment_methods {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.nexo-wc-checkout-page #payment ul.payment_methods li {
	margin: 0 0 8px;
}

.nexo-wc-checkout-page #payment .payment_box {
	margin: 8px 0 0;
	padding: 10px 12px;
	font-size: .9em;
	background: #fff;
	border-radius: 8px;
}

.elementor-widget-nexo-wc-checkout:not(.nexo-wc-place-full-yes) .nexo-wc-checkout-page #place_order {
	width: auto;
	margin-left: auto;
}

.nexo-wc-review-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.nexo-wc-review-item__img {
	flex: 0 0 auto;
	width: var(--nexo-review-thumb) !important;
	height: var(--nexo-review-thumb) !important;
	object-fit: cover;
	border-radius: 6px;
}

.nexo-wc-checkout-page #place_order {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
	padding: 15px 20px;
	font-size: 1.05rem;
	color: #fff;
	background: #6d28d9;
}

.nexo-wc-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info,
.nexo-wc-checkout-page .woocommerce-form-login-toggle .woocommerce-info {
	margin: 0 0 16px;
}

.nexo-wc-checkout-page form.checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 16px;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
}

.nexo-wc-checkout-page form.checkout_coupon .form-row {
	width: auto;
	margin: 0;
}

/* Pedido recebido (obrigado) */
.nexo-wc-checkout-page .woocommerce-thankyou-order-received {
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: 700;
}

.nexo-wc-checkout-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
	margin: 0 0 32px;
	padding: 20px;
	list-style: none;
	background: #f9fafb;
	border-radius: 14px;
}

.nexo-wc-checkout-page .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	font-size: .85em;
	text-transform: uppercase;
	border: 0;
}

.nexo-wc-checkout-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: 1.15em;
	text-transform: none;
}

/* Avisos do Woo nas páginas da loja */
.nexo-wc-notices .woocommerce-message,
.nexo-wc-notices .woocommerce-info,
.nexo-wc-notices .woocommerce-error,
.nexo-wc-cart-page .woocommerce-message,
.nexo-wc-cart-page .woocommerce-info,
.nexo-wc-cart-page .woocommerce-error,
.nexo-wc-checkout-page .woocommerce-message,
.nexo-wc-checkout-page .woocommerce-info,
.nexo-wc-checkout-page .woocommerce-error {
	margin: 0 0 16px;
	padding: 14px 16px;
	list-style: none;
	border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
	.nexo-wc-cart__panel,
	.nexo-wc-image img {
		animation: none;
		transition: none;
	}
}

.nexo-wc-checkout__title {
	margin: 0 0 24px;
}

.nexo-wc-products__title {
	margin: 0 0 20px;
}

/* ================================================================ Controles avançados */

/* Ícone do carrinho: quantidade ao lado, textos antes do ícone, dropdown pela esquerda */
.nexo-wc-cart__texts {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.2;
}

.nexo-wc-cart-count-inline .nexo-wc-cart__icon {
	align-items: center;
	gap: 6px;
}

.nexo-wc-cart-count-inline .nexo-wc-cart__count {
	position: static;
}

.nexo-wc-cart-text-before .nexo-wc-cart__texts {
	order: -1;
	text-align: right;
}

.nexo-wc-cart-dd-left .nexo-wc-cart--dropdown .nexo-wc-cart__panel {
	right: auto;
	left: 0;
}

.nexo-wc-cart__toggle {
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Loop: cards com altura livre */
.elementor-widget-nexo-wc-products:not(.nexo-wc-equal-yes) .nexo-wc-products__item {
	height: auto;
}

.elementor-widget-nexo-wc-products:not(.nexo-wc-equal-yes) .nexo-wc-products__item > .elementor,
.elementor-widget-nexo-wc-products:not(.nexo-wc-equal-yes) .nexo-wc-card {
	flex: 0 0 auto;
	height: auto;
}

.nexo-wc-products__item {
	transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nexo-wc-products__pagination .page-numbers {
	transition: color .2s ease, background-color .2s ease;
}

.nexo-wc-products__toolbar {
	--nexo-field-bg: #fff;
	--nexo-field-color: inherit;
	--nexo-field-border: #d1d5db;
	--nexo-field-border-w: 1px;
	--nexo-field-focus: #6d28d9;
	--nexo-field-radius: 8px;
	--nexo-field-pad: 8px;
	--nexo-field-pad-x: 12px;
}

.nexo-wc-products__toolbar select {
	padding: var(--nexo-field-pad) var(--nexo-field-pad-x);
	color: var(--nexo-field-color);
	background-color: var(--nexo-field-bg);
	border: var(--nexo-field-border-w) solid var(--nexo-field-border);
	border-radius: var(--nexo-field-radius);
}

.nexo-wc-products__toolbar select:focus {
	border-color: var(--nexo-field-focus);
	background-color: var(--nexo-field-focus-bg, var(--nexo-field-bg));
}

/* Imagem: efeitos no hover, sobreposição, selo nos cantos, esgotado em cinza */
.nexo-wc-image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: var(--nexo-img-overlay, transparent);
	opacity: 0;
	transition: opacity var(--nexo-img-speed) ease;
}

.nexo-wc-image:hover::after {
	opacity: 1;
}

.nexo-wc-img-hover-zoom .nexo-wc-image:hover img {
	transform: scale(var(--nexo-zoom));
}

.nexo-wc-img-hover-zoom-out .nexo-wc-image img {
	transform: scale(var(--nexo-zoom));
}

.nexo-wc-img-hover-zoom-out .nexo-wc-image:hover img {
	transform: none;
}

.nexo-wc-image {
	transition: transform var(--nexo-img-speed) ease, box-shadow var(--nexo-img-speed) ease, border-color var(--nexo-img-speed) ease;
}

.nexo-wc-img-hover-lift .nexo-wc-image:hover {
	transform: translateY(-6px);
}

.nexo-wc-img-out-gray-yes .nexo-wc-image.is-out-of-stock img {
	filter: grayscale(1);
	opacity: .7;
}

.nexo-wc-image .nexo-wc-badge {
	z-index: 2;
}

.nexo-wc-img-badge-top-right .nexo-wc-image .nexo-wc-badge,
.nexo-wc-gallery-badge-top-right .nexo-wc-gallery__badge {
	right: var(--nexo-badge-x, 12px);
	left: auto;
}

.nexo-wc-img-badge-bottom-left .nexo-wc-image .nexo-wc-badge,
.nexo-wc-gallery-badge-bottom-left .nexo-wc-gallery__badge {
	top: auto;
	bottom: var(--nexo-badge-y, 12px);
}

.nexo-wc-img-badge-bottom-right .nexo-wc-image .nexo-wc-badge,
.nexo-wc-gallery-badge-bottom-right .nexo-wc-gallery__badge {
	top: auto;
	right: var(--nexo-badge-x, 12px);
	bottom: var(--nexo-badge-y, 12px);
	left: auto;
}

/* Selo solto flutuando sobre o container pai */
.elementor-widget.nexo-wc-badge-pos-top-left,
.elementor-widget.nexo-wc-badge-pos-top-right,
.elementor-widget.nexo-wc-badge-pos-bottom-left,
.elementor-widget.nexo-wc-badge-pos-bottom-right {
	position: absolute;
	z-index: 3;
	width: auto;
	max-width: max-content;
	margin: 0;
}

.elementor-widget.nexo-wc-badge-pos-top-left {
	top: var(--nexo-badge-y, 12px);
	left: var(--nexo-badge-x, 12px);
}

.elementor-widget.nexo-wc-badge-pos-top-right {
	top: var(--nexo-badge-y, 12px);
	right: var(--nexo-badge-x, 12px);
}

.elementor-widget.nexo-wc-badge-pos-bottom-left {
	bottom: var(--nexo-badge-y, 12px);
	left: var(--nexo-badge-x, 12px);
}

.elementor-widget.nexo-wc-badge-pos-bottom-right {
	right: var(--nexo-badge-x, 12px);
	bottom: var(--nexo-badge-y, 12px);
}

.nexo-wc-badge__icon svg,
.nexo-wc-atc__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nexo-wc-badge__icon,
.nexo-wc-atc__icon {
	display: inline-flex;
	line-height: 1;
}

/* Margem em vez de gap: o CSS do Woo pode forçar display: inline-block no botão. */
.nexo-wc-atc__icon {
	vertical-align: -.125em;
}

.nexo-wc-atc__icon + .nexo-wc-atc__text,
.nexo-wc-atc__text + .nexo-wc-atc__icon {
	margin-left: var(--nexo-atc-icon-gap, 8px);
}

/* Preço: Pix */
.nexo-wc-price__pix {
	max-width: 100%;
	font-size: .9em;
	color: #15803d;
}

.nexo-wc-price__affix {
	font-weight: 400;
	font-size: .85em;
}

/* Compra: quantidade e botão empilhados, esconder "Ver carrinho" */
.nexo-wc-atc-dir-column .nexo-wc-atc form.cart:not(.variations_form),
.nexo-wc-atc-dir-column .nexo-wc-atc .woocommerce-variation-add-to-cart {
	flex-direction: column;
	align-items: stretch;
}

/* "5 em estoque" que o Woo imprime antes do formulário: linha própria acima da quantidade. */
.nexo-wc-atc--form {
	flex-wrap: wrap;
}

.nexo-wc-atc--form > .stock {
	flex-basis: 100%;
	margin: 0;
}

.nexo-wc-atc-noview-yes .nexo-wc-atc .added_to_cart {
	display: none !important;
}

.nexo-wc-atc .button.disabled,
.nexo-wc-atc .button:disabled {
	cursor: not-allowed;
	opacity: .55;
}

/* Botões + e − na quantidade (criados pelo shop.js) */
.nexo-wc-qty-buttons-yes .quantity.nexo-wc-qty {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--nexo-field-bg, #fff);
	border: var(--nexo-field-border-w, 1px) solid var(--nexo-field-border, #d1d5db);
	border-radius: var(--nexo-field-radius, 8px);
}

.nexo-wc-qty-buttons-yes .quantity.nexo-wc-qty .qty {
	width: var(--nexo-qty-w, 48px) !important;
	min-height: 0;
	margin: 0;
	text-align: center;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	-moz-appearance: textfield;
	appearance: textfield;
}

.nexo-wc-qty-buttons-yes .quantity.nexo-wc-qty .qty::-webkit-inner-spin-button,
.nexo-wc-qty-buttons-yes .quantity.nexo-wc-qty .qty::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.nexo-wc-qty-buttons-yes .quantity.nexo-wc-qty:focus-within {
	border-color: var(--nexo-field-focus, #6d28d9);
}

.nexo-wc-qty__btn {
	flex: 0 0 auto;
	width: var(--nexo-qty-btn, 36px);
	padding: 0;
	font-size: 18px;
	line-height: 1;
	color: var(--nexo-qty-btn-color, inherit);
	cursor: pointer;
	background: var(--nexo-qty-btn-bg, transparent);
	border: 0;
	border-radius: 0;
	transition: color .2s ease, background-color .2s ease;
}

.nexo-wc-qty__btn:hover,
.nexo-wc-qty__btn:focus-visible {
	color: var(--nexo-qty-btn-hover-color, inherit);
	background: var(--nexo-qty-btn-hover-bg, rgba(17, 24, 39, .06));
}

.nexo-wc-qty__btn:disabled {
	cursor: not-allowed;
	opacity: .4;
}

/* Avisos sem o ícone do Woo */
.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-message::before,
.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-info::before,
.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-error::before {
	display: none;
}

.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-message,
.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-info,
.nexo-wc-notices-noicon-yes .nexo-wc-notices .woocommerce-error {
	padding-left: 16px;
}

/* Woo 11: banner de bloco com o ícone em <svg> */
.nexo-wc-notices-noicon-yes .nexo-wc-notices .wc-block-components-notice-banner > svg {
	display: none;
}

.nexo-wc-archive__count {
	margin: 4px 0 0;
	color: #6b7280;
}

span.nexo-wc-archive__count {
	margin: 0 0 0 .4em;
	font-size: .5em;
	vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
	.nexo-wc-image::after,
	.nexo-wc-products__item,
	.nexo-wc-card,
	.nexo-wc-card__media img,
	.nexo-wc-cart__toggle {
		transition: none;
	}
}
