/* Bulod direct booking calendar — self-contained, does not touch MotoPress's own fields/JS */
.bdb { --bdb-ink:#241F1A; --bdb-stone:#6b655b; --bdb-line:#E4DFD5; --bdb-teal:#1F4841; --bdb-soft:#EAF2EE;
	position:relative; font-family:inherit; color:var(--bdb-ink); max-width:600px; }

.bdb-fields { display:flex; gap:10px; margin-bottom:12px; }
.bdb-field { flex:1; text-align:left; background:#fff; border:1px solid var(--bdb-line); border-radius:10px;
	padding:11px 14px; cursor:pointer; font-family:inherit; line-height:1.3; }
.bdb-field:hover { border-color:var(--bdb-teal); }
.bdb-field span { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--bdb-stone); }
.bdb-field b { display:block; font-size:15px; font-weight:600; margin-top:3px; }

.bdb-panel { position:relative; z-index:10; background:#fff; border:1px solid var(--bdb-line); border-radius:14px;
	padding:16px 12px 12px; margin-bottom:12px; box-shadow:0 24px 60px -18px rgba(0,0,0,.18); }
.bdb-panel[hidden] { display:none !important; }

.bdb-nav { display:flex; justify-content:space-between; margin-bottom:6px; }
.bdb-nav button { background:none; border:0; font-size:22px; line-height:1; color:var(--bdb-teal);
	cursor:pointer; padding:2px 10px; border-radius:8px; font-family:inherit; }
.bdb-nav button:hover { background:var(--bdb-soft); }

/* Centre so leftover panel width splits evenly either side. */
.bdb-months { display:flex; gap:22px; min-width:0; justify-content:center; }
.bdb-months.is-loading { opacity:.45; }
.bdb-m { flex:1 1 0; min-width:0; }
.bdb-m + .bdb-m { border-left:1px solid var(--bdb-line); padding-left:22px; }
.bdb-m-h { text-align:center; font-size:14px; font-weight:600; margin-bottom:8px; }
.bdb-dow, .bdb-g { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; }
.bdb-dow span { text-align:center; font-size:10.5px; letter-spacing:.04em; color:var(--bdb-stone); padding-bottom:4px; }

.bdb-d { min-width:0; min-height:44px; border:1px solid #EFEBE3; border-radius:8px; background:#fff;
	display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
	cursor:pointer; font-family:inherit; padding:0; }
.bdb-d:hover:not(:disabled) { border-color:var(--bdb-teal); }
.bdb-n { font-size:13px; color:#241F1A; font-weight:500; }
/* Nightly rate under the date. Small on purpose — it should read as a hint,
   not compete with the number the guest is actually clicking. */
.bdb-p { font-size:8.5px; letter-spacing:-.02em; color:#6b655b; line-height:1; margin-top:2px;
	white-space:nowrap; }
.bdb-d.is-in .bdb-p, .bdb-d.is-out .bdb-p { color:rgba(255,255,255,.85); }
.bdb-d.is-mid .bdb-p { color:#4a6b62; }

/* Stay total, once both dates are chosen. */
.bdb-sum { background:var(--bdb-soft); border-radius:10px; padding:12px 14px; margin-bottom:12px;
	display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.bdb-sum[hidden] { display:none !important; }
.bdb-sum .l { font-size:12.5px; color:var(--bdb-stone); }
.bdb-sum .v { font-family:Georgia,serif; font-size:1.15rem; color:var(--bdb-teal); }

.bdb-d.is-past, .bdb-d.is-full { cursor:not-allowed; }
.bdb-d.is-past .bdb-n, .bdb-d.is-full .bdb-n { color:#c9c4b9; }
.bdb-d.is-full .bdb-n { text-decoration:line-through; }
.bdb-d.is-mid { background:var(--bdb-soft); border-radius:0; }
.bdb-d.is-in, .bdb-d.is-out { background:var(--bdb-teal); }
.bdb-d.is-in .bdb-n, .bdb-d.is-out .bdb-n { color:#fff; }

.bdb-go { width:100%; background:var(--bdb-teal); color:#fff; border:0; border-radius:100px;
	padding:13px 20px; font-size:15px; font-weight:600; cursor:pointer; font-family:inherit; }
.bdb-go:disabled { opacity:.5; cursor:not-allowed; }

.bdb-qty { margin-bottom:12px; }
.bdb-qty[hidden] { display:none !important; }
.bdb-qty label { display:flex; align-items:center; justify-content:space-between; font-size:13px;
	color:var(--bdb-stone); gap:10px; }
.bdb-qty select { font-family:inherit; font-size:14px; padding:8px 12px; border:1px solid var(--bdb-line);
	border-radius:8px; background:#fff; color:var(--bdb-ink); }

.bdb-err { color:#a83b3b; font-size:13px; margin-top:8px; }
.bdb-err[hidden] { display:none !important; }

/* The real MotoPress form must stay on the page (this widget submits into
   it directly), but it should never be visible — [bulod_direct_booking]
   is the only booking UI guests should see or interact with. */
.mphb_sc_booking_form-wrapper { display:none !important; }

@media (max-width:560px) {
	/* Two months side by side stop being legible here — show one. */
	.bdb-months { gap:0; }
	/* Hidden anyway, but clear the divider so nothing is left behind if the
	   second month is ever shown again at this width. */
	.bdb-m + .bdb-m { display:none; border-left:0; padding-left:0; margin-left:0; }
}

@media (max-width:480px) {
	.bdb-n { font-size:12px; }
}
