.tb-dest-loop {
	display: grid;
	gap: 1.25rem;
	margin: 0 0 1.5rem;
}

.tb-dest-loop--cols-1 {
	grid-template-columns: 1fr;
}

.tb-dest-loop--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tb-dest-loop--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-dest-loop--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tb-dest-loop--cols-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tb-dest-loop--cols-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.tb-dest-loop--cols-3,
	.tb-dest-loop--cols-4,
	.tb-dest-loop--cols-5,
	.tb-dest-loop--cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.tb-dest-loop--cols-2,
	.tb-dest-loop--cols-3,
	.tb-dest-loop--cols-4,
	.tb-dest-loop--cols-5,
	.tb-dest-loop--cols-6 {
		grid-template-columns: 1fr;
	}
}

/* —— Layout overlay (grid tipo mockup) —— */
.tb-dest-loop--overlay .tb-dest-loop__item--overlay {
	margin: 0;
}

.tb-dest-loop__link--overlay {
	position: relative;
	display: flex;
	align-items: flex-end;
	width: 340px;
	max-width: 100%;
	height: 371px;
	margin: 0 auto;
	padding: 20px;
	text-decoration: none;
	color: #fff;
	border-radius: 20px;
	overflow: hidden;
	background-color: #b8b8b8;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: color 0.2s ease;
}

.tb-dest-loop__item--no-image .tb-dest-loop__link--overlay {
	background-image: linear-gradient(145deg, #6b7280 0%, #374151 100%) !important;
}

.tb-dest-loop__overlay {
	position: absolute;
	inset: 0;
	background-color: #1F2937D9;
	opacity: 0.29;
	pointer-events: none;
}

.tb-dest-loop__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.tb-dest-loop--overlay .tb-dest-loop__title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	color: inherit;
	transition: color 0.2s ease;
}

.tb-dest-loop__link--overlay:hover,
.tb-dest-loop__link--overlay:focus {
	color: #fff;
}

.tb-dest-loop__link--overlay:hover .tb-dest-loop__title,
.tb-dest-loop__link--overlay:focus .tb-dest-loop__title {
	color: #fff;
}

.tb-dest-loop__btn {
	display: inline-block;
	padding: 5px 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: #1d2327;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.tb-dest-loop__link--overlay:hover .tb-dest-loop__btn,
.tb-dest-loop__link--overlay:focus .tb-dest-loop__btn {
	background: #fff;
}

/* —— Estilo compacto (home, página de destinos) —— */
.tb-dest-loop--compact,
.tb-dest-loop--popular {
	gap: 12px;
}

.tb-dest-loop--compact .tb-dest-loop__link--overlay,
.tb-dest-loop--popular .tb-dest-loop__link--overlay {
	width: 100%;
	height: 180px;
	min-height: 180px;
	padding: 0;
	align-items: flex-end;
	justify-content: center;
	border-radius: 8px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.tb-dest-loop--compact .tb-dest-loop__overlay,
.tb-dest-loop--popular .tb-dest-loop__overlay {
	top: auto;
	right: 0;
	bottom: 0;
	left: 0;
	height: 22%;
	background-color: #1F2937;
	opacity: 0.78;
}

.tb-dest-loop--compact .tb-dest-loop__content,
.tb-dest-loop--popular .tb-dest-loop__content {
	position: relative;
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 22%;
	min-height: 22%;
	padding: 0 12px;
	gap: 0;
	text-align: center;
}

.tb-dest-loop--compact .tb-dest-loop__title,
.tb-dest-loop--popular .tb-dest-loop__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.tb-dest-loop--compact .tb-dest-loop__btn,
.tb-dest-loop--popular .tb-dest-loop__btn {
	display: none;
}

/* —— Layout cards (clásico) —— */
.tb-dest-loop__item--cards {
	margin: 0;
}

.tb-dest-loop__item--cards .tb-dest-loop__link {
	display: block;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tb-dest-loop__item--cards .tb-dest-loop__link:hover,
.tb-dest-loop__item--cards .tb-dest-loop__link:focus {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.tb-dest-loop__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f0f0f1;
}

.tb-dest-loop__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tb-dest-loop__body {
	padding: 1rem 1.1rem 1.15rem;
}

.tb-dest-loop__item--cards .tb-dest-loop__title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	line-height: 1.3;
	color: #1d2327;
}

.tb-dest-loop__location {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: #646970;
}

.tb-dest-loop__count {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1d2327;
}

.tb-dest-loop__empty {
	margin: 0;
	color: #646970;
}

.tb-dest-loop-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 28px 0 0;
}

.tb-dest-loop-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	color: #1f2937;
	text-decoration: none;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.tb-dest-loop-pagination .page-numbers.current,
.tb-dest-loop-pagination .page-numbers:hover,
.tb-dest-loop-pagination .page-numbers:focus {
	color: #fff;
	background: #1f2937;
	border-color: #1f2937;
}

.tb-dest-loop-pagination .page-numbers.dots {
	color: #6b7280;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
}
