/* BookingHapa Frontend additions. The design itself lives in style.css, unchanged. */
body.admin-bar nav{top:46px}
@media(min-width:783px){body.admin-bar nav{top:46px}}
/* currency: both prices are in the page, CSS shows the visitor's choice. The code is always printed beside the amount. */
body[data-cur="KES"] .bhf-p[data-cur="USD"],body[data-cur="USD"] .bhf-p[data-cur="KES"]{display:none}
.cur-sw{display:inline-flex;border:1.5px solid rgba(255,255,255,.55);border-radius:999px;padding:2px}
.cur-sw button{border:0;background:none;color:#fff;font:700 .78rem var(--sans);padding:6px 12px;border-radius:999px;cursor:pointer;min-height:34px}
.cur-sw button.on{background:#fff;color:var(--deep)}
nav.scrolled .cur-sw{border-color:#cfdde3}
nav.scrolled .cur-sw button{color:var(--deep)}nav.scrolled .cur-sw button.on{background:var(--deep);color:#fff}
@media(max-width:900px){.cur-sw{border-color:#cfdde3;align-self:flex-start;margin:4px 16px}.cur-sw button{color:var(--deep)}.cur-sw button.on{background:var(--deep);color:#fff}}
.bhf-ph{display:block;width:100%;height:100%;min-height:100%;background:linear-gradient(135deg,var(--deep),var(--accent))}
.room .pic{display:block}.room h3 a:hover{color:var(--accent)}
.rt-names{font-size:.82rem!important;margin:-8px 0 14px!important}
.room .price small{display:inline}
.flt.bhf-flt{grid-template-columns:repeat(3,1fr)}
@media(max-width:900px){.flt.bhf-flt{grid-template-columns:1fr 1fr}.bhf-wide{grid-column:1/-1}}
@media(max-width:560px){.flt.bhf-flt{grid-template-columns:1fr}}
.bhf-dates{margin-top:16px;padding:12px 18px;border-left:4px solid var(--accent);background:#f3fafc;border-radius:0 12px 12px 0;font-size:.92rem}
.bhf-dates a{color:var(--accent);font-weight:700;text-decoration:underline;cursor:pointer}
.room.na{display:none}
.bhf-label{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;font-weight:700}
.sl .tag{z-index:2}
.err{color:#b3261e;font-weight:700;font-size:.9rem;margin:6px 0 14px}
.bhf-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.bhf-content p{margin-bottom:12px}
.bhf-rt .tbl td:last-child{text-align:right}
/* availability calendar on the booking page */
.bhf-cal{margin:6px 0 18px}
.bhf-cal .cm{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media(max-width:700px){.bhf-cal .cm{grid-template-columns:1fr}}
.bhf-cal .ch{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;font-weight:700;color:var(--deep)}
.bhf-cal .ch button{border:1.5px solid #dbe6ea;background:#fff;border-radius:50%;width:34px;height:34px;cursor:pointer;color:var(--deep)}
.bhf-cal .g{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.bhf-cal .g i{font-style:normal;font-size:.7rem;color:var(--muted);padding:4px 0}
.bhf-cal .d{border:0;border-radius:10px;min-height:38px;font:inherit;font-size:.85rem;cursor:pointer;background:#e5f6ee;color:#0a7d4b}
.bhf-cal .d:hover{background:#c9ecd9}
.bhf-cal .d.un{background:#eceff1;color:#9aa8af;text-decoration:line-through;cursor:not-allowed}
.bhf-cal .d.past{background:none;color:#c3ccd1;cursor:default}
.bhf-cal .d.sel{background:var(--accent);color:#fff}
.bhf-cal .d.rng{background:var(--tint);color:var(--deep)}
.bhf-cal .d.blank{visibility:hidden}
.bhf-cal .lg{display:flex;gap:14px;flex-wrap:wrap;font-size:.78rem;color:var(--muted);margin-top:8px}
.bhf-cal .lg b{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}
/* confirmation */
.bhf-done .ref{font-family:var(--serif);font-size:2.6rem;font-weight:700;color:var(--deep);line-height:1.1;margin:6px 0 4px;word-break:break-all}
.bhf-pill{display:inline-block;padding:4px 14px;border-radius:999px;background:#fdf0d8;color:#8a5200;font-weight:700;font-size:.82rem}
.btn-wa{background:#128c4a;color:#fff;box-shadow:0 10px 22px -10px #128c4a}.btn-wa:hover{background:#0e7a40}
.btn[disabled]{opacity:.55;cursor:not-allowed;transform:none}
@media(max-width:900px){body.admin-bar nav{top:56px}}

/* availability checker: standalone section below the hero (was overlapping the hero edge and being clipped) */
.avail{background:var(--bg);padding:40px 0 40px;position:relative;z-index:3}
.avail .book{transform:none;margin:0}
.avail + .intro{margin-top:0;padding-top:70px}
@media (max-width:900px){.avail{padding-top:28px}.avail + .intro{padding-top:56px}}
.avail .book>*{min-width:0}
.avail .book input,.avail .book select{min-width:0;max-width:100%}
@media (max-width:900px){.avail .book{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media (max-width:560px){.avail .book{grid-template-columns:minmax(0,1fr)}}

/* navbar logo image */
.logo .logo-img{display:block;height:44px;width:auto;max-width:200px;object-fit:contain}
footer .logo .logo-img{height:48px}
@media(max-width:600px){.logo .logo-img{height:36px;max-width:150px}}
