:root {
	--brand: #16697a;
	--header-bg: #2a7885;
	--footer-bg: #e5f0ee;
	--footer-text: #315a61
}

body {
	background: #f7f5f0;
	color: #263238
}

.public-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column }
.public-header { flex: 0 0 auto; background-color: var(--header-bg) !important }
.public-header .language-picker { width: 9rem }
.public-header > .container { gap: .75rem; flex-wrap: wrap }
.public-header .navbar-brand { white-space: normal; overflow-wrap: anywhere; max-width: 100%; margin-right: 0 }
.public-footer { flex: 0 0 auto; padding: 14px 0; color: var(--footer-text); border-top: 1px solid #cfdfdc; background: var(--footer-bg) }
.footer-details { line-height:1.55 }
.footer-details p { margin:0 }
.footer-property { font-weight:700 }
.footer-copyright { margin-top:.2rem !important; font-size:.875rem }
.public-page { flex: 1 0 auto; min-height: 0 }

.hero {
	background: linear-gradient(120deg, rgba(247, 245, 240, .96), rgba(227, 242, 241, .88))
}

.btn-primary {
	--bs-btn-bg: var(--brand);
	--bs-btn-border-color: var(--brand)
}

.search-submit {
	font-size: .875rem;
	width: 100%;
	min-height: 42px;
	white-space: normal
}

.booking-search-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,2fr) minmax(96px,.8fr) minmax(210px,1.4fr); gap:1rem; align-items:end }
.booking-search-field, .booking-search-action { min-width:0 }
.booking-calendar-link { color:#245b4b; font-weight:600; text-decoration:none }
.booking-calendar-link:hover { color:#163e32; text-decoration:underline }
.booking-calendar-link:focus-visible { outline:2px solid #245b4b; outline-offset:4px }
.stay-description { max-width:850px; line-height:1.8 }
@media(max-width:575.98px) {
 .booking-hero-title { font-size:1.75rem; line-height:1.4 }
}

@media(max-width:991.98px) {
	.booking-search-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}

@media(max-width:575.98px) {
	.public-header .language-picker { width:8rem }
	.booking-search-grid { grid-template-columns:minmax(0,1fr) }
}

.card {
	border: 0;
	border-radius: 1rem
}

dt,
dd {
	padding: .4rem 0
}
.date-trigger { display:flex; align-items:center; justify-content:space-between; text-align:left; min-height:42px; background:white; cursor:pointer; }
.date-trigger:hover { border-color:var(--brand); }
#stay-calendar { width:min(760px,calc(100% - 32px)); max-height:90dvh; border:0; border-radius:24px; padding:28px; color:#263238; box-shadow:0 24px 80px #16323833; }
#stay-calendar::backdrop { background:#152f365c; backdrop-filter:blur(3px); }
.stay-calendar-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.stay-calendar-header h2 { font-size:1.35rem; font-weight:700; margin:0 0 8px; }
.stay-calendar-header p { font-size:.85rem; color:#65757b; margin:0; }
.calendar-icon { border:1px solid #e1e6e7; background:white; border-radius:50%; width:36px; height:36px; font-size:1.4rem; display:grid; place-items:center; flex-shrink:0; }
.calendar-icon:disabled { opacity:.3; }
.calendar-tabs { display:flex; margin:24px 0 12px; border:1px solid #dce3e5; border-radius:12px; overflow:hidden; }
.calendar-tabs button { flex:1; padding:12px 16px; border:0; background:white; text-align:left; font-size:.75rem; color:#68767a; }
.calendar-tabs button .tab-name { display:block; font-size:.75rem; color:#68767a; margin-top:0; }
.calendar-tabs button .tab-date { display:block; font-size:1rem; color:#263238; margin-top:3px; }
.calendar-tabs button.active { box-shadow:inset 0 0 0 2px var(--brand); border-radius:10px; background:#f0f8f8; }
.calendar-navigation { display:flex; justify-content:space-between; align-items:center; margin:16px 0; }
.calendar-navigation span { font-size:.8rem; color:#65757b; }
#calendar-status { min-height:36px; font-size:.8rem; color:#52676c; margin:0 0 8px; }
.calendar-months { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.calendar-months h3 { text-align:center; font-size:1rem; font-weight:650; margin:6px 0 18px; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px 0; }
.calendar-weekday { font-size:.72rem; color:#77868b; text-align:center; padding:0 0 10px; }
.calendar-day { border:0; background:white; border-radius:50%; aspect-ratio:1; min-width:0; font-size:.88rem; color:#263238; position:relative; }
.calendar-day:hover:not(:disabled) { box-shadow:inset 0 0 0 1px #263238; }
.calendar-day:disabled { color:#4b5563; font-weight:400; text-decoration:line-through; text-decoration-thickness:1px; background:#e2e6eb; box-shadow:inset 0 0 0 1px #c3cbd4; opacity:1; -webkit-text-fill-color:currentColor; cursor:not-allowed; }
.calendar-day.in-range { background:#e4f1f2; border-radius:0; }
.calendar-day.selected { background:var(--brand); color:white; text-decoration:none; }
.calendar-day[aria-current="date"]::after { content:''; position:absolute; bottom:5px; left:calc(50% - 2px); width:4px; height:4px; background:currentColor; border-radius:50%; }
.calendar-day.checkout-only { box-shadow:inset 0 0 0 1px var(--brand); }
#stay-calendar button:focus-visible { outline:3px solid #de9b29; outline-offset:2px; }
.calendar-legend { display:flex; gap:20px; font-size:.8rem; color:#42535b; font-weight:600; margin:24px 0; }
.calendar-legend span { display:flex; gap:6px; align-items:center; }
.calendar-legend i { display:inline-block; width:16px; height:16px; border-radius:50%; }
.legend-open { border:1px solid #68797d; }.legend-blocked { border:1px solid #a8b3bf; background:linear-gradient(135deg,#e2e6eb 42%,#4b5563 43%,#4b5563 57%,#e2e6eb 58%); }.legend-selected { background:var(--brand); }
.calendar-footer { border-top:1px solid #edf0f1; padding-top:18px; display:flex; align-items:center; justify-content:space-between; }
#calendar-clear { background:none; border:0; text-decoration:underline; font-size:.85rem; padding:10px 0; }
#calendar-done { border-radius:9px; padding:10px 24px; }
@media(max-width:575px) {
    #stay-calendar { padding:20px 16px; width:calc(100% - 20px); border-radius:18px; }
    .calendar-months { grid-template-columns:1fr; gap:24px; }
    .calendar-day { max-height:46px; }
    .calendar-legend { gap:14px; }
}/* Keep the picker usable even when the external Bootstrap stylesheet is unavailable. */
#stay-calendar, #stay-calendar * { box-sizing:border-box; }
#calendar-done { background:var(--brand); border:1px solid var(--brand); color:white; cursor:pointer; }
#calendar-done:disabled { opacity:.45; cursor:not-allowed; }
.calendar-day.in-range:disabled { background:#e4f1f2; color:#263238; text-decoration:none; box-shadow:none; }
@media(max-width:575px) {
    .calendar-footer { position:sticky; bottom:-20px; background:white; padding-bottom:12px; z-index:2; }
}
.availability-link { --bs-btn-color:#245b4b; --bs-btn-bg:#fff; --bs-btn-border-color:#245b4b; --bs-btn-hover-color:#245b4b; --bs-btn-hover-bg:#edf5f1; --bs-btn-hover-border-color:#245b4b; --bs-btn-active-color:#fff; --bs-btn-active-bg:#245b4b; --bs-btn-active-border-color:#245b4b; --bs-btn-focus-shadow-rgb:36,91,75; }

/* Public availability calendar: shared booking-page palette. */
.availability-page h1 { font-weight:700; }
.availability-calendar { background:#fff; padding:clamp(12px,2.5vw,28px); border-radius:24px; box-shadow:0 12px 28px #26323818; }
.availability-calendar.fc {
 --fc-button-bg-color:var(--brand);
 --fc-button-border-color:var(--brand);
 --fc-button-hover-bg-color:#125565;
 --fc-button-hover-border-color:#125565;
 --fc-button-active-bg-color:#104b59;
 --fc-button-active-border-color:#104b59;
 --fc-today-bg-color:#e4f2f0;
 --fc-border-color:#e0e7e6;
 --fc-event-bg-color:#e5e9e9;
 --fc-event-border-color:#e5e9e9;
 --fc-event-text-color:#526368;
}
.availability-calendar .fc-col-header-cell { background:#f4f8f7; }
.availability-calendar .fc-col-header-cell-cushion,
.availability-calendar .fc-daygrid-day-number { color:var(--brand); text-decoration:none; }
.availability-calendar .fc-col-header-cell-cushion:hover,
.availability-calendar .fc-daygrid-day-number:hover { color:#125565; text-decoration:none; }
.availability-calendar .fc-toolbar-title { font-size:clamp(1.15rem,2.5vw,1.75rem); font-weight:700; }
.availability-calendar .fc-h-event { border-radius:5px; }
.availability-calendar .fc-event-title { padding:2px 10px; }
.availability-calendar .fc-button-primary:disabled { opacity:.65; }
@media(max-width:575.98px) {
 .availability-calendar .fc-header-toolbar { flex-wrap:wrap; gap:12px; }
 .availability-calendar .fc-button { padding:.35em .55em; }
 .availability-calendar .fc-daygrid-day-number { font-size:.8rem; }
 .availability-calendar .fc-event-title { font-size:.7rem; padding:1px 8px; }
}

.availability-calendar .fc-today-button,
.availability-calendar .fc-today-button:disabled {
 background-color:rgba(22,105,122,.12);
 border-color:rgba(22,105,122,.2);
 color:var(--brand);
 opacity:1;
}
.availability-calendar .fc-today-button:hover:not(:disabled),
.availability-calendar .fc-today-button:active:not(:disabled) {
 background-color:rgba(22,105,122,.22);
 border-color:rgba(22,105,122,.35);
 color:#125565;
}

.search-back-link { color:var(--brand); text-decoration:none; }
.search-back-link:hover { color:var(--brand); text-decoration:underline; text-underline-offset:3px; }
.search-back-link:focus-visible { outline:2px solid var(--brand); outline-offset:4px; border-radius:2px; }

.tax-info { display:inline-block; position:relative; vertical-align:baseline; font-weight:400; }
.tax-info summary { display:inline-block; list-style:none; cursor:pointer; color:var(--brand); padding:0 .3rem; border-radius:4px; }
.tax-info summary::-webkit-details-marker { display:none; }
.tax-info summary:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.tax-info .tax-info-popup { display:none; position:absolute; top:100%; left:-4rem; width:min(280px,65vw); padding:12px 14px; background:white; border:1px solid #cfdfdc; border-radius:10px; box-shadow:0 6px 20px #26323822; color:#315a61; font-size:.8rem; line-height:1.6; z-index:10; }
.tax-info[open] .tax-info-popup { display:block; }

