.hbf-page { background:#eef0f6; min-height:80vh; }
.hbf-checkout { max-width:1160px; margin:auto; padding:calc(32px + var(--hbf-header-gap,0px)) 24px 100px; color:#191d36; }
.hbf-checkout h1 { font-size:32px; font-weight:700; margin:24px 0 8px; }
.hbf-checkout h2,.hbf-dialog h2,.hbf-tracking h2 { font-size:21px; font-weight:650; margin:0 0 20px; }
.hbf-subtitle { color:#73758b; margin-bottom:26px; }
.hbf-back { color:#7736ce; }
.hbf-steps { display:flex; gap:24px; flex-wrap:wrap; margin-top:24px; padding:20px 0; border-bottom:1px solid #dedae9; color:#73758b; }
.hbf-steps strong { font-weight:400; }.hbf-steps [aria-current] { color:#7736ce; font-weight:600; }
.hbf-layout { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:26px; align-items:start; }
.hbf-card { background:#fff; border:1px solid #e1deeb; border-radius:16px; padding:26px; margin-bottom:20px; }
.hbf-summary { position:sticky; top:calc(20px + var(--hbf-header-height,0px)); }
.hbf-summary>img { width:100%; height:200px; object-fit:cover; border-radius:10px; margin-bottom:18px; }
.hbf-summary h2 { line-height:1.4; }
.hbf-stay { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.hbf-stay dt { color:#73758b; font-weight:400; }.hbf-stay dd { font-weight:600; }
.hbf-primary,.hbf-secondary { display:inline-flex; justify-content:center; align-items:center; min-height:46px; padding:12px 18px; border-radius:9px; font:inherit; font-weight:600; cursor:pointer; text-decoration:none!important; }
.hbf-primary { background:#fa527e; border:1px solid #fa527e; color:#fff!important; width:100%; margin-top:18px; }
.hbf-secondary { background:#fff; border:1px solid #d1c1ed; color:#7736ce; margin-top:12px; }
.hbf-primary:disabled { opacity:.6; cursor:wait; }
.hbf-plans { display:grid; grid-template-columns:1fr 1fr; gap:12px; border:0; padding:0; margin:0 0 20px; }
.hbf-plans label { display:flex; gap:10px; border:1px solid #ded9e9; border-radius:12px; padding:16px; cursor:pointer; font-weight:400; align-items:flex-start; }
.hbf-plans label:has(input:checked) { border-color:#7736ce; background:#f5f0ff; }
.hbf-plans strong,.hbf-plans small { display:block; margin-top:8px; }.hbf-plans strong { font-size:23px; }.hbf-plans small { font-size:12px; color:#73758b; }
.hbf-plans input,.hbf-consent input { accent-color:#7736ce; flex-shrink:0; }
.hbf-payment-schedule,.hbf-line { display:flex; justify-content:space-between; gap:12px; padding:12px 0; }
.hbf-line strong { text-align:right; white-space:nowrap; }
.hbf-total { border-top:1px solid #e1deeb; font-size:18px; margin-top:10px; }
.hbf-balance-note { border-radius:10px; background:#f5f0ff; padding:12px; margin-top:12px; color:#54317b; }
.hbf-checkout [hidden],.hbf-dialog [hidden],.hbf-tracking [hidden] { display:none!important; }
#hbf-payment-form>label { display:block; margin:14px 0 8px; }
#hbf-name,.hbf-card-element { width:100%; min-height:48px; padding:14px; border:1px solid #dedae9; border-radius:8px; font:inherit; background:white; }
#hbf-payment-form .hbf-consent { display:flex; gap:10px; font-weight:400; align-items:flex-start; }
.hbf-error { padding:14px; background:#fff0f2; color:#a61e3c; border:1px solid #f2bac6; border-radius:9px; margin-top:16px; }
.hbf-sr { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); }
.hbf-dialog { position:fixed; inset:0; margin:auto; height:fit-content; width:min(600px,calc(100% - 24px)); max-height:calc(100dvh - 40px); border:1px solid #e1deeb; border-radius:18px; padding:26px; color:#191d36; overflow-y:auto; }
.hbf-dialog::backdrop { background:#191d3670; }
.hbf-dialog .hbf-close { float:right; min-width:44px; min-height:44px; border:0; background:#f5f0ff; border-radius:50%; color:#7736ce; font-size:24px; }
.hbf-dialog-photo { width:90px; height:70px; object-fit:cover; border-radius:10px; float:left; margin:0 14px 16px 0; }
.hbf-dialog-content { clear:both; }.hbf-dialog .hbf-line { font-size:15px; }
.hbf-tracking { padding:24px; border:1px solid #e1deeb; border-radius:16px; background:#fff; margin:20px 0; }
.hbf-tracking.is-confirmed { border-top:4px solid #36a76b; }.hbf-tracking.is-pending { border-top:4px solid #dfb360; }
.hbf-tracking .hbf-payment-schedule { border-bottom:1px solid #eee; }
.hbf-tracking-links { display:flex; gap:12px; flex-wrap:wrap; }
:is(.hbf-checkout,.hbf-dialog,.hbf-tracking) :is(button,a,input):focus-visible { outline:2px solid #7736ce; outline-offset:3px; }
@media(max-width:991px) {
 .hbf-checkout { padding:calc(20px + var(--hbf-header-gap,0px)) 16px calc(100px + env(safe-area-inset-bottom)); }
 .hbf-checkout h1 { font-size:27px; }.hbf-steps { gap:12px; font-size:12px; }
 .hbf-layout { display:flex; flex-direction:column; gap:0; }.hbf-layout>div,.hbf-summary { width:100%; }
 .hbf-summary { position:static; order:-1; }.hbf-summary>img { width:76px; height:68px; float:left; margin-right:14px; }.hbf-summary h2 { font-size:17px; margin-bottom:6px; }.hbf-summary>[data-hbf-rows] { clear:both; }
 .hbf-card { padding:20px; }.hbf-plans { grid-template-columns:1fr; }.hbf-plans strong { font-size:24px; }
 .hbf-dialog { padding:20px; max-height:calc(100dvh - 130px); }.hbf-tracking { padding:18px; }
 .hbf-line,.hbf-payment-schedule { flex-wrap:wrap; }.hbf-total { font-size:17px; }
}
@media(prefers-reduced-motion:reduce) { .hbf-checkout * { scroll-behavior:auto!important; } }

/* Readable booking controls, scoped to the listing's desktop and mobile forms. */
.sidebar-booking-module input.form-control:is([name="arrive"],[name="depart"],[name="guests"]),
.sidebar-booking-module input:is([name="arrive"],[name="depart"],[name="guests"]) {
 font-size:16px!important; line-height:1.4; min-height:46px;
}
.sidebar-booking-module .search-guests-wrap :is(.calculator-label,.quantity-calculator,.apply_guests) {
 font-size:16px!important;
}

/* The listing selects the stay; totals and payment plans live on the review page. */
.sidebar-booking-module :is(#homey_booking_cost,#homey_booking_cost_mobile,.payment-list,.payment-info) { display:none!important; }
.hbf-account-tools { display:inline-flex!important; align-items:center; gap:14px; }
/* The public header also declares display:block!important for this grid cell. */
@media(min-width:992px) {
 body.hosgy-public-header-page header.header-nav:not(.header-mobile) .header-comp-right.hbf-account-tools {
  display:flex!important; flex-flow:row nowrap!important; align-items:center; justify-content:flex-end;
 }
 .hbf-standard-header .hbf-account-tools { flex-flow:row nowrap; }
 .hbf-standard-header .hbf-account-tools > :is(.hbf-language,.account-loggedin) { flex:0 0 auto; }
}
.hbf-account-tools > .user-image { margin-left:0!important; }
.hbf-language { display:inline-block!important; position:static!important; float:none!important; width:auto!important; margin:0!important; }
.hbf-language select { font-size:14px; max-width:145px; height:36px; border:1px solid #ded9e9; border-radius:6px; background:white; }
@media(max-width:991px) {
 .hbf-account-tools { gap:8px; justify-content:flex-end; }
 .hbf-language select { max-width:100px; }
 .hbf-checkout-header.header-mobile .header-mobile-wrap > .container > .row { display:flex; align-items:center; }
 .hbf-checkout-header.header-mobile .header-mobile-wrap > .container > .row > .col-xs-3:first-child { width:16%; }
 .hbf-checkout-header.header-mobile .header-mobile-wrap > .container > .row > .col-xs-6 { width:30%; }
 .hbf-checkout-header.header-mobile .header-mobile-wrap > .container > .row > .col-xs-3:last-child { width:54%; }
}

/* Shared header: logo left, language then account name and profile right. */
.hbf-standard-header > .container { width:100%; max-width:none; padding-left:22px; padding-right:22px; }
.hbf-standard-header .header-inner { width:100%; }
.hbf-account-tools > .account-loggedin { white-space:nowrap; font-size:14px; }
.hbf-standard-header .hbf-language select { height:27px; border:1px solid #888; border-radius:0; font-size:14px; }
.hbf-standard-header .hbf-language { margin-right:16px!important; }
@media(max-width:991px){.hbf-standard-header .hbf-language { margin-right:0!important; }}
