@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Main Wrapper Styling */
.rio360-container {
	font-family: 'Outfit', sans-serif;
	color: var(--rio360-text, #E4E6EB);
	margin: 20px auto;
	max-width: 1200px;
	width: 100%;
	box-sizing: border-box;
}

.rio360-container *, .rio360-container *::before, .rio360-container *::after {
	box-sizing: border-box;
}

/* Glassmorphism base layout */
.rio360-glass-panel {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.4);
	padding: 24px;
	margin-bottom: 24px;
	transition: var(--rio360-transition);
}

.rio360-glass-panel:hover {
	border-color: rgba(255, 255, 255, 0.15);
	box-shadow: 0 12px 50px 0 rgba(0, 0, 0, 0.5);
	transform: translateY(-2px);
}

/*
 * El panel sin sombra, para los bloques que se pegan dentro de una
 * sección de color: ahí la sombra no levanta nada, solo ensucia el
 * borde. Tampoco se levanta al pasar el ratón, que en un bloque que no
 * se puede pulsar es movimiento sin motivo.
 */
.rio360-glass-panel--sin-sombra,
.rio360-glass-panel--sin-sombra:hover {
	box-shadow: none;
	transform: none;
}

/* 1. Hero Block */
.rio360-hero-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: #0d0e15;
	box-shadow: 0 15px 45px rgba(0,0,0,0.5);
}

.rio360-hero-cover {
	height: 380px;
	width: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
}

.rio360-hero-cover::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 60%;
	background: linear-gradient(to top, rgba(13,14,21,1) 0%, rgba(13,14,21,0) 100%);
}

.rio360-hero-content {
	position: relative;
	margin-top: -100px;
	padding: 0 40px 40px 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rio360-hero-identity {
	display: flex;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.rio360-hero-logo {
	width: 140px;
	height: 140px;
	border-radius: 24px;
	border: 4px solid #161722;
	background: #161722;
	box-shadow: 0 8px 30px rgba(0,0,0,0.3);
	object-fit: cover;
	z-index: 2;
}

.rio360-hero-main-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 2;
}

.rio360-hero-title-area {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rio360-hero-title-area h1 {
	font-size: 36px;
	font-weight: 700;
	margin: 0;
	color: #FFFFFF;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.rio360-verified-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--rio360-primary);
	width: 28px;
	height: 28px;
	animation: pulse-glow 2s infinite;
}

.rio360-verified-badge svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.rio360-hero-meta-row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.rio360-price-badge {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.1);
	padding: 4px 12px;
	border-radius: 12px;
	font-weight: 600;
	color: var(--rio360-primary);
	font-size: 14px;
}

.rio360-hero-actions {
	display: flex;
	gap: 12px;
	align-self: flex-start;
	z-index: 2;
}

/* Buttons System */
.rio360-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	border: 1px solid rgba(255,255,255,0.08);
	background: rgba(255,255,255,0.04);
	color: #FFFFFF;
	transition: var(--rio360-transition);
	backdrop-filter: blur(8px);
}

.rio360-btn:hover {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.2);
	transform: translateY(-2px);
}

.rio360-btn-primary {
	background: linear-gradient(135deg, var(--rio360-primary) 0%, var(--rio360-secondary) 100%);
	border: none;
	color: #FFFFFF;
	box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.rio360-btn-primary:hover {
	box-shadow: 0 6px 25px rgba(0, 240, 255, 0.4);
	transform: translateY(-2px);
	filter: brightness(1.1);
}

/* 2. Favorites Pulse Button */
.rio360-fav-btn {
	min-width: 60px;
	justify-content: center;
}

.rio360-fav-btn svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #FFFFFF;
	stroke-width: 2;
	transition: var(--rio360-transition);
}

.rio360-fav-btn.is-active svg {
	fill: #FF3366;
	stroke: #FF3366;
	animation: heartBeat 0.5s ease-in-out;
}

.rio360-fav-count {
	font-size: 14px;
	opacity: 0.8;
}

/* 3. Opening Hours Status Details */
.rio360-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	border-radius: 30px;
	font-weight: 600;
	font-size: 14px;
}

.rio360-status-badge.status-open {
	background: rgba(76, 175, 80, 0.12);
	border: 1px solid rgba(76, 175, 80, 0.3);
	color: #4CAF50;
}

.rio360-status-badge.status-open-24h {
	background: rgba(0, 240, 255, 0.1);
	border: 1px solid rgba(0, 240, 255, 0.3);
	color: var(--rio360-primary);
}

.rio360-status-badge.status-closing-soon {
	background: rgba(255, 152, 0, 0.12);
	border: 1px solid rgba(255, 152, 0, 0.3);
	color: #FF9800;
}

.rio360-status-badge.status-closed {
	background: rgba(244, 67, 54, 0.1);
	border: 1px solid rgba(244, 67, 54, 0.3);
	color: #F44336;
}

.rio360-status-badge .status-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	position: relative;
}

.rio360-status-badge.status-open .status-pulse,
.rio360-status-badge.status-open-24h .status-pulse {
	animation: pulse-glow-green 1.5s infinite;
}

/* 4. Share Dialog Card */
.rio360-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(13, 14, 21, 0.85);
	backdrop-filter: blur(8px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.rio360-modal-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.rio360-share-modal {
	background: #161722;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 24px;
	width: 90%;
	max-width: 460px;
	padding: 30px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
	transform: scale(0.9);
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.rio360-modal-overlay.is-open .rio360-share-modal {
	transform: scale(1);
}

.rio360-modal-close {
	position: absolute;
	right: 20px;
	top: 20px;
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	opacity: 0.6;
	transition: 0.2s;
}

.rio360-modal-close:hover {
	opacity: 1;
}

.rio360-share-modal__title {
	color: #fff;
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

.rio360-share-modal__subtitle {
	color: #a6accd;
	text-align: center;
	font-size: 14px;
	margin: 0 0 20px;
}

.rio360-qr-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px 0;
	background: #FFFFFF;
	padding: 16px;
	border-radius: 16px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.rio360-qr-container svg,
.rio360-qr-img {
	width: 180px;
	height: 180px;
	display: block;
}

.rio360-share-channels {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin: 24px 0;
	flex-wrap: wrap;
}

.rio360-share-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	transition: var(--rio360-transition);
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
}

.rio360-share-icon:hover {
	transform: translateY(-3px);
	filter: brightness(1.2);
}

.rio360-share-icon.whatsapp:hover { background: #25D366; }
.rio360-share-icon.facebook:hover { background: #1877F2; }
.rio360-share-icon.telegram:hover { background: #0088cc; }
.rio360-share-icon.twitter:hover { background: #1DA1F2; }

.rio360-copy-link-box {
	display: flex;
	gap: 8px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 6px;
}

.rio360-copy-link-box input {
	background: none;
	border: none;
	color: #fff;
	flex: 1;
	padding: 8px;
	font-size: 14px;
	outline: none;
}

.rio360-copy-link-box button {
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 600;
	background: var(--rio360-primary);
	border: none;
	color: #000;
	cursor: pointer;
	transition: 0.2s;
}

.rio360-copy-link-box button:hover {
	filter: brightness(1.1);
}

.rio360-copy-link-btn.is-copied {
	background: #4CAF50;
	color: #fff;
}

/* 5. Site Reviews Star Components */
.rio360-rating-aggregate {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #FFC107;
	font-weight: 700;
	font-size: 18px;
}

.rio360-stars-row {
	display: flex;
	gap: 4px;
}

.rio360-star-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.rio360-star-icon.empty {
	color: rgba(255,255,255,0.15);
}

/* 6. Gallery Section */
.rio360-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.rio360-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	aspect-ratio: 4/3;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.rio360-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.rio360-gallery-item:hover img {
	transform: scale(1.08);
}

.rio360-gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(13,14,21,0.8) 0%, rgba(13,14,21,0) 100%);
	opacity: 0;
	transition: 0.3s ease;
	display: flex;
	align-items: flex-end;
	padding: 20px;
}

.rio360-gallery-item:hover .rio360-gallery-overlay {
	opacity: 1;
}

.rio360-gallery-overlay .rio360-icon {
	color: #fff;
}

/* Máximo 9 imágenes visibles en escritorio */
.rio360-gallery-item:nth-child(n+10) {
	display: none;
}

/* Máximo 6 imágenes visibles en tablet/móvil (<1000px) */
@media (max-width: 999px) {
	.rio360-gallery-item:nth-child(n+7) {
		display: none;
	}
}

.rio360-gallery-more {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(13, 14, 21, 0.72);
	backdrop-filter: blur(3px);
	color: #fff;
	font-size: 28px;
	font-weight: 700;
}

.rio360-gallery-more--desktop {
	display: flex;
}

@media (max-width: 999px) {
	.rio360-gallery-more--desktop {
		display: none;
	}

	.rio360-gallery-more--mobile {
		display: flex;
	}
}

/* ------------------------------------------------------------------ */
/* Galería en el celular: una fila que se desliza                      */
/* ------------------------------------------------------------------ */

/*
 * En pantalla chica la rejilla se convierte en un carrusel de dos fotos
 * por pantalla. Apiladas de a una ocupaban pantallas enteras y había
 * que bajar mucho para pasar de largo la galería; así se ven dos, se
 * entiende que hay más, y se recorren deslizando.
 *
 * Y como ya no cuesta espacio mostrarlas todas, se quita el recorte a
 * seis: el "+N" pierde sentido cuando se puede seguir deslizando.
 */
@media (max-width: 767px) {

	.rio360-gallery-grid {
		grid-auto-flow: column;
		grid-auto-columns: calc( ( 100% - 12px ) / 2 );
		grid-template-columns: none;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;

		/* El dedo ya indica que se desliza; la barra estorba. */
		scrollbar-width: none;
		-ms-overflow-style: none;

		/* Sitio para que la última foto no quede pegada al borde. */
		padding-bottom: 4px;
	}

	.rio360-gallery-grid::-webkit-scrollbar {
		display: none;
	}

	.rio360-gallery-item {
		scroll-snap-align: start;
		aspect-ratio: 1 / 1;
	}

	/* Se muestran todas: para eso se desliza. */
	.rio360-gallery-item:nth-child(n+7) {
		display: block;
	}

	.rio360-gallery-more--mobile {
		display: none;
	}
}

/* 7. Business Info Row Grid */
.rio360-info-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.rio360-info-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.rio360-info-icon-wrapper {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	color: var(--rio360-primary);
}

.rio360-info-icon-wrapper svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.rio360-info-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rio360-info-content span.label {
	font-size: 13px;
	opacity: 0.5;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rio360-info-content span.val {
	font-weight: 500;
	font-size: 15px;
}

.rio360-info-content a {
	color: var(--rio360-primary);
	text-decoration: none;
}

.rio360-info-content a:hover {
	text-decoration: underline;
}

/* Stats module (rio360_stat / rio360_stat_card) */

.rio360-stat-number {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.rio360-stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	padding: 20px 24px;
}

.rio360-stat-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	color: var(--rio360-primary, #00F0FF);
	flex-shrink: 0;
}

.rio360-stat-card__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rio360-stat-card__value {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.rio360-stat-card__label {
	font-size: 13px;
	color: #a6accd;
}

/* Social Links module */
.rio360-social-links__title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.rio360-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rio360-social-links__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: var(--rio360-transition);
}

.rio360-social-links__item:hover {
	background: var(--rio360-primary);
	color: #000;
	border-color: var(--rio360-primary);
}

.rio360-social-links__item--whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.rio360-social-links__item--facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.rio360-social-links__item--instagram:hover { background: #E1306C; color: #fff; border-color: #E1306C; }
.rio360-social-links__item--youtube:hover { background: #FF0000; color: #fff; border-color: #FF0000; }
.rio360-social-links__item--linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.rio360-social-links__item--x:hover { background: #000; color: #fff; border-color: #000; }

/* 8. Mapa del negocio */

/*
 * Sin sombra por fuera.
 *
 * La sombra se pensó para un bloque suelto sobre fondo claro. En las
 * páginas de negocio este mapa va dentro de una sección de color, y ahí
 * la sombra se ve como una mancha alrededor de la tarjeta en vez de
 * levantarla. El borde y las esquinas redondas ya la separan del fondo.
 */
.rio360-map-wrapper {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #161722;
}

.rio360-map-iframe {
	width: 100%;
	border: 0;
	display: block;
}

/*
 * El lienzo de Leaflet. El alto lo pone el shortcode; aquí solo se
 * asegura que ocupe el ancho y quede por debajo de lo que flote en la
 * página —el menú, la columna del pedido—, porque Leaflet le pone
 * z-index a sus propias capas.
 */
.rio360-map-single__canvas {
	width: 100%;
	display: block;
	background: #161722;
	z-index: 0;
}

.rio360-map-single__canvas .leaflet-pane,
.rio360-map-single__canvas .leaflet-control {
	z-index: auto;
}

.rio360-map-actions {
	padding: 16px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	background: rgba(255,255,255,0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rio360-map-actions a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	color: #FFFFFF;
	padding: 8px 16px;
	border-radius: 8px;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	transition: var(--rio360-transition);
}

.rio360-map-actions a .rio360-icon {
	flex-shrink: 0;
}

.rio360-map-actions a:hover {
	background: var(--rio360-primary);
	color: #000;
	border-color: var(--rio360-primary);
}

/* Animation Keyframes */
@keyframes pulse-glow {
	0% { filter: drop-shadow(0 0 2px rgba(0,240,255,0.4)); }
	50% { filter: drop-shadow(0 0 10px rgba(0,240,255,0.8)); }
	100% { filter: drop-shadow(0 0 2px rgba(0,240,255,0.4)); }
}

@keyframes pulse-glow-green {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes heartBeat {
	0% { transform: scale(1); }
	14% { transform: scale(1.3); }
	28% { transform: scale(1); }
	42% { transform: scale(1.3); }
	70% { transform: scale(1); }
}

/* ------------------------------------------------------------------
 * Botones de icono (favorito, compartir)
 * Cuadrados estilo glass, personalizables con
 * variables --rio360-* desde el shortcode.
 * ---------------------------------------------------------------- */

.rio360-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--rio360-width, 52px);
	height: var(--rio360-height, 52px);
	padding: var(--rio360-padding, 0);
	margin: var(--rio360-margin, 0);
	background:  rgba(255, 255, 255, 0.2);
	border: var(--rio360-border, 1px solid rgba(255, 255, 255, 0.22));
	border-radius: var(--rio360-radius, 14px);
	color: var(--rio360-color, #fff);
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: var(--rio360-transition, all 0.2s ease);
	box-shadow: var(--rio360-shadow, none);
}

.rio360-icon-btn:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: translateY(-1px);
}

.rio360-icon-btn__icon {
	display: inline-flex;
	line-height: 0;
}

.rio360-favorite-button.is-active {
	color: #ff4d6d;
	border-color: rgba(255, 77, 109, 0.5);
}

.rio360-favorite-button.is-active svg {
	fill: currentColor;
}

.rio360-favorite-button.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

.rio360-icon-btn .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Responsive Overrides */
@media (max-width: 768px) {
	.rio360-hero-content {
		padding: 0 20px 30px 20px;
		margin-top: -60px;
	}
	.rio360-hero-identity {
		align-items: center;
		flex-direction: column;
		text-align: center;
	}
	.rio360-hero-logo {
		width: 110px;
		height: 110px;
	}
	.rio360-hero-title-area {
		justify-content: center;
	}
	.rio360-hero-meta-row {
		justify-content: center;
	}
	.rio360-hero-actions {
		align-self: center;
		width: 100%;
		justify-content: center;
	}
}

/* ------------------------------------------------------------------
 * Visor de galería (lightbox) con navegación anterior/siguiente.
 * Se inyecta en <body> al abrir una imagen (ver rio360-frontend.js).
 * ---------------------------------------------------------------- */

.rio360-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(13, 14, 21, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.rio360-lightbox.is-open {
	opacity: 1;
	pointer-events: auto;
}

.rio360-lightbox__stage {
	max-width: 90vw;
	max-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rio360-lightbox__stage img {
	display: block;
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.rio360-lightbox__close,
.rio360-lightbox__nav {
	position: absolute;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--rio360-transition);
}

.rio360-lightbox__close:hover,
.rio360-lightbox__nav:hover {
	background: var(--rio360-primary);
	color: #000;
	border-color: var(--rio360-primary);
}

.rio360-lightbox__close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	font-size: 22px;
}

.rio360-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
}

.rio360-lightbox__prev {
	left: 20px;
}

.rio360-lightbox__next {
	right: 20px;
}

.rio360-lightbox__counter {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.08);
	padding: 6px 16px;
	border-radius: 999px;
}

@media (max-width: 600px) {
	.rio360-lightbox__nav {
		width: 38px;
		height: 38px;
	}

	.rio360-lightbox__prev {
		left: 8px;
	}

	.rio360-lightbox__next {
		right: 8px;
	}

	.rio360-lightbox__close {
		top: 8px;
		right: 8px;
	}
}

/* ------------------------------------------------------------------ */
/* Estrellas de calificación                                           */
/* ------------------------------------------------------------------ */

/*
 * Antes se dibujaban con dashicons, la fuente del escritorio de
 * WordPress, que no se carga en el sitio público: quedaba el número
 * solo, sin estrellas. Ahora es el carácter ★, que pinta el sistema.
 */
.rio360-star {
	color: #ffc637;
	font-size: 18px;
	line-height: 1;
}

.rio360-star--empty {
	color: rgba( 255, 255, 255, 0.28 );
}

/*
 * Media estrella: la misma estrella recortada por la mitad, con la
 * otra mitad apagada detrás. Se ve mejor que redondear hacia arriba,
 * que a un negocio con 4.5 le regalaría media estrella.
 */
.rio360-star--half {
	background: linear-gradient(
		90deg,
		#ffc637 0 50%,
		rgba( 255, 255, 255, 0.28 ) 50% 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ------------------------------------------------------------------ */
/* Índice de negocios                                                  */
/* ------------------------------------------------------------------ */

/*
 * Con su propia hoja debajo.
 *
 * El shortcode cae dentro de una página del constructor, que trae el
 * dibujo del pueblo de fondo: sin contenedor, la lista quedaba escrita
 * encima de las montañas y no se leía. La tarjeta la despega del fondo
 * sea cual sea la página donde se ponga.
 */
.rio360-indice {
	background: #fffdf8;
	border: 1px solid rgba( 22, 19, 15, 0.1 );
	border-radius: 20px;
	box-shadow: 0 12px 30px -18px rgba( 22, 19, 15, 0.5 );
	box-sizing: border-box;
	color: #16130f;
	margin: 0 auto;
	max-width: 900px;
	padding: 28px 30px 34px;
}

.rio360-indice__intro {
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 0 0 6px;
	opacity: 0.75;
}

.rio360-indice__grupo {
	border-bottom: 2px solid rgba( 22, 19, 15, 0.1 );
	color: #16130f;
	font-size: 1.0625rem;
	margin: 18px 0 2px;
	padding-bottom: 5px;
}

.rio360-indice__grupo em {
	font-size: 0.8125rem;
	font-style: normal;
	font-weight: 400;
	opacity: 0.55;
}

.rio360-indice__lista {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

/* El tema pinta viñetas en las listas del contenido; aquí sobran. */
.rio360-indice__lista .rio360-indice__uno {
	list-style: none;
}

.rio360-indice__uno {
	border-bottom: 1px solid rgba( 22, 19, 15, 0.08 );
	padding: 10px 0;
}

.rio360-indice__uno:last-child {
	border-bottom: 0;
}

/*
 * Los nombres, con su color escrito: en una página oscura el tema los
 * pintaría claros sobre la tarjeta clara, que es el tropiezo de
 * siempre.
 */
.rio360-indice .rio360-indice__nombre {
	color: #16130f;
	font-weight: 700;
	text-decoration: none;
}

.rio360-indice a.rio360-indice__nombre:hover {
	text-decoration: underline;
}

.rio360-indice__datos {
	display: block;
	font-size: 0.875rem;
	margin-top: 2px;
	opacity: 0.7;
}

/*
 * Los bloques en rejilla, no el texto en columnas: así ninguna
 * categoría se parte por la mitad.
 */
/*
 * En columnas de texto y no en rejilla: la rejilla alinea las filas al
 * bloque más alto y dejaba un dedo de aire debajo de las categorías
 * cortas. Así se apilan pegados, y `break-inside` impide que una
 * categoría se parta entre columnas.
 */
@media ( min-width: 860px ) {

	.rio360-indice__grupos {
		column-gap: 34px;
		columns: 2;
	}
}

.rio360-indice__bloque {
	break-inside: avoid;
	display: inline-block;
	margin-bottom: 6px;
	width: 100%;
}

@media ( max-width: 600px ) {

	.rio360-indice {
		border-radius: 16px;
		padding: 20px 18px 26px;
	}
}
