/* ==========================================================================
   BonziVan Vehicle page (home v2 language)
   Title, rating, city and host on top; an Airbnb-style gallery (one large
   photo and up to four more, no holes) or a paper sheet with the type; the
   vehicle on the left and the booking column sticky on the right; then the
   pickup map, the reviews and the host. Surfaces separate by a tone step
   (paper / paper-2), never a line; shadows only on what floats.
   ========================================================================== */

.bv-vehicle-detail {
	padding: var(--space-lg) 0 var(--space-3xl);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.bv-vhead {
	margin-bottom: var(--space-lg);
}

/* The display step's floor: a vehicle name is a title, not a poster line. */
.bv-vhead__title {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: var(--tracking-display);
	line-height: var(--leading-display);
	text-wrap: balance;
}

.bv-vhead__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-lg);
	margin: 0;
	font-size: var(--text-base);
	color: var(--ink);
}

.bv-vhead__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.bv-vhead__meta a {
	color: var(--ink);
	font-weight: var(--font-semibold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bv-vhead__meta a:hover {
	color: var(--accent-ink);
}

/* --------------------------------------------------------------------------
   Gallery: one large photo + up to four, rounded outer corners, no holes
   -------------------------------------------------------------------------- */
.bv-vehicle-gallery {
	position: relative;
	margin-bottom: var(--space-2xl);
}

.bv-vehicle-gallery__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: var(--space-sm);
	height: clamp(320px, 36vw, 520px);
	overflow: hidden;
	border-radius: var(--radius-card);
}

.bv-vehicle-gallery__grid > button {
	display: block;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 0;
	background: var(--paper-2);
	line-height: 0;
	cursor: zoom-in;
}

.bv-vehicle-gallery__grid > button:hover {
	background: var(--paper-2);
}

/* The grid clips its corners: the focus ring goes inside the tile. */
.bv-vehicle-gallery__grid > button:focus-visible {
	outline: 3px solid var(--paper);
	outline-offset: -6px;
}

.bv-vehicle-gallery__hero {
	grid-row: 1 / -1;
	grid-column: 1;
}

.bv-vehicle-gallery__grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.bv-vehicle-gallery__grid img {
		transition: scale var(--transition-slow);
	}

	.bv-vehicle-gallery__grid > button:hover img {
		scale: 1.03;
	}
}

/* 1 photo: the whole frame. */
.bv-vehicle-gallery--count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

/* 2 photos: two halves. */
.bv-vehicle-gallery--count-2 {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
}

/* 3 photos: the large one and two stacked. */
.bv-vehicle-gallery--count-3 {
	grid-template-columns: 2fr 1fr;
}

/* 4 photos: the large one, one wide on top, two below. */
.bv-vehicle-gallery--count-4 > :nth-child(2) {
	grid-column: 2 / 4;
}

.bv-vehicle-gallery__all {
	position: absolute;
	right: var(--space-md);
	bottom: var(--space-md);
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	min-height: 44px;
	padding: 0 var(--space-md);
	border: 0;
	border-radius: var(--radius-full);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	line-height: 1;
	cursor: pointer;
}

.bv-vehicle-gallery__all:hover {
	background: var(--paper-2);
}

/* No real photo yet: a paper sheet with the type (same idea as the card). */
.bv-vehicle-sheet {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: var(--space-xs);
	min-height: clamp(180px, 15vw, 220px);
	margin-bottom: var(--space-2xl);
	padding: clamp(24px, 3vw, 40px);
	background: var(--paper-2);
	border-radius: var(--radius-card);
}

.bv-vehicle-sheet .bv-icon {
	margin-bottom: auto;
	color: var(--ink-soft);
}

.bv-vehicle-sheet__type {
	margin: 0;
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
	letter-spacing: var(--tracking-display);
	line-height: 1.2;
	color: var(--ink);
}

.bv-vehicle-sheet__note {
	margin: 0;
	font-size: var(--text-base);
	color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Two columns: the vehicle · the booking column
   -------------------------------------------------------------------------- */
.bv-vehicle-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: clamp(48px, 6vw, 96px);
	align-items: start;
}

.bv-vehicle-info__section {
	margin-bottom: var(--space-2xl);
}

.bv-vehicle-info__section:last-child {
	margin-bottom: 0;
}

.bv-vehicle-info__section-title {
	margin: 0 0 var(--space-md);
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
	letter-spacing: var(--tracking-display);
	line-height: 1.2;
}

/* Overview: type and city, the facts, the make and year */
.bv-voverview__title {
	margin: 0 0 var(--space-xs);
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
	letter-spacing: var(--tracking-display);
	line-height: 1.2;
}

.bv-voverview__facts {
	margin: 0;
	font-size: var(--step-body);
	line-height: var(--leading-body);
	color: var(--ink);
}

.bv-voverview__model {
	margin: var(--space-xs) 0 0;
	font-size: var(--text-base);
	color: var(--ink-soft);
}

/* Description */
.bv-vehicle-info__description,
.bv-vehicle-info__description p {
	font-size: var(--step-body);
	line-height: var(--leading-body);
	color: var(--ink);
}

/* "Ver más" opens it to its real height (interpolate-size), on the
   open/close curve; without it the text just opens. */
.bv-vehicle-info__description {
	position: relative;
	max-width: var(--measure);
	max-height: 168px;
	overflow: hidden;
	interpolate-size: allow-keywords;
	transition: max-height var(--dur-base) var(--ease-in-out-soft);
}

.bv-vehicle-info__description > :first-child {
	margin-top: 0;
}

.bv-vehicle-info__description--expanded {
	max-height: 2000px;
	max-height: max-content;
}

@media (prefers-reduced-motion: reduce) {
	.bv-vehicle-info__description {
		transition: none;
	}
}

.bv-vehicle-info__desc-toggle,
.bv-vehicle-info__desc-toggle:hover {
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.bv-vehicle-info__desc-toggle:hover {
	color: var(--accent-ink);
}

/* Comodidades: icon + name, two columns */
.bv-equipamiento-public-group {
	margin-bottom: var(--space-lg);
}

.bv-equipamiento-public-group:last-child {
	margin-bottom: 0;
}

.bv-equipamiento-public-group__title {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	letter-spacing: 0;
	color: var(--ink);
}

.bv-amenity-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-sm) var(--space-xl);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bv-amenity-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 40px;
	font-size: var(--step-body);
	color: var(--ink);
}

.bv-amenity-list .bv-icon {
	flex-shrink: 0;
	color: var(--ink);
}

/* Details: label / value rows on one paper-2 panel. Rules and hours: the
   same rows on the page ground, so the panels do not stack up. */
.bv-vehicle-specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: var(--space-2xl);
	margin: 0;
	padding: var(--space-sm) var(--space-lg);
	background: var(--paper-2);
	border-radius: var(--radius-card);
}

.bv-vehicle-rules {
	margin: 0;
	padding: 0;
}

.bv-vehicle-spec,
.bv-vehicle-rule {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: baseline;
	gap: var(--space-md);
	padding: 0.75rem 0;
}

.bv-vehicle-rule {
	grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
	padding: 0.5rem 0;
}

.bv-vehicle-spec__label,
.bv-vehicle-rule__title {
	margin: 0;
	font-size: var(--text-base);
	font-weight: var(--font-normal);
	color: var(--ink-soft);
}

.bv-vehicle-spec__value,
.bv-vehicle-rule__value {
	margin: 0;
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	line-height: 1.45;
	color: var(--ink);
}

.bv-vehicle-spec__value {
	text-align: right;
}

.bv-vehicle-spec__value small,
.bv-vehicle-rule__value small {
	display: block;
	margin-top: 2px;
	font-size: var(--text-base);
	font-weight: var(--font-normal);
	color: var(--ink-soft);
}

/* Long values (hour bands, deposit): label over value. */
.bv-vehicle-rules--stacked .bv-vehicle-rule {
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	padding: 0.75rem 0;
}

.bv-vehicle-rules--stacked .bv-vehicle-rule__value {
	max-width: var(--measure);
}

/* Tu reserva está protegida: the full text, readable */
.bv-vprotect {
	display: grid;
	gap: var(--space-lg);
	margin: 0;
	padding: var(--space-lg);
	list-style: none;
	background: var(--paper-2);
	border-radius: var(--radius-card);
}

.bv-vprotect li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.bv-vprotect .bv-icon {
	margin-top: 2px;
	color: var(--color-success);
}

.bv-vprotect strong {
	display: block;
	font-size: var(--step-body);
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-vprotect p {
	max-width: var(--measure);
	margin: 2px 0 0;
	font-size: var(--text-base);
	line-height: var(--leading-body);
	color: var(--ink);
}

/* --------------------------------------------------------------------------
   Booking column — sticks under the 64px bar. When the JS hides the bar on
   scroll-down, --bv-sidebar-top drops so the column moves into the space.
   -------------------------------------------------------------------------- */
.bv-booking-card {
	position: sticky;
	top: var(--bv-sidebar-top, 88px);
	padding: var(--space-lg);
	background: var(--paper-2);
	border: 0;
	border-radius: var(--radius-banner);
	font-size: var(--text-base);
	transition: top var(--dur-base) var(--ease-in-out-soft);
}

.bv-booking-card__price {
	margin: 0;
	font-family: var(--font-ui);
	font-size: var(--step-display);
	font-weight: var(--font-semibold);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--ink);
}

.bv-booking-card__price small {
	font-size: var(--step-body);
	font-weight: var(--font-normal);
	letter-spacing: 0;
	color: var(--ink-soft);
}

.bv-booking-card__promos {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: var(--space-sm) 0 0;
}

.bv-booking-card__promo {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 12px;
	background: var(--paper);
	border-radius: var(--radius-full);
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: var(--font-semibold);
}

/* Dates and passengers: one control on paper, its parts parted by the
   card's own ground. */
.bv-booking-card__fields {
	display: grid;
	gap: 2px;
	margin-top: var(--space-md);
}

.bv-booking-card__dates-wrapper {
	position: relative;
}

.bv-booking-card__dates,
.bv-booking-card__dates:hover {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.bv-booking-card__date-field {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 60px;
	padding: 10px 14px;
	background: var(--paper);
	transition: background-color var(--transition-fast);
}

.bv-booking-card__dates:hover .bv-booking-card__date-field {
	background: var(--paper-3);
}

.bv-booking-card__date-field:first-child {
	border-radius: var(--radius-field) 0 0 0;
}

.bv-booking-card__date-field:last-child {
	border-radius: 0 var(--radius-field) 0 0;
}

.bv-booking-card__date-label {
	font-size: var(--step-small);
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-booking-card__date-value {
	font-size: var(--text-base);
	color: var(--ink);
}

/* Datepicker breaks out of the narrow column */
.bv-booking-card__dates-wrapper .bv-datepicker__dropdown {
	left: auto;
	right: 0;
	width: 620px;
}

.bv-booking-card__pax {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 6px 8px 6px 14px;
	background: var(--paper);
	border-radius: 0 0 var(--radius-field) var(--radius-field);
}

.bv-booking-card__pax label {
	margin: 0;
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-booking-card__pax small {
	font-size: 0.9375rem;
	font-weight: var(--font-normal);
	color: var(--ink-soft);
}

.bv-booking-card input#bv-pasajeros {
	width: 76px;
	min-height: 44px;
	padding: 6px 8px;
	border: 1px solid var(--field-line); /* taste-skill-ignore: form field keeps its edge */
	border-radius: var(--radius-field);
	background: var(--paper);
	font-size: var(--text-base);
	text-align: center;
}

/* Pickup / return times, airport transfer, cross-border (bonzivan-custom
   booking-rules): nothing under 15px, no rules, fields keep their edge. */
.bv-booking-card__pickup {
	margin-top: var(--space-md);
}

.bv-booking-card__pickup-label {
	display: block;
	margin-bottom: var(--space-xs);
	font-size: 0.9375rem;
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-booking-card__pickup-label small {
	font-weight: var(--font-normal);
}

.bv-booking-card select.bv-s4-select,
.bv-booking-card input#bv-pickup-time {
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--field-line); /* taste-skill-ignore: form field keeps its edge */
	border-radius: var(--radius-field);
	background-color: var(--paper);
	color: var(--ink);
	font-size: var(--text-base);
}

/* Two selects side by side stay level when a label wraps. */
.bv-booking-card .bv-s4-times {
	align-items: end;
}

.bv-booking-card .bv-s4-times__legend,
.bv-booking-card .bv-s4-times__warn,
.bv-booking-card .bv-s4-times__error,
.bv-booking-card .bv-s4-xb > summary,
.bv-booking-card .bv-s4-xb__body,
.bv-booking-card .bv-s4-xb__body small {
	font-size: 0.9375rem;
	line-height: 1.45;
}

.bv-booking-card .bv-s4-times__legend,
.bv-booking-card .bv-s4-xb__body small {
	color: var(--ink-soft);
}

.bv-booking-card .bv-s4-times__warn {
	background: var(--paper);
	color: var(--accent-ink);
}

.bv-booking-card .bv-s4-xb {
	margin-top: var(--space-sm);
	padding-top: 0;
	border-top: 0;
}

.bv-booking-card .bv-s4-xb > summary {
	display: flex;
	align-items: center;
	min-height: 44px;
}

/* "Entregar en": a control on paper, like the date fields; the open list floats. */
.bv-delivery-dd {
	position: relative;
}

.bv-delivery-dd__trigger,
.bv-delivery-dd__trigger:hover {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 48px;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--radius-field);
	background: var(--paper);
	color: var(--ink);
	font-size: var(--text-base);
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
}

.bv-delivery-dd__trigger::after {
	content: "";
	width: 8px;
	height: 8px;
	margin: -4px 4px 0 var(--space-sm);
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	rotate: 45deg;
	transition: rotate var(--dur-base) var(--ease-in-out-soft);
}

.bv-delivery-dd.is-open .bv-delivery-dd__trigger::after {
	rotate: 225deg;
}

.bv-delivery-dd__panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	z-index: 50;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--paper);
	border: 0;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-float); /* taste-skill-ignore: delivery menu is a real overlay */
	/* Closed: faded 8px up and out of reach; it drops in from the field
	   (motion.css overlay tokens) and leaves quicker. */
	opacity: 0;
	visibility: hidden;
	translate: 0 calc(var(--dist-1) * -1);
	transition:
		opacity var(--dur-fast) var(--ease-in-out-soft),
		translate var(--dur-fast) var(--ease-in-out-soft),
		visibility 0s linear var(--dur-fast);
}

.bv-delivery-dd.is-open .bv-delivery-dd__panel {
	opacity: 1;
	visibility: visible;
	translate: 0 0;
	transition:
		opacity var(--dur-fast) var(--ease-out-soft),
		translate var(--dur-base) var(--ease-out-expo),
		visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.bv-delivery-dd__panel,
	.bv-delivery-dd.is-open .bv-delivery-dd__panel {
		translate: none;
	}
}

.bv-delivery-dd__opt {
	display: block;
	padding: 0.65rem 1rem;
	font-size: var(--text-base);
	color: var(--ink);
	cursor: pointer;
}

.bv-delivery-dd__opt:hover,
.bv-delivery-dd__opt.is-active {
	background: var(--paper-2);
	color: var(--ink);
}

/* Extras (P2.5 §1.3) */
.bv-booking-card__extras {
	margin-top: var(--space-md);
}

.bv-booking-card__extras-title {
	margin-bottom: var(--space-xs);
	font-size: 0.9375rem;
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-booking-card__extra {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	min-height: 44px;
	font-size: 0.9375rem;
	cursor: pointer;
}

.bv-booking-card__extra input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ink);
}

.bv-booking-card__extra-name {
	flex: 1;
}

.bv-booking-card__extra-price {
	font-size: 0.9375rem;
	color: var(--ink-soft);
}

/* Price breakdown */
.bv-booking-card__breakdown {
	margin-top: var(--space-md);
}

/* "Detalles del precio" opens by height (interpolate-size) and fades in;
   closed it is out of the page's reach (visibility flips after the close). */
.bv-booking-card__details {
	height: 0;
	overflow: clip;
	opacity: 0;
	visibility: hidden;
	interpolate-size: allow-keywords;
	transition:
		height var(--dur-base) var(--ease-in-out-soft),
		opacity var(--dur-fast) var(--ease-in-out-soft),
		visibility 0s linear var(--dur-base);
}

.bv-booking-card__details.is-open {
	height: auto;
	opacity: 1;
	visibility: visible;
	transition:
		height var(--dur-base) var(--ease-in-out-soft),
		opacity var(--dur-base) var(--ease-out-soft),
		visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
	.bv-booking-card__details,
	.bv-booking-card__details.is-open {
		transition: opacity var(--dur-fast) linear, visibility 0s;
	}
}

.bv-booking-card__details-toggle,
.bv-booking-card__details-toggle:hover {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 0.4rem 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: var(--ink);
	font-size: 0.9375rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.bv-booking-card__details-toggle:hover {
	color: var(--accent-ink);
}

.bv-booking-card__details-toggle::after {
	content: "";
	width: 7px;
	height: 7px;
	margin: -3px 4px 0 var(--space-sm);
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	rotate: 45deg;
	transition: rotate var(--dur-base) var(--ease-in-out-soft);
}

.bv-booking-card__details-toggle.is-open::after {
	rotate: 225deg;
}

.bv-booking-card__line {
	display: flex;
	justify-content: space-between;
	gap: var(--space-md);
	padding: 4px 0;
	font-size: var(--text-base);
	color: var(--ink);
}

.bv-booking-card__line > span:last-child {
	flex-shrink: 0;
	white-space: nowrap;
}

.bv-booking-card__line--note {
	font-size: var(--step-small);
	color: var(--ink-soft);
}

.bv-iva-incluido {
	display: block;
	font-size: 0.9375rem;
	color: var(--ink-soft);
}

.bv-booking-card__fee-note {
	margin: var(--space-sm) 0 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--ink-soft);
}

.bv-booking-card__total {
	display: flex;
	justify-content: space-between;
	margin-top: var(--space-sm);
	padding: var(--space-sm) 0 0;
	font-size: var(--step-body);
	font-weight: var(--font-bold);
	color: var(--ink);
}

.bv-text-success {
	color: var(--color-success);
	font-weight: var(--font-semibold);
}

/* Tu reserva está protegida: the guarantees by name, above the action */
.bv-booking-card__protection {
	margin: var(--space-md) 0 0;
	padding: var(--space-md);
	background: var(--paper);
	border: 0;
	border-radius: var(--radius-card);
}

.bv-booking-card__protection-title {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: var(--text-base);
	font-weight: var(--font-semibold);
	letter-spacing: 0;
	line-height: 1.3;
	color: var(--ink);
}

.bv-booking-card__protection-title .bv-icon {
	color: var(--color-success);
}

.bv-booking-card__protection-list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bv-booking-card__protection-list li {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: var(--space-sm);
	align-items: start;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: var(--ink);
}

.bv-booking-card__protection-check {
	display: inline-flex;
	padding-top: 1px;
	color: var(--color-success);
}

.bv-booking-card__protection-more {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-top: 2px;
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: var(--font-semibold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.bv-booking-card__protection-more:hover {
	color: var(--accent-ink);
}

/* Action */
.bv-booking-card__actions {
	margin-top: var(--space-md);
}

.bv-booking-card .bv-btn {
	width: 100%;
	min-height: 52px;
	font-size: 1.0625rem;
}

.bv-booking-card__trust {
	margin: var(--space-sm) 0 0;
	font-size: 0.9375rem;
	color: var(--ink-soft);
	text-align: center;
}

/* Errors (vehicle-detail.js and booking-rules): readable, no box edge.
   No display here: the plugin's notices use the hidden attribute. */
.bv-booking-card__error {
	margin-top: var(--space-sm);
	padding: 0.6rem 0.85rem;
	background: var(--paper);
	border-radius: var(--radius-field);
	color: var(--color-error);
	font-size: 0.9375rem;
	font-weight: var(--font-medium);
	line-height: 1.45;
}

.bv-booking-card__error p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Full-width sections: pickup map, reviews, host
   -------------------------------------------------------------------------- */
.bv-vsection {
	margin-top: var(--space-3xl);
}

.bv-pickup-summary {
	margin: 0 0 var(--space-xs);
	font-size: var(--step-body);
	color: var(--ink);
}

.bv-pickup-summary__airport {
	font-weight: var(--font-normal);
}

.bv-pickup-summary__hint {
	margin: 0 0 var(--space-md);
	font-size: var(--text-base);
	color: var(--ink-soft);
}

/* Contain Leaflet's z-indexes (panes up to 700, controls 1000) so they never
   paint over the sticky header. */
.bv-single-pickup-map {
	position: relative;
	z-index: 0;
	isolation: isolate;
	width: 100%;
	height: 420px;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: var(--paper-2);
}

/* Leaflet's own faces and 12px attribution, brought onto the system. */
.bv-single-pickup-map.leaflet-container,
.bv-single-pickup-map .leaflet-control-zoom a {
	font-family: var(--font-ui);
}

.bv-single-pickup-map .leaflet-control-attribution {
	font-size: var(--step-small);
}

/* Reviews (bonzivan-custom render): two columns, no boxes or rules. */
.bv-reviews-section .bv-product-reviews {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.bv-reviews-section .bv-product-reviews--empty p {
	color: var(--ink-soft) !important; /* the render sets an inline grey */
	font-size: var(--step-body);
}

.bv-reviews-section .bv-product-reviews__head {
	margin-bottom: var(--space-lg);
}

.bv-reviews-section .bv-product-reviews__avg-num {
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
	color: var(--ink);
}

.bv-reviews-section .bv-product-reviews__avg-cnt {
	margin-left: var(--space-sm);
	font-size: var(--text-base);
	color: var(--ink);
}

.bv-reviews-section .bv-product-reviews__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-xl) var(--space-3xl);
}

.bv-reviews-section .bv-product-review {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.bv-reviews-section .bv-product-review__head {
	grid-template-columns: 48px minmax(0, 1fr) auto;
}

.bv-reviews-section .bv-product-review__avatar {
	width: 48px;
	height: 48px;
	background: var(--paper-2);
	color: var(--ink);
	font-size: var(--step-body);
}

.bv-reviews-section .bv-product-review__author {
	font-size: var(--text-base);
}

.bv-reviews-section .bv-product-review__when {
	font-size: var(--step-small);
	color: var(--ink-soft);
}

.bv-reviews-section .bv-product-review__stars {
	color: var(--ink);
	font-size: var(--text-base);
}

.bv-reviews-section .bv-product-review__body,
.bv-reviews-section .bv-product-review__reply-body {
	max-width: var(--measure);
	font-size: var(--text-base);
	color: var(--ink);
}

.bv-reviews-section .bv-product-review__reply {
	margin-left: 0;
	padding: var(--space-sm) var(--space-md);
	background: var(--paper-2);
	border-left: 0;
	border-radius: var(--radius-field);
}

.bv-reviews-section .bv-product-review__reply-head {
	font-size: var(--step-small);
	font-weight: var(--font-semibold);
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
}

.bv-reviews-section .bv-product-review__foot {
	justify-content: flex-start;
}

/* Host: identity on the left, the way to write on the right */
.bv-host-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-xl) var(--space-3xl);
	align-items: center;
	padding: clamp(24px, 3vw, 40px);
	background: var(--paper-2);
	border-radius: var(--radius-banner);
}

.bv-host-card__id {
	display: flex;
	align-items: center;
	gap: var(--space-lg);
}

.bv-host-card__avatar {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	border-radius: var(--radius-full);
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
}

.bv-host-card__name {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-lead);
	font-weight: var(--font-semibold);
	letter-spacing: var(--tracking-display);
	line-height: 1.2;
}

.bv-host-card__rating {
	margin: var(--space-xs) 0 0;
}

.bv-host-card__joined {
	margin: var(--space-xs) 0 0;
	font-size: var(--text-base);
	color: var(--ink-soft);
}

.bv-host-card__verified {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: var(--space-sm) 0 0;
	font-size: var(--text-base);
	font-weight: var(--font-medium);
	color: var(--ink);
}

.bv-host-card__verified .bv-icon {
	color: var(--color-success);
}

.bv-host-card__lead {
	max-width: 44ch;
	margin: 0 0 var(--space-md);
	font-size: var(--step-body);
	line-height: var(--leading-body);
	color: var(--ink);
}

.bv-host-card__contact .bv-btn--secondary {
	background: var(--paper);
}

.bv-host-card__contact .bv-btn--secondary:hover {
	background: var(--paper-3);
}

.bv-host-card__contact .bv-report-links {
	margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Phone bar: price and the way to the booking column (hidden on desktop,
   and while the column or the footer is on screen — vehicle-detail.js).
   -------------------------------------------------------------------------- */
.bv-mbar {
	display: none;
}

/* --------------------------------------------------------------------------
   Viewer ("Ver todas las fotos"): the shared lightbox, tuned for this page
   -------------------------------------------------------------------------- */
.bv-lightbox {
	background: rgba(18, 24, 32, 0.94);
}

.bv-lightbox__img {
	border-radius: var(--radius-card);
}

.bv-lightbox__close {
	min-width: 44px;
	min-height: 44px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.15);
	color: var(--on-night);
}

.bv-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.3);
	opacity: 1;
}

.bv-lightbox__counter {
	font-size: var(--text-base);
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.bv-vehicle-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--space-2xl);
	}

	.bv-booking-card {
		position: static;
	}

	.bv-booking-card__dates-wrapper .bv-datepicker__dropdown {
		right: 0;
		left: 0;
		width: 100%;
	}

	.bv-booking-card__dates-wrapper .bv-datepicker__body {
		grid-template-columns: 1fr;
	}

	.bv-mbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: var(--z-sticky);
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-md);
		padding: 12px var(--space-md) calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--paper);
		box-shadow: var(--shadow-float); /* taste-skill-ignore: fixed bar floats over the page */
		transition: translate var(--dur-base) var(--ease-in-out-soft), visibility var(--dur-base);
	}

	.bv-mbar.is-away {
		visibility: hidden;
		translate: 0 110%;
	}

	.bv-mbar__price {
		margin: 0;
		font-size: var(--text-base);
		color: var(--ink);
	}

	.bv-mbar__price strong {
		font-size: var(--step-body);
		font-weight: var(--font-semibold);
	}

	.bv-mbar__price span {
		color: var(--ink-soft);
	}

	.bv-mbar .bv-btn {
		min-height: 48px;
	}
}

@media (max-width: 768px) {
	.bv-vhead__title {
		font-size: 1.75rem;
	}

	.bv-vhead__meta {
		gap: var(--space-xs) var(--space-md);
	}

	/* Phone: the large photo only, at the card ratio; the viewer has the rest. */
	.bv-vehicle-gallery__grid {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.bv-vehicle-gallery__grid > .bv-vehicle-gallery__thumb {
		display: none;
	}

	.bv-vehicle-gallery__grid > .bv-vehicle-gallery__hero {
		grid-row: 1;
		grid-column: 1;
	}

	.bv-vehicle-gallery__all {
		right: var(--space-sm);
		bottom: var(--space-sm);
	}

	.bv-vehicle-specs {
		grid-template-columns: minmax(0, 1fr);
		padding: var(--space-xs) var(--space-md);
	}

	.bv-vehicle-rule {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}

	.bv-amenity-list,
	.bv-reviews-section .bv-product-reviews__list,
	.bv-host-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.bv-vprotect {
		padding: var(--space-md);
	}

	.bv-booking-card {
		padding: var(--space-md);
	}

	.bv-single-pickup-map {
		height: 300px;
	}

	.bv-host-card__id {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-md);
	}

	.bv-host-card__avatar {
		width: 64px;
		height: 64px;
	}

	.bv-lightbox__nav {
		top: auto;
		bottom: var(--space-lg);
		translate: 0 0;
		transform: none;
	}
}
