/* Sticky CTA — fixed bottom bar with price-from + Request Information.
   Values measured from the reference sticky-cta component. */

:root { --sticky-cta-height: 76px; }

.sticky-cta {
	align-items: center;
	background-color: var(--color-burgundy-2);
	bottom: -102px;
	display: flex;
	justify-content: center;
	left: 0;
	max-width: 100%;
	min-height: var(--sticky-cta-height);
	padding: var(--grid-col-gutter);
	position: fixed;
	text-align: center;
	transition-duration: var(--transition-time);
	transition-property: bottom;
	transition-timing-function: var(--transition-easing);
	width: 100%;
	z-index: 11;
}
@media screen and (min-width: 768px) {
	.sticky-cta { padding: 15px var(--grid-col-gutter); }
}

.sticky-cta[visible="yes"] { bottom: 0; }
@media screen and (min-width: 768px) {
	.sticky-cta[visible-desktop="no"] { display: none; }
}

.sticky-cta__content {
	color: var(--color-soft-white);
	margin: 0 var(--grid-col-gutter) 0 0;
	text-align: left;
}
.sticky-cta__content > * { margin-bottom: 0; }
.sticky-cta__title { margin-bottom: 3px; opacity: 0.7; }
.sticky-cta__price { margin-bottom: 0; }

.sticky-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.sticky-cta .btn { width: auto; }

.sticky-cta--has-description .sticky-cta__content,
.sticky-cta--has-description .sticky-cta__buttons { width: 50%; }
@media screen and (min-width: 768px) {
	.sticky-cta--has-description .sticky-cta__content,
	.sticky-cta--has-description .sticky-cta__buttons { width: auto; }
}
.sticky-cta--has-description .sticky-cta__buttons { justify-content: flex-end; }
@media screen and (min-width: 768px) {
	.sticky-cta--has-description .sticky-cta__buttons { justify-content: flex-start; }
}

/* Keep the fixed bar from covering the end of the page */
body:has(.sticky-cta[fixed="yes"]) .footer,
body:has(.sticky-cta[fixed="yes"]) .site-footer {
	padding-bottom: calc(var(--sticky-cta-height) + var(--grid-section-gutter));
}

/* Measured clearances: mobile uses height+50px on all routes; trip desktop uses 60px */
@media (max-width: 767.98px) {
	body:has(.sticky-cta[fixed="yes"]) .footer,
	body:has(.sticky-cta[fixed="yes"]) .site-footer {
		padding-bottom: calc(var(--sticky-cta-height) + 50px);
	}
}
@media (min-width: 768px) {
	body.single-trip:has(.sticky-cta[fixed="yes"]) .footer {
		padding-bottom: 60px;
	}
}
