/* Busca de Hotéis Booking 2.0 */
.bhs {
	--bhs-blue: #0071c2;
	--bhs-blue-dark: #00487a;
	--bhs-yellow: #febb02;
	--bhs-border: #d7dde5;
	--bhs-text: #1f2933;
	--bhs-muted: #5b6776;
	color: var(--bhs-text);
	background: #fff;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 18px 48px rgba(3, 20, 45, .22);
}
.bhs--compact {
	box-shadow: none;
	border: 1px solid var(--bhs-border);
	background: #f7fafd;
}
.bhs__title { font-weight: 800; font-size: 1.15rem; line-height: 1.3; margin: 0 0 12px; }

.bhs__form {
	display: grid;
	grid-template-columns: minmax(200px, 2.2fr) repeat(2, minmax(130px, 1fr)) repeat(2, minmax(78px, .6fr)) auto;
	gap: 10px;
	align-items: end;
	margin: 0;
}
.bhs__field { display: flex; flex-direction: column; min-width: 0; }
.bhs__field label { font-size: .78rem; font-weight: 700; color: var(--bhs-muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .03em; }
.bhs__field input,
.bhs__field select {
	width: 100%;
	height: 48px;
	box-sizing: border-box;
	padding: 0 12px;
	margin: 0;
	border: 2px solid var(--bhs-border);
	border-radius: 10px;
	background: #fff;
	color: var(--bhs-text);
	font: inherit;
	font-size: 16px; /* no zoom on iOS */
}
.bhs__field input:focus,
.bhs__field select:focus { outline: none; border-color: var(--bhs-blue); box-shadow: 0 0 0 3px rgba(0, 113, 194, .18); }
.bhs__btn {
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: var(--bhs-blue);
	color: #fff;
	font: inherit;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s;
}
.bhs__btn:hover { background: var(--bhs-blue-dark); }
.bhs__btn:disabled { opacity: .7; cursor: progress; }

@media (max-width: 900px) {
	.bhs__form { grid-template-columns: 1fr 1fr; }
	.bhs__field--dest,
	.bhs__btn { grid-column: 1 / -1; }
}

.bhs__status { font-size: .92rem; color: var(--bhs-muted); margin: 12px 2px 0; min-height: 1px; }
.bhs__status:empty { margin: 0; }
.bhs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
.bhs__note { font-size: .75rem; color: var(--bhs-muted); margin: 10px 2px 0; }
.bhs__all,
a.bhs__all {
	display: block;
	margin: 14px auto 0;
	max-width: 520px;
	padding: 13px 18px;
	border-radius: 10px;
	background: var(--bhs-yellow);
	color: #1a1a1a !important;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
}
.bhs__all:hover { filter: brightness(.95); }

/* Result card */
.bhs-card,
a.bhs-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--bhs-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	color: var(--bhs-text) !important;
	text-decoration: none !important;
	transition: box-shadow .2s, transform .2s;
}
a.bhs-card:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .14); transform: translateY(-2px); }
.bhs-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: #e8eef5; }
.bhs-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhs-card__score { position: absolute; top: 10px; right: 10px; padding: 4px 8px; border-radius: 8px 8px 8px 0; background: #003580; color: #fff; font-weight: 800; font-size: .9rem; }
.bhs-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.bhs-card__name { font-weight: 800; font-size: 1rem; line-height: 1.3; }
.bhs-card__stars { color: #f5a623; font-size: .85rem; letter-spacing: 1px; }
.bhs-card__reviews { font-size: .82rem; color: var(--bhs-muted); }
.bhs-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }
.bhs-card__price { display: flex; flex-direction: column; }
.bhs-card__price strong { font-size: 1.15rem; }
.bhs-card__price small { font-size: .72rem; color: var(--bhs-muted); }
.bhs-card__cta { flex: 0 0 auto; padding: 8px 12px; border-radius: 8px; background: var(--bhs-blue); color: #fff; font-weight: 700; font-size: .85rem; }

/* Loading skeleton */
.bhs-card--skeleton { min-height: 280px; border: 0; background: linear-gradient(90deg, #eef2f7 25%, #f7f9fc 50%, #eef2f7 75%); background-size: 200% 100%; animation: bhs-shimmer 1.2s infinite; }
.bhs.is-loading .bhs__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 14px; }
@keyframes bhs-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bhs-card--skeleton { animation: none; } a.bhs-card:hover { transform: none; } }
