/* Vita Animale – ajustes CRO (mu-plugins/vita-cro/vita-cro.css). Borrar el archivo revierte los estilos. */

:root {
	--vita-accion: #007c93;      /* turquesa con contraste AA para botones/precio */
	--vita-accion-hover: #00687b;
	--vita-naranja: #d85a00;     /* naranja de la barra de menú con contraste AA */
	--vita-texto: #1f1f1f;
	--wd-primary-color: #007c93;
	--btn-accented-bgcolor: #007c93;
	--btn-accented-bgcolor-hover: #00687b;
}

/* ---- Contraste ---- */

.add_to_cart_button,
.single_add_to_cart_button,
.wd-add-btn .button,
.checkout-button,
#place_order,
.woocommerce-mini-cart__buttons .checkout {
	background-color: var(--vita-accion) !important;
	color: #fff !important;
}
.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.wd-add-btn .button:hover,
.checkout-button:hover,
#place_order:hover { background-color: var(--vita-accion-hover) !important; }

/* ---- Tarjetas de producto ---- */
.product-grid-item .wd-product-cats { display: none !important; }
.product-grid-item .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.product-grid-item .price ins,
.product-grid-item .price > .amount,
.product-grid-item .price ins .amount {
	color: var(--vita-texto) !important;
	font-size: 21px !important;
	font-weight: 700 !important;
	text-decoration: none;
	order: 1;
}
.product-grid-item .price del,
.product-grid-item .price del .amount {
	order: 2;
	font-size: 13px !important;
	color: #6b6b6b !important;
	font-weight: 400 !important;
}

/* Botón "Agregar al carrito" siempre visible (antes solo al pasar el mouse) */
.wd-hover-buttons-on-hover .wd-product-footer,
.wd-hover-buttons-on-hover .wd-add-btn,
.wd-hover-buttons-on-hover .wd-add-btn-replace {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	max-height: none !important;
	position: static !important;
	pointer-events: auto !important;
}
.wd-hover-buttons-on-hover .wd-product-footer { margin-top: 10px; }
.wd-hover-buttons-on-hover .product-wrapper,
.wd-hover-buttons-on-hover .product-element-bottom,
.wd-hover-buttons-on-hover .wd-product-wrapper { overflow: visible !important; transform: none !important; margin-bottom: 0 !important; height: auto !important; }
.wd-hover-buttons-on-hover:hover .product-element-bottom { transform: none !important; }
.wd-hover-buttons-on-hover .wd-add-btn .button {
	width: 100%;
	border-radius: 30px;
	min-height: 40px;
	font-size: 14px;
	text-transform: none;
}
.wd-hover-buttons-on-hover .wd-add-btn .button .wd-action-text { display: inline !important; }
.wd-hover-buttons-on-hover .wd-action-buttons { display: none !important; } /* comparar / vista rápida */

/* ---- Barra superior (header banner) ---- */
.wd-hb-wrapp { --wd-hb-opt-h: auto; height: auto !important; min-height: 0 !important; overflow: visible !important; }
.header-banner {
	position: relative !important;
	height: auto !important;
	min-height: 36px;
	padding: 8px 12px;
	align-items: center;
	justify-content: center;
	background: var(--vita-texto) !important;
	color: #fff !important;
}
.header-banner .header-banner-container,
.header-banner .container {
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	color: #fff;
}
.header-banner a { color: #fff; text-decoration: underline; }
.header-banner .close-header-banner { display: none; }

/* ---- Ficha de producto ---- */
.single-product .price ins .amount,
.single-product .summary .price > .amount,
.single-product .wd-single-price .price ins .amount { color: var(--vita-texto) !important; font-weight: 700; }
.single-product .wd-single-price .price del .amount { font-size: .7em; }
.wc-points-rewards-product-message,
.single-product .wc-points-rewards-product-message {
	background: #fff4ea;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--vita-texto);
}

@media (max-width: 767px) {
	/* Precio y botón antes de la descripción */
	.single-product .elementor-element-31eecb1 { display: flex !important; flex-direction: column; }
	.single-product .elementor-element-cb328ab { order: -1; }
	.single-product .elementor-element-a19cb40 { order: 2; }
	.single-product .elementor-element-85f92a8 { display: none !important; } /* anterior/siguiente */
	.single-product .elementor-element-9a4624d .wd-carousel-item img,
	.single-product .elementor-element-9a4624d img { max-height: 300px; width: auto; margin: 0 auto; object-fit: contain; }
	.single-product .elementor-element-f2f20e0 { font-size: 14px; }

	/* Barra fija de compra de Woodmart por encima de la barra inferior */
	.wd-sticky-btn { bottom: var(--wd-sticky-nav-height, 55px) !important; }
	.wd-sticky-btn .wd-sticky-btn-thumbnail { display: none; }

	/* WhatsApp: sin globo y por encima de las barras fijas */
	#wa .wa__btn_popup,
	.wa__btn_popup { bottom: 130px !important; right: 16px !important; }
	.wa__btn_popup_txt { display: none !important; }
}

/* WhatsApp: ocultar el globo de texto en todas las pantallas */
.wa__btn_popup_txt { display: none !important; }

/* Mensaje de puntos en la ficha: ocupa su propia línea arriba de cantidad + botón */
form.cart .vita-puntos {
	flex: 0 0 100%;
	width: 100%;
	margin: 0 0 12px;
	background: #fff4ea;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 14px;
	color: #1f1f1f;
}

.wd-sticky-btn .vita-puntos { display: none !important; }

/* Celular: WhatsApp va en la barra inferior; se oculta el botón flotante para que no tape nada */
@media (max-width: 1024px) {
	.wa__btn_popup, #wa .wa__btn_popup { display: none !important; }
	.header-banner { font-size: 12px !important; line-height: 1.35; padding: 6px 10px; min-height: 0; }
	.header-banner .vb-opc { display: none; }
	.wd-toolbar .wd-custom-icon img { width: 20px; height: 20px; }
}

/* ---------- Portada CRO ---------- */
.vita-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 30px; font-weight: 700; font-size: 16px; text-decoration: none !important; background: var(--vita-accion); color: #fff !important; transition: background .2s; }
.vita-btn:hover { background: var(--vita-accion-hover); }
.vita-hero { background: linear-gradient(135deg, #fff4ea 0%, #e6f6f8 100%); border-radius: 24px; padding: 48px 56px; margin-top: 10px; }
.vita-hero__txt { max-width: 720px; }
.vita-hero__kicker { color: var(--vita-naranja); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; margin: 0 0 8px; }
.vita-hero h1 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 0 0 14px; color: var(--vita-texto); }
.vita-hero__sub { font-size: 18px; color: #3d3d3d; margin: 0 0 24px; max-width: 620px; }
.vita-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.vita-btn--gato { background: var(--vita-naranja); }
.vita-btn--gato:hover { background: #b84c00; }
.vita-hero__trust { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #3d3d3d; }
.vita-hero__trust li::before { content: "✓ "; color: var(--vita-accion); font-weight: 700; }

.vita-wiz { background: #fff; border: 1px solid #ececec; border-radius: 24px; padding: 32px 36px; }
.vita-wiz h2 { margin: 0 0 4px; font-size: 28px; }
.vita-wiz__sub { margin: 0 0 20px; color: #555; }
.vita-wiz__step { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; align-items: center; margin-bottom: 16px; }
.vita-wiz__step > p { margin: 0; font-weight: 700; color: var(--vita-texto); }
.vita-wiz__n { width: 30px; height: 30px; border-radius: 50%; background: var(--vita-accion); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.vita-wiz__opts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.vita-wiz__opts button { min-height: 42px; padding: 0 16px; border-radius: 30px; border: 1.5px solid #d6d6d6; background: #fff; color: var(--vita-texto); font-weight: 600; font-size: 14px; cursor: pointer; }
.vita-wiz__opts button.is-on { border-color: var(--vita-accion); background: #e6f6f8; color: var(--vita-accion); }
.vita-wiz__go { margin-left: 46px; }

.vita-promos__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.vita-promos__head h2 { margin: 0; font-size: 30px; }
.vita-promos__head a { font-weight: 700; color: var(--vita-accion); }
.vita-promos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vita-promo { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #f3f3f3; }
.vita-promo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vita-promo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: rgba(31,31,31,.82); color: #fff; font-weight: 700; font-size: 15px; }

.product-label.vita-label { background: var(--vita-accion) !important; color: #fff !important; }

@media (max-width: 767px) {
	.vita-hero { padding: 26px 20px; border-radius: 18px; }
	.vita-hero__sub { font-size: 15px; margin-bottom: 18px; }
	.vita-hero__btns .vita-btn { flex: 1 1 100%; }
	.vita-wiz { padding: 22px 18px; }
	.vita-wiz h2 { font-size: 22px; }
	.vita-wiz__step { grid-template-columns: 28px 1fr; }
	.vita-wiz__go { margin-left: 0; width: 100%; }
	.vita-promos__head h2 { font-size: 22px; }
	.vita-promos__grid { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.vita-promo { scroll-snap-align: start; }
}

/* Ajustes tanda 3 */
.vita-promo span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.vita-wiz__opts button, .vita-btn, .add_to_cart_button, .single_add_to_cart_button, .wd-add-btn .button { text-transform: none !important; }

@media (max-width: 767px) {
	.vita-hero { padding: 20px 18px; margin-top: 4px; }
	.vita-hero__kicker { font-size: 11px; margin-bottom: 6px; }
	.vita-hero h1 { font-size: 27px; margin-bottom: 10px; }
	.vita-hero__sub { font-size: 14px; margin-bottom: 14px; }
	.vita-hero__btns { gap: 8px; margin-bottom: 12px; }
	.vita-hero__btns .vita-btn { min-height: 44px; font-size: 15px; }
	.vita-hero__trust { font-size: 12px; gap: 4px 12px; }
	.vita-wiz__opts button { min-height: 38px; padding: 0 12px; font-size: 13px; }
}

/* Otros tamaños */
.vita-sizes { margin: 4px 0 14px; width: 100%; }
.vita-sizes__t { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--vita-texto); }
.vita-sizes__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vita-size { display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 8px 10px; border: 1.5px solid #d6d6d6; border-radius: 12px; text-decoration: none !important; color: var(--vita-texto) !important; line-height: 1.25; }
.vita-size strong { font-size: 15px; }
.vita-size span { font-size: 13px; }
.vita-size small { font-size: 11px; color: #6b6b6b; }
.vita-size.is-on { border-color: var(--vita-accion); background: #e6f6f8; }
.vita-perkg { font-size: 13px; color: #6b6b6b; margin: 0 0 10px; }
.wd-sticky-btn .vita-sizes, .wd-sticky-btn .vita-perkg { display: none !important; }

form.cart .vita-sizes, form.cart .vita-perkg { flex: 0 0 100%; }

/* =====================================================================
   Diseño v2 (estilo referencia): neutro + naranja de acento.
   Solo aplica con body.vita-v2 (vista previa /inicio-nuevo/).
   ===================================================================== */
.vita-v2 {
	--v2-ink: #141824;
	--v2-ink-hover: #2a3042;
	--v2-gris: #f1f1f2;
	--v2-borde: #ececee;
	--v2-texto-2: #6b6f7a;
	--v2-naranja: #ff7a1a;
	--vita-accion: #141824;
	--vita-accion-hover: #2a3042;
	--wd-primary-color: #141824;
	--btn-accented-bgcolor: #141824;
	background: #fff;
}

/* Encabezado blanco y limpio */
.vita-v2 .header-banner { background: var(--v2-ink) !important; }

/* Botones */
.vita-v2 .add_to_cart_button,
.vita-v2 .single_add_to_cart_button,
.vita-v2 .wd-add-btn .button,
.vita-v2 .checkout-button,
.vita-v2 #place_order { background: var(--v2-ink) !important; border-radius: 10px !important; }
.vita-v2 .add_to_cart_button:hover,
.vita-v2 .wd-add-btn .button:hover { background: var(--v2-ink-hover) !important; }

/* Secciones */
.vita-v2 .v2-sec { margin-bottom: 56px !important; }
.v2-kicker { font-size: 13px; color: var(--v2-texto-2); margin: 0 0 8px; letter-spacing: .02em; }
.v2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.v2-head h2 { font-size: 32px; line-height: 1.1; margin: 0 0 6px; color: var(--v2-ink); letter-spacing: -.01em; }
.v2-head p { margin: 0; color: var(--v2-texto-2); font-size: 14px; }
.v2-more { font-size: 14px; font-weight: 600; color: var(--v2-ink) !important; white-space: nowrap; border-bottom: 1.5px solid var(--v2-ink); padding-bottom: 2px; text-decoration: none !important; }
.v2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 12px; font-weight: 700; text-decoration: none !important; background: var(--v2-ink); color: #fff !important; }
.v2-btn--light { background: #fff; color: #141824 !important; }

/* Hero */
.v2-hero { position: relative; padding-bottom: 46px; margin-top: 18px; }
.v2-hero__box { background: linear-gradient(180deg, #ececee 0%, #e2e2e5 100%); border-radius: 28px; text-align: center; padding: 44px 24px 0; overflow: hidden; }
.v2-hero h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; color: #141824; margin: 0 auto 10px; max-width: 760px; letter-spacing: -.015em; }
.v2-hero__img { display: block; width: min(620px, 92%); height: auto; margin: 6px auto -4px; }
.v2-search { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(880px, 92%); display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 16px 40px rgba(20,24,36,.12); }
.v2-search__form { flex: 1 1 auto; display: flex; gap: 8px; background: #f1f1f2; border-radius: 12px; padding: 6px; }
.v2-search__form input[type=search] { flex: 1; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 12px; font-size: 14px; min-height: 40px; }
.v2-search__form button { min-height: 40px; padding: 0 22px; border: 0; border-radius: 10px; background: #141824; color: #fff; font-weight: 700; cursor: pointer; }
.v2-shopby { display: flex; align-items: center; gap: 16px; padding-left: 16px; border-left: 1px solid #ececee; font-size: 14px; white-space: nowrap; }
.v2-shopby span { color: #a3a6ae; }
.v2-shopby a { color: #141824 !important; font-weight: 600; text-decoration: none !important; }
.v2-shopby a:hover { color: #ff7a1a !important; }

/* Tarjetas de producto */
.vita-v2 .product-grid-item .product-wrapper { background: #fff !important; border: 1px solid var(--v2-borde); border-radius: 18px !important; padding: 8px 8px 12px !important; box-shadow: none !important; }
.vita-v2 .product-grid-item .product-element-top { background: var(--v2-gris); border-radius: 14px; overflow: hidden; }
.vita-v2 .product-grid-item .product-element-top img { mix-blend-mode: multiply; }
.vita-v2 .product-grid-item .product-element-bottom { text-align: center; padding: 10px 6px 0 !important; }
.vita-v2 .product-grid-item .wd-entities-title { font-size: 14px; font-weight: 500; line-height: 1.3; min-height: 2.6em; }
.vita-v2 .product-grid-item .price { justify-content: center; }
.vita-v2 .product-grid-item .price ins .amount,
.vita-v2 .product-grid-item .price > .amount { font-size: 18px !important; color: var(--v2-ink) !important; }
.vita-v2 .product-labels .product-label { background: rgba(20,24,36,.78) !important; color: #fff !important; border-radius: 8px !important; font-size: 11px; }
.vita-v2 .product-labels .product-label.onsale { background: var(--v2-naranja) !important; }
.vita-v2 .wd-hover-buttons-on-hover .wd-add-btn .button { min-height: 38px; font-size: 13px; }

/* Flechas del carrusel arriba a la derecha */
.vita-v2 .v2-carousel { position: relative; }
.vita-v2 .v2-carousel .v2-head { padding-right: 110px; }
.vita-v2 .v2-carousel .wd-nav-arrows { position: absolute !important; top: 4px; right: 0; display: flex !important; gap: 8px; z-index: 5; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow { position: static !important; transform: none !important; width: 46px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--v2-borde); color: var(--v2-ink); opacity: 1 !important; visibility: visible !important; }
.vita-v2 .v2-carousel .wd-btn-arrow.wd-next { background: var(--v2-ink); color: #fff; border-color: var(--v2-ink); }
.vita-v2 .v2-carousel .wd-btn-arrow.wd-disabled { opacity: .45 !important; }
.vita-v2 .v2-carousel .v2-more { display: none; }

/* Asistente en tarjeta gris */
.vita-v2 .v2-wiz .vita-wiz { background: var(--v2-gris); border: 0; }
.vita-v2 .v2-wiz .vita-wiz__n { background: var(--v2-ink); }
.vita-v2 .v2-wiz .vita-wiz__opts button.is-on { border-color: var(--v2-ink); background: #fff; color: var(--v2-ink); }
.vita-v2 .v2-wiz .vita-btn { background: var(--v2-ink); border-radius: 12px; }

/* Marcas en tarjetas grises */
.vita-v2 .v2-brands .wd-brand-item,
.vita-v2 .v2-brands .wd-col > div { background: var(--v2-gris) !important; border-radius: 16px !important; }

/* Promos */
.vita-v2 .v2-promos .vita-promos__head h2 { font-size: 32px; color: var(--v2-ink); }
.vita-v2 .v2-promos .vita-promos__head a { color: var(--v2-ink); }
.vita-v2 .v2-promos .vita-promo { border-radius: 20px; }

/* Bloque oscuro de puntos */
.v2-dark { background: #141824; border-radius: 28px; padding: 56px 48px; color: #fff; }
.v2-dark__txt { max-width: 620px; }
.v2-dark .v2-kicker { color: #ffb47a; }
.v2-dark h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 0 0 12px; }
.v2-dark p { color: #c9ccd4; margin: 0 0 22px; }

@media (max-width: 1024px) {
	.v2-search { position: relative; left: auto; transform: none; width: auto; margin: -34px 14px 0; flex-direction: column; align-items: stretch; gap: 10px; }
	.v2-hero { padding-bottom: 0; }
	.v2-shopby { border-left: 0; padding-left: 4px; justify-content: space-between; gap: 8px; }
}
@media (max-width: 767px) {
	.vita-v2 .v2-sec { margin-bottom: 40px !important; }
	.v2-hero { margin-top: 8px; }
	.v2-hero__box { padding: 28px 16px 0; border-radius: 22px; }
	.v2-hero h1 { font-size: 26px; }
	.v2-hero__img { width: 100%; }
	.v2-search { margin: -26px 8px 0; padding: 10px; }
	.v2-search__form button { padding: 0 16px; }
	.v2-shopby { font-size: 13px; }
	.v2-head h2 { font-size: 24px; }
	.vita-v2 .v2-carousel .v2-head { padding-right: 0; }
	.vita-v2 .v2-carousel .wd-nav-arrows { display: none !important; }
	.vita-v2 .v2-carousel .v2-more { display: inline; }
	.v2-dark { padding: 36px 24px; border-radius: 22px; }
}

/* v2: ajustes de carrusel e imágenes */
.vita-v2 .v2-carousel .wd-carousel-inner { position: static !important; }
.vita-v2 .v2-carousel .wd-nav-arrows { position: absolute !important; top: 6px !important; right: 0 !important; left: auto !important; bottom: auto !important; width: auto !important; transform: none !important; display: flex !important; gap: 8px; margin: 0 !important; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow { background: #fff !important; border: 1px solid #ececee !important; border-radius: 10px !important; width: 46px !important; height: 40px !important; color: #141824 !important; box-shadow: none !important; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow.wd-next { background: #141824 !important; border-color: #141824 !important; color: #fff !important; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-arrow-inner { color: inherit !important; }
.vita-v2 .product-grid-item .product-element-top .product-image-link img, .vita-v2 .product-grid-item .product-element-top > a img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 767px) { .vita-v2 .v2-carousel .wd-nav-arrows { display: none !important; } }
.vita-v2 .v2-carousel .wd-carousel-container, .vita-v2 .v2-carousel .elementor-widget-wd_products { position: static !important; }
.vita-v2 .v2-carousel.e-con, .vita-v2 .v2-carousel > .e-con-inner { position: relative !important; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow:hover { filter: brightness(.95); }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-arrow-inner { background: transparent !important; width: 100% !important; height: 100% !important; border-radius: 10px !important; border: 0 !important; display: flex; align-items: center; justify-content: center; }

/* ---- v2 con los colores de la marca: naranja + azul (la estructura sigue igual) ---- */
.vita-v2 {
	--v2-azul: #004ba3;
	--v2-azul-hover: #003a80;
	--v2-azul-claro: #e8f1fb;
	--v2-naranja-cta: #e35f00;
	--v2-naranja-hover: #c45200;
	--vita-accion: #004ba3;
	--wd-primary-color: #004ba3;
	--btn-accented-bgcolor: #004ba3;
}
/* Franja superior azul, barra de menú naranja como antes */
.vita-v2 .header-banner { background: var(--v2-azul) !important; }

/* Botones de compra azules */
.vita-v2 .add_to_cart_button,
.vita-v2 .single_add_to_cart_button,
.vita-v2 .wd-add-btn .button,
.vita-v2 .checkout-button,
.vita-v2 #place_order { background: var(--v2-azul) !important; }
.vita-v2 .add_to_cart_button:hover,
.vita-v2 .wd-add-btn .button:hover { background: var(--v2-azul-hover) !important; }

/* Hero en celeste suave con acento naranja */
.vita-v2 .v2-hero__box { background: linear-gradient(180deg, #eaf3fd 0%, #d6e7fa 100%); }
.vita-v2 .v2-hero .v2-kicker { color: #d85a00; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.vita-v2 .v2-hero h1 { color: var(--v2-azul); }
.vita-v2 .v2-search__form { background: var(--v2-azul-claro); }
.vita-v2 .v2-search__form button { background: var(--v2-naranja-cta); }
.vita-v2 .v2-search__form button:hover { background: var(--v2-naranja-hover); }
.vita-v2 .v2-shopby a { color: var(--v2-azul) !important; }
.vita-v2 .v2-shopby a:hover { color: #d85a00 !important; }

/* Títulos de sección en azul, enlaces con subrayado naranja */
.vita-v2 .v2-head h2,
.vita-v2 .v2-promos .vita-promos__head h2 { color: var(--v2-azul); }
.vita-v2 .v2-more { color: var(--v2-azul) !important; border-bottom-color: #ff7a1a; }

/* Flechas: anterior blanca con borde azul, siguiente naranja */
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow { border-color: #c9dbf3 !important; color: var(--v2-azul) !important; }
.vita-v2 .v2-carousel .wd-nav-arrows .wd-btn-arrow.wd-next { background: var(--v2-naranja-cta) !important; border-color: var(--v2-naranja-cta) !important; color: #fff !important; }

/* Tarjetas: fondo de foto celeste muy suave, precio azul */
.vita-v2 .product-grid-item .product-element-top { background: #f2f7fd; }
.vita-v2 .product-grid-item .price ins .amount,
.vita-v2 .product-grid-item .price > .amount { color: var(--v2-azul) !important; }
.vita-v2 .product-labels .product-label { background: var(--v2-azul) !important; }
.vita-v2 .product-labels .product-label.onsale { background: #ff7a1a !important; }

/* Asistente y marcas con el celeste de la marca */
.vita-v2 .v2-wiz .vita-wiz { background: var(--v2-azul-claro); }
.vita-v2 .v2-wiz .vita-wiz h2 { color: var(--v2-azul); }
.vita-v2 .v2-wiz .vita-wiz__n { background: #ff7a1a; }
.vita-v2 .v2-wiz .vita-wiz__opts button.is-on { border-color: var(--v2-azul); color: var(--v2-azul); }
.vita-v2 .v2-wiz .vita-btn { background: var(--v2-naranja-cta); }
.vita-v2 .v2-brands .wd-brand-item,
.vita-v2 .v2-brands .wd-col > div { background: #f2f7fd !important; }

/* Bloque de puntos en azul con botón naranja */
.vita-v2 .v2-dark { background: linear-gradient(135deg, #004ba3 0%, #0a5fc4 100%); }
.vita-v2 .v2-dark .v2-kicker { color: #ffd2ad; }
.vita-v2 .v2-dark p { color: #dce8f8; }
.vita-v2 .v2-dark .v2-btn--light { background: #ff7a1a; color: #fff !important; }
@media (min-width: 1025px) { .vita-v2 .v2-dark { position: relative; overflow: hidden; } .vita-v2 .v2-dark::after { content: ""; position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 300px; height: 260px; border-radius: 22px; background: url(/wp-content/uploads/2025/11/perro_gato_caja_690x600.png) center / cover no-repeat; box-shadow: 0 16px 40px rgba(0,0,0,.25); } }


/* Encabezado: colores originales (barra naranja, buscador y carrito turquesa) */
.whb-header { --wd-primary-color: rgb(1,167,198); --btn-accented-bgcolor: rgb(1,167,198); --btn-accented-bgcolor-hover: rgb(1,167,198); }
/* ---- Asistente "¿Qué come tu mascota?" v2 ---- */
.wz { --wz-azul: #004ba3; --wz-naranja: #e35f00; --wz-borde: #dfe6f0; display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.6fr; gap: 40px; align-items: start; background: #fff; border: 1px solid var(--wz-borde); border-radius: 28px; padding: 40px 44px; box-shadow: 0 1px 2px rgba(16,40,80,.04), 0 12px 32px rgba(16,40,80,.06); }
.wz__intro { position: sticky; top: 120px; }
.wz__eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #d85a00; }
.wz h2 { margin: 0 0 12px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.02em; color: var(--wz-azul); }
.wz__lead { margin: 0; font-size: 16px; line-height: 1.5; color: #5b6475; }
.wz__body { display: flex; flex-direction: column; gap: 26px; }
.wz__label { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #5b6475; }

/* Especie: dos tarjetas grandes */
.wz__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wz__tile { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 0 20px; border: 1.5px solid var(--wz-borde) !important; border-radius: 18px; background: #f7f9fc !important; color: #1f2633 !important; font-size: 18px; font-weight: 700; text-transform: none !important; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.wz__emoji { font-size: 34px; line-height: 1; }
.wz__tile:hover { border-color: #b9cbe6 !important; }
.wz__tile.is-on { border-color: var(--wz-azul) !important; background: #eef4fc !important; color: var(--wz-azul) !important; box-shadow: 0 0 0 3px rgba(0,75,163,.12); }

/* Edad: control segmentado */
.wz__seg { display: inline-flex; width: 100%; padding: 4px; border-radius: 14px; background: #eef1f6; }
.wz__seg button { flex: 1 1 0; min-height: 42px; border: 0 !important; border-radius: 10px; background: transparent !important; color: #3a4252 !important; font-size: 14px; font-weight: 600; text-transform: none !important; cursor: pointer; transition: background .15s, box-shadow .15s; }
.wz__seg button.is-on { background: #fff !important; color: var(--wz-azul) !important; box-shadow: 0 1px 3px rgba(16,40,80,.14); }

/* Necesidad: chips */
.wz__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wz__chips button { min-height: 38px; padding: 0 16px; border: 1.5px solid var(--wz-borde) !important; border-radius: 999px; background: #fff !important; color: #3a4252 !important; font-size: 14px; font-weight: 600; text-transform: none !important; cursor: pointer; transition: border-color .15s, background .15s; }
.wz__chips button:hover { border-color: #b9cbe6 !important; }
.wz__chips button.is-on { border-color: var(--wz-azul) !important; background: var(--wz-azul) !important; color: #fff !important; }

/* Resumen + botón */
.wz__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 18px; background: #f7f9fc; }
.wz__summary { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #5b6475; }
.wz__summary strong { color: #1f2633; font-size: 15px; }
.wz__go { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 14px; background: var(--wz-naranja); color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; white-space: nowrap; transition: background .15s; }
.wz__go:hover { background: #c45200; }
.wz button:focus-visible, .wz__go:focus-visible { outline: 3px solid rgba(0,75,163,.35); outline-offset: 2px; }

@media (max-width: 1024px) {
	.wz { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
	.wz__intro { position: static; }
}
@media (max-width: 767px) {
	.wz { padding: 22px 16px; border-radius: 22px; gap: 20px; }
	.wz h2 { font-size: 26px; }
	.wz__lead { font-size: 14px; }
	.wz__body { gap: 20px; }
	.wz__tile { min-height: 64px; font-size: 16px; padding: 0 14px; }
	.wz__emoji { font-size: 28px; }
	.wz__seg button { font-size: 13px; min-height: 40px; }
	.wz__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
	.wz__chips::-webkit-scrollbar { display: none; }
	.wz__chips button { flex: 0 0 auto; }
	.wz__cta { flex-direction: column; align-items: stretch; padding: 14px; }
	.wz__go { width: 100%; }
}
/* La sección contenedora ya no necesita el fondo celeste anterior */
.vita-v2 .v2-wiz .vita-wiz { background: transparent; }
.wz .wz__tile { border-radius: 18px !important; justify-content: center; }
.wz .wz__seg button { border-radius: 10px !important; }
.wz .wz__chips button { border-radius: 999px !important; }
.wz .wz__go { border-radius: 14px !important; }
.wz > *, .wz__body, .wz__row { min-width: 0; }
.wz { max-width: 100%; box-sizing: border-box; overflow: hidden; }
.wz .wz__seg { display: flex; box-sizing: border-box; }
.wz .wz__seg button { min-width: 0 !important; padding: 0 4px !important; white-space: nowrap; }

/* ---- Promos flotando en el hero (v2) ---- */
.v2-hero__box { position: relative; }
.v2-hpromo { display: flex; align-items: center; gap: 12px; width: 268px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,45,110,.14), 0 1px 3px rgba(0,45,110,.08); text-align: left; text-decoration: none !important; color: #1f2633 !important; transition: transform .2s ease, box-shadow .2s ease; }
.v2-hpromo:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,45,110,.2); }
.v2-hpromo img { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.v2-hpromo__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.v2-hpromo__tag { align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #fff1e6; color: #c45200; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.v2-hpromo__title { font-size: 14px; font-weight: 700; line-height: 1.25; color: #003a80; }
.v2-hpromo__cta { font-size: 12px; font-weight: 700; color: #e35f00; }

/* Escritorio: flotando alrededor del perro y el gato */
@media (min-width: 1100px) {
	.v2-hpromos { position: absolute; top: 0; left: 0; right: 0; bottom: 46px; pointer-events: none; }
	.v2-hpromo { position: absolute; pointer-events: auto; animation: v2-float 6s ease-in-out infinite; }
	.v2-hpromo--a { left: 4%; top: 46%; }
	.v2-hpromo--b { left: 7%; top: 73%; animation-delay: -2s; }
	.v2-hpromo--c { right: 4%; top: 56%; animation-delay: -4s; }
	.v2-hpromo:hover { animation-play-state: paused; }
}
@keyframes v2-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .v2-hpromo { animation: none !important; } }

/* Tablet y celular: tira deslizable debajo del buscador */
@media (max-width: 1099px) {
	.v2-hpromos { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -16px 0; padding: 4px 16px 10px; scrollbar-width: none; }
	.v2-hpromos::-webkit-scrollbar { display: none; }
	.v2-hpromo { flex: 0 0 82%; max-width: 320px; width: auto; scroll-snap-align: start; box-shadow: 0 4px 14px rgba(0,45,110,.1); border: 1px solid #e3ebf6; }
}

/* ---- Banners de promos flotando en el hero (v2) ---- */
.v2-hban { display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0,45,110,.22), 0 2px 6px rgba(0,45,110,.12); transition: transform .25s ease, box-shadow .25s ease; }
.v2-hban img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

@media (min-width: 1100px) {
	.v2-hbans { position: absolute; top: 0; left: 0; right: 0; bottom: 46px; pointer-events: none; }
	.v2-hban { position: absolute; width: clamp(170px, 15vw, 230px); pointer-events: auto; animation: v2-float2 7s ease-in-out infinite; }
	.v2-hban--a { left: 5%; top: 24%; --r: -6deg; }
	.v2-hban--b { right: 12%; top: 16%; --r: 5deg; animation-delay: -2.5s; z-index: 1; }
	.v2-hban--c { right: 3.5%; top: 47%; --r: -3deg; animation-delay: -5s; z-index: 2; }
	.v2-hban:hover { animation-play-state: paused; transform: scale(1.04); z-index: 5; box-shadow: 0 24px 50px rgba(0,45,110,.3); }
}
@keyframes v2-float2 { 0%, 100% { translate: 0 0; rotate: var(--r, 0deg); } 50% { translate: 0 -10px; rotate: var(--r, 0deg); } }
@media (prefers-reduced-motion: reduce) { .v2-hban { animation: none !important; rotate: var(--r, 0deg); } }

/* Pantallas medianas de escritorio: un poco más chicos para no tapar la foto */
@media (min-width: 1100px) and (max-width: 1350px) {
	.v2-hban { width: 160px; }
	.v2-hban--a { left: 3%; }
	.v2-hban--b { right: 11%; }
	.v2-hban--c { right: 2%; }
}

/* Tablet y celular: tira deslizable con las imágenes completas */
@media (max-width: 1099px) {
	.v2-hbans { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 16px -16px 0; padding: 4px 16px 14px; scrollbar-width: none; }
	.v2-hbans::-webkit-scrollbar { display: none; }
	.v2-hban { flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; box-shadow: 0 6px 18px rgba(0,45,110,.14); }
}
@media (min-width: 1100px) {
	.v2-hban { width: clamp(160px, 13.5vw, 205px); }
	.v2-hban--a { left: 6%; top: 32%; --r: -6deg; }
	.v2-hban--b { right: 4%; top: 31%; --r: 6deg; }
	.v2-hban--c { right: 15%; top: 50%; --r: -4deg; }
}
@media (min-width: 1100px) and (max-width: 1350px) { .v2-hban { width: 150px; } .v2-hban--a { left: 3%; } .v2-hban--c { right: 14%; } }
/* Banners del hero más grandes */
@media (min-width: 1100px) {
	.v2-hero__img { width: min(700px, 50%); }
	.v2-hban { width: clamp(230px, 19vw, 290px); }
	.v2-hban--a { left: 3%; top: 13%; right: auto; --r: -6deg; }
	.v2-hban--c { left: 14%; top: 50%; right: auto; --r: 4deg; z-index: 2; }
	.v2-hban--b { right: 4%; top: 22%; left: auto; --r: 5deg; }
}
@media (min-width: 1100px) and (max-width: 1350px) { .v2-hban { width: 210px; } .v2-hban--a { left: 2%; } .v2-hban--c { left: 11%; } .v2-hban--b { right: 2%; } }
@media (min-width: 1100px) {
	.v2-hero__box { min-height: 730px; display: flex; flex-direction: column; align-items: center; }
	.v2-hero__img { width: min(700px, 50%) !important; margin-top: auto !important; }
	.v2-hban { width: clamp(220px, 17.5vw, 255px); }
	.v2-hban--a { left: 3%; top: 11%; --r: -6deg; z-index: 1; }
	.v2-hban--c { left: 13%; top: 47%; --r: 4deg; z-index: 2; }
	.v2-hban--b { right: 4%; top: 24%; --r: 5deg; }
}
@media (min-width: 1100px) and (max-width: 1350px) { .v2-hero__box { min-height: 660px; } .v2-hban { width: 200px; } .v2-hban--a { left: 2%; } .v2-hban--c { left: 10%; } .v2-hban--b { right: 2%; } }
@media (min-width: 1100px) { .v2-hban--a { top: 6%; } .v2-hban--c { top: 52%; left: 14%; } .v2-hban--b { top: 20%; } }

/* Banners de promos en fila debajo del buscador (reemplaza la versión flotante) */
@media (min-width: 1100px) {
	.v2-hero__box { min-height: 0 !important; display: block !important; }
	.v2-hero__img { width: min(620px, 92%) !important; margin: 6px auto -4px !important; }
	.v2-hero { padding-bottom: 0 !important; }
	.v2-search { position: relative !important; left: auto !important; bottom: auto !important; transform: none !important; margin: -34px auto 0 !important; }
	.v2-hbans { position: static !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 34px auto 0; pointer-events: auto; }
	.v2-hban { position: static !important; width: auto !important; animation: none !important; rotate: none !important; transform: none; }
	.v2-hban:hover { transform: translateY(-4px) !important; }
}

/* Fila de promos: mismo ancho que el contenido y mismos márgenes en celular */
@media (min-width: 1100px) { .v2-hbans { max-width: none !important; margin: 34px 0 0 !important; gap: 24px; } }
@media (max-width: 1099px) { .v2-hbans { margin: 16px 0 0 !important; padding: 4px 0 14px !important; scroll-padding-left: 0; } .v2-hban { flex: 0 0 64%; } }
@media (min-width: 600px) and (max-width: 1099px) { .v2-hban { flex: 0 0 calc((100% - 24px) / 3); max-width: none; } }
.v2-promosec .v2-hbans { margin-top: 0 !important; }
.v2-hero { margin-bottom: 8px; }
.vita-v2 .v2-promosec { padding-bottom: 56px !important; }
@media (max-width: 767px) { .vita-v2 .v2-promosec { padding-bottom: 32px !important; } }
.vita-v2 .elementor-element.v2-promosec { --padding-bottom: 56px; --margin-bottom: 0px; }
.vita-v2 .v2-promosec .v2-hbans { margin-bottom: 56px !important; }
@media (max-width: 767px) { .vita-v2 .v2-promosec .v2-hbans { margin-bottom: 30px !important; } }
