/*
 * Lokalaap — hoja de estilos del tema
 *
 * ÍNDICE
 *  1. Base y utilidades
 *  2. Encabezado
 *  3. Portada (hero)
 *  4. Buscador
 *  5. Categorías
 *  6. Tarjetas de anuncios
 *  7. Títulos de sección
 *  8. Ciudades populares
 *  8B. Muro de promociones
 *  9. Pasos para publicar
 *  9B. Planes y precios
 *  9C. Preguntas frecuentes
 *  9D. Comunidad de la zona
 * 10. Blog
 * 11. Pie de página
 * 11B. Botón flotante de WhatsApp
 * 12. Plantillas generales (entradas, páginas, 404)
 * 12B. Ficha individual del negocio (Directorist)
 * 12C. Página de planes (Directorist + WooCommerce)
 * 13. Responsive
 * 14. Ajustes solo para el editor de bloques
 */


/* ==========================================================================
   1. BASE Y UTILIDADES
   ========================================================================== */

.section,
.site-header,
.site-footer {
	--wp--style--block-gap: 0px;
}

/* Fuente de acento (logo, precios, etiquetas, botones). Para cambiarla en todo el sitio basta con
   cambiar esta línea; los títulos y el texto general se cambian desde Estilos > Tipografía. */
:root {
	--lk-font-titulos: var(--wp--preset--font-family--poppins);
}

html {
	scroll-behavior: smooth;
}

.container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
}

.section {
	padding: 90px 24px;
}

.section-how,
.section-cities,
.section-blog {
	color: var(--wp--preset--color--contrast);
}


/* ==========================================================================
   2. ENCABEZADO
   ========================================================================== */

.site-header {
	background: var(--wp--preset--color--primary-dark);
	color: #fff;
	padding: 14px 24px;
}

.site-header a {
	color: #fff;
	text-decoration: none;
}

.header-inner {
	width: 100%;
}

.header-left {
	gap: 28px;
	align-items: center;
}

.header-right {
	gap: 26px;
	align-items: center;
}

.site-logo {
	margin: 0;
	font-family: var(--lk-font-titulos);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1;
}

/* Logo en imagen (bloque «Logo del sitio»): si hay logo, en el sitio público se oculta el título en texto */
.header-left .wp-block-site-logo {
	margin: 0;
}

/* El tamaño lo decides tú en el editor (bloque «Logo del sitio» → Ancho). Solo se pone un tope para que el
   encabezado no crezca de más: hasta 90 px de alto en computador y 48 px en celular. */
.header-left .wp-block-site-logo img {
	display: block;
	height: auto;
	max-height: 90px;
	max-width: 45vw;
	object-fit: contain;
}

@media (max-width: 781px) {
	.header-left .wp-block-site-logo img {
		max-height: 48px;
		width: auto;
	}
}

body:not(.editor-styles-wrapper) .wp-block-site-logo + .site-logo {
	display: none;
}

/* Circulito con el logo del negocio junto a «Mi escritorio» (solo con sesión iniciada; lo pone functions.php) */
.main-nav .wp-block-navigation-item__content:has(.lk-avatar-nav) {
	align-items: center;
	display: inline-flex;
	gap: 8px;
}

.lk-avatar-nav {
	background: #fff;
	border: 2px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	flex-shrink: 0;
	height: 26px;
	object-fit: cover;
	width: 26px;
}

@media (max-width: 781px) {
	.lk-avatar-nav {
		height: 22px;
		width: 22px;
	}
}

.header-search .wp-block-search__button {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 12px;
	padding: 0;
	margin: 0;
}

.header-search .wp-block-search__input {
	font-size: 12px;
}

.main-nav {
	font-size: 12px;
	font-weight: 500;
	gap: 22px;
}

.btn-yellow-wrap {
	margin: 0;
}

.btn-yellow .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 12px;
	font-weight: 500;
	padding: 8px 16px;
}

.btn-yellow .wp-block-button__link:hover {
	background: #fff;
	color: var(--wp--preset--color--contrast);
}

/* En la página de inicio el encabezado flota sobre el degradado */
.home-wrapper {
	overflow-x: clip;
	position: relative;
}

.home-wrapper .site-header-wrap {
	left: 0;
	margin: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 20;
}

.home-wrapper .site-header {
	background: transparent;
}

/* Encabezado fijo con relieve: se queda arriba al bajar la página y se atenúa (más delgado, semitransparente y
   con desenfoque). Al pasar el cursor vuelve a verse completo. Solo en el sitio público; en el editor no se fija.
   assets/js/portada.js pone la clase .lokalaap-scrolled en <html> cuando se baja la página. */
html {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
}

body:not(.editor-styles-wrapper) .site-header-wrap {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}

body:not(.editor-styles-wrapper) .home-wrapper .site-header-wrap {
	position: fixed;
}

body:not(.editor-styles-wrapper) .site-header {
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.22);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* En la portada, arriba del todo el encabezado es transparente: su relieve es una línea de luz fina y una sombra leve */
body:not(.editor-styles-wrapper) .home-wrapper .site-header {
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14), 0 4px 14px rgba(0, 0, 0, 0.16);
}

html.lokalaap-scrolled body:not(.editor-styles-wrapper) .site-header {
	background: var(--wp--preset--color--primary-dark);
	background: color-mix(in srgb, var(--wp--preset--color--primary-dark) 86%, transparent);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.14), 0 6px 22px rgba(0, 0, 0, 0.3);
	padding-bottom: 8px;
	padding-top: 8px;
}

html.lokalaap-scrolled body:not(.editor-styles-wrapper) .site-header:hover {
	background: var(--wp--preset--color--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
	body:not(.editor-styles-wrapper) .site-header {
		transition: none;
	}
}


/* ==========================================================================
   3. PORTADA (HERO)
   ========================================================================== */

.hero-section {
	background:
		radial-gradient(ellipse at 100% 0%, rgba(11, 134, 207, 1) 0%, rgba(11, 134, 207, 0) 55%),
		linear-gradient(180deg, #054366 0%, #032238 55%, #010b14 100%);
	color: #fff;
	padding-top: 150px;
	padding-bottom: 70px;
}

/* Banner de 4 imágenes detrás del título y el buscador (opacidad leve) */
.hero-section {
	position: relative;
}

.hero-banner {
	--hero-banner-height: 500px;
	height: var(--hero-banner-height);
	left: 0;
	margin: 0;
	-webkit-mask-image: linear-gradient(#000 55%, transparent 100%);
	mask-image: linear-gradient(#000 55%, transparent 100%);
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

.wp-block-columns.hero-banner-columns {
	gap: 0;
	margin: 0;
}

.hero-banner-columns .wp-block-column {
	margin: 0;
}

/* Carrusel: assets/js/portada.js duplica las imágenes y añade .is-marquee */
.wp-block-columns.hero-banner-columns.is-marquee {
	animation: lk-marquee 50s linear infinite;
	width: 200%;
}

.hero-banner-columns.is-marquee > .wp-block-column {
	flex: 0 0 12.5%;
}

@keyframes lk-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.hero-banner-img {
	margin: 0;
}

.hero-banner-img img {
	display: block;
	height: var(--hero-banner-height);
	object-fit: cover;
	opacity: 0.16;
	width: 100%;
}

.hero-section > .container {
	position: relative;
	z-index: 1;
}

.hero-title {
	color: #fff;
	font-size: 38px;
	font-weight: 500;
	margin: 0;
}

/* Título de la portada: SIEMPRE en mayúscula; 44 px en computador y 25 px en celular.
   Lleva !important para que mande sobre el tamaño puesto en el editor (que es el mismo para todos los equipos).
   Si quieres otros tamaños, cámbialos aquí. */
body .hero-title {
	font-size: 44px !important;
	letter-spacing: 0.5px;
	line-height: 1.15;
	text-transform: uppercase;
}

@media (max-width: 781px) {
	body .hero-title {
		font-size: 25px !important;
	}
}

.hero-subtitle {
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	margin: 6px 0 0;
}


/* ==========================================================================
   4. BUSCADOR
   ========================================================================== */

.hero-search {
	margin: 30px auto 0;
	max-width: 440px;
}

.hero-search .wp-block-search__inside-wrapper {
	gap: 8px;
}

.hero-search .wp-block-search__input {
	background: #fff;
	border: 0;
	border-radius: 3px;
	font-size: 13px;
	height: 44px;
	padding: 0 14px;
}

.hero-search .wp-block-search__button {
	background: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 3px;
	color: #fff;
	font-size: 13px;
	height: 44px;
	margin: 0;
	padding: 0 24px;
}


/* Selector de zona (bloque Navegación con submenús) + buscador */
.hero-searchbar {
	align-items: stretch;
	gap: 8px;
	margin: 30px auto 0;
	max-width: 700px;
	position: relative;
	z-index: 6;
}

.hero-searchbar .hero-search {
	flex: 1 1 auto;
	margin: 0;
	max-width: none;
}

.zone-select {
	flex: 0 0 210px;
}

.zone-select .wp-block-navigation__container,
.zone-select .wp-block-navigation-item.has-child {
	width: 100%;
}

.zone-select .wp-block-navigation-item.has-child {
	align-items: center;
	background: #fff;
	border-radius: 3px;
	box-sizing: border-box;
	display: flex;
	height: 44px;
	padding-right: 12px;
}

/* El bloque Navegación trae reglas propias (texto heredado = blanco y sin margen izquierdo); por eso este selector es más largo.
   Sirve igual en el sitio público (botón con submenú) y en el editor. */
.wp-block-navigation.zone-select > .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	flex: 1;
	font-size: 13px;
	padding: 0 14px;
	text-align: left;
}

.zone-select .wp-block-navigation__submenu-icon {
	color: var(--wp--preset--color--contrast);
}

.zone-select .wp-block-navigation__submenu-container {
	background: #fff;
	border: 0;
	box-shadow: 0 8px 28px rgba(3, 34, 56, 0.28);
	color: var(--wp--preset--color--contrast);
	font-size: 13px;
	min-width: 100%;
	z-index: 30;
}

.zone-select .wp-block-navigation__submenu-container a,
.zone-select .wp-block-navigation__submenu-container button {
	color: var(--wp--preset--color--contrast);
}

/* Buscador real de la portada (lo dibuja inc/zonas.php): lista de las 20 localidades + palabra + Buscar */
.lk-buscador {
	display: flex;
	flex-wrap: nowrap;
}

.lk-buscador-zona {
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23163047' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 0;
	border-radius: 3px;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	flex: 0 0 210px;
	font: inherit;
	font-size: 13px;
	height: 44px;
	padding: 0 34px 0 14px;
}

.lk-buscador .wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}

.lk-buscador .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
}

.lk-buscador .wp-block-search__button {
	cursor: pointer;
}

@media (max-width: 781px) {
	.lk-buscador {
		flex-direction: column;
	}

	.lk-buscador-zona {
		flex: 0 0 auto;
		font-size: 16px;
		height: 46px;
		width: 100%;
	}
}

/* ==========================================================================
   5. CATEGORÍAS
   ========================================================================== */

.category-row {
	gap: 2px;
	margin-top: 56px;
}

/* Fila armada sola con las categorías de Directorist (inc/categorias.php):
   lleva aquí el acomodo que antes le daba el editor al grupo. */
.lk-categorias {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.cat-tile {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.38);
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 116px;
	justify-content: center;
	position: relative;
	transform: skewX(-10deg);
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
	width: calc((100% - 22px) / 12);
	z-index: 1;
}

/* Escritorio: las categorías caben siempre en una sola fila, sean 12 o más (se reparten el ancho).
   Las reglas llevan .wp-block-group para que los estilos propios de WordPress no las pisen. */
@media (min-width: 1101px) {
	.wp-block-group.category-row {
		flex-wrap: nowrap;
	}

	.cat-tile {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}

	.cat-label {
		max-width: 100%;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (hover: hover) {
	.cat-tile:hover {
		background-color: rgba(255, 255, 255, 0.12);
		border-color: rgba(255, 255, 255, 0.9);
		transform: skewX(-10deg) scale(1.15);
		z-index: 2;
	}
}

.cat-tile > * {
	margin: 0;
	transform: skewX(10deg);
}

.cat-tile.is-active {
	background-color: rgba(13, 141, 219, 0.4);
	border-color: rgba(255, 255, 255, 0.9);
}

.cat-tile:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.cat-tile,
	.cat-tile .cat-icon img {
		transition: none;
	}

	.listing-grid.is-filtered .listing-item.is-shown {
		animation: none;
	}

	.wa-float,
	.wa-float-icon,
	.wa-float-text {
		transition: none;
	}
}

.cat-tile .cat-icon {
	margin: 0 0 12px;
}

.cat-tile .cat-icon img {
	display: block;
	height: 40px;
	transition: transform 0.25s ease;
	width: 40px;
}

@media (hover: hover) {
	.cat-tile:hover .cat-icon img {
		transform: scale(1.12);
	}
}

.cat-label {
	color: #fff;
	font-family: var(--lk-font-titulos);
	font-size: 12px;
	font-weight: 500;
}


/* ==========================================================================
   6. TARJETAS DE ANUNCIOS
   ========================================================================== */

/* Cuadrícula de 4 fichas. El filtro por categoría lo gestiona assets/js/portada.js */
.listing-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 56px;
}

/* Caja con scroll: la página no crece sin fin y el muro queda siempre debajo.
   Solo en el sitio público (en el editor se ven todas las fichas). */
html.lokalaap-js .listing-grid {
	margin-left: -10px;
	margin-right: -10px;
	max-height: 780px;
	overflow-y: auto;
	padding: 8px 10px;
	scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
	scrollbar-width: thin;
}

html.lokalaap-js .listing-grid::-webkit-scrollbar {
	width: 8px;
}

html.lokalaap-js .listing-grid::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.4);
	border-radius: 8px;
}

/* Pista «Desliza…»: solo se muestra donde las fichas se deslizan (celular) */
.listing-hint {
	color: rgba(255, 255, 255, 0.75);
	display: none;
	font-size: 12px;
	margin: 14px 0 0;
}

/* Con JavaScript solo se ven las fichas de la categoría elegida (por defecto, «Todos») */
html.lokalaap-js .listing-grid:not(.is-filtered) .listing-item:not(.item-todos),
html.lokalaap-js .listing-grid.is-filtered .listing-item:not(.is-shown) {
	display: none;
}

.listing-grid.is-filtered .listing-item.is-shown {
	animation: lk-card-in 0.45s ease both;
}

@keyframes lk-card-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.listing-card {
	background: #fff;
	color: var(--wp--preset--color--contrast);
}

.listing-media {
	position: relative;
}

.listing-media .wp-block-image,
.listing-media img {
	display: block;
	margin: 0;
	width: 100%;
}

.listing-media img {
	aspect-ratio: 365 / 285;
	object-fit: cover;
}

.listing-price {
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-family: var(--lk-font-titulos);
	font-size: 12px;
	font-weight: 500;
	left: -6px;
	line-height: 1;
	margin: 0;
	padding: 6px 10px;
	position: absolute;
	top: 20px;
}

.listing-bookmark {
	background: #2b2f36;
	bottom: 0;
	font-size: 12px;
	height: 30px;
	left: 20px;
	line-height: 30px;
	margin: 0;
	position: absolute;
	text-align: center;
	width: 30px;
}

.listing-social {
	align-items: flex-end;
	flex-direction: column;
	flex-wrap: nowrap;
	font-size: 22px;
	gap: 8px;
	margin: 0;
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
}

.listing-social .wp-social-link {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}

@media (hover: hover) {
	.listing-social .wp-social-link:hover {
		transform: scale(1.12);
	}
}

.listing-body {
	padding: 24px 20px 22px;
	position: relative;
}

/* Título en una sola línea (con «…» si es muy largo) y dirección hasta 2 líneas con la misma altura reservada: así todas las fichas miden lo mismo */
.listing-title {
	font-size: 15px;
	margin: 0 0 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.listing-rating {
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.listing-stars {
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	letter-spacing: 1px;
	margin: 0;
}

.listing-tag {
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
	font-size: 9px;
	letter-spacing: 0.5px;
	line-height: 1;
	margin: 0;
	padding: 4px 8px;
}

.listing-place {
	align-items: center;
	gap: 8px;
	min-height: 41px;
}

.listing-pin {
	filter: grayscale(1) opacity(0.5);
	font-size: 12px;
	margin: 0;
}

.listing-address {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	margin: 0;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	max-width: 68%;
	min-width: 0;
	overflow: hidden;
}

.listing-avatar {
	bottom: 20px;
	margin: 0;
	position: absolute;
	right: 20px;
	width: 42px;
}

.listing-avatar img {
	height: 42px;
	width: 42px;
}


/* Negocios reales de la portada (los dibuja inc/negocios-portada.php): enlaces de la tarjeta sin subrayado ni color de enlace */
.listing-title a {
	color: inherit;
	text-decoration: none;
}
.listing-title a:hover,
.listing-title a:focus-visible {
	text-decoration: underline;
}
.listing-media > .wp-block-image a {
	display: block;
}
/* «Promoción hoy» + precio (arriba a la izquierda de la foto). Sale solo 24 horas después de publicar en el muro */
.listing-promo {
	left: -6px;
	position: absolute;
	top: 20px;
	z-index: 2;
}
.listing-promo .listing-price {
	display: inline-block;
	left: auto;
	position: static;
	top: auto;
}
.listing-promo-label {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	margin: 0;
	padding: 5px 10px;
	text-transform: uppercase;
}
.listing-promo-label a {
	color: inherit;
	text-decoration: none;
}
/* Avisos cuando no hay negocios: uno general (portada vacía) y uno por categoría (lo muestra portada.js) */
.listing-empty {
	background: rgba(255, 255, 255, 0.08);
	border: 1px dashed rgba(255, 255, 255, 0.35);
	color: #fff;
	grid-column: 1 / -1;
	padding: 40px 24px;
	text-align: center;
}
.listing-empty p {
	margin: 0 0 8px;
}
.listing-empty a {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
}
.listing-grid .listing-empty--categoria {
	display: none;
}
.listing-grid.is-empty .listing-empty--categoria {
	display: block;
}
.listing-grid.is-empty .listing-empty--todos {
	display: none;
}
/* Botón «Ver todos los negocios» bajo la cuadrícula */
.listing-more {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}
.listing-more .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 0;
	color: #fff;
	font-size: 14px;
	padding: 12px 28px;
	text-decoration: none;
}
.listing-more .wp-block-button__link:hover,
.listing-more .wp-block-button__link:focus-visible {
	background: #fff;
	color: var(--wp--preset--color--contrast);
}


/* ==========================================================================
   7. TÍTULOS DE SECCIÓN
   ========================================================================== */

.section h2 {
	font-size: 30px;
	margin: 0;
}

.section-subtitle {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	margin: 8px 0 0;
}

.wp-block-separator.section-line {
	background: var(--wp--preset--color--primary);
	border: 0;
	height: 3px;
	margin: 22px 0 56px;
	max-width: 60px;
	opacity: 1;
	width: 60px;
}


/* ==========================================================================
   8. CIUDADES POPULARES
   ========================================================================== */

.section-cities {
	background: var(--wp--preset--color--surface);
}

.wp-block-columns.city-columns {
	gap: 3%;
}

.wp-block-columns.city-columns > .wp-block-column.city-list-col {
	flex-basis: 27%;
	flex-grow: 0;
}

.wp-block-columns.city-columns > .wp-block-column.city-image-col {
	flex-basis: 70%;
	flex-grow: 1;
}

.city-list {
	background: #fff;
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.06);
}

.city-item {
	align-items: center;
	gap: 16px;
	padding: 22px 20px;
	position: relative;
}

.city-number {
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-family: var(--lk-font-titulos);
	font-size: 9px;
	left: -4px;
	line-height: 1;
	margin: 0;
	padding: 4px 6px;
	position: absolute;
	top: 14px;
}

.city-item > .city-info {
	flex-grow: 1;
	gap: 0;
	margin-left: 22px;
}

.city-name {
	font-family: var(--lk-font-titulos);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
}

.city-count {
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	line-height: 1.3;
	margin: 0;
}

.city-arrow {
	color: var(--wp--preset--color--muted);
	font-size: 18px;
	line-height: 1;
	margin: 0;
}

.city-photo,
.city-photo img {
	display: block;
	margin: 0;
	width: 100%;
}

.city-photo img {
	aspect-ratio: 346 / 215;
	object-fit: cover;
}


/* --- «Explora por zona» real: 20 localidades + mapa (lo dibuja inc/zonas.php, lo mueve assets/js/zonas.js) --- */
.lk-zonas {
	align-items: start;
	display: grid;
	gap: 3%;
	grid-template-columns: minmax(0, 27%) minmax(0, 1fr);
}

/* Lista con scroll: mide lo mismo que el mapa con su pie */
.lk-zonas-lista {
	max-height: 482px;
	overflow-y: auto;
	scrollbar-color: rgba(13, 141, 219, 0.45) transparent;
	scrollbar-width: thin;
}

.lk-zonas-lista::-webkit-scrollbar {
	width: 6px;
}

.lk-zonas-lista::-webkit-scrollbar-thumb {
	background: rgba(13, 141, 219, 0.45);
	border-radius: 6px;
}

.lk-zonas-lista .city-item {
	background: transparent;
	border: 0;
	border-left: 3px solid transparent;
	color: inherit;
	cursor: pointer;
	display: flex;
	font: inherit;
	text-align: left;
	width: 100%;
}

.lk-zonas-lista .city-item:hover,
.lk-zonas-lista .city-item:focus-visible {
	background: rgba(13, 141, 219, 0.05);
	outline: none;
}

.lk-zonas-lista .city-item.is-active {
	background: rgba(13, 141, 219, 0.08);
	border-left-color: var(--wp--preset--color--primary);
}

.lk-zonas-lista .city-item.is-active .city-arrow {
	color: var(--wp--preset--color--primary);
}

.lk-zonas-lista .city-info {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	margin-left: 22px;
}

.lk-zonas-lista .city-name,
.lk-zonas-lista .city-count,
.lk-zonas-lista .city-number,
.lk-zonas-lista .city-arrow {
	display: block;
}

/* Mapa: se queda «debajo» del encabezado fijo */
.lk-zonas-mapa {
	background: #dbe5ec;
	height: 430px;
	isolation: isolate;
	position: relative;
	width: 100%;
	z-index: 0;
}

.lk-zonas--sin-mapa .lk-zonas-mapa {
	display: none;
}

.lk-zonas-pie {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: space-between;
	padding-top: 14px;
}

.lk-zonas-titulo {
	font-family: var(--lk-font-titulos);
	font-size: 15px;
	font-weight: 500;
	margin: 0;
}

.lk-zonas-ver {
	color: var(--wp--preset--color--primary);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.lk-zonas-ver:hover {
	text-decoration: underline;
}

/* Marcador con el logo: gota blanca con borde azul */
.lk-pin {
	background: none;
	border: 0;
}

.lk-pin-logo {
	align-items: center;
	background: #fff;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
	display: flex;
	height: 40px;
	justify-content: center;
	transform: rotate(-45deg);
	width: 40px;
}

.lk-pin-logo img {
	height: 28px;
	object-fit: contain;
	transform: rotate(45deg);
	width: 28px;
}

@media (max-width: 781px) {
	.lk-zonas {
		gap: 18px;
		grid-template-columns: 1fr;
	}

	.lk-zonas-lista {
		max-height: 290px;
	}

	.lk-zonas-mapa {
		height: 340px;
	}
}


/* ==========================================================================
   8B. MURO DE PROMOCIONES
   ========================================================================== */

.section-wall {
	background: #fff;
}

.btn-blue-wrap {
	margin: 0;
}

.btn-blue .wp-block-button__link {
	background: var(--wp--preset--color--primary);
	border-radius: 0;
	color: #fff;
	font-family: var(--lk-font-titulos);
	font-size: 12px;
	font-weight: 500;
	padding: 11px 20px;
}

.wall-composer {
	align-items: center;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	gap: 18px;
	margin-bottom: 30px;
	padding: 18px 22px;
}

.wall-avatar {
	flex: 0 0 48px;
	margin: 0;
	width: 48px;
}

.wall-avatar img {
	display: block;
	height: 48px;
	width: 48px;
}

.wall-composer-text {
	flex: 1;
	gap: 2px;
}

.wall-composer-title {
	font-family: var(--lk-font-titulos);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
}

.wall-composer-note {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	margin: 0;
}

.wall-feed {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wall-post {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.05);
	padding: 22px 24px 0;
}

.wall-head {
	align-items: center;
	gap: 14px;
}

.wall-author {
	gap: 0;
}

.wall-name {
	font-family: var(--lk-font-titulos);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
}

.wall-meta {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

.wall-tag {
	background: rgba(13, 141, 219, 0.1);
	border-radius: 20px;
	color: var(--wp--preset--color--primary);
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	margin: 18px 0 8px;
	padding: 3px 12px;
}

.wall-text {
	font-size: 13px;
	margin: 0 0 14px;
}

.wall-image {
	margin: 0;
}

.wall-image img {
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	width: 100%;
}

/* Varias fotos en una publicación (hasta 4): se acomodan solas según cuántas son.
   2 = lado a lado · 3 = una grande a la izquierda y dos pequeñas · 4 = cuadrícula de 2 × 2 */
.wall-fotos {
	aspect-ratio: 16 / 10;
	border-radius: 10px;
	display: grid;
	gap: 3px;
	grid-template-columns: 1fr 1fr;
	overflow: hidden;
}
.wall-fotos--1 {
	grid-template-columns: 1fr;
}
.wall-fotos--3 {
	grid-template-rows: 1fr 1fr;
}
.wall-fotos--3 .wall-foto:first-child {
	grid-row: 1 / span 2;
}
.wall-fotos--4 {
	aspect-ratio: 1 / 1;
	grid-template-rows: 1fr 1fr;
}
.wall-foto {
	margin: 0;
	min-height: 0;
	position: relative;
}
.wall-foto img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Videos en el muro (inc/videos.php): portada con ▶ que se cambia por el reproductor al tocarla */
.wall-video {
	aspect-ratio: 16 / 9;
	background: #000000;
	border-radius: 10px;
	margin: 0 0 10px;
	overflow: hidden;
	position: relative;
}
.wall-video--vertical {
	aspect-ratio: 9 / 16;
	height: 460px;
	margin-left: auto;
	margin-right: auto;
	max-height: 70vh;
	max-width: 100%;
	width: auto;
}
.wall-video iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}
.wall-video-play {
	align-items: center;
	background: #000000;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	gap: 10px;
	height: 100%;
	justify-content: center;
	padding: 0;
	position: relative;
	width: 100%;
}
.wall-video-play img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	opacity: 0.85;
	position: absolute;
	width: 100%;
}
.wall-video-icono {
	align-items: center;
	background: rgba(3, 34, 56, 0.75);
	border: 3px solid #ffffff;
	border-radius: 50%;
	display: flex;
	font-size: 26px;
	height: 68px;
	justify-content: center;
	padding-left: 5px;
	position: relative;
	transition: transform 0.2s ease;
	width: 68px;
}
.wall-video-play:hover .wall-video-icono,
.wall-video-play:focus-visible .wall-video-icono {
	transform: scale(1.1);
}
.wall-video-marca {
	font-family: var(--lk-font-titulos);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.wall-video-texto {
	font-size: 14px;
	font-weight: 600;
	position: relative;
}
/* TikTok: fondo con sus colores */
.wall-video--tiktok .wall-video-play {
	background: linear-gradient(160deg, #010101 55%, #25f4ee 160%), #010101;
}
/* Instagram y Facebook: tarjeta con botón que abre el video en su red */
.wall-video--instagram,
.wall-video--facebook {
	aspect-ratio: auto;
	height: auto;
	width: 100%;
}
.wall-video-enlace {
	align-items: center;
	color: #ffffff;
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	text-decoration: none;
}
.wall-video-enlace .wall-video-icono {
	flex: 0 0 52px;
	font-size: 20px;
	height: 52px;
	width: 52px;
}
.wall-video--instagram .wall-video-enlace {
	background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
}
.wall-video--facebook .wall-video-enlace {
	background: #1877f2;
}
.wall-video-enlace:hover .wall-video-icono,
.wall-video-enlace:focus-visible .wall-video-icono {
	transform: scale(1.1);
}
.wall-field-ayuda {
	color: var(--wp--preset--color--muted);
	display: block;
	font-size: 12px;
	line-height: 1.4;
	margin-top: 4px;
}

/* Video subido desde el celular: reproductor normal del teléfono + aviso de cuánto le queda */
.wall-video--archivo video {
	background: #000000;
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}
/* Etiqueta «⏱ Disponible N h más» encima del video, arriba a la izquierda (los controles van abajo) */
.wall-video-caduca {
	background: rgba(3, 34, 56, 0.82);
	border-radius: 999px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	left: 10px;
	line-height: 1;
	padding: 7px 11px;
	pointer-events: none;
	position: absolute;
	top: 10px;
	z-index: 2;
}

/* «⏱ Dura 24 horas» al lado de «Video corto (opcional)» en el formulario */
.wall-dura {
	background: #fff4d6;
	border: 1px solid #f5d77a;
	border-radius: 999px;
	color: #7a4a00;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	margin-left: 6px;
	padding: 3px 9px;
	vertical-align: middle;
}

/* Recordatorio debajo del video elegido, antes de publicar */
.wall-video-dura {
	background: #fff4d6;
	border: 1px solid #f5d77a;
	border-radius: 10px;
	color: #5c3900;
	font-size: 13px;
	line-height: 1.45;
	margin: 8px 0 0;
	padding: 9px 12px;
}
.wall-video-aviso {
	color: #b42318;
	font-size: 12px;
	line-height: 1.4;
}
.wall-video-aviso:empty {
	display: none;
}
.wall-video-vista video {
	background: #000000;
	border-radius: 8px;
	display: block;
	margin-top: 8px;
	max-height: 260px;
	max-width: 100%;
}
/* Casilla «Acepto las normas» (aparece solo cuando hay un video) */
.wall-acepto {
	background: #fff4d6;
	border: 1px solid #f5d77a;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.45;
	margin: 0 0 12px;
	padding: 10px 12px;
}
.wall-acepto label {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 10px;
}
.wall-acepto input {
	flex: 0 0 auto;
	height: 18px;
	margin-top: 2px;
	width: 18px;
}
.wall-acepto.is-oculto {
	display: none;
}
/* Cuando aparece la casilla de normas, el recordatorio amarillo de abajo sobra (dice lo mismo) */
.wall-acepto:not(.is-oculto) + .wall-normas {
	display: none;
}

/* Vista previa en el formulario del muro (assets/js/muro-fotos.js) */
.wall-fotos-vista {
	margin-top: 10px;
	max-width: 360px;
}
.wall-fotos-vista.wall-fotos--0 {
	display: none;
}
.wall-foto-quitar {
	align-items: center;
	background: rgba(3, 34, 56, 0.75);
	border: 0;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 18px;
	height: 28px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 6px;
	top: 6px;
	width: 28px;
}
.wall-fotos-aviso {
	color: #b45309;
	font-size: 12px;
	margin: 6px 0 0;
}
.wall-fotos-aviso:empty {
	display: none;
}

.wall-actions {
	align-items: center;
	border-top: 1px solid var(--wp--preset--color--border);
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: 16px;
	padding: 12px 0;
}

.wall-action {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	margin: 0;
}

/* Dentro de grupos flex, WordPress pone margin:0 a los hijos con más fuerza; por eso estos márgenes llevan el contenedor delante */
.wall-actions > .wall-whatsapp {
	font-size: 20px;
	margin: 0 0 0 auto;
}


/* Muro real (lo dibuja inc/muro.php) */
.wall-live .wall-composer {
	display: flex;
	flex-wrap: nowrap;
}
.wall-live .wall-composer-text {
	display: flex;
	flex-direction: column;
}
.wall-live .wall-head,
.wall-page .wall-head {
	display: flex;
	flex-wrap: nowrap;
}
.wall-live .wall-author,
.wall-page .wall-author {
	display: flex;
	flex-direction: column;
}
.wall-live .wall-actions,
.wall-page .wall-actions {
	display: flex;
	flex-wrap: wrap; /* en tarjetas angostas (celular), el botón de WhatsApp baja en vez de salirse */
}
.wall-name a,
.wall-action a {
	color: inherit;
	text-decoration: none;
}
.wall-name a:hover,
.wall-action a:hover {
	color: var(--wp--preset--color--primary);
}
.wall-price {
	color: var(--wp--preset--color--primary);
	font-family: var(--lk-font-titulos);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
}
.wall-empty {
	border: 1px dashed var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
	margin: 0;
	padding: 36px 20px;
	text-align: center;
}
.wall-notice {
	border-left: 4px solid var(--wp--preset--color--primary);
	background: rgba(13, 141, 219, 0.08);
	font-size: 14px;
	margin: 0 0 20px;
	padding: 12px 16px;
}
.wall-notice--error {
	background: #fdecec;
	border-left-color: #d63638;
}

/* «↗ Compartir» en cada publicación (abre el aviso con las redes; assets/js/avisos.js) */
.wall-action,
.wall-report-btn,
.wall-share-btn {
	white-space: nowrap;
}
.wall-share-btn {
	background: none;
	border: 0;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	padding: 0;
}
.wall-share-btn:hover,
.wall-share-btn:focus-visible {
	text-decoration: underline;
}

/* Publicación abierta desde un enlace compartido: va primero, resaltada */
.wall-compartida {
	margin: 0 auto 32px;
	max-width: 560px;
	scroll-margin-top: 40px; /* Que el menú fijo de arriba no tape el título «Promoción compartida». */
}
.wall-live .wall-compartida {
	margin-bottom: 24px;
}
.wall-compartida-titulo,
.wall-compartida-mas {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 10px;
	text-align: center;
	text-transform: uppercase;
}
.wall-compartida-mas {
	margin: 18px 0 0;
}
.wall-compartida .wall-post {
	box-shadow: 0 0 0 3px var(--wp--preset--color--accent), 0 12px 30px rgba(3, 34, 56, 0.12);
}

/* «⚑ Reportar» en cada publicación: discreto, al lado de «Ver negocio» */
.wall-report {
	margin: 0;
}
.wall-report-btn {
	background: none;
	border: 0;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	padding: 0;
}
.wall-report-btn:hover,
.wall-report-btn:focus-visible {
	color: #d63638;
}

/* ---------------------------------------------------------------------------
   Lanzamiento: recuadro de bienvenida arriba de «Elige tu plan» (inc/lanzamiento.php)
   --------------------------------------------------------------------------- */
.lk-lanzamiento {
	background: linear-gradient(135deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	border-radius: 18px;
	color: #ffffff;
	margin: 0 auto 36px;
	max-width: 880px;
	padding: 28px 32px;
	text-align: center;
}
.lk-lanzamiento-cinta {
	background: #ffffff;
	border-radius: 999px;
	color: var(--wp--preset--color--primary-dark);
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 14px;
	padding: 6px 14px;
	text-transform: uppercase;
}
.lk-lanzamiento .lk-lanzamiento-titulo {
	color: #ffffff;
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 10px;
}
.lk-lanzamiento-titulo span {
	color: var(--wp--preset--color--accent);
	text-transform: uppercase;
}
.lk-lanzamiento-texto {
	font-size: 16px;
	margin: 0 auto 16px;
	max-width: 620px;
	opacity: 0.95;
}
.lk-lanzamiento-texto strong {
	color: #ffffff;
}
.lk-lanzamiento-lista {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.lk-lanzamiento-lista li {
	font-size: 14px;
	font-weight: 600;
}
.lk-lanzamiento-lista li::before {
	content: "✓ ";
}

/* La cinta es un enlace: lleva a las tarjetas de planes */
.lk-lanzamiento-cinta a {
	color: inherit;
	text-decoration: none;
}
.lk-lanzamiento-cinta:hover {
	background: var(--wp--preset--color--accent);
}

/* Punto donde empiezan las tarjetas de planes (destino de los enlaces del lanzamiento) */
.lk-ancla {
	display: block;
	scroll-margin-top: 110px;
}

/* Versión corta en Inicio, arriba del título grande */
.lk-lanzamiento--portada {
	margin-bottom: 28px;
	max-width: 620px;
	padding: 22px 26px;
}
.lk-lanzamiento--portada .lk-lanzamiento-titulo {
	font-family: var(--lk-font-titulos);
	font-size: 26px;
	font-weight: 600;
}
.lk-lanzamiento--portada .lk-lanzamiento-texto {
	font-size: 15px;
	margin-bottom: 14px;
}
.lk-lanzamiento-boton {
	justify-content: center;
}
.lk-lanzamiento-boton .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	border-radius: 999px;
	color: var(--wp--preset--color--primary-dark);
	font-weight: 600;
	padding: 10px 22px;
}
.lk-lanzamiento-boton .wp-block-button__link:hover {
	background: #ffffff;
}

@media (max-width: 600px) {
	.lk-lanzamiento {
		border-radius: 14px;
		margin-bottom: 24px;
		padding: 22px 18px;
	}
	.lk-lanzamiento .lk-lanzamiento-titulo {
		font-size: 22px;
	}
	.lk-lanzamiento--portada {
		margin-bottom: 20px;
		padding: 18px 16px;
	}
	.lk-lanzamiento-texto {
		font-size: 14px;
	}
}
/* Caja con scroll: en computador se ven unas 4 promociones y el resto deslizando hacia abajo dentro de la caja;
   en celular se deslizan de lado, una por una, como las tarjetas de negocios. */
.wall-live .wall-feed {
	max-height: 1180px;
	overflow-y: auto;
	padding: 2px 10px 2px 2px;
	scrollbar-color: rgba(13, 141, 219, 0.45) transparent;
	scrollbar-width: thin;
}
.wall-live .wall-feed::-webkit-scrollbar {
	width: 6px;
}
.wall-live .wall-feed::-webkit-scrollbar-thumb {
	background: rgba(13, 141, 219, 0.45);
	border-radius: 6px;
}
/* Pista «Desliza…»: solo en celular */
.wall-hint {
	color: var(--wp--preset--color--muted);
	display: none;
	font-size: 12px;
	margin: 12px 0 0;
	text-align: center;
}
@media (max-width: 781px) {
	.wall-live .wall-feed {
		display: flex;
		gap: 14px;
		margin-left: -16px;
		margin-right: -16px;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 4px 16px 12px;
		scroll-padding: 0 16px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}
	.wall-live .wall-feed::-webkit-scrollbar {
		display: none;
	}
	.wall-live .wall-post {
		flex: 0 0 86%;
		min-width: 0;
		scroll-snap-align: start;
	}
	.wall-hint {
		display: block;
	}
}
/* Botón «Ver todas las promociones» bajo el muro */
.wall-more {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}
.wall-more .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 0;
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	padding: 12px 28px;
	text-decoration: none;
}
.wall-more .wp-block-button__link:hover,
.wall-more .wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--primary);
	color: #fff;
}
/* Página «Promociones»: filtros, contador y páginas */
.wall-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 24px;
}
.wall-filters select {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	font: inherit;
	font-size: 14px;
	max-width: 100%;
	min-width: 200px;
	padding: 10px 12px;
}
.wall-filters button {
	background: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	padding: 11px 24px;
}
.wall-filters-clear,
.wall-count {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}
.wall-count {
	margin: 0 0 16px;
}
.wall-pages {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: center;
	margin: 30px 0 0;
}
.wall-pages a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
}
@media (max-width: 600px) {
	.wall-filters select,
	.wall-filters button {
		width: 100%;
	}
}
/* Formulario «Publicar en el muro»: oculto hasta pulsar el botón (enlace a #muro-formulario) */
.wall-form {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	display: none;
	margin: -18px 0 30px;
	padding: 20px 22px;
}
.wall-form:target {
	display: block;
	scroll-margin-top: 120px;
}
.wall-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
}
.wall-field label {
	font-size: 13px;
	font-weight: 600;
}
.wall-field input[type="text"],
.wall-field textarea,
.wall-field select {
	background: #fff;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	font: inherit;
	font-size: 14px;
	padding: 10px 12px;
	width: 100%;
}
.wall-field.wall-field--negocio {
	display: block;
	font-size: 14px;
}
.wall-form-row {
	display: grid;
	gap: 0 20px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wall-form-actions {
	align-items: center;
	display: flex;
	gap: 18px;
	margin: 6px 0 0;
}
.wall-form-actions button {
	background: var(--wp--preset--color--primary);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: var(--lk-font-titulos);
	font-size: 13px;
	padding: 11px 26px;
}
.wall-form-actions a {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}
@media (max-width: 600px) {
	.wall-form-row {
		grid-template-columns: 1fr;
	}
	.wall-live .wall-composer {
		flex-wrap: wrap;
	}
}


/* ==========================================================================
   9. PASOS PARA PUBLICAR
   ========================================================================== */

.section-how {
	background: #fff;
}

.wp-block-columns.steps-columns {
	gap: 40px;
}

.step-card {
	box-shadow: 0 6px 24px rgba(15, 40, 70, 0.14);
	overflow: hidden;
	padding: 50px 40px 44px;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Un azul distinto por paso, de más claro a más oscuro */
.step-card.step-1 {
	background: linear-gradient(160deg, #d9eefb 0%, #a9d8f3 100%);
	color: var(--wp--preset--color--contrast);
}

.step-card.step-2 {
	background: linear-gradient(160deg, #0d8ddb 0%, #0a6fb0 100%);
	color: #fff;
}

.step-card.step-3 {
	background: linear-gradient(160deg, #054366 0%, #032238 100%);
	color: #fff;
}

@media (hover: hover) {
	.step-card:hover {
		box-shadow: 0 14px 34px rgba(15, 40, 70, 0.22);
		transform: translateY(-4px);
	}
}

.step-number {
	align-items: flex-end;
	background: var(--wp--preset--color--primary);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-family: var(--lk-font-titulos);
	font-size: 17px;
	height: 72px;
	justify-content: flex-start;
	margin: 0;
	padding: 0 0 14px 16px;
	position: absolute;
	right: -18px;
	top: -22px;
	width: 72px;
}

.step-card.step-2 .step-number {
	background: var(--wp--preset--color--primary-dark);
}

.step-card.step-3 .step-number {
	background: var(--wp--preset--color--primary);
}

.step-title {
	color: inherit;
	font-size: 17px;
	margin: 0 0 14px;
}

.step-text {
	color: inherit;
	font-size: 13px;
	margin: 0;
	opacity: 0.9;
}


/* ==========================================================================
   9B. PLANES Y PRECIOS (destino del botón «Añadir anuncio»: ancla #planes)
   ========================================================================== */

.section-plans {
	background: #e1e6ec; /* gris suave para que las tarjetas blancas resalten */
	scroll-margin-top: 16px;
}

/* Sobre el gris, los textos suaves se oscurecen un poco para mantener la lectura */
.section-plans .section-subtitle,
.section-plans .plans-hint {
	color: #556373;
}

.wp-block-columns.plans-columns {
	gap: 30px;
}

/* La pista «Desliza…» solo se muestra donde los planes se deslizan (tablet y celular) */
.plans-hint {
	color: var(--wp--preset--color--muted);
	display: none;
	font-size: 12px;
	margin: 0;
}

.plan-card {
	background: #fff;
	box-sizing: border-box;
	border: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 2px 18px rgba(15, 40, 70, 0.07);
	padding: 40px 36px 36px;
	position: relative;
}

.plan-card.plan-featured {
	border: 2px solid var(--wp--preset--color--primary);
}

.plan-badge {
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	left: 36px;
	line-height: 1;
	margin: 0;
	padding: 6px 12px;
	position: absolute;
	top: -13px;
}

.plan-title {
	font-size: 18px;
	margin: 0;
}

.plan-price {
	font-family: var(--lk-font-titulos);
	font-size: 38px;
	font-weight: 700;
	line-height: 1.1;
	margin: 12px 0 0;
}

.plan-period {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	margin: 4px 0 22px;
}

.plan-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.plan-features li {
	font-size: 13px;
	padding: 7px 0 7px 26px;
	position: relative;
}

.plan-features li::before {
	color: var(--wp--preset--color--primary);
	content: "\2713";
	font-weight: 700;
	left: 0;
	position: absolute;
}

.plan-card .btn-blue-wrap,
.plan-card .wp-block-button {
	width: 100%;
}

.plan-card .wp-block-button__link {
	display: block;
	text-align: center;
}


/* ==========================================================================
   9C. PREGUNTAS FRECUENTES
   ========================================================================== */

.section-faq {
	background: #fff;
	padding-bottom: 100px;
}

.faq-list {
	max-width: 880px;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	margin: 0;
}

.faq-item + .faq-item {
	margin-top: 10px;
}

.faq-item summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-family: var(--lk-font-titulos);
	font-size: 15px;
	font-weight: 500;
	gap: 16px;
	justify-content: space-between;
	list-style: none;
	padding: 16px 20px;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	color: var(--wp--preset--color--primary);
	content: "+";
	font-size: 20px;
	line-height: 1;
}

.faq-item[open] summary::after {
	content: "\2013";
}

.faq-item p {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	margin: 0;
	padding: 0 20px 18px;
}


/* ==========================================================================
   9D. COMUNIDAD DE LA ZONA
   ========================================================================== */

.section-community {
	background: var(--wp--preset--color--primary-dark);
	color: #fff;
	text-align: center;
}

.section-community h2 {
	color: #fff;
}

.community-text {
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	margin: 12px auto 26px;
	max-width: 620px;
}

.btn-whatsapp-wrap {
	justify-content: center;
	margin: 0;
}

.btn-whatsapp .wp-block-button__link {
	background: #25d366;
	border-radius: 0;
	color: #fff;
	font-family: var(--lk-font-titulos);
	font-size: 13px;
	font-weight: 500;
	padding: 14px 28px;
}

.community-note {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	margin: 14px 0 0;
}


/* ==========================================================================
   10. BLOG
   ========================================================================== */

.section-blog {
	background: var(--wp--preset--color--surface);
}

.blog-card {
	background: #fff;
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.05);
}

.wp-block-columns.blog-columns {
	gap: 0;
}

.blog-col {
	border-left: 1px solid var(--wp--preset--color--border);
	padding: 40px 36px 36px;
}

.blog-col:first-child {
	border-left: 0;
}

.blog-icon {
	filter: grayscale(1) opacity(0.45);
	font-size: 32px;
	line-height: 1;
	margin: 0 0 20px;
}

.blog-title {
	font-size: 15px;
	margin: 0 0 12px;
}

.blog-excerpt {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	margin: 0 0 18px;
}

.blog-meta {
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	margin: 0;
}


/* ==========================================================================
   11. PIE DE PÁGINA
   ========================================================================== */

/* El pie de página siempre queda abajo, aunque la página tenga poco contenido
   (escritorio, pedido recibido, iniciar sesión...). */
body:not(.editor-styles-wrapper) .wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body:not(.editor-styles-wrapper) .wp-site-blocks > footer.wp-block-template-part {
	margin-top: auto;
}

/* Directorist deja el formulario de registro escondido (invisible pero ocupando espacio) debajo del de
   iniciar sesión, y eso dejaba un hueco blanco bajo el pie de página. Escondido, ya no ocupa espacio. */
.directorist-authentication:not(.active) {
	overflow: hidden;
	position: relative;
}

.site-footer {
	background: #fff;
}

.footer-bar {
	background: var(--wp--preset--color--primary);
	color: #fff;
	padding: 22px 24px 24px;
	text-align: center;
}

.footer-bar a {
	color: #fff;
}

.footer-social {
	gap: 18px;
	justify-content: center;
	margin: 0 0 10px;
}

.footer-social .wp-social-link a {
	color: #fff;
	padding: 0;
}

.footer-links {
	color: #fff;
	font-size: 12px;
	margin: 0;
}

.footer-links a {
	margin-left: 14px;
}


/* ==========================================================================
   11B. BOTÓN FLOTANTE DE WHATSAPP (fijo al costado derecho; está en el pie de página)
   ========================================================================== */

.wa-float {
	--wa-gap: 12px;
	--wa-pad: 10px;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 8px 30px rgba(3, 34, 56, 0.25);
	box-sizing: border-box;
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wa-gap);
	margin: 24px auto;
	max-width: 340px;
	padding: 8px 8px 8px var(--wa-pad);
	position: relative;
	transition: transform 0.25s ease, gap 0.8s ease, padding 0.8s ease;
}

/* En el sitio público se queda fijo mientras se hace scroll; en el editor se ve como un bloque normal */
body:not(.editor-styles-wrapper) .wa-float {
	bottom: 20px;
	margin: 0;
	position: fixed;
	right: 20px;
	z-index: 50;
}

@media (hover: hover) {
	.wa-float:hover {
		transform: translateY(-3px);
	}
}

/* Al entrar se ve el mensaje completo unos segundos (5 s) y después se encoge hacia la derecha
   hasta quedar solo el círculo verde (clase .is-collapsed, la pone assets/js/portada.js).
   En celular, el primer toque despliega el mensaje y el segundo abre WhatsApp.
   En el editor no se anima, para poder editar el texto. */
.wa-float.is-collapsed {
	gap: 0;
	padding-left: 7px;
}

.wa-float.is-collapsed .wa-float-icon,
.wa-float.is-collapsed .wa-float-text {
	max-width: 0;
	opacity: 0;
}

/* En computador, al pasar el cursor el mensaje vuelve a mostrarse */
@media (hover: hover) {
	.wa-float.is-collapsed:hover {
		gap: var(--wa-gap);
		padding-left: var(--wa-pad);
	}

	.wa-float.is-collapsed:hover .wa-float-icon {
		max-width: 60px;
		opacity: 1;
	}

	.wa-float.is-collapsed:hover .wa-float-text {
		max-width: 260px;
		opacity: 1;
	}
}

/* Respaldo si el navegador tiene JavaScript desactivado: se encoge solo, sin posibilidad de reabrir */
html:not(.lokalaap-js) body:not(.editor-styles-wrapper) .wa-float {
	animation: lk-wa-encoger 0.8s ease 5s forwards;
}

html:not(.lokalaap-js) body:not(.editor-styles-wrapper) .wa-float .wa-float-icon,
html:not(.lokalaap-js) body:not(.editor-styles-wrapper) .wa-float .wa-float-text {
	animation: lk-wa-esconder 0.8s ease 5s forwards;
}

@keyframes lk-wa-encoger {
	to {
		gap: 0;
		padding-left: 7px;
	}
}

@keyframes lk-wa-esconder {
	to {
		max-width: 0;
		opacity: 0;
	}
}

.wa-float-icon {
	background: rgba(13, 141, 219, 0.12);
	border-radius: 14px;
	flex: 0 0 auto;
	margin: 0;
	max-width: 60px;
	overflow: hidden;
	transition: max-width 0.8s ease, opacity 0.8s ease;
}

.wa-float-icon img {
	display: block;
	height: 26px;
	margin: 9px;
	width: 26px;
}

.wa-float-text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0;
	max-width: 260px;
	overflow: hidden;
	transition: max-width 0.8s ease, opacity 0.8s ease;
	white-space: nowrap;
}

.wa-float-title {
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.wa-float-sub {
	font-size: 12px;
	line-height: 1.4;
	margin: 0;
}

.wa-float-sub a {
	color: var(--wp--preset--color--muted);
}

/* Toda la píldora es clicable (enlace «estirado») */
.wa-float-sub a::after {
	border-radius: 999px;
	content: "";
	inset: 0;
	position: absolute;
}

.wa-float-btn {
	flex: 0 0 auto;
	font-size: 34px;
	margin: 0;
}


/* ==========================================================================
   12. PLANTILLAS GENERALES (ENTRADAS, PÁGINAS, 404)
   ========================================================================== */

.site-main {
	padding: 70px 24px;
}

/* El espacio automático entre bloques está en 0 (theme.json) para que las secciones del diseño queden pegadas.
   Aquí se devuelve el espacio normal solo dentro de entradas y páginas generales. */
.wp-block-group.site-main :where(.is-layout-flow, .is-layout-constrained) > * + * {
	margin-block-start: 1.5rem;
}

.wp-block-group.site-main :where(.is-layout-flex, .is-layout-grid) {
	gap: 1.5rem;
}

.page-heading {
	font-size: 34px;
	margin: 0 0 30px;
}

.post-card {
	background: #fff;
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.06);
	padding: 0 0 24px;
}

.post-card > *:not(.wp-block-post-featured-image) {
	margin-left: 24px;
	margin-right: 24px;
}

.post-card .wp-block-post-featured-image {
	margin: 0 0 20px;
}

.post-card-title {
	font-size: 16px;
	margin-bottom: 8px;
}

.post-card-title a {
	color: var(--wp--preset--color--contrast);
}

.post-card-date {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
}

.pagination {
	gap: 16px;
	margin-top: 40px;
}


/* ==========================================================================
   12B. FICHA INDIVIDUAL DEL NEGOCIO (DIRECTORIST)
   La página de cada negocio la dibuja el plugin Directorist. Aquí se centra,
   se agranda la letra y se le dan los colores y formas del tema.
   ========================================================================== */

/* Colores de Directorist iguales a los del tema (botones, enlaces, íconos) y fondo suave */
body.single-at_biz_dir {
	--directorist-color-primary: var(--wp--preset--color--primary);
	--directorist-color-dark: var(--wp--preset--color--contrast);
	--directorist-color-body: var(--wp--preset--color--contrast);
	--directorist-color-border: var(--wp--preset--color--border);
	background: var(--wp--preset--color--surface);
}

/* Columna centrada. Directorist fuerza "ancho 100 %" con !important, por eso aquí también. */
body.single-at_biz_dir .directorist-single-contents-area {
	margin-left: auto;
	margin-right: auto;
	max-width: 1100px !important;
	padding: 28px 0 72px;
}

/* Botones de arriba (Volver, Editar, Compartir, Guardar, Reportar) */
body.single-at_biz_dir .directorist-single-listing-top {
	gap: 10px;
	margin: 0 0 22px;
}

body.single-at_biz_dir .directorist-single-listing-action {
	background-color: var(--wp--preset--color--base) !important;
	border: 1px solid var(--wp--preset--color--border) !important;
	border-radius: 10px;
	color: var(--wp--preset--color--contrast);
	font-size: 14px;
	min-height: 42px;
}

body.single-at_biz_dir .directorist-single-listing-action:hover,
body.single-at_biz_dir .directorist-single-listing-action:focus {
	background-color: var(--wp--preset--color--base) !important;
	border-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary);
}

/* Encabezado de la ficha: nombre, etiqueta "New", estrellas y categoría */
body.single-at_biz_dir .directorist-listing-details__listing-title {
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 14px;
}

body.single-at_biz_dir .directorist-listing-details {
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 22px;
}

/* Fotos */
body.single-at_biz_dir .directorist-single-listing-slider-wrap {
	border-radius: 16px;
	margin-bottom: 28px;
	overflow: hidden;
}

/* Tarjetas (Descripción, Ubicación, Contacto, Opiniones...) */
body.single-at_biz_dir .directorist-single-contents-area .directorist-card {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.06);
	margin-bottom: 24px;
	overflow: hidden;
}

body.single-at_biz_dir .directorist-single-contents-area .directorist-card .directorist-card__header {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 18px 28px;
}

body.single-at_biz_dir .directorist-single-contents-area .directorist-card__header__title {
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 20px;
	font-weight: 600;
}

body.single-at_biz_dir .directorist-single-contents-area .directorist-card .directorist-card__body {
	font-size: 16px;
	line-height: 1.7;
	padding: 28px;
}

body.single-at_biz_dir .directorist-listing-details__text p {
	line-height: 1.7;
}

/* Datos de contacto: mismo tamaño que el resto del texto y enlaces en el color del tema,
   para que se note que se pueden tocar (WhatsApp, teléfono, email, web). */
body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info:not(.directorist-single-info-html),
body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info:not(.directorist-single-info-html) a {
	font-size: 16px;
}

body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__value a:not(.directorist-btn) {
	color: var(--wp--preset--color--primary);
	font-weight: 500;
}

body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__value a:not(.directorist-btn):hover {
	text-decoration: underline;
}

/* Filas de datos (WhatsApp, Barrio, Horario...): el título lleva los dos puntos pegados y todos los valores
   empiezan en la misma línea, aunque el título sea largo (por ejemplo "Conjunto o edificio").
   Si un título nuevo no cabe, sube el 220px. */
body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__label {
	min-width: 220px;
}

body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__label__text {
	display: flex;
	min-width: 0;
	padding-right: 0;
}

body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__label__text:before {
	content: none;
}

body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__label__text:after {
	content: ":";
}


/* ==========================================================================
   12C. PÁGINA DE PLANES (DIRECTORIST + WOOCOMMERCE)
   La página donde el cliente elige su plan la dibuja el plugin de planes.
   ========================================================================== */

/* Orden: mensual, semestral, anual. El plugin los entrega del más nuevo al más viejo, y cada plan
   lleva como clase la última palabra de su nombre ("Plan Mensual" => .mensual). */
#fm_plans_container .atbd_plan_col.mensual {
	order: 1;
}

#fm_plans_container .atbd_plan_col.semestral {
	order: 2;
}

#fm_plans_container .atbd_plan_col.anual {
	order: 3;
}

/* Tarjeta del plan */
#fm_plans_container .pricing.pricing--1 {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(15, 40, 70, 0.06);
	overflow: hidden;
}

#fm_plans_container .pricing.pricing--1 .pricing__title h4 {
	border-bottom-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 22px;
	font-weight: 600;
}

#fm_plans_container .pricing.pricing--1 .pricing__price {
	border-bottom-color: var(--wp--preset--color--border);
}

#fm_plans_container .pricing .pricing__price p.pricing_value {
	color: var(--wp--preset--color--primary-dark);
	font-family: var(--lk-font-titulos);
	font-weight: 700;
}

/* Ventajas: solo se muestran las que el plan sí incluye (se ocultan las filas con X roja) */
#fm_plans_container .pricing.pricing--1 .pricing__features ul li {
	color: var(--wp--preset--color--contrast);
	font-size: 15px;
}

#fm_plans_container .pricing.pricing--1 .pricing__features ul li:has(.directorist_red) {
	display: none;
}

#fm_plans_container .pricing.pricing--1 .pricing__features ul li .directorist-icon-mask.directorist_green:after {
	background-color: var(--wp--preset--color--primary);
}

/* Botón "Continuar": amarillo, igual que "Añadir anuncio" */
#fm_plans_container .pricing .directorist-pricing__action .directorist-pricing__action--btn {
	background: var(--wp--preset--color--accent);
	border-radius: 10px;
	color: var(--wp--preset--color--primary-dark);
	font-weight: 600;
}

#fm_plans_container .pricing .directorist-pricing__action .directorist-pricing__action--btn:hover,
#fm_plans_container .pricing .directorist-pricing__action .directorist-pricing__action--btn:focus {
	background: var(--wp--preset--color--accent) !important;
	filter: brightness(0.94);
}


/* ==========================================================================
   12D. FILTROS DEL LISTADO (DIRECTORIST)
   Cuando el nombre de la zona o de la categoría elegida es largo, se corta con
   «...» antes de llegar a la X para borrar y a la flecha. Directorist usa un
   selector largo y un margen con !important, por eso esta regla es igual de larga.
   ========================================================================== */
.directorist-content-active .directorist-search-field .select2.select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
	display: block;
	padding-right: 52px !important;
}


/* Ayuda debajo de «Dirección» en el formulario para publicar (la agrega portada.js) */
.lokalaap-ayuda-direccion {
	background: rgba(13, 141, 219, 0.08);
	border-left: 3px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--contrast);
	font-size: 13px;
	line-height: 1.5;
	margin: 10px 0 0;
	padding: 10px 12px;
}

/* Reseñas de la ficha: botones con mayúscula solo al inicio («Escribe una reseña»)
   y el cuadro de texto con la misma letra del sitio (Directorist lo deja en letra de máquina). */
.directorist-review-container .directorist-btn,
#respond .directorist-btn {
	text-transform: none;
}

#respond input.directorist-form-element,
#respond textarea.directorist-form-element,
#respond .directorist-btn {
	font-family: inherit;
}

/* Cuadro del comentario más bajo (unas 4 líneas); el cliente puede estirarlo si escribe más.
   Lleva !important porque Directorist fuerza «height: auto !important» (y el cuadro trae 10 líneas). */
#respond textarea.directorist-form-element {
	height: 120px !important;
	min-height: 0;
	resize: vertical;
}


/* ==========================================================================
   12F. TÍTULOS DE PÁGINAS DEL DIRECTORIO
   «AGREGAR LISTADO», «ELIGE TU PLAN» e «INICIAR SESIÓN» centrados y en mayúscula; «ESCRITORIO» solo en mayúscula.
   (Las clases lk-pagina-* las pone functions.php.)
   ========================================================================== */
.lk-pagina-agregar .wp-block-post-title,
.lk-pagina-planes .wp-block-post-title,
.lk-pagina-ingreso .wp-block-post-title {
	text-align: center;
	text-transform: uppercase;
}

.lk-pagina-escritorio .wp-block-post-title {
	text-transform: uppercase;
}

/* «Elige tu plan» en computador: todas las tarjetas en una sola fila (con 4 planes, ninguno queda solo abajo).
   En tablet quedan 2 por fila y en celular 1, como trae el plugin. */
@media (min-width: 1100px) {
	.lk-pagina-planes .atbd_plans_row {
		flex-wrap: nowrap;
	}
	.lk-pagina-planes .atbd_plans_row .atbd_plan_col {
		flex: 1 1 0;
		min-width: 0;
		width: auto;
	}
	/* Con 4 tarjetas más angostas, el precio va un poco más pequeño y «/ 90 días» siempre debajo del precio,
	   igual en todas (así ninguna queda más alta que las otras). */
	.lk-pagina-planes .pricing .pricing__price p.pricing_value {
		font-size: 34px !important;
		white-space: nowrap;
	}
	.lk-pagina-planes .pricing .pricing__price .pricing-part {
		flex-wrap: wrap;
	}
	.lk-pagina-planes .pricing .pricing__price .pricing-part > span {
		flex-basis: 100%;
		text-align: center;
		white-space: nowrap;
	}
}

/* Todas las tarjetas de una fila con la misma altura y el botón «Continuar» alineado abajo */
.lk-pagina-planes .atbd_plans_row .atbd_plan_col {
	display: flex;
}
.lk-pagina-planes .atbd_plans_row .pricing {
	display: flex;
	flex: 1;
	flex-direction: column;
}
.lk-pagina-planes .atbd_plans_row .pricing__features {
	display: flex;
	flex: 1;
	flex-direction: column;
}
.lk-pagina-planes .atbd_plans_row .pricing__features .directorist-pricing__action {
	margin-top: auto;
}

/* Orden de las tarjetas de «Elige tu plan» por precio (las clases las pone inc/lanzamiento.php) */
.lk-pagina-planes .atbd_plans_row .lk-orden-1 {
	order: 1;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-2 {
	order: 2;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-3 {
	order: 3;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-4 {
	order: 4;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-5 {
	order: 5;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-6 {
	order: 6;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-7 {
	order: 7;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-8 {
	order: 8;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-9 {
	order: 9;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-10 {
	order: 10;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-11 {
	order: 11;
}
.lk-pagina-planes .atbd_plans_row .lk-orden-12 {
	order: 12;
}


/* ==========================================================================
   12E. PAGO (WOOCOMMERCE)
   Se ocultan «Información adicional del pedido» (el campo técnico «Listing ID», que el sistema
   llena solo) y «Añade una nota a tu pedido». No cambia cómo se procesa el pago.
   ========================================================================== */
.wp-block-woocommerce-checkout-additional-information-block,
.wc-block-checkout__additional-information,
.wp-block-woocommerce-checkout-order-note-block,
.wc-block-checkout__add-note {
	display: none;
}


/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */

/* --- Escritorio --- */
/* El logo y los botones del encabezado quedan separados de los bordes de la pantalla.
   Para moverlos más hacia el centro, sube el 6vw (por ejemplo 10vw); para acercarlos al borde, bájalo. */
@media (min-width: 782px) {
	.site-header {
		padding-left: 6vw;
		padding-right: 6vw;
	}
}

/* --- Tablet --- */
@media (max-width: 1100px) {
	.cat-tile {
		width: calc(16.66% - 4px);
	}

	.plan-card {
		padding: 36px 26px 30px;
	}

	.plan-price {
		font-size: 32px;
	}

	.listing-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* --- Planes en una fila que se desliza con el dedo, de izquierda a derecha (tablet y celular) --- */
@media (max-width: 900px) {
	.wp-block-columns.plans-columns.is-not-stacked-on-mobile {
		-webkit-overflow-scrolling: touch;
		gap: 14px;
		margin-left: -24px;
		margin-right: -24px;
		overflow-x: auto;
		padding: 22px 24px;
		scroll-padding: 0 24px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.plans-columns::-webkit-scrollbar {
		display: none;
	}

	.wp-block-columns.plans-columns.is-not-stacked-on-mobile > .wp-block-column {
		flex: 0 0 min(285px, 76%);
		scroll-snap-align: start;
	}

	.plans-hint {
		display: block;
	}
}

/* --- Celular --- */
@media (max-width: 781px) {
	/* Encabezado compacto: el buscador ya está en la portada */
	.site-header {
		padding: 10px 16px;
	}

	.header-inner {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.header-search {
		display: none;
	}

	.site-logo {
		font-size: 22px;
	}

	.header-right {
		gap: 12px;
	}

	.btn-yellow .wp-block-button__link {
		font-size: 11px;
		padding: 8px 12px;
	}

	/* Portada */
	.hero-banner {
		--hero-banner-height: 380px;
	}

	.wp-block-columns.hero-banner-columns.is-marquee {
		animation-duration: 28s;
	}

	.section {
		padding: 44px 16px;
	}

	.hero-section {
		padding-bottom: 36px;
		padding-top: 96px;
	}

	.hero-title {
		font-size: 26px;
	}

	.hero-subtitle {
		font-size: 12px;
	}

	.hero-searchbar {
		flex-direction: column;
		gap: 10px;
		margin-top: 20px;
		max-width: none;
	}

	.zone-select {
		flex: 0 0 auto;
		width: 100%;
	}

	.zone-select .wp-block-navigation-item.has-child {
		height: 46px;
	}

	.hero-search {
		margin-top: 20px;
	}

	/* 16px evita que el iPhone haga zoom al escribir */
	.hero-search .wp-block-search__input {
		font-size: 16px;
		height: 46px;
	}

	.hero-search .wp-block-search__button {
		height: 46px;
		padding: 0 18px;
	}

	/* Categorías: una sola tira que se desliza con el dedo */
	.wp-block-group.category-row {
		-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
		mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
		-webkit-overflow-scrolling: touch;
		flex-wrap: nowrap;
		gap: 4px;
		justify-content: flex-start;
		margin: 26px -16px 0;
		overflow-x: auto;
		padding: 6px 16px 10px;
		scroll-padding: 0 16px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
	}

	.category-row::-webkit-scrollbar {
		display: none;
	}

	.cat-tile {
		flex: 0 0 auto;
		height: 84px;
		scroll-snap-align: center;
		width: 80px;
	}

	.cat-tile .cat-icon {
		margin-bottom: 8px;
	}

	.cat-tile .cat-icon img {
		height: 28px;
		width: 28px;
	}

	.cat-label {
		font-size: 11px;
	}

	/* Fichas en una sola fila que se desliza con el dedo, de izquierda a derecha (como los planes) */
	.listing-grid {
		gap: 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-top: 20px;
	}

	.listing-hint {
		display: block;
	}

	.listing-price {
		font-size: 11px;
		left: -4px;
		padding: 5px 8px;
		top: 10px;
	}

	.listing-bookmark {
		height: 26px;
		left: 10px;
		line-height: 26px;
		width: 26px;
	}

	.listing-social {
		font-size: 22px;
		gap: 6px;
		right: 8px;
		top: 8px;
	}

	.listing-body {
		padding: 12px 12px 14px;
	}

	.listing-title {
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		display: -webkit-box;
		font-size: 13px;
		line-height: 1.3;
		margin-bottom: 6px;
		overflow: hidden;
	}

	.listing-rating {
		margin-bottom: 6px;
	}

	.listing-stars {
		font-size: 10px;
	}

	.listing-tag {
		display: none;
	}

	.listing-place {
		align-items: flex-start;
		gap: 4px;
	}

	.listing-address {
		font-size: 11px;
		line-height: 1.35;
		max-width: 62%;
	}

	.listing-avatar {
		bottom: 12px;
		right: 10px;
		width: 28px;
	}

	.listing-avatar img {
		height: 28px;
		width: 28px;
	}

	/* Pista deslizable: la fila ocupa todo el ancho y la siguiente ficha asoma para invitar a deslizar.
	   Solo en el sitio público (en el editor las fichas se ven en cuadrícula para poder editarlas). */
	html.lokalaap-js .listing-grid {
		-webkit-overflow-scrolling: touch;
		display: flex;
		margin-left: -16px;
		margin-right: -16px;
		max-height: none;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 4px 16px;
		scroll-padding: 0 16px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	html.lokalaap-js .listing-grid::-webkit-scrollbar {
		display: none;
	}

	html.lokalaap-js .listing-grid .listing-item {
		flex: 0 0 min(232px, 62%);
		min-width: 0;
		scroll-snap-align: start;
	}

	/* Muro */
	.wp-block-group.wall-composer {
		flex-wrap: wrap;
		padding: 16px;
	}

	.wall-composer-text {
		flex: 1 1 60%;
	}

	.wall-feed {
		gap: 16px;
		grid-template-columns: minmax(0, 1fr);
	}

	.wall-post {
		padding: 18px 16px 0;
	}

	/* Secciones */
	.section h2 {
		font-size: 22px;
	}

	.section-subtitle {
		font-size: 12px;
	}

	.wp-block-separator.section-line {
		margin: 16px 0 28px;
	}

	.wp-block-columns.city-columns {
		gap: 16px;
	}

	.city-item {
		gap: 10px;
		padding: 14px 16px;
	}

	.city-item > .city-info {
		margin-left: 18px;
	}

	.city-photo img {
		aspect-ratio: 16 / 10;
	}

	.wp-block-columns.steps-columns {
		gap: 16px;
	}

	.wp-block-columns.plans-columns.is-not-stacked-on-mobile {
		margin-left: -16px;
		margin-right: -16px;
		padding: 22px 16px;
		scroll-padding: 0 16px;
	}

	.plan-card {
		padding: 34px 22px 26px;
	}

	.plan-badge {
		left: 22px;
	}

	.plan-price {
		font-size: 32px;
	}

	.faq-item summary {
		font-size: 14px;
		padding: 14px 16px;
	}

	.faq-item p {
		padding: 0 16px 16px;
	}

	.step-card {
		padding: 34px 24px 28px;
	}

	body:not(.editor-styles-wrapper) .wa-float {
		bottom: 12px;
		max-width: calc(100vw - 24px);
		right: 12px;
	}

	.wa-float {
		--wa-gap: 10px;
		--wa-pad: 14px;
		padding: 7px 7px 7px var(--wa-pad);
	}

	.wa-float-icon {
		display: none;
	}

	.wa-float-title {
		font-size: 13px;
	}

	.wa-float-sub {
		font-size: 11px;
	}

	.wa-float-btn {
		font-size: 30px;
	}

	.step-number {
		font-size: 15px;
		height: 60px;
		right: -14px;
		top: -18px;
		width: 60px;
	}

	.blog-col {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--border);
		padding: 26px 22px;
	}

	.blog-col:first-child {
		border-top: 0;
	}

	/* Pie de página */
	/* Deja espacio abajo para que el botón flotante de WhatsApp no tape los enlaces */
	.footer-bar {
		padding: 18px 16px 92px;
	}

	.footer-links a {
		display: inline-block;
		margin: 0 7px;
	}
}

/* --- Ficha del negocio (Directorist) en celular --- */
@media (max-width: 575px) {
	body.single-at_biz_dir .directorist-single-contents-area {
		padding: 16px 0 48px;
	}

	body.single-at_biz_dir .directorist-single-listing-top {
		flex-wrap: nowrap;
		margin-bottom: 16px;
	}

	body.single-at_biz_dir .directorist-single-listing-quick-action {
		flex-wrap: nowrap;
		gap: 8px;
		justify-content: flex-end;
		width: auto;
	}

	/* Directorist deja "Compartir" y "Reportar" como cajas vacías en el celular: se muestra su texto.
	   "Guardar" queda solo con el corazón para que todo quepa en una fila. */
	body.single-at_biz_dir .directorist-single-listing-quick-action .directorist-social-share,
	body.single-at_biz_dir .directorist-single-listing-quick-action .directorist-action-report {
		font-size: 13px;
	}

	body.single-at_biz_dir .directorist-single-listing-quick-action .directorist-action-bookmark {
		font-size: 0;
	}

	body.single-at_biz_dir .directorist-listing-details__listing-title {
		font-size: 26px;
	}

	body.single-at_biz_dir .directorist-single-listing-slider-wrap {
		margin-bottom: 20px;
	}

	/* En el celular el título va arriba del valor, así que no necesita ancho fijo.
	   Directorist esconde el título "Redes sociales"; aquí se vuelve a mostrar. */
	body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info__label {
		min-width: 0;
	}

	body.single-at_biz_dir .directorist-details-info-wrap .directorist-single-info-socials .directorist-single-info__label {
		display: flex;
	}

	body.single-at_biz_dir .directorist-single-contents-area .directorist-card .directorist-card__header {
		padding: 14px 18px;
	}

	body.single-at_biz_dir .directorist-single-contents-area .directorist-card__header__title {
		font-size: 18px;
	}

	body.single-at_biz_dir .directorist-single-contents-area .directorist-card .directorist-card__body {
		padding: 18px;
	}
}

/* --- Celulares pequeños --- */
@media (max-width: 400px) {
	.site-logo {
		font-size: 20px;
	}

	.header-right {
		gap: 8px;
	}

	.main-nav {
		font-size: 11px;
	}

	.btn-yellow .wp-block-button__link {
		font-size: 10.5px;
		padding: 7px 9px;
	}

	.hero-title {
		font-size: 23px;
	}

	.listing-grid {
		gap: 10px;
	}
}


/* ==========================================================================
   14. AJUSTES SOLO PARA EL EDITOR DE BLOQUES
   El editor le pone «position: relative» a cada bloque y eso anula las posiciones absolutas del diseño
   (precio, favorito, redes, avatar, etc.). Aquí se vuelven a poner; la clase .wp-block solo existe
   dentro del editor, así que el sitio público no se ve afectado.
   ========================================================================== */

.wp-block.listing-price,
.wp-block.listing-bookmark,
.wp-block.listing-social,
.wp-block.listing-avatar,
.wp-block.city-number,
.wp-block.step-number,
.wp-block.plan-badge,
.wp-block.hero-banner {
	position: absolute;
}

/* ---------------------------------------------------------------------------
   Ajustar el logo al subirlo (assets/js/logo-recorte.js)
   Recuadro fijo: el negocio mueve y agranda su logo; se guarda en 500 × 500 px.
   --------------------------------------------------------------------------- */
.lk-sin-scroll,
.lk-sin-scroll body {
	overflow: hidden;
}
.lk-recorte {
	align-items: center;
	background: rgba(3, 34, 56, 0.7);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 100000;
}
.lk-recorte-caja {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	max-height: 100%;
	max-width: 380px;
	overflow-y: auto;
	padding: 20px;
	width: 100%;
}
.lk-recorte-titulo {
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 6px;
}
.lk-recorte-ayuda {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.45;
	margin: 0 0 14px;
}
.lk-recorte-lienzo {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	cursor: grab;
	display: block;
	touch-action: none;
	width: 100%;
}
.lk-recorte-lienzo.is-moviendo {
	cursor: grabbing;
}
.lk-recorte-zoom {
	align-items: center;
	display: flex;
	gap: 10px;
	margin: 14px 0 18px;
}
.lk-recorte-barra {
	accent-color: var(--wp--preset--color--primary);
	flex: 1;
}
.lk-recorte-paso {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 50%;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	flex: 0 0 36px;
	font-size: 20px;
	height: 36px;
	line-height: 1;
	padding: 0;
}
.lk-recorte-acciones {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}
.lk-recorte-cancelar {
	background: none;
	border: 0;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	padding: 8px;
}
.lk-recorte-usar {
	cursor: pointer;
}


/* ==========================================================================
   AVISOS ANIMADOS (assets/js/avisos.js + inc/avisos.php)
   Bienvenida al crear la ficha · ¡Publicado! + compartir · Normas del muro
   ========================================================================== */
.lk-aviso {
	align-items: center;
	animation: lk-aviso-fondo 0.25s ease-out;
	background: rgba(3, 34, 56, 0.65);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 16px;
	position: fixed;
	z-index: 100000;
}
.lk-aviso.is-saliendo {
	opacity: 0;
	transition: opacity 0.25s ease;
}
.lk-aviso-caja {
	animation: lk-aviso-entra 0.45s cubic-bezier(0.18, 1.25, 0.4, 1);
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
	max-height: 100%;
	max-width: 420px;
	overflow: hidden auto;
	padding: 30px 26px 24px;
	position: relative;
	text-align: center;
	width: 100%;
}
.lk-aviso-x {
	background: none;
	border: 0;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	font-size: 26px;
	line-height: 1;
	padding: 4px 8px;
	position: absolute;
	right: 8px;
	top: 6px;
	z-index: 2;
}
.lk-aviso-icono {
	align-items: center;
	background: var(--wp--preset--color--surface);
	border-radius: 50%;
	display: inline-flex;
	font-size: 44px;
	height: 84px;
	justify-content: center;
	margin-bottom: 12px;
	position: relative;
	width: 84px;
	z-index: 1;
}
.lk-aviso--bienvenida .lk-aviso-icono {
	animation: lk-saludo 1.6s ease-in-out 0.4s 2;
	transform-origin: 70% 80%;
}
.lk-aviso--publicado .lk-aviso-icono {
	animation: lk-rebote 0.9s ease-in-out 0.3s 3;
}
.lk-aviso--compartir .lk-aviso-icono {
	animation: lk-rebote 0.9s ease-in-out 0.3s 2;
}
.lk-aviso--normas .lk-aviso-icono {
	animation: lk-sacudir 0.6s ease-in-out 0.4s 2;
	background: #fff4d6;
}
.lk-aviso-titulo {
	color: var(--wp--preset--color--contrast);
	font-family: var(--lk-font-titulos);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 8px;
	position: relative;
	z-index: 1;
}
.lk-aviso-texto,
.lk-aviso-nota {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 14px;
	position: relative;
	z-index: 1;
}
.lk-aviso-nota {
	background: #fff4d6;
	border-radius: 10px;
	color: #6b4e00;
	font-size: 13px;
	padding: 10px 12px;
	text-align: left;
}
.lk-aviso-lista {
	display: inline-block;
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	text-align: left;
}
.lk-aviso-lista li {
	animation: lk-aparece 0.4s ease-out both;
	color: var(--wp--preset--color--contrast);
	font-size: 15px;
	margin: 6px 0;
}
.lk-aviso-lista li:nth-child(2) { animation-delay: 0.15s; }
.lk-aviso-lista li:nth-child(3) { animation-delay: 0.3s; }
.lk-aviso-lista li:nth-child(4) { animation-delay: 0.45s; }
.lk-aviso-lista li:nth-child(5) { animation-delay: 0.6s; }
.lk-aviso-lista li.is-si::before {
	color: #1a9e4a;
	content: "✔ ";
	font-weight: 700;
}
.lk-aviso-lista li.is-no::before {
	color: #e0242f;
	content: "✖ ";
	font-weight: 700;
}
.lk-aviso-boton {
	display: block;
	margin-left: auto;
	margin-right: auto;
	background: var(--wp--preset--color--accent);
	border: 0;
	border-radius: 999px;
	color: var(--wp--preset--color--primary-dark);
	cursor: pointer;
	font-weight: 700;
	margin-top: 4px;
	padding: 12px 28px;
	position: relative;
	z-index: 1;
}
.lk-aviso-boton:hover {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
}
.lk-aviso-boton:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Botones para compartir */
.lk-compartir {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 16px;
	position: relative;
	z-index: 1;
}
.lk-compartir-btn {
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	cursor: pointer;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 11px 8px;
	text-align: center;
	text-decoration: none;
}
.lk-compartir-btn:hover,
.lk-compartir-btn:focus-visible {
	filter: brightness(0.92);
}
.lk-compartir-btn--whatsapp { background: #25d366; }
.lk-compartir-btn--facebook { background: #1877f2; }
.lk-compartir-btn--x { background: #111111; }
.lk-compartir-btn--mas { background: var(--wp--preset--color--primary); }
.lk-compartir-btn--copiar {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
}

/* Confeti */
.lk-confeti {
	height: 100%;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
}
.lk-confeti span {
	animation: lk-confeti-cae 2.4s ease-in 1 both;
	border-radius: 2px;
	height: 12px;
	position: absolute;
	top: -16px;
	width: 7px;
}
.lk-confeti .lk-confeti-0 {
	animation-duration: 3.0s;
	animation-delay: 0.29s;
	background: var(--wp--preset--color--accent);
	left: 4%;
}
.lk-confeti .lk-confeti-1 {
	animation-duration: 3.4s;
	animation-delay: 0.14s;
	background: var(--wp--preset--color--primary);
	left: 9%;
}
.lk-confeti .lk-confeti-2 {
	animation-duration: 3.0s;
	animation-delay: 0.59s;
	background: #e0242f;
	left: 14%;
}
.lk-confeti .lk-confeti-3 {
	animation-duration: 3.0s;
	animation-delay: 0.07s;
	background: #25d366;
	left: 20%;
}
.lk-confeti .lk-confeti-4 {
	animation-duration: 3.4s;
	animation-delay: 0.48s;
	background: #ff8a00;
	left: 25%;
}
.lk-confeti .lk-confeti-5 {
	animation-duration: 3.4s;
	animation-delay: 0.33s;
	background: #7c4dff;
	left: 31%;
}
.lk-confeti .lk-confeti-6 {
	animation-duration: 2.2s;
	animation-delay: 0.05s;
	background: var(--wp--preset--color--accent);
	left: 36%;
}
.lk-confeti .lk-confeti-7 {
	animation-duration: 2.2s;
	animation-delay: 0.46s;
	background: var(--wp--preset--color--primary);
	left: 41%;
}
.lk-confeti .lk-confeti-8 {
	animation-duration: 3.4s;
	animation-delay: 0.03s;
	background: #e0242f;
	left: 47%;
}
.lk-confeti .lk-confeti-9 {
	animation-duration: 3.0s;
	animation-delay: 0.39s;
	background: #25d366;
	left: 52%;
}
.lk-confeti .lk-confeti-10 {
	animation-duration: 3.4s;
	animation-delay: 0.06s;
	background: #ff8a00;
	left: 58%;
}
.lk-confeti .lk-confeti-11 {
	animation-duration: 2.2s;
	animation-delay: 0.08s;
	background: #7c4dff;
	left: 63%;
}
.lk-confeti .lk-confeti-12 {
	animation-duration: 1.8s;
	animation-delay: 0.38s;
	background: var(--wp--preset--color--accent);
	left: 68%;
}
.lk-confeti .lk-confeti-13 {
	animation-duration: 3.0s;
	animation-delay: 0.74s;
	background: var(--wp--preset--color--primary);
	left: 74%;
}
.lk-confeti .lk-confeti-14 {
	animation-duration: 2.6s;
	animation-delay: 0.11s;
	background: #e0242f;
	left: 79%;
}
.lk-confeti .lk-confeti-15 {
	animation-duration: 2.2s;
	animation-delay: 0.20s;
	background: #25d366;
	left: 85%;
}
.lk-confeti .lk-confeti-16 {
	animation-duration: 1.8s;
	animation-delay: 0.56s;
	background: #ff8a00;
	left: 90%;
}
.lk-confeti .lk-confeti-17 {
	animation-duration: 3.4s;
	animation-delay: 0.85s;
	background: #7c4dff;
	left: 96%;
}

/* Recordatorio fijo de normas dentro del formulario del muro */
.wall-normas {
	background: #fff4d6;
	border-radius: 10px;
	color: #6b4e00;
	font-size: 13px;
	line-height: 1.45;
	margin: 4px 0 12px;
	padding: 10px 12px;
}

@keyframes lk-aviso-fondo {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes lk-aviso-entra {
	from { opacity: 0; transform: scale(0.7) translateY(30px); }
	to { opacity: 1; transform: none; }
}
@keyframes lk-saludo {
	0%, 100% { transform: rotate(0deg); }
	15%, 45% { transform: rotate(18deg); }
	30%, 60% { transform: rotate(-12deg); }
	75% { transform: rotate(6deg); }
}
@keyframes lk-rebote {
	0%, 100% { transform: translateY(0) scale(1); }
	40% { transform: translateY(-14px) scale(1.08); }
	60% { transform: translateY(0) scale(0.96); }
}
@keyframes lk-sacudir {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-6px) rotate(-6deg); }
	40%, 80% { transform: translateX(6px) rotate(6deg); }
}
@keyframes lk-aparece {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: none; }
}
@keyframes lk-confeti-cae {
	0% { opacity: 1; transform: translateY(0) rotate(0deg); }
	100% { opacity: 0; transform: translateY(460px) rotate(540deg); }
}

/* Si la persona pidió menos movimiento en su teléfono o computador, los avisos salen quietos */
@media (prefers-reduced-motion: reduce) {
	.lk-aviso,
	.lk-aviso-caja,
	.lk-aviso-icono,
	.lk-aviso-lista li,
	.lk-confeti span {
		animation: none !important;
	}
	.lk-confeti {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
   Páginas legales (inc/legales.php)
   --------------------------------------------------------------------------- */
.lk-legal-fecha {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}
.lk-legal-falta {
	background: #fff4d6;
	border-radius: 4px;
	color: #7a4a00;
	font-weight: 600;
	padding: 0 4px;
}
.wall-acepto a {
	font-weight: 600;
	white-space: nowrap;
}
/* Casillas «Acepto…» del registro de Directorist: el enlace venía en rojo; se deja del color del sitio */
.directorist-checkbox__label a {
	color: var(--wp--preset--color--primary) !important;
	text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   Plan recomendado: se marca en Productos → el plan → «Recommend this Plan».
   Etiqueta «★ Recomendado» flotando sobre el borde de arriba, borde azul y más sombra.
   El contenido queda a la misma altura que en las demás tarjetas.
   --------------------------------------------------------------------------- */
#fm_plans_container .pricing.pricing--1.atbd_pricing_special {
	border: 2px solid var(--wp--preset--color--primary);
	box-shadow: 0 10px 30px rgba(13, 141, 219, 0.18);
	overflow: visible;
	position: relative;
}
#fm_plans_container .pricing.atbd_pricing_special .atbd_popular_badge {
	background: var(--wp--preset--color--primary);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(13, 141, 219, 0.35);
	color: #ffffff;
	display: block;
	font-family: var(--lk-font-titulos);
	font-size: 12px;
	font-weight: 700;
	height: auto;
	left: 50%;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 8px 14px;
	position: absolute;
	text-transform: uppercase;
	top: -15px;
	transform: translateX(-50%);
	white-space: nowrap;
	width: auto;
	z-index: 2;
}
#fm_plans_container .pricing.atbd_pricing_special .atbd_popular_badge::before {
	color: var(--wp--preset--color--accent);
	content: "★ ";
}
/* Con la etiqueta flotando, la tarjeta no recorta su contenido: el título se redondea arriba
   para no tapar las esquinas redondeadas del borde azul. */
#fm_plans_container .pricing.atbd_pricing_special .pricing__title,
#fm_plans_container .pricing.atbd_pricing_special .pricing__title h4 {
	background: transparent;
	border-top-left-radius: 14px;
	border-top-right-radius: 14px;
}
#fm_plans_container .pricing.atbd_pricing_special .pricing__price p.pricing_value {
	color: var(--wp--preset--color--primary);
}
/* Espacio arriba para que la etiqueta no quede pegada a lo de encima */
.lk-pagina-planes #fm_plans_container .atbd_plans_row {
	padding-top: 16px;
}

/* Consejo de WhatsApp debajo del campo de video del muro */
.wall-video-consejo {
	background: var(--wp--preset--color--surface);
	border-left: 3px solid #25d366;
	border-radius: 6px;
	color: var(--wp--preset--color--contrast);
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin-top: 8px;
	padding: 8px 10px;
}

/* Nota «(máximo 5)» de las ventajas del plan: pequeña, gris y en la misma línea si cabe */
#fm_plans_container .pricing.pricing--1 .pricing__features ul li {
	flex-wrap: wrap;
}
#fm_plans_container .pricing.pricing--1 .pricing__features ul li .lk-plan-nota {
	color: var(--wp--preset--color--muted);
	flex-basis: 100%; /* Siempre en la línea de abajo… */
	font-size: 12px;
	margin-top: -4px;
	padding-left: 20px; /* …alineada con el texto, no con el chulito */
	white-space: nowrap;
}

/* «Planes y precios» de Inicio con 4 tarjetas (automáticas, inc/lanzamiento.php): un poco más compactas */
@media (min-width: 901px) {
	.wp-block-columns.plans-columns--4 {
		gap: 20px;
	}
	.plans-columns--4 .plan-card {
		padding: 34px 24px 28px;
	}
	.plans-columns--4 .plan-price {
		font-size: 32px;
	}
}
/* Tarjeta del plan de lanzamiento: etiqueta amarilla */
.plan-card.plan-gratis .plan-badge {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--primary-dark);
}
.plan-card.plan-gratis .plan-price {
	color: var(--wp--preset--color--primary);
}
/* Botón «Elegir plan» siempre abajo, a la misma altura en todas las tarjetas */
.plans-columns .plan-card {
	display: flex;
	flex-direction: column;
}
.plans-columns .plan-card .btn-blue-wrap {
	margin-top: auto;
}

/* TikTok en las redes de la ficha (directorist/single/fields/social_info.php) */
.directorist-social-links a:hover.tiktok {
	background-color: #010101;
}

/* TikTok con miniatura: la imagen del video de fondo y el texto con sombra para que se lea */
.wall-video--tiktok .wall-video-play img {
	opacity: 0.9;
}
.wall-video--tiktok .wall-video-play img ~ .wall-video-marca,
.wall-video--tiktok .wall-video-play img ~ .wall-video-texto {
	position: relative;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

/* Consejo: con enlace de Instagram/Facebook, agregar una foto (muro-fotos.js) */
.wall-foto-consejo {
	background: #fff4d6;
	border: 1px solid #f5d77a;
	border-radius: 8px;
	color: #5c3900;
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin-top: 8px;
	padding: 8px 11px;
}
.wall-foto-consejo[hidden] {
	display: none;
}

/* ---------------------------------------------------------------------------
   Editar y eliminar publicaciones del muro (inc/muro.php)
   --------------------------------------------------------------------------- */
/* Al editar, el formulario sale abierto */
.wall-form.wall-form--editando {
	display: block;
	scroll-margin-top: 120px;
}
.wall-editando {
	background: #e8f4fc;
	border-left: 4px solid var(--wp--preset--color--primary);
	border-radius: 6px;
	font-size: 14px;
	margin: 0 0 16px;
	padding: 10px 12px;
}
/* «✏️ Editar» y «🗑 Eliminar» en la publicación (solo los ve su dueño) */
.wall-editar,
.wall-borrar-btn {
	background: none;
	border: 0;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	padding: 0;
	text-decoration: none;
	white-space: nowrap;
}
.wall-editar:hover,
.wall-editar:focus-visible {
	color: var(--wp--preset--color--primary);
}
.wall-borrar {
	margin: 0;
}
.wall-borrar-btn:hover,
.wall-borrar-btn:focus-visible,
.wall-borrar.is-confirmando .wall-borrar-btn {
	color: #d63638;
}
.wall-borrar.is-confirmando .wall-borrar-btn {
	white-space: normal;
}
/* Fotos que ya tiene la publicación (al editar) */
.wall-fotos-actuales {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.wall-fotos-actuales img {
	border-radius: 6px;
	height: 56px;
	object-fit: cover;
	width: 56px;
}
.wall-quitar {
	align-items: center;
	display: flex;
	font-size: 13px !important;
	font-weight: 400 !important;
	gap: 6px;
}
/* «Tus publicaciones» arriba del muro */
.wall-mias {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	margin: -14px 0 26px;
	padding: 0 16px;
}
.wall-mias summary {
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 0;
}
.wall-mias ul {
	list-style: none;
	margin: 0;
	padding: 0 0 8px;
}
.wall-mias li {
	align-items: center;
	border-top: 1px solid var(--wp--preset--color--border);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	justify-content: space-between;
	padding: 10px 0;
}
.wall-mias-titulo {
	font-size: 14px;
	min-width: 0;
}
.wall-mias-titulo small {
	color: var(--wp--preset--color--muted);
	display: block;
	font-size: 12px;
}
.wall-mias-estado {
	background: #e7f7ee;
	border-radius: 999px;
	color: #1a7f45;
	font-size: 11px;
	font-weight: 700;
	margin-left: 4px;
	padding: 2px 8px;
	white-space: nowrap;
}
.wall-mias-estado--revision {
	background: #fff4d6;
	color: #7a4a00;
}
.wall-mias-acciones {
	align-items: center;
	display: flex;
	gap: 14px;
}
