/**
 * Estilos Públicos Premium - GeoPlace Infobarrio
 */

/* Sistema de Variables HSL */
:root {
	--gp-primary: hsl(173, 80%, 36%);       /* Verde Esmeralda/Teal Urbano */
	--gp-primary-hover: hsl(173, 80%, 28%);
	--gp-primary-light: hsl(173, 80%, 95%);
	
	--gp-accent: hsl(28, 95%, 53%);         /* Naranja Atardecer */
	--gp-accent-hover: hsl(28, 95%, 45%);
	
	--gp-text-dark: hsl(217, 33%, 17%);      /* Slate Oscuro */
	--gp-text-medium: hsl(215, 16%, 47%);    /* Slate Medio */
	--gp-text-light: hsl(218, 11%, 65%);     /* Slate Claro */
	
	--gp-bg-site: hsl(210, 40%, 98%);        /* Gris Azulado Muy Suave */
	--gp-bg-card: hsl(0, 0%, 100%);          /* Blanco */
	
	--gp-border: hsl(214, 32%, 91%);
	--gp-border-focus: hsl(173, 80%, 50%);
	
	--gp-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
	--gp-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
	--gp-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	
	--gp-radius-sm: 6px;
	--gp-radius-md: 12px;
	--gp-radius-lg: 20px;
	
	--gp-wa-green: hsl(142, 70%, 45%);      /* Color WhatsApp */
	--gp-wa-green-hover: hsl(142, 70%, 38%);
	
	/* Categorías HSL Colores */
	--gp-cat-gastronomia: hsl(12, 85%, 55%);
	--gp-cat-cultura: hsl(262, 65%, 58%);
	--gp-cat-comercio: hsl(197, 85%, 45%);
	--gp-cat-servicios: hsl(152, 60%, 42%);
	--gp-cat-turismo: hsl(42, 95%, 48%);
	--gp-cat-default: hsl(215, 20%, 50%);
}

/* Contenedor General */
.gp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.gp-directory-wrapper {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--gp-text-dark);
	box-sizing: border-box;
}

.gp-directory-wrapper * {
	box-sizing: border-box;
}

/* 1. FILTROS Y BUSCADOR SUPERIOR (Estilo Glassmorphism) */
.gp-filter-header-bar {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--gp-border);
	padding: 16px;
	border-radius: var(--gp-radius-md);
	box-shadow: var(--gp-shadow-md);
	margin-bottom: 15px;
	z-index: 10;
}

.gp-filter-header-bar form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-items: center;
}

@media (min-width: 768px) {
	.gp-filter-header-bar form {
		grid-template-columns: 1.5fr 2fr auto;
	}
}

.gp-search-input-wrap {
	position: relative;
	width: 100%;
}

.gp-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gp-text-light);
	font-size: 16px;
}

.gp-search-input-wrap input {
	width: 100%;
	height: 48px;
	padding: 0 16px 0 42px;
	border: 1.5px solid var(--gp-border);
	border-radius: var(--gp-radius-sm);
	font-size: 15px;
	background-color: transparent;
	transition: all 0.25s ease;
}

.gp-search-input-wrap input:focus {
	outline: none;
	border-color: var(--gp-border-focus);
	box-shadow: 0 0 0 3px var(--gp-primary-light);
	background-color: #fff;
}

.gp-dropdown-filters {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.gp-select-wrap {
	position: relative;
}

.gp-select-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gp-text-light);
	font-size: 14px;
	pointer-events: none;
}

.gp-select-wrap select {
	width: 100%;
	height: 48px;
	padding: 0 30px 0 34px;
	border: 1.5px solid var(--gp-border);
	border-radius: var(--gp-radius-sm);
	font-size: 14px;
	color: var(--gp-text-dark);
	background-color: transparent;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: all 0.25s ease;
}

.gp-select-wrap select:focus {
	outline: none;
	border-color: var(--gp-border-focus);
	background-color: #fff;
}

/* Flecha personalizada del selector */
.gp-select-wrap::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--gp-text-medium);
	font-size: 11px;
	pointer-events: none;
}

/* Botones */
.gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 18px;
	border: none;
	border-radius: var(--gp-radius-sm);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	gap: 8px;
}

.gp-btn-primary {
	background-color: var(--gp-primary);
	color: #fff;
}

.gp-btn-primary:hover {
	background-color: var(--gp-primary-hover);
	transform: translateY(-1px);
}

.gp-btn-secondary {
	background-color: #e2e8f0;
	color: var(--gp-text-dark);
}

.gp-btn-secondary:hover {
	background-color: #cbd5e1;
}

#gp-clear-filters {
	width: 48px;
	padding: 0;
}

/* 2. ENLACES RÁPIDOS DE BARRIOS (QUICK JUMPS) */
.gp-quick-neighborhoods {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	overflow: hidden;
}

.gp-quick-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--gp-text-medium);
	white-space: nowrap;
	margin-right: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.gp-quick-links-scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 5px;
	width: 100%;
	scrollbar-width: none; /* Firefox */
}

.gp-quick-links-scroll::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.gp-quick-btn {
	background: #fff;
	border: 1px solid var(--gp-border);
	padding: 6px 14px;
	border-radius: var(--gp-radius-lg);
	font-size: 13px;
	font-weight: 500;
	color: var(--gp-text-dark);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.gp-quick-btn:hover {
	border-color: var(--gp-primary);
	color: var(--gp-primary);
	background-color: var(--gp-primary-light);
}

.gp-quick-btn.active {
	background-color: var(--gp-primary);
	color: #fff;
	border-color: var(--gp-primary);
	box-shadow: var(--gp-shadow-sm);
}

/* 3. LAYOUT DIVIDIDO PREMIUM (ESTILO AIRBNB/YELP) */
.gp-directory-layout {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--gp-radius-md);
	overflow: hidden;
	box-shadow: var(--gp-shadow-lg);
	border: 1px solid var(--gp-border);
	background: #fff;
}

@media (min-width: 992px) {
	.gp-directory-layout {
		grid-template-columns: 1.1fr 0.9fr; /* 55% Listado, 45% Mapa */
		height: 700px;
	}
}

/* Vista en móvil: control de visualización alternable */
.gp-mobile-view-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--gp-border);
	border-radius: var(--gp-radius-sm);
	overflow: hidden;
	margin-bottom: 12px;
}

@media (min-width: 992px) {
	.gp-mobile-view-toggle {
		display: none;
	}
}

.gp-toggle-btn {
	background: #fff;
	border: none;
	height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-text-medium);
	cursor: pointer;
	transition: all 0.2s ease;
}

.gp-toggle-btn.active {
	background-color: var(--gp-primary);
	color: #fff;
}

/* Panel Izquierdo: Fichas y Controles */
.gp-panel-list {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	padding: 20px;
}

@media (min-width: 992px) {
	.gp-panel-list {
		height: 100%;
		overflow-y: auto;
	}
}

.gp-list-meta-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--gp-border);
}

.gp-count-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--gp-text-medium);
}

/* Switch de Área Visible */
.gp-bounds-toggle-container {
	display: flex;
	align-items: center;
}

.gp-switch-label {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	gap: 8px;
}

.gp-switch-label input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.gp-slider {
	position: relative;
	display: inline-block;
	width: 38px;
	height: 20px;
	background-color: #cbd5e1;
	border-radius: 34px;
	transition: .3s;
}

.gp-slider:before {
	position: absolute;
	content: "";
	height: 14px;
	width: 14px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	border-radius: 50%;
	transition: .3s;
}

.gp-switch-label input:checked + .gp-slider {
	background-color: var(--gp-primary);
}

.gp-switch-label input:checked + .gp-slider:before {
	transform: translateX(18px);
}

.gp-switch-text {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gp-text-medium);
	user-select: none;
}

.gp-switch-label input:checked ~ .gp-switch-text {
	color: var(--gp-primary);
}

/* Contenedor de listado AJAX */
.gp-listings-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	transition: opacity 0.2s ease;
}

@media (min-width: 600px) and (max-width: 991px) {
	.gp-listings-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Panel Derecho: Mapa */
.gp-panel-map {
	position: relative;
	width: 100%;
	min-height: 400px;
}

@media (min-width: 992px) {
	.gp-panel-map {
		height: 100%;
	}
}

#gp-main-map {
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* Botón flotante geolocalizar */
.gp-map-overlay-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border: 1px solid var(--gp-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gp-text-dark);
	font-size: 16px;
	cursor: pointer;
	box-shadow: var(--gp-shadow-md);
	transition: all 0.2s ease;
}

.gp-map-overlay-btn:hover {
	background: #fff;
	color: var(--gp-primary);
	transform: scale(1.05);
}

/* Visibilidad de los paneles en pantallas móviles */
@media (max-width: 991px) {
	.gp-panel-list {
		display: block;
	}
	.gp-panel-map {
		display: none;
	}
	
	.gp-directory-layout.gp-show-map .gp-panel-list {
		display: none;
	}
	.gp-directory-layout.gp-show-map .gp-panel-map {
		display: block;
	}
}

/* 4. TARJETAS DE LUGARES (PLACE CARD STYLING) */
.gp-place-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-md);
	overflow: hidden;
	background-color: var(--gp-bg-card);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: var(--gp-shadow-sm);
	position: relative;
}

.gp-place-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--gp-shadow-md);
	border-color: var(--gp-primary-light);
}

/* Resaltado cuando la tarjeta está seleccionada en el mapa */
.gp-place-card.highlighted-card {
	border-color: var(--gp-primary);
	box-shadow: 0 0 0 2px var(--gp-primary-light);
	background-color: var(--gp-primary-light);
}

.gp-card-media {
	position: relative;
	height: 160px;
	width: 100%;
	overflow: hidden;
	background-color: #f1f5f9;
}

.gp-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gp-place-card:hover .gp-card-media img {
	transform: scale(1.04);
}

/* Fallback de imagen por categorías */
.gp-placeholder-media {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	opacity: 0.85;
}

.gp-media-fallback-icon {
	font-size: 38px;
}

/* Badges de Categorías */
.gp-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: var(--gp-radius-sm);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #fff;
	box-shadow: var(--gp-shadow-sm);
}

/* Colores de Fondo de Categorías (Badges y fallbacks) */
.gp-badge-gastronomia, .gp-cat-bg-gastronomia { background-color: var(--gp-cat-gastronomia); }
.gp-badge-cultura, .gp-cat-bg-cultura { background-color: var(--gp-cat-cultura); }
.gp-badge-comercio, .gp-cat-bg-comercio { background-color: var(--gp-cat-comercio); }
.gp-badge-servicios, .gp-cat-bg-servicios { background-color: var(--gp-cat-servicios); }
.gp-badge-turismo, .gp-cat-bg-turismo { background-color: var(--gp-cat-turismo); }
.gp-badge-default, .gp-cat-bg-default { background-color: var(--gp-cat-default); }

/* Contenido de Ficha */
.gp-card-content {
	padding: 16px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.gp-card-meta-neighborhood {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--gp-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.gp-card-title {
	font-family: 'Outfit', sans-serif;
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.gp-card-title a {
	color: var(--gp-text-dark);
	text-decoration: none;
	transition: color 0.15s ease;
}

.gp-card-title a:hover {
	color: var(--gp-primary);
}

.gp-card-excerpt {
	font-size: 13.5px;
	color: var(--gp-text-medium);
	line-height: 1.45;
	margin: 0 0 14px 0;
}

.gp-card-info-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--gp-text-medium);
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gp-card-info-item span:first-child {
	color: var(--gp-text-light);
	font-size: 13px;
	width: 14px;
	text-align: center;
}

.gp-card-address {
	font-weight: 500;
}

/* Pie de Tarjeta (Acciones) */
.gp-card-actions {
	padding: 12px 16px 16px 16px;
	border-top: 1px solid var(--gp-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.gp-action-buttons-group {
	display: flex;
	gap: 6px;
}

.gp-action-btn {
	width: 36px;
	height: 36px;
	border-radius: var(--gp-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #fff;
	text-decoration: none;
	transition: all 0.2s ease;
}

.gp-wa-btn {
	background-color: var(--gp-wa-green);
}
.gp-wa-btn:hover {
	background-color: var(--gp-wa-green-hover);
	transform: scale(1.05);
}

.gp-phone-btn {
	background-color: #64748b;
}
.gp-phone-btn:hover {
	background-color: #475569;
	transform: scale(1.05);
}

.gp-web-btn {
	background-color: #0ea5e9;
}
.gp-web-btn:hover {
	background-color: #0284c7;
	transform: scale(1.05);
}

.gp-view-details-btn {
	height: 36px;
	padding: 0 12px;
	font-size: 12.5px;
	border-radius: var(--gp-radius-sm);
}

.gp-view-details-btn span {
	font-size: 11px;
	transition: transform 0.25s ease;
}

.gp-view-details-btn:hover span {
	transform: translateX(3px);
}

/* 5. DISEÑO DE LA PAGINACIÓN */
.gp-pagination-wrap {
	margin-top: 25px;
	display: flex;
	justify-content: center;
	width: 100%;
}

.gp-pagination-list {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 6px;
	align-items: center;
}

.gp-pagination-list a, .gp-pagination-list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--gp-radius-sm);
	border: 1px solid var(--gp-border);
	font-size: 13px;
	font-weight: 600;
	color: var(--gp-text-dark);
	text-decoration: none;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s ease;
}

.gp-pagination-list a:hover {
	border-color: var(--gp-primary);
	color: var(--gp-primary);
	background: var(--gp-primary-light);
}

.gp-pagination-list span.current {
	background: var(--gp-primary);
	color: #fff;
	border-color: var(--gp-primary);
	cursor: default;
}

/* 6. ESTILIZACIÓN DE POPUPS EN LEAFLET MAP */
.leaflet-popup-content-wrapper {
	border-radius: var(--gp-radius-md);
	padding: 0;
	overflow: hidden;
	box-shadow: var(--gp-shadow-lg);
}

.leaflet-popup-content {
	margin: 0 !important;
	width: 250px !important;
	font-family: 'Inter', sans-serif;
}

.gp-map-popup-card {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.gp-map-popup-thumb {
	width: 100%;
	height: 110px;
	object-fit: cover;
	background: #f1f5f9;
}

.gp-map-popup-placeholder {
	width: 100%;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
}

.gp-map-popup-info {
	padding: 12px;
}

.gp-map-popup-cat {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--gp-primary);
	letter-spacing: 0.5px;
	margin-bottom: 2px;
	display: block;
}

.gp-map-popup-title {
	font-family: 'Outfit', sans-serif;
	font-size: 14.5px;
	font-weight: 700;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.gp-map-popup-title a {
	color: var(--gp-text-dark) !important;
	text-decoration: none;
}

.gp-map-popup-title a:hover {
	color: var(--gp-primary) !important;
}

.gp-map-popup-address {
	font-size: 11.5px;
	color: var(--gp-text-medium);
	margin: 0 0 10px 0;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 6px;
}

.gp-map-popup-address span {
	color: var(--gp-text-light);
}

.gp-map-popup-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
	border-top: 1px solid var(--gp-border);
	padding-top: 10px;
}

.gp-map-popup-wa {
	background-color: var(--gp-wa-green);
	color: #fff !important;
	padding: 4px 8px;
	border-radius: var(--gp-radius-sm);
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.gp-map-popup-wa:hover {
	background-color: var(--gp-wa-green-hover);
}

.gp-map-popup-more {
	font-size: 11px;
	font-weight: 600;
	color: var(--gp-primary) !important;
	text-decoration: none;
}

.gp-map-popup-more:hover {
	text-decoration: underline;
}

/* Marcadores de Categorías (Pines CSS con Leaflet) */
.gp-custom-marker {
	width: 32px;
	height: 32px;
	border-radius: 50% 50% 50% 0;
	background: var(--gp-primary);
	position: absolute;
	transform: rotate(-45deg);
	left: 50%;
	top: 50%;
	margin: -16px 0 0 -16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0,0,0,0.25);
	border: 2px solid #fff;
	transition: all 0.2s ease;
}

.gp-custom-marker:after {
	content: '';
	width: 14px;
	height: 14px;
	background: #fff;
	position: absolute;
	border-radius: 50%;
}

/* Colores específicos de marcadores según slug de categoría */
.gp-marker-gastronomia { background-color: var(--gp-cat-gastronomia); }
.gp-marker-cultura { background-color: var(--gp-cat-cultura); }
.gp-marker-comercio { background-color: var(--gp-cat-comercio); }
.gp-marker-servicios { background-color: var(--gp-cat-servicios); }
.gp-marker-turismo { background-color: var(--gp-cat-turismo); }

/* Sin resultados */
.gp-no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 50px 20px;
	background: #f8fafc;
	border-radius: var(--gp-radius-md);
	border: 2px dashed var(--gp-border);
}

.gp-no-results-icon {
	font-size: 48px;
	color: var(--gp-text-light);
	margin-bottom: 15px;
}

.gp-no-results h3 {
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 6px 0;
}

.gp-no-results p {
	font-size: 14px;
	color: var(--gp-text-medium);
	margin: 0;
}

/* 7. ESTILOS DE LA PÁGINA INDIVIDUAL DEL LUGAR (SINGLE LAYOUT) */
.gp-single-place-wrapper {
	background-color: var(--gp-bg-site);
	min-height: 100vh;
	padding-bottom: 60px;
}

.gp-single-hero {
	background-size: cover;
	background-position: center;
	padding: 60px 0 80px 0;
	color: #fff;
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: flex-end;
}

.gp-single-hero:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.gp-hero-content {
	position: relative;
	z-index: 2;
	width: 100%;
}

.gp-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 20px;
	transition: color 0.15s ease;
}

.gp-back-btn:hover {
	color: #fff;
}

.gp-hero-badges {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.gp-hero-badge {
	padding: 4px 12px;
	border-radius: var(--gp-radius-lg);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.gp-badge-neigh {
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	backdrop-filter: blur(4px);
}

.gp-hero-title {
	font-family: 'Outfit', sans-serif;
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 10px 0;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.gp-hero-title {
		font-size: 42px;
	}
}

.gp-hero-address {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gp-hero-address span {
	font-size: 14px;
}

/* Estilos de cuerpo de Single */
.gp-single-body-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: -30px;
	position: relative;
	z-index: 10;
}

@media (min-width: 992px) {
	.gp-single-body-layout {
		grid-template-columns: 1.4fr 0.8fr;
	}
}

.gp-single-card {
	background: #fff;
	border: 1px solid var(--gp-border);
	border-radius: var(--gp-radius-md);
	padding: 24px;
	box-shadow: var(--gp-shadow-sm);
	margin-bottom: 20px;
}

.gp-single-card h2, .gp-single-card h3 {
	font-family: 'Outfit', sans-serif;
	margin-top: 0;
	margin-bottom: 16px;
	font-weight: 700;
	color: var(--gp-text-dark);
}

.gp-single-card h2 {
	font-size: 22px;
}

.gp-single-card h3 {
	font-size: 18px;
	border-bottom: 1px solid var(--gp-border);
	padding-bottom: 10px;
}

.gp-entry-content {
	line-height: 1.6;
	color: var(--gp-text-medium);
	font-size: 15px;
}

.gp-entry-content p {
	margin-bottom: 16px;
}

.gp-entry-content p:last-child {
	margin-bottom: 0;
}

/* Sidebar Widgets */
.gp-contact-links-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 20px;
}

.gp-contact-link-item {
	display: flex;
	gap: 12px;
	font-size: 14px;
}

.gp-c-icon {
	color: var(--gp-primary);
	font-size: 16px;
	margin-top: 4px;
	width: 16px;
	text-align: center;
}

.gp-contact-link-item div strong {
	display: block;
	color: var(--gp-text-dark);
	margin-bottom: 2px;
}

.gp-contact-link-item div p {
	margin: 0;
	color: var(--gp-text-medium);
}

.gp-contact-link-item div p a {
	color: var(--gp-primary);
	text-decoration: none;
}

.gp-contact-link-item div p a:hover {
	text-decoration: underline;
}

/* WhatsApp Single Button */
.gp-btn-wa-single {
	background-color: var(--gp-wa-green);
	color: #fff;
	width: 100%;
	font-weight: 700;
	box-shadow: var(--gp-shadow-sm);
}

.gp-btn-wa-single:hover {
	background-color: var(--gp-wa-green-hover);
	transform: translateY(-1px);
}

/* Horarios listado single */
.gp-hours-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gp-hours-list li {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	color: var(--gp-text-medium);
	padding-bottom: 8px;
	border-bottom: 1px dashed var(--gp-border);
}

.gp-hours-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.gp-hours-list li strong {
	color: var(--gp-text-dark);
}

/* Ajustes específicos para single-geoplace map card */
#gp-single-map {
	width: 100%;
	height: 300px;
	border-radius: var(--gp-radius-md);
	border: 1px solid var(--gp-border);
	box-shadow: var(--gp-shadow-sm);
}

.gp-w100 {
	width: 100%;
}

/* -------------------------------------------------------------
   7. ADAPTACIÓN PARA CELULARES Y DISPOSITIVOS MÓVILES (PREMIUM)
   ------------------------------------------------------------- */

/* Desplazamiento inercial táctil suave */
.gp-quick-links-scroll {
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
	/* Toggle de Vistas Flotante en la parte inferior central */
	.gp-mobile-view-toggle {
		position: fixed;
		bottom: 24px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 9999;
		display: flex;
		background: rgba(15, 23, 42, 0.9); /* Fondo oscuro elegante */
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		border-radius: 30px;
		padding: 4px;
		box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
		border: 1px solid rgba(255, 255, 255, 0.15);
		width: auto;
		margin: 0;
	}
	
	.gp-mobile-view-toggle .gp-toggle-btn {
		background: transparent;
		color: #94a3b8; /* Gris azulado claro */
		border: none;
		border-radius: 26px;
		padding: 0 18px;
		height: 38px;
		font-size: 13px;
		font-weight: 600;
		display: flex;
		align-items: center;
		gap: 6px;
		white-space: nowrap;
		transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	}
	
	.gp-mobile-view-toggle .gp-toggle-btn.active {
		background-color: #ffffff;
		color: #0f172a; /* Slate oscuro */
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
	}

	/* Ajustes de espaciado en grilla para celular */
	.gp-panel-list {
		padding: 12px;
	}
	.gp-listings-grid {
		gap: 12px;
	}
	.gp-place-card {
		border-radius: var(--gp-radius-sm);
	}
	.gp-card-media {
		height: 140px;
	}
	.gp-card-content {
		padding: 12px;
	}
	.gp-card-actions {
		padding: 10px 12px 12px 12px;
	}

	/* Cajón deslizable móvil (Bottom Sheet) */
	.gp-mobile-drawer {
		position: absolute;
		bottom: 16px;
		left: 12px;
		right: 12px;
		background: #ffffff;
		border-radius: var(--gp-radius-md);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
		z-index: 999;
		display: none;
		opacity: 0;
		transform: translateY(150%);
		transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
		border: 1px solid var(--gp-border);
		overflow: hidden;
	}
	
	.gp-mobile-drawer.active {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}
	
	.gp-drawer-content {
		position: relative;
		padding: 12px;
	}
	
	.gp-drawer-close {
		position: absolute;
		top: 6px;
		right: 6px;
		background: #f1f5f9;
		border: none;
		width: 26px;
		height: 26px;
		border-radius: 50%;
		font-size: 16px;
		line-height: 26px;
		font-weight: 700;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--gp-text-medium);
		z-index: 10;
		transition: background 0.2s ease;
	}
	
	.gp-drawer-close:hover {
		background: #e2e8f0;
	}
	
	.gp-drawer-flex {
		display: flex;
		gap: 12px;
		align-items: center;
	}
	
	.gp-drawer-img-wrap {
		width: 76px;
		height: 76px;
		border-radius: var(--gp-radius-sm);
		overflow: hidden;
		flex-shrink: 0;
		background-color: #f1f5f9;
		border: 1px solid var(--gp-border);
	}
	
	.gp-drawer-img-wrap img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	.gp-drawer-info {
		flex-grow: 1;
		min-width: 0; /* Necesario para truncado de texto */
	}
	
	.gp-drawer-title {
		font-family: 'Outfit', sans-serif;
		font-size: 14px;
		font-weight: 700;
		margin: 2px 0 4px 0;
		line-height: 1.25;
	}
	
	.gp-drawer-title a {
		color: var(--gp-text-dark);
		text-decoration: none;
	}
	
	.gp-drawer-address {
		font-size: 11px;
		color: var(--gp-text-medium);
		margin: 0 0 6px 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.gp-drawer-actions {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		margin-top: 4px;
	}
	
	.gp-drawer-wa-btn {
		background-color: var(--gp-wa-green);
		color: #ffffff;
		padding: 4px 8px;
		border-radius: 4px;
		font-size: 11px;
		font-weight: 600;
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		gap: 4px;
		transition: background-color 0.2s;
	}
	
	.gp-drawer-wa-btn:hover {
		background-color: var(--gp-wa-green-hover);
	}
	
	.gp-drawer-more {
		font-size: 11px;
		font-weight: 600;
		color: var(--gp-primary);
		text-decoration: none;
		display: inline-flex;
		align-items: center;
		gap: 2px;
	}
	
	.gp-drawer-more span {
		font-size: 9px;
	}
}
