/* Root */
.btp-root { position: relative; z-index: 999999; }
.btp-root * { box-sizing: border-box; }

/* Floating CTA */
.btp-cta {
	position: fixed;
	left: 18px;
	bottom: 18px;
	width: min(320px, calc(100vw - 36px));
	height: 54px;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	pointer-events: auto;
	z-index: 9999999;
}
.btp-cta-track{
	height: 54px;
	border-radius: 999px;
	background: #d86b1f;
	box-shadow: 0 10px 28px rgba(0,0,0,.25);
	display:flex;
	align-items:center;
	padding: 6px;
	gap: 10px;
}
.btp-cta-knob{
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,.25);
	transform: translateX(0);
}
.btp-cta-text{
	color: #fff;
	font-weight: 800;
	letter-spacing: .06em;
	font-size: 13px;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Overlay */
.btp-overlay{
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 14px;
	z-index: 99999999;
}
.btp-overlay.is-open{ display:flex; }

/* Modal shell */
.btp-modal{
	width: min(980px, 100%);
	max-height: calc(100vh - 28px);
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(6px);
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	position: relative;
	overflow: hidden;
	display:flex;
	flex-direction: column;
}

/* Mobile: make it feel like a sheet */
@media (max-width: 720px){
	.btp-overlay{ align-items: flex-end; }
	.btp-modal{
		border-radius: 18px 18px 0 0;
		max-height: calc(100vh - 10px);
	}
}

.btp-close{
	position:absolute;
	right: 12px;
	top: 10px;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid rgba(0,0,0,.12);
	background: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.btp-header{
	padding: 18px 18px 10px 18px;
	border-bottom: 1px solid rgba(0,0,0,.08);
}
.btp-title{
	font-size: 34px;
	font-weight: 900;
	letter-spacing: .04em;
	color: #d86b1f;
}
.btp-subtitle{
	margin-top: 4px;
	color: rgba(0,0,0,.65);
	font-size: 13px;
}

.btp-body{
	padding: 14px 18px 16px 18px;
	overflow:auto;
}
.btp-grid{
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 820px){
	.btp-grid{ grid-template-columns: 1fr; }
}

.btp-card{
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 14px;
	padding: 14px;
}
.btp-card h3{
	margin: 0 0 10px 0;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Park search */
.btp-search{ position: relative; }
.btp-search input{
	width: 100%;
	padding: 12px 12px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.12);
	font-weight: 700;
}
.btp-results{
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	background: #fff;
	border: 1px solid rgba(0,0,0,.10);
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0,0,0,.15);
	overflow: hidden;
	display: none;
	max-height: 240px;
	overflow-y: auto;
	z-index: 5;
}
.btp-results.is-open{ display:block; }
.btp-result{
	padding: 12px 12px;
	cursor: pointer;
	font-weight: 800;
	border-bottom: 1px solid rgba(0,0,0,.06);
}
.btp-result:last-child{ border-bottom: none; }
.btp-result:hover{ background: rgba(216,107,31,.10); }
.btp-result-muted{ padding: 12px 12px; color: rgba(0,0,0,.55); font-weight: 700; }

.btp-pill-row{ display:flex; flex-wrap: wrap; gap: 10px; }
.btp-pill{
	display:inline-flex;
	align-items:center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 999px;
	background: #efe7dc;
	font-weight: 800;
}
.btp-x{
	border: none;
	background: transparent;
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}

.btp-field-row{ display:flex; gap: 12px; flex-wrap: wrap; }
.btp-field span{ display:block; font-size: 12px; opacity:.8; margin-bottom: 4px; }
.btp-field input,
.btp-field select{
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid rgba(0,0,0,.12);
	background: #fff;
}

.btp-toggles{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btp-toggle{
	display:flex;
	gap: 10px;
	align-items:center;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.10);
	background: #fff;
	font-weight: 800;
}
.btp-toggle input{ transform: scale(1.1); }

.btp-note{ margin-top: 10px; font-size: 12px; color: rgba(0,0,0,.58); }
.btp-p{ margin: 0 0 10px 0; color: rgba(0,0,0,.72); font-size: 13px; }
.btp-actions{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.btp-primary, .btp-secondary{
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.10);
	font-weight: 900;
	cursor: not-allowed;
}
.btp-primary{ background: #d86b1f; color: #fff; border-color: rgba(0,0,0,.0); }
.btp-secondary{ background: #fff; }

.btp-disclosure{
	margin: 10px 0 0 0;
	font-size: 11px;
	color: rgba(0,0,0,.55);
}

/* Lodging module shell */
.btp-lodging-controls{
	display:flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.btp-lodging-results{
	margin-top: 10px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
.btp-lodging-card{
	border: 1px solid rgba(0,0,0,.10);
	border-radius: 12px;
	padding: 10px 12px;
	background: #fff;
	display:flex;
	justify-content: space-between;
	gap: 10px;
}
.btp-lodging-name{ font-weight: 900; }
.btp-lodging-meta{ font-size: 12px; opacity: .75; margin-top: 3px; }
.btp-lodging-price{ font-weight: 900; white-space: nowrap; }

/* Swipe-to-exit bar */
.btp-exit{
	padding: 14px 18px 18px 18px;
	border-top: 1px solid rgba(0,0,0,.08);
}
.btp-exit-track{
	height: 54px;
	border-radius: 999px;
	background: #d86b1f;
	box-shadow: 0 10px 28px rgba(0,0,0,.18);
	display:flex;
	align-items:center;
	justify-content: space-between;
	padding: 6px;
	gap: 10px;
}
.btp-exit-text{
	color: #fff;
	font-weight: 900;
	letter-spacing: .06em;
	font-size: 13px;
	text-transform: uppercase;
	padding-left: 14px;
}
.btp-exit-knob{
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0,0,0,.25);
	transform: translateX(0);
}
