/*
 * VeciPH Core — Explorar (v0.6.0). Diseño: diseno/explorar-escritorio.html y diseno/explorar-movil.html.
 * Todo va bajo .vex y con valores explícitos: la hoja del tema sigue cargada y no debe cambiar nada aquí.
 */

.vex {
	--vex-morado: #6147C4;
	--vex-morado-osc: #4A33A3;
	--vex-naranja: #DD7105;
	--vex-naranja-osc: #C26304;
	--vex-lila: #A096F0;
	--vex-lila-medio: #7C6BD3;
	--vex-lila-claro: #EEEBFC;
	--vex-tinta: #1B1B2F;
	--vex-gris: #3F4152;
	--vex-gris-claro: #5B5D70;
	--vex-borde: #E6E3F7;
	--vex-borde-fuerte: #D8D3F3;
	--vex-fondo: #F6F5FD;
	--vex-rojo: #D32F2F; /* Precio. Contraste 5:1 sobre blanco. */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--vex-fondo);
	color: var(--vex-tinta);
	font: 400 16px/1.5 Montserrat, system-ui, sans-serif;
	overflow-x: clip;
}
body.vex-body { margin: 0; background: #F6F5FD; }
.vex *, .vex *::before, .vex *::after { box-sizing: border-box; }
.vex a { color: var(--vex-morado); }
.vex a:hover { color: var(--vex-morado-osc); }
.vex h1, .vex h2, .vex p { margin: 0; font-family: Montserrat, system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.vex ul { list-style: none; margin: 0; padding: 0; }
.vex button { font-family: inherit; margin: 0; text-transform: none; letter-spacing: normal; line-height: 1; min-height: 0; box-shadow: none; }
.vex :focus-visible { outline: 3px solid var(--vex-naranja); outline-offset: 3px; }
.vex-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vex-saltar { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--vex-tinta); color: #fff !important; font-weight: 700; text-decoration: none; }
.vex-saltar:focus { top: 12px; }
.vex-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.vex-solo-movil { display: none; }
.vex-h2 { font-size: 26px; line-height: 1.25; font-weight: 700; color: var(--vex-tinta); }

/* Botones */
.vex-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 26px; font-size: 17px; font-weight: 700; text-decoration: none !important; white-space: nowrap; transition: background .15s, color .15s; }
.vex-btn--naranja { background: var(--vex-naranja); color: #fff !important; }
.vex-btn--naranja:hover { background: var(--vex-naranja-osc); }
.vex-btn--borde { border: 2px solid var(--vex-morado); color: var(--vex-morado) !important; background: transparent; }
.vex-btn--borde:hover { background: var(--vex-morado); color: #fff !important; }
.vex-btn--blanco { border: 2px solid #fff; color: #fff !important; }
.vex-btn--blanco:hover { background: #fff; color: var(--vex-morado) !important; }
.vex-btn--grande { height: 56px; padding: 0 30px; font-size: 19px; }

/* Encabezado */
.vex-top { background: #fff; border-bottom: 1px solid var(--vex-borde); }
/* Medidas del encabezado de la portada de visitantes (Elementor): barra de 98 px con su borde, enlaces de 13 px, botón de 15 px. */
.vex-top__in { min-height: 97px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 0; padding-bottom: 0; }
.vex-logo { display: flex; align-items: center; gap: 7px; text-decoration: none !important; }
.vex-logo__txt, .vex-pie__logo { font-family: Ubuntu, sans-serif; font-size: 40px; line-height: 1; color: var(--vex-morado); }
.vex-logo__txt span { color: var(--vex-naranja); }
.vex-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.vex .vex-nav__a { padding: 8px 12px; border-radius: 40px; color: var(--vex-morado); font-size: 13px; font-weight: 600; line-height: 13px; text-decoration: none; }
.vex .vex-nav__a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.vex .vex-nav__a:hover { color: var(--vex-morado-osc); background: var(--vex-lila-claro); }
.vex .vex-nav__btn { padding: 9px 18px; border-radius: 40px; background: var(--vex-naranja); color: #fff; display: inline-block; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 15px; white-space: nowrap; }
.vex .vex-nav__btn:hover { background: var(--vex-naranja-osc); color: #fff; }

.vex-main { flex: 1; display: flex; flex-direction: column; gap: 40px; padding-top: 24px; padding-bottom: 64px; }

/* Banner de destacados */
.vex-dest { display: flex; flex-direction: column; align-items: center; }
.vex-dest__marco { position: relative; width: 100%; height: 330px; border-radius: 24px; overflow: hidden; }
.vex-dest__slides, .vex-dest__slide { height: 100%; }
.vex-dest__slide { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 72px 56px; }
.vex-dest__slide[hidden] { display: none; }
.vex-dest__slide--morado { background: var(--vex-morado); color: #fff; }
.vex-dest__slide--lila { background: var(--vex-lila); color: var(--vex-tinta); }
.vex-dest__slide--tinta { background: var(--vex-tinta); color: #fff; }
.vex-dest__txt { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.vex-dest__eti { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 16px; background: #fff; color: var(--vex-morado-osc); }
.vex-dest__slide--lila .vex-dest__eti { background: var(--vex-tinta); color: #fff; }
.vex .vex-dest__tit { font-size: 46px; line-height: 1.08; font-weight: 700; color: inherit; }
.vex .vex-dest__p { font-size: 19px; line-height: 1.45; color: inherit; }
.vex-dest__btn { align-self: flex-start; height: 56px; padding: 0 30px; font-size: 19px; }
.vex-dest__ilus { flex-shrink: 0; display: flex; }
.vex-dest__ilus svg { max-width: 100%; height: auto; }
.vex button.vex-dest__flecha { position: absolute; top: 128px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 4px 14px rgba(27, 27, 47, .18); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vex-dest__flecha--ant { left: 18px; }
.vex-dest__flecha--sig { right: 18px; }
.vex-dest__puntos { position: absolute; top: 20px; right: 24px; display: flex; gap: 2px; }
.vex button.vex-dest__punto { width: 30px; height: 30px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vex-dest__punto span { display: block; width: 10px; height: 10px; border-radius: 5px; background: #fff; opacity: .55; transition: width .2s, opacity .2s; }
.vex-dest__punto[aria-pressed="true"] span { width: 26px; opacity: 1; }

/* Buscador flotante */
.vex-buscar { position: relative; z-index: 2; width: calc(100% - 20px); max-width: 880px; margin: -38px auto 0; height: 76px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; column-gap: 14px; padding: 0 10px 0 28px; }
.vex-buscar__fondo { position: absolute; inset: 0; z-index: -1; border-radius: 40px; background: #fff; box-shadow: 0 0 0 10px rgba(160, 150, 240, .45), 0 10px 30px rgba(27, 27, 47, .14); }
.vex-buscar__lupa { display: flex; }
.vex input.vex-buscar__q { width: 100%; min-width: 0; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; box-shadow: none; background: transparent; font: 500 18px Montserrat, sans-serif; color: var(--vex-tinta); -webkit-appearance: none; appearance: none; }
.vex input.vex-buscar__q::placeholder { color: #6B6D80; opacity: 1; }
.vex-buscar__sep { width: 1px; height: 36px; background: var(--vex-borde); }
.vex select.vex-buscar__zona { width: auto; max-width: 220px; height: 48px; margin: 0; padding: 0 30px 0 8px; border: 0; border-radius: 12px; box-shadow: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236147C4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center; font: 600 16px Montserrat, sans-serif; color: var(--vex-tinta); cursor: pointer; -webkit-appearance: none; appearance: none; }
.vex button.vex-buscar__ir { width: 56px; height: 56px; padding: 0; border: 0; border-radius: 28px; background: var(--vex-naranja); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vex button.vex-buscar__ir:hover { background: var(--vex-naranja-osc); }

/* Categorías */
.vex-cats { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.vex-cats__cab { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.vex-cats__cab p { font-size: 16px; color: var(--vex-gris); }
.vex-cats__fila { width: 100%; display: flex; align-items: center; gap: 12px; }
.vex button.vex-cats__flecha { width: 44px; height: 44px; flex-shrink: 0; padding: 0; border-radius: 22px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vex button.vex-cats__flecha--ant { border: 1.5px solid var(--vex-borde-fuerte); background: #fff; color: var(--vex-morado); }
.vex button.vex-cats__flecha--sig { border: 0; background: var(--vex-morado); color: #fff; }
.vex button.vex-cats__flecha[aria-disabled="true"] { opacity: .4; cursor: default; }
.vex-cats__lista { flex: 1; min-width: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 6px; }
.vex-cats__lista::-webkit-scrollbar { display: none; }
.vex-cats__item { flex: 0 0 calc((100% - 6 * 14px) / 7); scroll-snap-align: start; }
.vex .vex-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--vex-tinta); text-decoration: none; }
.vex-cat__caja { width: 100%; max-width: 128px; height: 100px; border-radius: 18px; background: #fff; border: 1.5px solid var(--vex-borde); display: flex; align-items: center; justify-content: center; transition: border-color .15s, box-shadow .15s; }
.vex-cat__ico { width: 60px; height: 60px; border-radius: 16px; background: var(--vex-lila-claro); display: flex; align-items: center; justify-content: center; }
.vex-cat__nombre { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.vex .vex-cat:hover .vex-cat__caja { border-color: var(--vex-lila); box-shadow: 0 6px 18px rgba(97, 71, 196, .12); }
.vex .vex-cat[aria-current="true"] .vex-cat__caja { border: 2px solid var(--vex-morado); }
.vex .vex-cat[aria-current="true"] .vex-cat__nombre { color: var(--vex-morado); }

/* Anuncios */
.vex-anuncios { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.vex-anuncios__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vex-anuncios__titulo { display: flex; align-items: baseline; gap: 12px; }
.vex-anuncios__total { font-size: 15px; color: var(--vex-gris-claro); }
.vex-chips { display: flex; gap: 8px; }
.vex .vex-chip { height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid var(--vex-borde-fuerte); background: #fff; color: var(--vex-tinta); display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.vex .vex-chip:hover { border-color: var(--vex-morado); color: var(--vex-tinta); }
.vex .vex-chip[aria-current="true"] { border-color: var(--vex-tinta); background: var(--vex-tinta); color: #fff; }
.vex-activos { font-size: 15px; color: var(--vex-gris); }
.vex-activos a { margin-left: 6px; font-weight: 600; }
.vex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.vex .vex-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; border: 1.5px solid var(--vex-borde); background: #fff; color: var(--vex-tinta); text-decoration: none; scroll-margin-top: 16px; transition: box-shadow .15s, border-color .15s; }
.vex .vex-card:hover { color: var(--vex-tinta); border-color: var(--vex-lila); box-shadow: 0 8px 24px rgba(27, 27, 47, .08); }
.vex-card__foto { height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vex-card__foto--lila { background: #DCD6FA; }
.vex-card__foto--durazno { background: #FBE3CC; }
.vex-card__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vex-card__cuerpo { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.vex-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vex-morado); }
.vex-card__tit { font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.vex-card__precio { font-size: 20px; font-weight: 700; color: var(--vex-rojo); }
.vex-card__pie { margin-top: auto; padding-top: 2px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
.vex-card__zona { display: flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 600; color: var(--vex-gris); }
.vex-card__fecha { font-size: 12.5px; color: var(--vex-gris-claro); }
.vex-mas { align-self: center; font-size: 16px; }
.vex-vacio { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 36px 20px; border: 1.5px dashed var(--vex-borde-fuerte); border-radius: 18px; background: #fff; text-align: center; }
.vex-vacio p { max-width: 520px; font-size: 16px; }

/* Cierre */
.vex-cierre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: 24px; background: var(--vex-morado); color: #fff; }
.vex-cierre__txt { display: flex; flex-direction: column; gap: 8px; max-width: 620px; }
.vex .vex-cierre h2 { font-size: 30px; line-height: 1.2; font-weight: 700; color: #fff; }
.vex .vex-cierre p { font-size: 17px; line-height: 1.5; color: #fff; }
.vex-cierre__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.vex-cierre .vex-btn--blanco { height: 56px; padding: 0 28px; }

/* Pie */
.vex-pie { background: var(--vex-tinta); color: #fff; }
.vex-pie__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.vex-pie__logo { font-size: 26px; color: #fff; }
.vex-pie__logo span { color: #F2A04F; }
.vex-pie__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.vex .vex-pie__nav a { color: #fff; }
.vex .vex-pie__nav a:hover { color: #F2A04F; }

/* Tableta: el banner sin ilustración ancha */
@media (max-width: 1023px) {
	.vex-dest__slide { padding: 0 64px 56px; }
	.vex-dest__ilus { display: none; }
	.vex-cats__item { flex-basis: calc((100% - 4 * 14px) / 5); }
}

/* Celular */
@media (max-width: 767px) {
	.vex { font-size: 15px; }
	.vex-wrap { padding-left: 16px; padding-right: 16px; }
	.vex-solo-ancho { display: none; }
	.vex-solo-movil { display: block; }
	.vex-h2 { font-size: 22px; }

	/* Celular: barra de 80 px, logo de 29 px, enlaces y botón de 13 px (como la portada de visitantes). */
	.vex-top__in { min-height: 79px; flex-wrap: nowrap; gap: 8px; }
	.vex-logo__ico { width: 22px; height: 27px; }
	.vex-logo__txt { font-size: 29px; }
	.vex-nav { flex-wrap: nowrap; gap: 2px; }
	.vex .vex-nav__a--ancho { display: none; }
	.vex .vex-nav__a { padding: 7px 10px; }
	.vex .vex-nav__btn { padding: 7px 10px; font-size: 13px; line-height: 13px; }

	.vex-main { gap: 32px; padding-top: 16px; padding-bottom: 40px; }

	.vex-dest__marco { height: 236px; border-radius: 20px; }
	.vex-dest__slide { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 22px 22px 52px; }
	.vex-dest__txt { gap: 10px; }
	.vex-dest__eti { font-size: 12.5px; padding: 5px 12px; border-radius: 14px; }
	.vex .vex-dest__tit { font-size: 27px; line-height: 1.12; max-width: 300px; }
	.vex .vex-dest__p { font-size: 15px; line-height: 1.4; max-width: 280px; }
	.vex-dest__btn { height: 50px; padding: 0 22px; }
	.vex button.vex-dest__flecha { display: none; }
	.vex-dest__puntos { top: 12px; right: 12px; gap: 0; }
	.vex button.vex-dest__punto { width: 26px; }
	.vex-dest__punto span { width: 8px; height: 8px; border-radius: 4px; }
	.vex-dest__punto[aria-pressed="true"] span { width: 22px; }

	/* Buscador: texto y botón en la píldora; la zona debajo. */
	.vex-buscar { width: calc(100% - 28px); height: auto; margin-top: -28px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 58px auto; column-gap: 8px; padding: 0 6px 0 18px; }
	.vex-buscar__fondo { bottom: auto; height: 58px; border-radius: 28px; box-shadow: 0 0 0 6px rgba(160, 150, 240, .45), 0 8px 24px rgba(27, 27, 47, .14); }
	.vex-buscar__lupa, .vex-buscar__sep { display: none; }
	.vex input.vex-buscar__q { grid-column: 1; grid-row: 1; font-size: 16px; }
	.vex button.vex-buscar__ir { grid-column: 2; grid-row: 1; width: 46px; height: 46px; border-radius: 23px; }
	.vex button.vex-buscar__ir svg { width: 20px; height: 20px; }
	.vex select.vex-buscar__zona { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: 16px; height: 44px; max-width: 100%; padding: 0 34px 0 14px; border-radius: 22px; border: 1.5px solid var(--vex-borde-fuerte); background-color: #fff; background-position: right 12px center; font-size: 15px; }

	.vex-cats { align-items: stretch; gap: 16px; }
	.vex-cats__cab { gap: 4px; }
	.vex .vex-cats__cab h2 { font-size: 20px; line-height: 1.3; }
	.vex-cats__cab p { font-size: 14px; }
	.vex button.vex-cats__flecha { display: none; }
	.vex-cats__lista { margin: 0 -16px; padding: 2px 16px 6px; gap: 12px; scroll-snap-type: x proximity; }
	.vex-cats__item { flex: 0 0 84px; }
	.vex .vex-cat { gap: 8px; }
	.vex-cat__caja { width: 76px; height: 76px; }
	.vex-cat__ico { width: auto; height: auto; background: transparent; }
	.vex-cat__nombre { font-size: 12.5px; }

	.vex-anuncios { gap: 14px; }
	.vex-anuncios__cab { gap: 14px; }
	.vex-anuncios__titulo { width: 100%; justify-content: space-between; }
	.vex-anuncios__total { font-size: 14px; }
	.vex .vex-chip { padding: 0 14px; font-size: 14px; }
	.vex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vex .vex-card { border-radius: 16px; }
	.vex-card__foto { height: 130px; }
	.vex-card__foto svg { width: 34px; height: 34px; }
	.vex-card__cuerpo { gap: 4px; padding: 10px 12px 12px; }
	.vex-card__cat { font-size: 11px; }
	.vex-card__tit { font-size: 14.5px; }
	.vex-card__precio { font-size: 17px; }
	.vex-card__pie { flex-direction: column; align-items: flex-start; }
	.vex-card__zona { font-size: 12.5px; }
	.vex-card__zona svg { width: 12px; height: 12px; }
	.vex-card__fecha { font-size: 11.5px; }
	.vex-mas { height: 48px; padding: 0 26px; font-size: 15px; }

	.vex-cierre { flex-direction: column; align-items: stretch; gap: 12px; padding: 26px 22px; border-radius: 20px; }
	.vex-cierre__txt { gap: 12px; }
	.vex .vex-cierre h2 { font-size: 23px; }
	.vex .vex-cierre p { font-size: 15px; }
	.vex-cierre__btns { flex-direction: column; gap: 12px; }
	.vex-cierre .vex-btn { width: 100%; }
	.vex-cierre .vex-btn--naranja { height: 54px; }
	.vex-cierre .vex-btn--blanco { height: 50px; font-size: 16px; }

	.vex-pie__in { flex-direction: column; justify-content: center; gap: 10px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
	.vex-pie__logo { font-size: 24px; }
	.vex-pie__nav { gap: 18px; }
	.vex .vex-pie__nav a { padding: 8px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.vex-cats__lista { scroll-behavior: auto; }
	.vex *, .vex *::before, .vex *::after { transition: none !important; }
}
