/* ===== Natuvida rediseño 2026 ===== */
:root {
	--nv-verde: #004a2f;
	--nv-verde-2: #006837;
	--nv-vino: #640a0a;
	--nv-crema: #faf8e3;
	--nv-crema-2: #f6f3e6;
	--nv-borde: #e4e0d2;
	--nv-texto: #2b2a24;
	--nv-suave: #5a5546;
	--nv-lima: #9fd36b;
	--nv-menta: #eaf3de;
	--nv-menta-txt: #27500a;
}

.nv-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	vertical-align: -0.25em;
}

/* Barra de anuncio */
.nv-anuncio {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 7px 16px;
	background: var(--nv-vino);
	color: #fbe9d0;
	font-size: 14px;
	text-align: center;
}

/* Secciones: mismo ancho que el contenido del tema */
.nv-seccion,
.nv-necesidades,
.nv-confianza {
	box-sizing: border-box;
	width: min(1240px, calc(100% - 40px));
	margin-left: auto;
	margin-right: auto;
}
.nv-seccion {
	padding: 36px 0 8px;
}
.nv-seccion__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.nv-seccion__head h2,
.nv-necesidades__head h2 {
	margin: 0;
	color: #1f3d2b;
	font-size: 26px;
	line-height: 1.2;
}
.nv-seccion__head a,
.nv-necesidades__head a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--nv-verde-2);
	font-weight: 600;
	white-space: nowrap;
}

.nv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 20px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
}
.nv-btn--lima {
	background: var(--nv-lima);
	color: #173404;
}
.nv-btn--lima:hover {
	background: #b4e283;
	color: #173404;
}

/* Carrusel principal */
.nv-carrusel {
	position: relative;
}
.nv-carrusel--celular {
	display: none;
}
.nv-carrusel__pista {
	display: flex;
	align-items: flex-start;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.nv-carrusel__pista::-webkit-scrollbar {
	display: none;
}
.nv-carrusel__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.nv-carrusel__slide a {
	display: block;
}
.nv-carrusel__img {
	display: block;
	width: 100%;
	height: auto;
}
.nv-carrusel__flecha {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #1f3d2b;
	cursor: pointer;
}
.nv-carrusel__flecha:hover {
	background: #fff;
}
.nv-carrusel__flecha--prev {
	left: 14px;
}
.nv-carrusel__flecha--prev .nv-icon {
	transform: rotate(180deg);
}
.nv-carrusel__flecha--next {
	right: 14px;
}
.nv-carrusel__puntos {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 6px;
}
.nv-carrusel__puntos button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: width 0.2s ease;
}
.nv-carrusel__puntos button[aria-current="true"] {
	width: 22px;
	background: var(--nv-verde);
}
@media (max-width: 767px) {
	.nv-carrusel--escritorio {
		display: none;
	}
	.nv-carrusel--celular {
		display: block;
	}
	.nv-carrusel__flecha {
		width: 32px;
		height: 32px;
		margin-top: -16px;
	}
}

/* ¿Qué necesitas hoy? */
.nv-necesidades {
	position: relative;
	z-index: 5;
	background: #fff;
	border: 1px solid var(--nv-borde);
	border-radius: 16px;
	padding: 18px 24px 20px;
}
.nv-necesidades__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}
.nv-necesidades__head h2 {
	font-size: 20px;
}
.nv-necesidades__lista {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 8px;
}
.nv-nec {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 6px 4px;
	border-radius: 12px;
	color: #1f3d2b;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}
.nv-nec:hover {
	background: var(--nv-crema-2);
	color: #1f3d2b;
}
.nv-nec__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--nv-menta);
	color: var(--nv-menta-txt);
	flex: none;
}
.nv-nec__ico .nv-icon {
	width: 26px;
	height: 26px;
}

/* Franja de confianza */
.nv-confianza {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 28px 0 0;
	padding: 16px 0;
	list-style: none;
	border-top: 1px solid var(--nv-borde);
	border-bottom: 1px solid var(--nv-borde);
}
.nv-confianza li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--nv-texto);
	font-size: 15px;
}
.nv-confianza .nv-icon {
	width: 26px;
	height: 26px;
	color: var(--nv-verde-2);
}

/* Barra de envío gratis */
.nv-envio {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--nv-crema-2);
	color: var(--nv-suave);
}
.nv-envio > .nv-icon {
	color: var(--nv-verde-2);
}
.nv-envio__txt b {
	color: #1f3d2b;
}
.nv-envio__track {
	flex: 1;
	min-width: 80px;
	height: 6px;
	border-radius: 3px;
	background: #e7e0c8;
	overflow: hidden;
}
.nv-envio__bar {
	display: block;
	width: 0;
	height: 100%;
	border-radius: 3px;
	background: var(--nv-verde-2);
	transition: width 0.3s ease;
}

/* Compra por tipo */
.nv-tipos__lista {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.nv-tipo {
	display: block;
	overflow: hidden;
	border: 1px solid var(--nv-borde);
	border-radius: 14px;
	background: #fff;
	color: #1f3d2b;
	text-decoration: none;
}
.nv-tipo__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 510 / 263;
	object-fit: cover;
}
.nv-tipo__txt {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 8px 12px;
	font-weight: 600;
}
.nv-tipo__txt small {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--nv-verde-2);
	font-size: 14px;
	font-weight: 600;
}
.nv-tipo__nombre {
	display: none;
}

/* Asesoría */
.nv-asesoria {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px 26px;
	border-radius: 16px;
	background: var(--nv-verde);
	color: #fff;
}
.nv-asesoria > .nv-icon {
	width: 40px;
	height: 40px;
	color: var(--nv-lima);
}
.nv-asesoria__txt {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.nv-asesoria__txt strong {
	font-size: 19px;
	color: #fff;
}
.nv-asesoria__txt span {
	color: #cfe3d6;
}

/* Guía de la Salud */
.nv-pronto {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 10px;
	border-radius: 8px;
	background: #faeeda;
	color: #633806;
	font-size: 13px;
	font-weight: 500;
	vertical-align: middle;
}
.nv-guia__lista {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-bottom: 32px;
}
.nv-guia__card {
	display: flex;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--nv-borde);
	border-radius: 14px;
	background: #fff;
	color: var(--nv-suave);
	text-decoration: none;
}
.nv-guia__card .nv-nec__ico {
	width: 46px;
	height: 46px;
	border-radius: 12px;
}
.nv-guia__card > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.nv-guia__card strong {
	color: #1f3d2b;
}
.nv-guia__card em {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 4px;
	color: var(--nv-verde-2);
	font-style: normal;
	font-weight: 600;
}

/* Buscador (solo celular) y barra inferior (solo celular) */
.nv-buscador,
.nv-barra {
	display: none;
}

/* ---------- Escritorio ---------- */
@media (min-width: 1000px) {
	/* Tarjeta elevada justo bajo el carrusel (no lo tapa: los banners traen su botón abajo) */
	.nv-necesidades {
		margin-top: 18px;
		box-shadow: 0 8px 28px rgba(31, 61, 43, 0.08);
	}
}

/* ---------- Celular y tablet ---------- */
@media (max-width: 999px) {
	.nv-anuncio {
		font-size: 12px;
		padding: 6px 10px;
	}
	.nv-buscador {
		display: block;
		margin: 0 calc(-50vw + 50%);
		padding: 10px 16px 12px;
		background: var(--nv-verde);
	}
	.nv-seccion {
		padding-top: 26px;
	}
	.nv-seccion__head h2 {
		font-size: 20px;
	}

	.nv-necesidades {
		margin-top: 28px;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}
	.nv-necesidades__head h2 {
		font-size: 18px;
	}
	.nv-necesidades__lista {
		display: flex;
		gap: 8px;
		margin: 0 calc(-50vw + 50%);
		padding: 0 16px 4px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}
	.nv-nec {
		flex: none;
		flex-direction: row;
		gap: 6px;
		padding: 7px 14px 7px 8px;
		border: 1px solid #c9c2a8;
		border-radius: 999px;
		background: #fff;
		scroll-snap-align: start;
	}
	.nv-nec .nv-nec__ico {
		width: 26px;
		height: 26px;
	}
	.nv-nec .nv-nec__ico .nv-icon {
		width: 16px;
		height: 16px;
	}

	.nv-envio {
		flex-wrap: wrap;
		gap: 8px 10px;
	}
	.nv-envio .nv-envio__txt {
		flex: 1;
	}
	.nv-envio .nv-envio__track {
		flex-basis: 100%;
	}

	.nv-confianza {
		grid-template-columns: 1fr 1fr;
		margin-top: 20px;
	}
	.nv-confianza li {
		font-size: 13px;
	}

	/* Más vendidos: carrusel deslizable */
	.nv-mas-vendidos .woocommerce ul.products,
	.nv-mas-vendidos ul.products[data-products] {
		display: flex !important;
		gap: 12px;
		margin: 0 calc(-50vw + 50%);
		padding: 0 16px 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.nv-mas-vendidos ul.products > li.product {
		flex: 0 0 44%;
		width: auto;
		margin: 0;
		scroll-snap-align: start;
	}

	.nv-tipos__lista {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.nv-tipo {
		border-radius: 999px;
		border-color: #c9c2a8;
	}
	.nv-tipo__img,
	.nv-tipo__txt small {
		display: none;
	}
	.nv-tipo__nombre {
		display: inline;
	}
	.nv-tipo__txt {
		gap: 6px;
		padding: 7px 14px;
		font-size: 14px;
	}

	.nv-asesoria {
		gap: 12px;
		padding: 16px;
		flex-wrap: wrap;
	}
	.nv-asesoria > .nv-icon {
		width: 30px;
		height: 30px;
	}
	.nv-asesoria__txt {
		min-width: 0;
	}
	.nv-asesoria__txt strong {
		font-size: 16px;
	}
	.nv-asesoria .nv-btn {
		width: 100%;
	}
	.nv-guia__lista {
		grid-template-columns: 1fr;
	}

	/* Barra inferior tipo app */
	body.nv-v2 {
		padding-bottom: 118px;
	}
	body.nv-v2 .joinchat {
		display: none;
	}
	.nv-barra {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		background: #fff;
		border-top: 1px solid var(--nv-borde);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
	}
	.nv-barra__envio {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 8px 14px 6px;
	}
	.nv-barra__txt {
		flex: 1;
		min-width: 0;
		font-size: 12px;
		color: var(--nv-suave);
	}
	.nv-barra__txt .nv-envio__track {
		display: block;
		margin-top: 4px;
		height: 5px;
	}
	.nv-barra__pagar {
		padding: 8px 12px;
		border-radius: 8px;
		background: var(--nv-verde);
		color: #fff;
		font-size: 13px;
		font-weight: 600;
		white-space: nowrap;
		text-decoration: none;
	}
	.nv-barra__pagar[hidden] {
		display: none;
	}
	.nv-barra__nav {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		border-top: 1px solid var(--nv-borde);
		padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
	}
	.nv-barra__nav a {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		color: var(--nv-suave);
		font-size: 11px;
		text-decoration: none;
	}
	.nv-barra__nav a:first-child {
		color: var(--nv-verde);
	}
	.nv-barra__nav .nv-icon {
		width: 22px;
		height: 22px;
	}
	.nv-barra__n {
		position: absolute;
		top: -4px;
		right: 50%;
		margin-right: -20px;
		min-width: 16px;
		padding: 0 4px;
		border-radius: 999px;
		background: var(--nv-lima);
		color: #173404;
		font-size: 10px;
		font-weight: 600;
		line-height: 16px;
		text-align: center;
	}
	.nv-barra__n[hidden] {
		display: none;
	}
}

/* ---------- Tarjeta de producto (listados) ---------- */
.nv-v2 ul.products > li.product {
	--horizontal-alignment: flex-start;
	--text-horizontal-alignment: left;
	display: flex;
	flex-direction: column;
	padding: 10px 10px 12px;
	border: 1px solid var(--nv-borde);
	border-radius: 14px;
	background: #fff;
	text-align: left;
}
.nv-v2 ul.products > li.product > figure {
	order: 1;
	position: relative;
	margin-bottom: 10px;
}
.nv-v2 ul.products > li.product .entry-meta {
	order: 2;
	margin: 0 0 2px;
	justify-content: flex-start;
	font-size: 12px;
	text-transform: none;
}
.nv-v2 ul.products > li.product .entry-meta a {
	color: var(--nv-suave);
}
.nv-v2 ul.products > li.product .woocommerce-loop-product__title {
	order: 3;
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.nv-v2 ul.products > li.product .woocommerce-loop-product__title a {
	color: var(--nv-texto);
}
.nv-v2 ul.products > li.product .nv-tag {
	order: 4;
	align-self: flex-start;
	margin-bottom: 8px;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--nv-menta);
	color: var(--nv-menta-txt);
	font-size: 12px;
}
.nv-v2 ul.products > li.product .price {
	order: 5;
	margin: 0;
	color: var(--nv-vino);
	font-size: 18px;
	font-weight: 600;
	text-align: left;
}
.nv-v2 ul.products > li.product .price del {
	margin-right: 4px;
	color: #8a8270;
	font-size: 13px;
	font-weight: 400;
}
.nv-v2 ul.products > li.product .price ins {
	text-decoration: none;
}
.nv-v2 ul.products > li.product .nv-ahorro {
	order: 6;
	color: var(--nv-menta-txt);
	font-size: 12px;
}
.nv-v2 ul.products > li.product .ct-woo-card-actions {
	order: 7;
	align-self: stretch;
	display: flex;
	margin-top: auto;
	padding-top: 10px;
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nv-v2 ul.products > li.product .ct-woo-card-actions > * {
	flex: 1 1 100%;
	width: 100% !important;
	max-width: none !important;
}
.nv-v2 ul.products > li.product .ct-woo-card-actions .button {
	width: 100%;
	min-height: 40px;
	border-radius: 10px;
	background: var(--nv-verde);
	color: #fff;
	font-weight: 600;
}
.nv-v2 ul.products > li.product .ct-woo-card-actions .button:hover {
	background: var(--nv-verde-2);
}
.nv-v2 ul.products .wc-buy-now-btn-archive {
	display: none !important;
}
.nv-v2 ul.products .onsale {
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--nv-vino);
	color: #fbe9d0;
	font-size: 12px;
	font-weight: 600;
	text-transform: none;
}
.nv-v2 ul.products > li.product.outofstock figure img {
	filter: grayscale(0.6);
	opacity: 0.6;
}
.nv-v2 ul.products > li.product.outofstock .price {
	color: #5f5e5a;
}

/* Buscador FiboSearch dentro de la franja verde (celular) */
.nv-buscador .dgwt-wcas-search-wrapp {
	max-width: none;
}
.nv-buscador .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
	padding: 0;
	background: transparent;
}
/* La lupa de FiboSearch asume el relleno del estilo original: se recoloca */
.nv-buscador .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
	top: 8px !important;
	left: 10px !important;
}
.nv-buscador .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border: 0;
	border-radius: 10px;
	background: #fff;
}

@media (max-width: 999px) {
	.nv-v2 ul.products > li.product .woocommerce-loop-product__title {
		font-size: 13px;
	}
	.nv-v2 ul.products > li.product .price {
		font-size: 16px;
	}
	.nv-v2 ul.products > li.product .ct-woo-card-actions .button {
		min-height: 36px;
		font-size: 13px;
	}
}

/* ---------- Carrusel hecho con bloques de Gutenberg ----------
 * En el editor: un bloque Grupo con la clase "nv-slider nv-slider--escritorio"
 * (o "--celular"); cada bloque dentro (Imagen o Portada) es un banner.
 * El grupo es la pista del carrusel; natuvida.js le agrega flechas y puntos.
 */
.nv-slider {
	display: flex !important;
	align-items: flex-start;
	gap: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.nv-slider::-webkit-scrollbar {
	display: none;
}
.nv-slider > * {
	flex: 0 0 100%;
	max-width: 100% !important;
	margin: 0 !important;
	scroll-snap-align: start;
}
.nv-slider figure.wp-block-image,
.nv-slider figure.wp-block-image a {
	display: block;
	margin: 0;
}
.nv-slider figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}
.nv-slider .wp-block-cover {
	min-height: 0;
}
.nv-slider--celular {
	display: none !important;
}
@media (max-width: 767px) {
	.nv-slider--escritorio {
		display: none !important;
	}
	.nv-slider--celular {
		display: flex !important;
	}
}

/* ---------- Cabecera de escritorio más proporcionada ---------- */
@media (min-width: 1000px) {
	body.nv-v2 .ct-header [data-row*="middle"] {
		--height: 72px;
	}
	body.nv-v2 .ct-header [data-row*="middle"] [data-id="logo"] .site-logo-container {
		--logo-max-height: 54px;
	}
	body.nv-v2 .ct-header [data-row*="middle"] [data-id="logo"] {
		margin: 0 !important;
	}
	body.nv-v2 #header-menu-1 {
		--menu-items-spacing: 34px;
	}
	body.nv-v2 #header-menu-1 .menu > li > a {
		font-size: 14px;
		letter-spacing: 0.02em;
	}
	body.nv-v2 .ct-header [data-id="button"] .ct-button {
		--theme-button-min-height: 34px;
		padding: 0 14px;
		font-size: 13px;
	}
}
@media (min-width: 1000px) and (max-width: 1279px) {
	body.nv-v2 #header-menu-1 {
		--menu-items-spacing: 18px;
	}
	body.nv-v2 #header-menu-1 .menu > li > a {
		font-size: 13px;
	}
}

/* ---------- Listados: filtros, subcategorías y agotados ---------- */
.nv-listado {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin: 0 0 18px;
}
.nv-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.nv-chip {
	padding: 6px 14px;
	border: 1px solid #c9c2a8;
	border-radius: 999px;
	background: #fff;
	color: #1f3d2b;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
.nv-chip:hover {
	border-color: var(--nv-verde-2);
	color: #1f3d2b;
}
.nv-chip.is-on {
	border-color: var(--nv-verde);
	background: var(--nv-verde);
	color: #fff;
}
.nv-filtros {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}
.nv-filtro {
	width: auto;
	height: 40px;
	padding: 0 14px;
	border: 1px solid #c9c2a8;
	border-radius: 10px;
	background-color: #fff;
	color: #1f3d2b;
	font-size: 14px;
}
.nv-filtro--check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}
.nv-filtro--check input {
	margin: 0;
}
.nv-filtros__limpiar {
	color: var(--nv-vino);
	font-size: 14px;
}
.nv-v2 ul.products > li.nv-agotados-sep {
	grid-column: 1 / -1;
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 6px 0 -4px;
	padding: 18px 0 0;
	border-top: 1px solid var(--nv-borde);
	list-style: none;
}
.nv-agotados-sep strong {
	color: #1f3d2b;
	font-size: 18px;
}
.nv-agotados-sep span {
	color: var(--nv-suave);
	font-size: 14px;
}
@media (max-width: 999px) {
	.nv-chips {
		flex-wrap: nowrap;
		margin: 0 calc(-50vw + 50%);
		padding: 0 16px 2px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.nv-filtros {
		gap: 8px;
	}
	.nv-filtro {
		flex: 1 1 40%;
		height: 38px;
		padding: 0 10px;
		font-size: 13px;
	}
	.nv-filtro--check {
		flex-basis: 100%;
	}
}

/* ---------- Encabezado de listados ---------- */
/* En la búsqueda el tema pone su propio título: se usa solo el nuestro. */
.nv-v2.search .hero-section {
	display: none;
}
.nv-listado__titulo {
	margin: 0;
	color: #1f3d2b;
	font-size: 30px;
	line-height: 1.2;
}
.nv-listado__desc {
	margin: 4px 0 0;
	color: var(--nv-suave);
}
.nv-listado__conteo {
	margin: 2px 0 0;
	color: var(--nv-suave);
	font-size: 14px;
}

/* ---------- Ficha de producto ---------- */
.nv-v2.single-product .nv-pdp-marca {
	margin: 0 0 4px;
	color: var(--nv-suave);
	font-size: 14px;
}
.nv-v2.single-product .product_title {
	color: #1f3d2b;
	font-size: 28px;
	line-height: 1.25;
}
.nv-v2.single-product .summary .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	color: var(--nv-vino);
	font-size: 30px;
	font-weight: 700;
}
.nv-v2.single-product .summary .price del {
	color: #8a8270;
	font-size: 18px;
	font-weight: 400;
}
.nv-v2.single-product .summary .price ins {
	text-decoration: none;
}
.nv-ahorro-badge {
	padding: 2px 10px;
	border-radius: 8px;
	background: #faeeda;
	color: #633806;
	font-size: 14px;
	font-weight: 600;
}
.nv-v2.single-product .woocommerce-product-details__short-description {
	color: var(--nv-suave);
}
.nv-v2.single-product .nv-stock {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	color: var(--nv-menta-txt);
	font-weight: 600;
}
.nv-v2.single-product .nv-stock.out-of-stock {
	color: #5f5e5a;
}
.nv-v2.single-product .ct-product-add-to-cart .ct-module-title {
	display: none;
}
.nv-v2.single-product .ct-cart-actions {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px;
}
.nv-v2.single-product .ct-cart-actions .quantity {
	height: 50px;
}
.nv-v2.single-product .ct-cart-actions .single_add_to_cart_button:not(.wc-buy-now-btn) {
	min-height: 50px;
	border-radius: 10px;
	background: var(--nv-verde);
	font-size: 16px;
	font-weight: 600;
}
.nv-v2.single-product .ct-cart-actions .single_add_to_cart_button:not(.wc-buy-now-btn):hover {
	background: var(--nv-verde-2);
}
/* "Comprar ahora" y "Pedir más información" ocupan cada uno una fila completa */
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single,
.nv-v2.single-product .ct-cart-actions .joinchat__woo-btn__wrapper {
	grid-column: 1 / -1;
}
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single {
	min-height: 50px;
	font-size: 16px;
}
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single {
	min-height: 46px;
	border: 1.5px solid var(--nv-verde) !important;
	border-radius: 10px;
	background: #fff !important;
	color: var(--nv-verde) !important;
	font-weight: 600;
}
.nv-v2.single-product .ct-cart-actions .joinchat__woo-btn__wrapper {
	display: flex;
}
.nv-v2.single-product .joinchat__woo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	margin: 0;
	border: 1px solid #c9c2a8;
	border-radius: 10px;
	background: #fff;
	color: #1f3d2b;
	font-weight: 600;
}
.nv-envio--pdp {
	margin-top: 14px;
}
.nv-v2.single-product .product_meta {
	display: none;
}
.nv-v2.single-product .ct-product-additional-info .ct-module-title {
	display: none;
}
.nv-v2.single-product .ct-product-additional-info ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 14px;
	margin: 6px 0 0;
}
.nv-v2.single-product .ct-product-additional-info li {
	margin: 0;
	color: var(--nv-suave);
	font-size: 14px;
}
.nv-v2.single-product .ct-product-additional-info .ct-icon-container {
	color: var(--nv-verde-2);
}

/* Desplegables de la descripción */
.nv-acordeon {
	border-top: 1px solid var(--nv-borde);
}
.nv-acordeon:last-of-type {
	border-bottom: 1px solid var(--nv-borde);
}
.nv-acordeon summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 2px;
	color: #1f3d2b;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.nv-acordeon summary::-webkit-details-marker {
	display: none;
}
.nv-acordeon summary::after {
	content: "+";
	color: var(--nv-verde-2);
	font-size: 22px;
	line-height: 1;
}
.nv-acordeon[open] summary::after {
	content: "−";
}
.nv-acordeon__body {
	padding: 0 2px 14px;
	color: var(--nv-suave);
}
.nv-acordeon__body > :last-child {
	margin-bottom: 0;
}

/* Complementa tu compra */
.nv-combo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 240px;
	gap: 12px;
	margin: 30px 0;
	padding: 20px;
	border-radius: 16px;
	background: var(--nv-crema-2);
}
.nv-combo h2 {
	grid-column: 1 / -1;
}
.nv-combo h2 {
	margin: 0 0 14px;
	color: #1f3d2b;
	font-size: 22px;
}
.nv-combo__lista {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.nv-combo__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--nv-borde);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}
.nv-combo__item img {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
}
.nv-combo__item > span {
	display: flex;
	flex-direction: column;
	min-width: 0;
	font-size: 13px;
}
.nv-combo__nombre {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--nv-texto);
}
.nv-combo__item strong {
	color: var(--nv-vino);
}
.nv-combo__total {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	padding: 12px;
	border-radius: 12px;
	background: var(--nv-verde);
	color: #cfe3d6;
	text-align: center;
}
.nv-combo__total strong {
	color: #fff;
	font-size: 20px;
}
.nv-v2.single-product .woocommerce-Tabs-panel--description {
	max-width: 860px;
	margin-left: auto;
	margin-right: auto;
}

/* Barra fija de compra (celular) */
.nv-pdp-barra {
	display: none;
}
@media (max-width: 999px) {
	.nv-v2.single-product .product_title {
		font-size: 22px;
	}
	.nv-v2.single-product .summary .price {
		font-size: 24px;
	}
	.nv-v2.single-product .ct-cart-actions {
		grid-template-columns: auto 1fr;
	}
	.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single,
	.nv-v2.single-product .ct-cart-actions .joinchat__woo-btn__wrapper {
		grid-column: 1 / -1;
	}
	.nv-combo,
	.nv-combo__lista {
		grid-template-columns: 1fr;
	}
	.nv-v2.single-product .joinchat {
		display: none;
	}
	.nv-v2.single-product {
		padding-bottom: 76px;
	}
	.nv-pdp-barra:not([hidden]) {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--nv-borde);
		background: #fff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
	}
	.nv-pdp-barra__precio {
		display: flex;
		flex-direction: column;
		flex: 1;
		color: var(--nv-vino);
		font-size: 18px;
		font-weight: 700;
		line-height: 1.2;
	}
	.nv-pdp-barra__precio small {
		color: var(--nv-suave);
		font-size: 11px;
		font-weight: 400;
	}
	.nv-pdp-barra__wa {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 1px solid #c9c2a8;
		border-radius: 10px;
		color: var(--nv-verde-2);
	}
	.nv-pdp-barra__btn {
		height: 44px;
		padding: 0 16px;
		border: 0;
		border-radius: 10px;
		background: var(--nv-verde);
		color: #fff;
		font-size: 15px;
		font-weight: 600;
	}
}

/* ==========================================================
 * Ronda 3: tipografía, márgenes, cabecera, envío, filtros y pie
 * ========================================================== */

/* Tipografía única: Sen en todo (antes solo los títulos) */
body.nv-v2 {
	--theme-font-family: "Sen", system-ui, -apple-system, "Segoe UI", sans-serif;
	--theme-button-font-family: "Sen", system-ui, sans-serif;
	--theme-button-font-weight: 700;
	font-family: var(--theme-font-family);
}
body.nv-v2 :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea, .button, .ct-button, .price) {
	font-family: "Sen", system-ui, sans-serif;
}
body.nv-v2 :is(h1, h2, h3) {
	font-weight: 700;
	letter-spacing: -0.01em;
}

/* Márgenes laterales: el tema venía al 98% del ancho y hasta 1590px */
body.nv-v2 {
	--theme-container-width: min(100%, 92vw);
	--theme-normal-container-max-width: 1290px;
}
body.nv-v2 :is(.nv-seccion, .nv-necesidades, .nv-confianza) {
	width: min(1290px, 92vw);
}

/* Cabecera de escritorio: logo algo más grande y menú centrado */
@media (min-width: 1000px) {
	body.nv-v2 .ct-header [data-row*="middle"] [data-id="logo"] .site-logo-container {
		--logo-max-height: 62px;
	}
}
@media (min-width: 1280px) {
	body.nv-v2 .ct-header [data-row*="middle"] > .ct-container {
		position: relative;
	}
	body.nv-v2 #header-menu-1 {
		position: absolute;
		top: 50%;
		left: 50%;
		margin: 0 !important;
		transform: translate(-50%, -50%);
	}
}

/* El carrusel ocupa todo el ancho aunque el contenido tenga márgenes */
body.nv-v2 .nv-carrusel.ancho-completo-forzado {
	max-width: none !important; /* carrusel */
	width: 100vw;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* "¿Qué necesitas hoy?" montada sobre el borde del carrusel (escritorio) */
@media (min-width: 1000px) {
	body.nv-v2 .nv-necesidades {
		margin-top: -64px;
		position: relative;
		z-index: 6;
		box-shadow: 0 12px 34px rgba(31, 61, 43, 0.14);
	}
	/* Puntos a la izquierda, para no tapar el botón dibujado en los banners */
	body.nv-v2 .nv-carrusel--escritorio .nv-carrusel__puntos {
		bottom: 80px;
		justify-content: flex-start;
		padding-left: max(4vw, calc((100vw - 1290px) / 2));
	}
}

/* Barra de envío gratis con efecto */
.nv-envio {
	position: relative;
	border: 1px solid #e7dfc4;
	background: linear-gradient(90deg, #fbf8ec, #f3efdc);
}
.nv-envio > .nv-icon {
	width: 36px;
	height: 36px;
	padding: 8px;
	border-radius: 50%;
	background: var(--nv-menta);
	color: var(--nv-verde-2);
	animation: nv-camion 2.6s ease-in-out infinite;
}
.nv-envio__track {
	height: 10px;
	border-radius: 999px;
	background: #e9e1c6;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.nv-envio__bar {
	position: relative;
	border-radius: 999px;
	background: linear-gradient(90deg, #006837 0%, #2f8a45 35%, #9fd36b 50%, #2f8a45 65%, #006837 100%);
	background-size: 220% 100%;
	animation: nv-brillo 2.4s linear infinite;
	transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nv-envio.is-gratis,
.nv-barra.is-gratis .nv-barra__envio {
	border-color: #c0dd97;
	background: var(--nv-menta);
}
.nv-envio.is-gratis .nv-envio__txt b,
.nv-barra.is-gratis .nv-envio__txt b {
	color: var(--nv-menta-txt);
}
@keyframes nv-brillo {
	from {
		background-position: 110% 0;
	}
	to {
		background-position: -110% 0;
	}
}
@keyframes nv-camion {
	0%,
	100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(3px);
	}
}
@media (prefers-reduced-motion: reduce) {
	.nv-envio > .nv-icon,
	.nv-envio__bar {
		animation: none;
	}
}

/* Barra lateral de filtros (solo escritorio) */
.nv-lateral {
	display: none;
}
@media (min-width: 1000px) {
	body.nv-listado-page main .ct-container > section {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		column-gap: 36px;
		align-items: start;
	}
	body.nv-listado-page main .ct-container > section > * {
		grid-column: 2;
	}
	body.nv-listado-page main .ct-container > section > .nv-lateral {
		grid-column: 1;
		grid-row: 1 / span 40;
		position: sticky;
		top: 96px;
		display: block;
		padding: 18px;
		border: 1px solid var(--nv-borde);
		border-radius: 16px;
		background: #fff;
	}
	body.nv-listado-page .nv-listado .nv-filtros {
		display: none;
	}
	body.nv-listado-page ul.products {
		--shop-columns: repeat(3, minmax(0, 1fr));
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
.nv-lateral__titulo {
	margin-bottom: 6px;
	color: #1f3d2b;
	font-size: 18px;
	font-weight: 700;
}
.nv-lateral__grupo {
	padding: 12px 0;
	border-top: 1px solid var(--nv-borde);
}
.nv-lateral__grupo:first-of-type {
	border-top: 0;
}
.nv-lateral__grupo h3 {
	margin: 0 0 8px;
	color: #1f3d2b;
	font-size: 15px;
}
.nv-op {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 0;
	color: var(--nv-texto);
	font-size: 14px;
	text-decoration: none;
}
.nv-op:hover {
	color: var(--nv-verde-2);
}
.nv-op__box {
	flex: none;
	width: 18px;
	height: 18px;
	border: 1.5px solid #b9b19a;
	border-radius: 5px;
	background: #fff;
}
.nv-op.is-on .nv-op__box {
	border-color: var(--nv-verde-2);
	background: var(--nv-verde-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.nv-op.is-on {
	color: #1f3d2b;
	font-weight: 700;
}
.nv-op__txt {
	flex: 1;
}
.nv-op em {
	color: #8a8270;
	font-size: 12px;
	font-style: normal;
}
.nv-lateral__mas summary {
	padding: 6px 0 2px;
	color: var(--nv-verde-2);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.nv-lateral .nv-filtros__limpiar {
	display: inline-block;
	margin-top: 8px;
}

/* Pie de página minimalista */
body.nv-v2 .ct-footer {
	display: none;
}
.nv-pie {
	background: var(--nv-verde);
	color: #cfe3d6;
	font-size: 14px;
}
.nv-pie__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(1290px, 92vw);
	margin: 0 auto;
	padding: 26px 0;
}
.nv-pie__marca {
	display: block;
	flex: none;
}
.nv-pie__logo {
	display: block;
	width: auto;
	height: 40px;
}
.nv-pie__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 26px;
}
.nv-pie a {
	color: #e6efe8;
	text-decoration: none;
}
.nv-pie a:hover {
	color: var(--nv-lima);
}
.nv-pie__redes {
	display: flex;
	flex: none;
	gap: 8px;
}
.nv-pie__redes a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	color: #fff;
}
.nv-pie__redes a:hover {
	border-color: var(--nv-lima);
	color: var(--nv-lima);
}
.nv-pie__redes .nv-icon {
	width: 17px;
	height: 17px;
}
.nv-pie__base {
	padding: 12px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #a9c7b4;
	font-size: 12px;
	text-align: center;
}
@media (max-width: 999px) {
	.nv-pie__fila {
		flex-direction: column;
		gap: 18px;
		padding: 26px 0 20px;
		text-align: center;
	}
	.nv-pie__links {
		gap: 8px 18px;
	}
}

/* ==========================================================
 * Ronda 4: reflejo metalizado, "Comprar ahora" vino tinto,
 * aviso de reposición y márgenes de la home en celular
 * ========================================================== */

/* Reflejo metalizado que pasa por encima de las letras de la barra de envío */
.nv-anuncio span {
	background: linear-gradient(110deg, #fbe9d0 0%, #fbe9d0 40%, #ffffff 48%, #f4c9a0 52%, #fbe9d0 60%, #fbe9d0 100%);
	background-size: 260% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: nv-metal 5s ease-in-out infinite;
}
@keyframes nv-metal {
	0% {
		background-position: 130% 0;
	}
	55%,
	100% {
		background-position: -130% 0;
	}
}

/* "Comprar ahora" en vino tinto con el mismo reflejo sobre las letras */
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single {
	border: 0 !important;
	background:
		linear-gradient(110deg, #f6dcdc 0%, #f6dcdc 40%, #ffffff 48%, #f4c9a0 52%, #f6dcdc 60%, #f6dcdc 100%) 130% 0 / 260% 100% repeat-x,
		linear-gradient(var(--nv-vino), var(--nv-vino)) !important;
	-webkit-background-clip: text, padding-box !important;
	background-clip: text, padding-box !important;
	color: transparent !important;
	animation: nv-metal-btn 5s ease-in-out infinite;
}
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single:hover {
	background:
		linear-gradient(110deg, #ffffff 0%, #ffffff 100%) 0 0 / 100% 100% repeat-x,
		linear-gradient(#7d1212, #7d1212) !important;
	-webkit-background-clip: text, padding-box !important;
	background-clip: text, padding-box !important;
}
@keyframes nv-metal-btn {
	0% {
		background-position: 130% 0, 0 0;
	}
	55%,
	100% {
		background-position: -130% 0, 0 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.nv-anuncio span,
	.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single {
		animation: none;
	}
}

/* Formulario "Avísame" de WooCommerce en productos agotados */
.nv-v2 .wc_bis_form {
	margin: 4px 0 10px;
	padding: 16px;
	border: 1px solid var(--nv-borde);
	border-radius: 14px;
	background: var(--nv-crema-2);
}
.nv-v2 .wc_bis_form h3 {
	margin: 0 0 10px;
	color: #1f3d2b;
	font-size: 16px;
	line-height: 1.35;
}
.nv-v2 .wc_bis_form__form-row {
	display: flex;
	gap: 8px;
}
.nv-v2 .wc_bis_form__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	border: 1px solid #c9c2a8;
	border-radius: 10px;
	background: #fff;
}
.nv-v2 .wc_bis_form__button {
	height: 46px;
	padding: 0 18px;
	border-radius: 10px;
	background: var(--nv-verde);
	color: #fff;
	font-weight: 700;
}

/* Celular: secciones de la home dentro de sus márgenes (sin tocar los bordes) */
@media (max-width: 999px) {
	body.nv-v2 .nv-necesidades__lista,
	body.nv-v2 .nv-mas-vendidos ul.products[data-products],
	body.nv-v2 .nv-mas-vendidos .woocommerce ul.products,
	body.nv-v2 .nv-chips {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	body.nv-v2 .nv-mas-vendidos ul.products > li.product {
		flex-basis: 46%;
	}
}

/* ==========================================================
 * Ronda 5: ajustes finales
 * ========================================================== */

/* Barra de envío: negrita y reflejo más visible */
.nv-anuncio span {
	font-weight: 700;
	letter-spacing: 0.01em;
	background: linear-gradient(110deg, #f0cdb0 0%, #f0cdb0 38%, #ffffff 46%, #ffe2b8 50%, #ffffff 54%, #f0cdb0 62%, #f0cdb0 100%);
	background-size: 240% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	animation-duration: 4s;
}

/* "Comprar ahora": fondo transparente, letras vino tinto metalizadas y un destello que lo cruza */
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single {
	overflow: hidden;
	isolation: isolate;
	border: 1.5px solid var(--nv-vino) !important;
	background: linear-gradient(180deg, #a3242a 0%, #7a0f12 45%, #4a0505 100%) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 2px 10px rgba(100, 10, 10, 0.12);
	animation: none;
}
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single::after {
	content: "";
	position: absolute;
	top: -10%;
	bottom: -10%;
	left: 0;
	width: 45%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(100deg, rgba(100, 10, 10, 0) 0%, rgba(179, 38, 43, 0.16) 30%, rgba(255, 236, 236, 0.85) 50%, rgba(179, 38, 43, 0.16) 70%, rgba(100, 10, 10, 0) 100%);
	transform: translateX(-130%) skewX(-18deg);
	animation: nv-destello-btn 3.6s ease-in-out infinite;
}
.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single:hover {
	background: var(--nv-vino) !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
	color: #fff !important;
}
@keyframes nv-destello-btn {
	0% {
		transform: translateX(-130%) skewX(-18deg);
	}
	55%,
	100% {
		transform: translateX(330%) skewX(-18deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	.nv-v2.single-product .ct-cart-actions .wc-buy-now-btn-single::after {
		animation: none;
		display: none;
	}
}

/* Celular: más aire entre el carrusel y "¿Qué necesitas hoy?" */
@media (max-width: 999px) {
	body.nv-v2 .nv-necesidades {
		margin-top: 40px;
	}
}

/* Carrito (bloque de WooCommerce): que nada se salga de la pantalla en celular */
@media (max-width: 999px) {
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-items {
		width: 100% !important;
		max-width: 100%;
		table-layout: fixed;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-items__row {
		grid-template-columns: 72px minmax(0, 1fr) auto !important;
		column-gap: 12px;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-item__image img {
		width: 72px;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-item__product {
		min-width: 0;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-item__total {
		min-width: 0;
		padding-right: 0 !important;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		align-items: flex-end;
	}
	body.nv-v2 .wp-block-woocommerce-cart .wc-block-components-sale-badge {
		white-space: nowrap;
		font-size: 11px;
	}
}
body.nv-v2 .wp-block-woocommerce-cart .wc-block-components-sale-badge {
	border: 0;
	border-radius: 6px;
	background: #faeeda;
	color: #633806;
	font-weight: 700;
}

/* Página de pago: aviso de pago acorde a la tienda */
.nv-aviso-pago {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 6px 0 4px;
	padding: 16px 18px;
	border: 1px solid #f0d9b5;
	border-left: 4px solid var(--nv-vino);
	border-radius: 0 12px 12px 0;
	background: #fdf6ea;
	color: var(--nv-texto);
	font-size: 15px;
	line-height: 1.5;
}
.nv-aviso-pago > .nv-icon {
	width: 30px;
	height: 30px;
	color: var(--nv-vino);
}
.nv-aviso-pago > div {
	flex: 1;
}
.nv-aviso-pago strong {
	color: var(--nv-vino);
}
.nv-aviso-pago span {
	display: block;
	color: var(--nv-suave);
}
.nv-aviso-pago__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--nv-verde);
	color: #fff !important;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}
@media (max-width: 999px) {
	.nv-aviso-pago {
		flex-wrap: wrap;
	}
	.nv-aviso-pago__btn {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================
 * Ronda 6: espacios y barra superior
 * ========================================================== */

/* Celular: la franja de confianza (envío, pago, asesoría) se separa de "¿Qué necesitas hoy?" */
@media (max-width: 999px) {
	body.nv-v2 .nv-necesidades__lista {
		padding-bottom: 8px !important;
	}
	body.nv-v2 .nv-confianza {
		margin-top: 38px;
		padding-top: 22px;
	}
}

/* Escritorio: tarjeta "¿Qué necesitas hoy?" más baja */
@media (min-width: 1000px) {
	body.nv-v2 .nv-necesidades {
		padding: 12px 22px 12px;
	}
	body.nv-v2 .nv-necesidades__head {
		margin-bottom: 6px;
	}
	body.nv-v2 .nv-necesidades__head h2 {
		font-size: 18px;
	}
	body.nv-v2 .nv-nec {
		gap: 5px;
		padding: 4px;
		font-size: 13.5px;
	}
	body.nv-v2 .nv-nec__ico {
		width: 44px;
		height: 44px;
	}
	body.nv-v2 .nv-nec__ico .nv-icon {
		width: 22px;
		height: 22px;
	}
}

/* ==========================================================
 * Página de contacto [nv_contacto]
 * ========================================================== */
.nv-contacto {
	max-width: 1180px;
	margin: 0 auto;
	padding: 28px 0 40px;
	color: #1f3d2b;
}
.nv-contacto h1,
.nv-contacto h2 {
	color: var(--nv-verde);
	font-family: inherit;
}
.nv-contacto__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin-bottom: 24px;
}
.nv-contacto__sello {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--nv-menta);
	color: var(--nv-verde);
	font-size: 13px;
	font-weight: 600;
}
.nv-contacto__sello .nv-icon {
	width: 16px;
	height: 16px;
}
.nv-contacto__intro h1 {
	margin: 12px 0 8px;
	font-size: clamp(26px, 3.2vw, 36px);
	line-height: 1.15;
}
.nv-contacto__intro p {
	margin: 0;
	color: #4a5a4f;
	font-size: 16px;
	line-height: 1.6;
}
.nv-contacto__wa {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-align: center;
}
.nv-contacto__wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 14px;
	background: #1f9d55;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}
.nv-contacto__wa-btn:hover {
	background: #188246;
}
.nv-contacto__wa-btn .nv-icon {
	width: 24px;
	height: 24px;
}
.nv-contacto__wa small {
	color: #4a5a4f;
	font-size: 13px;
}
.nv-contacto__cuerpo {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
.nv-contacto__form {
	padding: 24px;
	border: 1px solid #e7dfc4;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(31, 61, 43, 0.06);
}
.nv-contacto__form h2 {
	margin: 0 0 14px;
	font-size: 20px;
}
.nv-contacto__seguro {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 10px 0 0;
	color: #6b6b60;
	font-size: 13px;
}
.nv-contacto__seguro .nv-icon {
	width: 15px;
	height: 15px;
}
.nv-contacto__datos {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.nv-contacto__dato {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #e7dfc4;
	border-radius: 14px;
	background: #fff;
	color: #1f3d2b;
	text-decoration: none;
	transition: border-color 0.2s;
}
a.nv-contacto__dato:hover {
	border-color: var(--nv-verde);
	color: #1f3d2b;
}
.nv-contacto__dato strong {
	display: block;
	font-size: 15px;
}
.nv-contacto__dato strong + span {
	display: block;
	color: #4a5a4f;
	font-size: 14px;
	overflow-wrap: anywhere;
}
.nv-contacto__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--nv-menta);
	color: var(--nv-verde);
}
.nv-contacto__ico .nv-icon {
	width: 21px;
	height: 21px;
}
.nv-contacto__redes {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding-top: 4px;
}
.nv-contacto__redes a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--nv-verde);
	color: #fff;
}
.nv-contacto__redes .nv-icon {
	width: 20px;
	height: 20px;
}
.nv-contacto__equipo {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin-top: 36px;
	padding: 24px;
	border: 1px solid #e7dfc4;
	border-radius: 18px;
	background: #fff;
}
.nv-contacto__foto {
	overflow: hidden;
	border-radius: 14px;
	aspect-ratio: 16 / 9;
}
.nv-contacto__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nv-contacto__foto.is-vacia {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--nv-crema-2);
	color: var(--nv-verde);
	font-weight: 600;
}
.nv-contacto__foto.is-vacia .nv-icon {
	width: 40px;
	height: 40px;
	opacity: 0.6;
}
.nv-contacto__equipo h2 {
	margin: 0 0 8px;
	font-size: 22px;
}
.nv-contacto__equipo p {
	margin: 0;
	color: #4a5a4f;
	line-height: 1.6;
}

/* Formulario WPForms dentro de la página */
.nv-contacto .wpforms-container {
	margin: 0 !important;
}
.nv-contacto .wpforms-field-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
.nv-contacto .wpforms-field {
	padding: 0 !important;
	margin: 0 !important;
}
.nv-contacto .wpforms-field.nv-ancho {
	grid-column: 1 / -1;
}
.nv-contacto .wpforms-field-label {
	margin: 0 0 6px !important;
	color: #1f3d2b !important;
	font-size: 14px !important;
	font-weight: 600 !important;
}
.nv-contacto .wpforms-required-label {
	color: var(--nv-vino) !important;
}
.nv-contacto .wpforms-field input[type="text"],
.nv-contacto .wpforms-field input[type="email"],
.nv-contacto .wpforms-field input[type="tel"],
.nv-contacto .wpforms-field textarea {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 46px;
	padding: 10px 14px !important;
	border: 1px solid #c9c2a8 !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #1f3d2b !important;
	font-size: 16px !important;
	box-shadow: none !important;
}
.nv-contacto .wpforms-field textarea {
	height: 110px !important;
	min-height: 110px;
}
.nv-contacto .wpforms-field input:focus,
.nv-contacto .wpforms-field textarea:focus {
	border-color: var(--nv-verde) !important;
	outline: 2px solid rgba(0, 74, 47, 0.15);
}
.nv-contacto .wpforms-field-radio ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
}
.nv-contacto .wpforms-field-radio li,
.nv-contacto .wpforms-field-checkbox li {
	list-style: none !important;
}
.nv-contacto .wpforms-field-radio li {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}
.nv-contacto .wpforms-field-radio li input {
	position: absolute !important;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.nv-contacto .wpforms-field-radio li label {
	display: inline-block !important;
	margin: 0 !important;
	padding: 8px 14px !important;
	border: 1px solid #c9c2a8;
	border-radius: 999px;
	background: #fff;
	color: #1f3d2b !important;
	font-size: 14px !important;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}
.nv-contacto .wpforms-field-radio li input:checked + label {
	border-color: var(--nv-verde);
	background: var(--nv-verde);
	color: #fff !important;
}
.nv-contacto .wpforms-field-radio li input:focus-visible + label {
	outline: 2px solid var(--nv-verde);
	outline-offset: 2px;
}
.nv-contacto .wpforms-field-checkbox ul {
	margin: 0 !important;
	padding: 0 !important;
}
.nv-contacto .wpforms-field-checkbox li {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
}
.nv-contacto .wpforms-field-checkbox li input {
	flex: none;
	width: 18px !important;
	height: 18px !important;
	margin: 2px 0 0 !important;
	accent-color: var(--nv-verde);
}
.nv-contacto .wpforms-field-checkbox li label {
	color: #4a5a4f !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}
.nv-contacto .wpforms-field-checkbox li label a {
	color: var(--nv-verde);
	text-decoration: underline;
}
.nv-contacto .wpforms-submit-container {
	margin-top: 16px !important;
	padding: 0 !important;
}
.nv-contacto .wpforms-submit {
	width: 100% !important;
	height: 50px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--nv-verde) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer;
}
.nv-contacto .wpforms-submit:hover {
	background: var(--nv-verde-2) !important;
}
.nv-contacto label.wpforms-error,
.nv-contacto em.wpforms-error {
	color: #a32d2d !important;
	font-size: 13px !important;
}
.nv-contacto .wpforms-confirmation-container-full {
	padding: 18px !important;
	border: 1px solid #c0dd97 !important;
	border-radius: 12px;
	background: var(--nv-menta) !important;
	color: #1f3d2b !important;
}

@media (max-width: 999px) {
	.nv-contacto {
		padding: 18px 0 28px;
	}
	.nv-contacto__intro,
	.nv-contacto__cuerpo,
	.nv-contacto__equipo {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.nv-contacto__form,
	.nv-contacto__equipo {
		padding: 18px 16px;
	}
	.nv-contacto .wpforms-field-container {
		grid-template-columns: 1fr;
	}
	.nv-contacto__equipo {
		margin-top: 24px;
	}
}
