/**
 * Home — legibilidad móvil/tablet al estándar actual (≈18px cuerpo, targets ≥48px).
 * Solo front; carga al final de la cadena de estilos de la home.
 * Reversible: quitar enqueue `zp-home-readability-large-2027` en zp-home-premium-2026.php.
 */

/* —— Escritorio: refuerzo suave (no hinchar layout ancho) —— */
@media (min-width: 992px) {
	body.home.zp-market-home .zp-home.zp-home--premium-app {
		font-size: 1.0625rem;
		line-height: 1.5;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-hero__title--py {
		font-size: clamp(1.875rem, 2.5vw, 2.35rem) !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-hero__lead--py {
		font-size: clamp(1.0625rem, 1.35vw, 1.1875rem) !important;
		color: #64748b !important;
	}

	/* Cards carrusel / listados home escritorio */
	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__title,
	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__title a {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__cat,
	body.home.zp-market-home .zp-service-card--carousel .zp-card-meta,
	body.home.zp-market-home .zp-service-card--carousel .zp-card-dist {
		font-size: 0.9375rem !important;
	}
}

/**
 * Móvil y tablet (≤991px): escala “app 2025+” — cuerpo 18px, controles grandes,
 * títulos y tarjetas legibles sin anteojos.
 */
@media (max-width: 991px) {
	html {
		-webkit-text-size-adjust: 100%;
	}

	body.home.zp-market-home .zp-home.zp-home--premium-app {
		font-size: 1.125rem;
		line-height: 1.55;
	}

	/* Hero */
	body.home.zp-market-home .zp-home--premium-app .zp-hero--py {
		padding: 22px 0 18px !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-hero__title--py {
		font-size: clamp(2rem, 6.8vw, 2.65rem) !important;
		line-height: 1.12 !important;
		font-weight: 700 !important;
		margin-bottom: 0.5rem !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-hero__lead--py {
		font-size: clamp(1.125rem, 4vw, 1.3125rem) !important;
		line-height: 1.55 !important;
		color: #475569 !important;
		margin-bottom: 1.125rem !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-intent-switch {
		padding: 6px !important;
		gap: 6px !important;
		margin-bottom: 1.125rem !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-intent-switch__btn {
		min-height: 56px !important;
		padding: 16px 14px !important;
		font-size: clamp(1.0625rem, 3.8vw, 1.1875rem) !important;
		font-weight: 600 !important;
	}

	/* Buscador */
	body.home.zp-market-home .zp-home--premium-app .zp-search-panel--py {
		padding: 16px 16px 14px !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-search-field__label {
		font-size: 1rem !important;
		font-weight: 600 !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-search-field__control {
		min-height: 52px !important;
		border-radius: 14px !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-search-panel--py .zp-search-field--category .chosen-container-single .chosen-single {
		min-height: 48px !important;
		font-size: 1.125rem !important;
		line-height: 1.35 !important;
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-search-panel--py .chosen-container .chosen-results li {
		font-size: 1.0625rem !important;
		padding: 12px 14px !important;
		line-height: 1.35 !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-search-panel--py #search_address_search.zp-input {
		font-size: 1.125rem !important;
		line-height: 1.4 !important;
	}

	body.home.zp-market-home .zp-home--premium-app.zp-home--py .zp-search-panel--py #zp-classic-search-submit.zp-ai-search__submit.zp-btn {
		min-height: 54px !important;
		font-size: 1.125rem !important;
		font-weight: 700 !important;
		padding: 14px 20px !important;
		border-radius: 14px !important;
	}

	body.home.zp-market-home .zp-home--premium-app .zp-location-btn {
		width: 48px !important;
		height: 48px !important;
		flex: 0 0 48px !important;
		font-size: 1.25rem !important;
	}

	/* Confianza */
	body.home.zp-market-home .zp-home-trust-micro {
		gap: 10px !important;
		margin-top: 16px !important;
	}

	body.home.zp-market-home .zp-home-trust-micro__item {
		font-size: 0.9375rem !important;
		padding: 10px 14px !important;
		font-weight: 600 !important;
	}

	body.home.zp-market-home .zp-home-trust-micro__icon {
		width: 26px !important;
		height: 26px !important;
		font-size: 0.875rem !important;
	}

	body.home.zp-market-home .zp-geo-inline-hint {
		font-size: 1rem !important;
		padding: 10px 12px !important;
		line-height: 1.45 !important;
	}

	/* Franja categorías */
	body.home.zp-market-home .zp-home-categories.zp-macro-strip .zp-section-head--macro .zp-link-all {
		font-size: 1rem !important;
	}

	body.home.zp-market-home .zp-home-categories.zp-macro-strip .zp-section-title--macro {
		font-size: clamp(1.5rem, 5vw, 2rem) !important;
	}

	body.home.zp-market-home .zp-home-categories.zp-macro-strip .zp-macro-card__title {
		font-size: clamp(1.125rem, 4.4vw, 1.35rem) !important;
		line-height: 1.32 !important;
		font-weight: 800 !important;
	}

	body.home.zp-market-home .zp-home-categories.zp-macro-strip .zp-macro-card__desc {
		font-size: clamp(1rem, 3.6vw, 1.125rem) !important;
		line-height: 1.42 !important;
	}

	body.home.zp-market-home .zp-home-categories.zp-macro-strip .zp-macro-card__icon {
		font-size: 2rem !important;
	}

	/* Títulos sección destacados / PRO / reseñas */
	body.home.zp-market-home .zp-section--pro-carousel .zp-section-title--featured,
	body.home.zp-market-home .zp-section--pro-carousel .zp-section-title--pro-carousel,
	body.home.zp-market-home .zp-section--featured:not(.zp-section--pro-carousel) .zp-section-title--featured {
		font-size: clamp(1.5rem, 5.2vw, 2.05rem) !important;
		line-height: 1.16 !important;
	}

	body.home.zp-market-home .zp-section.zp-reviews .zp-section-title--featured {
		font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
	}

	body.home.zp-market-home .zp-section-head--featured .zp-section-sub,
	body.home.zp-market-home .zp-section-head--rowhead .zp-section-sub {
		font-size: 1.0625rem !important;
		line-height: 1.48 !important;
	}

	body.home.zp-market-home .zp-link-all.zp-link-all--section-strip {
		font-size: 1rem !important;
	}

	/* Tarjetas carrusel (destacados / PRO / rubros): más anchas + tipografía grande */
	body.home.zp-market-home .zp-service-card--carousel {
		width: clamp(198px, 90vw, 320px) !important;
		max-width: 320px !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__body {
		padding: 12px 12px 10px !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__title,
	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__title a {
		font-size: 1.25rem !important;
		line-height: 1.26 !important;
		font-weight: 800 !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating-row {
		gap: 6px !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating--above-title,
	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating__value {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating--above-title .zp-card-rating__count {
		font-size: 1rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating__empty-label,
	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating__value--empty {
		font-size: 1rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-rating__star-svg {
		width: 17px !important;
		height: 17px !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__cat {
		font-size: 1.0625rem !important;
		padding: 5px 12px !important;
		font-weight: 700 !important;
	}

	body.home.zp-market-home .zp-service-card--carousel.zp-service-card--pro .zp-service-card__availability--pro {
		font-size: 1rem !important;
		line-height: 1.45 !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-featured-note {
		font-size: 0.9375rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-meta {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-dist {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-card-pro-inline,
	body.home.zp-market-home .zp-service-card--carousel .zp-card-pro-badge {
		font-size: 0.8125rem !important;
	}

	body.home.zp-market-home .zp-service-card--carousel .zp-service-card__cta-row .zp-btn--wa,
	body.home.zp-market-home .zp-service-card--carousel .zp-btn--carousel-profile {
		font-size: 1.0625rem !important;
		min-height: 54px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
		font-weight: 700 !important;
	}

	body.home.zp-market-home .zp-home--py .zp-service-card--carousel .zp-service-card__cta-row .zp-btn--wa.openWhatsapp {
		min-height: 56px !important;
		font-size: 1.125rem !important;
	}

	body.home.zp-market-home .zp-carousel-micro-hint {
		font-size: 1.0625rem !important;
		line-height: 1.5 !important;
	}

	/* Bloques macro */
	body.home.zp-market-home .zp-macro-block .zp-section-title--macroblock {
		font-size: clamp(1.45rem, 5vw, 1.95rem) !important;
	}

	body.home.zp-market-home .zp-macro-block .zp-macro-ver-mas {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-macro-block .zp-chip.zp-macro-cat-chip {
		font-size: 1.0625rem !important;
		padding: 13px 17px !important;
		min-height: 50px !important;
	}

	body.home.zp-market-home .zp-macro-filter-empty {
		font-size: 1.0625rem !important;
	}

	/* Reseñas */
	body.home.zp-market-home .zp-review-card {
		width: min(300px, 92vw) !important;
		max-width: 340px !important;
		padding: 14px 14px 12px !important;
	}

	body.home.zp-market-home .zp-review-card__text {
		font-size: 1.125rem !important;
		line-height: 1.5 !important;
		-webkit-line-clamp: 4 !important;
		line-clamp: 4 !important;
	}

	body.home.zp-market-home .zp-review-card__name {
		font-size: 1.125rem !important;
	}

	body.home.zp-market-home .zp-review-card__service {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-stars {
		font-size: 1.0625rem !important;
		letter-spacing: 0.08em !important;
	}

	body.home.zp-market-home .zp-review-card__score {
		font-size: 1.0625rem !important;
	}

	/* CTA cliente */
	body.home.zp-market-home .zp-customer-cta__title {
		font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
	}

	body.home.zp-market-home .zp-customer-cta__text {
		font-size: 1.0625rem !important;
		line-height: 1.52 !important;
	}

	body.home.zp-market-home .zp-customer-cta__btn {
		font-size: 1.125rem !important;
		min-height: 52px !important;
		padding: 14px 18px !important;
	}

	/* Panel proveedor hero */
	body.home.zp-market-home .zp-provider-actions__title {
		font-size: 1.25rem !important;
	}

	body.home.zp-market-home .zp-provider-actions__text {
		font-size: 1.0625rem !important;
		line-height: 1.52 !important;
	}

	body.home.zp-market-home .zp-provider-actions .zp-btn {
		font-size: 1.0625rem !important;
		min-height: 50px !important;
	}

	body.home.zp-market-home .zp-provider-actions__back-q,
	body.home.zp-market-home .zp-provider-actions__back-link {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-home-allies-strip__copy,
	body.home.zp-market-home .zp-section-hint {
		font-size: 1.0625rem !important;
		line-height: 1.52 !important;
	}

	body.home.zp-market-home .zp-allies-mini__head .zp-link-all {
		font-size: 1rem !important;
	}

	/* Resultados clásicos / IA en la misma página home */
	body.home.zp-market-home .zp-results-unified__intro-title {
		font-size: clamp(1.35rem, 4.5vw, 1.75rem) !important;
		line-height: 1.25 !important;
	}

	body.home.zp-market-home .zp-ai-home__card-title,
	body.home.zp-market-home .zp-ai-home__card-title a {
		font-size: 1.1875rem !important;
		line-height: 1.3 !important;
		font-weight: 800 !important;
	}

	body.home.zp-market-home .zp-ai-home__rating-row,
	body.home.zp-market-home .zp-ai-home__rating-val,
	body.home.zp-market-home .zp-ai-home__reviews {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-ai-home__tags,
	body.home.zp-market-home .zp-ai-home__tags .zp-chip {
		font-size: 1rem !important;
	}

	body.home.zp-market-home .zp-ai-home__cta {
		font-size: 1.0625rem !important;
		min-height: 50px !important;
		padding: 12px 14px !important;
	}

	body.home.zp-market-home .zp-ai-home__empty-text,
	body.home.zp-market-home .zp-results-unified__sub {
		font-size: 1.125rem !important;
		line-height: 1.5 !important;
	}

	body.home.zp-market-home .zp-results-unified__strip-title {
		font-size: 1.0625rem !important;
		font-weight: 800 !important;
	}

	body.home.zp-market-home .zp-results-unified__strip-meta,
	body.home.zp-market-home .zp-results-unified__strip-rating-val,
	body.home.zp-market-home .zp-results-unified__strip-dist {
		font-size: 1rem !important;
	}

	/* Tarjetas aliados (home) */
	body.home.zp-market-home .zp-ally-card__name,
	body.home.zp-market-home .zp-ally-card__name--mini {
		font-size: 1.125rem !important;
	}

	body.home.zp-market-home .zp-ally-card__discount,
	body.home.zp-market-home .zp-ally-card__promo--mini {
		font-size: 1.0625rem !important;
	}

	body.home.zp-market-home .zp-ally-card__desc {
		font-size: 1rem !important;
		line-height: 1.45 !important;
	}

	body.home.zp-market-home .zp-ally-card__more {
		font-size: 1rem !important;
		font-weight: 700 !important;
	}

	body.home.zp-market-home .zp-ally-card__abbr {
		font-size: 1.125rem !important;
	}

	/* Barra inferior */
	body.home.zp-market-home #menu-footer.zp-bottom-nav-shell .zp-bottom-nav__item {
		font-size: 13px !important;
	}

	body.home.zp-market-home #menu-footer.zp-bottom-nav-shell .zp-bottom-nav__txt {
		font-size: 13px !important;
		line-height: 1.25 !important;
	}

	body.home.zp-market-home #menu-footer.zp-bottom-nav-shell .zp-bottom-nav__ico {
		font-size: 1.45rem !important;
	}

	/* FAB WhatsApp home */
	body.home.zp-market-home .zp-home-wa-fab {
		width: 56px !important;
		height: 56px !important;
		font-size: 28px !important;
	}
}
