/* Hotel Booking Manager Pro — front-end styles */
.hbmp-booking-form, .hbmp-booking-widget { --p:var(--hbmp-primary,#026583); max-width:640px; border:1px solid #e2e8f0; border-radius:12px; padding:22px; box-shadow:0 8px 24px rgba(15,23,42,.06); font-family:system-ui,Segoe UI,Arial,sans-serif; }
.hbmp-booking-form h3 { margin:0 0 16px; color:var(--p); }
.hbmp-bf-row { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.hbmp-bf-row label, .hbmp-booking-form > label { flex:1; min-width:140px; display:flex; flex-direction:column; gap:4px; font-size:13px; font-weight:600; }
.hbmp-booking-form input, .hbmp-booking-form textarea { padding:10px 12px; border:1px solid #e2e8f0; border-radius:10px; font-size:14px; }
.hbmp-hp { position:absolute !important; left:-9999px !important; }
.hbmp-bf-submit, .hbmp-bw-check { background:var(--p); color:var(--hbmp-on-primary,#fff); border:0; padding:12px 18px; border-radius:10px; font-weight:700; cursor:pointer; font-size:15px; }
.hbmp-bf-quote { background:#f8fafc; border-radius:10px; padding:10px 14px; margin:6px 0; }
.hbmp-bf-result { margin-top:12px; font-weight:600; }
.hbmp-bf-result.ok { color:#22c55e; } .hbmp-bf-result.err { color:#ef4444; }

.hbmp-room-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.hbmp-room-list-item { border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(15,23,42,.05); }
.hbmp-room-thumb { display:block; aspect-ratio:16/9; background:#e2e8f0 center/cover; }
.hbmp-room-info { padding:16px; }
.hbmp-room-info h3 { margin:0 0 6px; } .hbmp-room-info h3 a { color:#0f172a; text-decoration:none; }
.hbmp-room-price { font-size:20px; font-weight:800; color:var(--hbmp-primary,#026583); }
.hbmp-room-cta { display:inline-block; margin-top:10px; background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); padding:9px 16px; border-radius:10px; text-decoration:none; font-weight:700; }

.hbmp-gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:10px; }
.hbmp-gallery-item { margin:0; } .hbmp-gallery-img { width:100%; height:100%; object-fit:cover; border-radius:10px; }

.hbmp-bw-row { display:flex; gap:8px; flex-wrap:wrap; }
.hbmp-bw-row input { padding:10px; border:1px solid #e2e8f0; border-radius:10px; }
.hbmp-bw-result { margin-top:10px; font-weight:600; }

/* ---------- Extras in booking form ---------- */
.hbmp-bf-extras { border:1px solid #e2e8f0; border-radius:12px; padding:14px 16px; margin:12px 0; }
.hbmp-bf-extras h4 { margin:0 0 10px; color:#0f172a; }
.hbmp-extra-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid #f1f5f9; cursor:pointer; }
.hbmp-extra-row:last-child { border-bottom:0; }
.hbmp-extra-pick { display:flex; align-items:flex-start; gap:10px; }
.hbmp-extra-pick input { margin-top:3px; }
.hbmp-extra-name { font-weight:400; display:flex; flex-direction:column; }
.hbmp-extra-name small { font-weight:400; color:#64748b; }
.hbmp-extra-meta { display:flex; align-items:center; gap:8px; white-space:nowrap; color:var(--hbmp-primary,#026583); font-weight:700; }
.hbmp-extra-meta small { color:#94a3b8; font-weight:500; }
.hbmp-extra-qty { width:56px; padding:6px; border:1px solid #e2e8f0; border-radius:8px; }

/* ---------- Search shortcode ---------- */
.hbmp-search-app { font-family:system-ui,Segoe UI,Arial,sans-serif; }
.hbmp-search-form { background:#0f172a; border-radius:14px; padding:18px 18px 24px; }
.hbmp-search-fields { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.hbmp-search-fields label { display:flex; flex-direction:column; gap:6px; color:#cbd5e1; font-size:13px; font-weight:600; flex:1; min-width:140px; position:relative; }
.hbmp-search-fields input { padding:11px 12px; border:1px solid #1e293b; border-radius:10px; font-size:15px; }
.hbmp-search-btn { background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); border:0; padding:12px 22px; border-radius:10px; font-weight:700; font-size:15px; cursor:pointer; min-width:180px; }
.hbmp-search-btn:hover { filter:brightness(1.08); }
.hbmp-search-results { margin-top:20px; }
.hbmp-sr-title { margin:22px 0 12px; font-size:18px; color:#0f172a; }
.hbmp-sr-loading, .hbmp-sr-none, .hbmp-sr-err { padding:16px; color:#64748b; }
.hbmp-sr-err { color:#ef4444; }
.hbmp-sr-card { display:flex; gap:16px; border:1px solid #e2e8f0; border-radius:12px; overflow:hidden; margin-bottom:14px; box-shadow:0 4px 16px rgba(15,23,42,.05); background:#fff; }
.hbmp-sr-photo { width:200px; flex:0 0 200px; background:#e2e8f0 center/cover no-repeat; min-height:140px; }
.hbmp-sr-body { flex:1; padding:16px; }
.hbmp-sr-body h4 { margin:0 0 6px; font-size:17px; }
.hbmp-sr-cap { color:#64748b; font-size:14px; margin-bottom:8px; }
.hbmp-sr-amenities { display:flex; flex-wrap:wrap; gap:6px; }
.hbmp-sr-amenity { background:#f1f5f9; color:#334155; padding:3px 10px; border-radius:999px; font-size:12px; }
.hbmp-sr-side { flex:0 0 170px; padding:16px; display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:4px; border-left:1px solid #f1f5f9; }
.hbmp-sr-price { font-size:22px; font-weight:800; color:var(--hbmp-primary,#026583); }
.hbmp-sr-nightly { color:#94a3b8; font-size:13px; margin-bottom:8px; }
.hbmp-sr-book { background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); padding:10px 18px; border-radius:10px; text-decoration:none; font-weight:700; }
.hbmp-sr-view { color:var(--hbmp-primary,#026583); text-decoration:none; font-size:13px; margin-top:4px; }
.hbmp-sr-combo { border:1px dashed #cbd5e1; border-radius:12px; padding:14px; margin-bottom:14px; background:#f8fafc; }
.hbmp-sr-combo-head { margin-bottom:12px; color:#0f172a; }
@media (max-width:640px){ .hbmp-sr-card{ flex-direction:column; } .hbmp-sr-photo{ width:100%; flex:none; } .hbmp-sr-side{ border-left:0; align-items:stretch; } }

/* ---------- Multi-room combination booking ---------- */
.hbmp-sr-combo-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.hbmp-sr-combo-book { background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); border:0; padding:9px 16px; border-radius:10px; font-weight:700; cursor:pointer; white-space:nowrap; }
.hbmp-sr-combo-book:hover { filter:brightness(1.08); }

/* ---------- Checkout overlay ---------- */
.hbmp-checkout-overlay { position:fixed; inset:0; background:rgba(15,23,42,.55); display:grid; place-items:center; z-index:100000; padding:20px; }
.hbmp-checkout-box { background:#fff; border-radius:16px; width:min(520px,100%); max-height:90vh; overflow:auto; padding:24px; box-shadow:0 24px 64px rgba(0,0,0,.3); position:relative; font-family:system-ui,Segoe UI,Arial,sans-serif; }
.hbmp-checkout-close { position:absolute; top:14px; right:16px; border:0; background:none; font-size:26px; line-height:1; cursor:pointer; color:#94a3b8; }
.hbmp-checkout-box h3 { margin:0 0 4px; color:#0f172a; }
.hbmp-checkout-dates { color:#64748b; margin:0 0 12px; }
.hbmp-checkout-rooms { list-style:none; margin:0 0 12px; padding:0; }
.hbmp-checkout-rooms li { padding:8px 0; border-bottom:1px solid #f1f5f9; }
.hbmp-checkout-total { font-size:18px; margin-bottom:16px; }
.hbmp-co-row { display:flex; gap:10px; margin-bottom:10px; }
.hbmp-co-row input { flex:1; }
.hbmp-checkout-box input, .hbmp-checkout-box textarea { width:100%; padding:11px 12px; border:1px solid #e2e8f0; border-radius:10px; font-size:15px; box-sizing:border-box; }
.hbmp-checkout-box textarea { margin-bottom:12px; }
.hbmp-checkout-submit { width:100%; background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); border:0; padding:13px; border-radius:10px; font-weight:700; font-size:16px; cursor:pointer; }
.hbmp-checkout-submit:disabled { opacity:.6; cursor:default; }
.hbmp-checkout-result { margin-top:12px; font-weight:600; }
.hbmp-checkout-result.ok { color:#22c55e; }
.hbmp-checkout-result.err { color:#ef4444; }

/* ---------- Date input overlay (force dd/mm/yyyy display) ---------- */
.hbmp-date-wrap { position:relative; display:block; }
.hbmp-date-native { color:transparent !important; }
.hbmp-date-native::-webkit-datetime-edit { color:transparent; }
.hbmp-date-display { position:absolute; left:12px; top:50%; transform:translateY(-50%); pointer-events:none; color:#0f172a; font-size:15px; white-space:nowrap; }
.hbmp-date-display.is-empty { color:#94a3b8; }
.hbmp-date-native::-webkit-calendar-picker-indicator { opacity:1; }

/* ---------- Interactive room gallery (large image + thumbnails) ---------- */
.hbmp-gallery2 { margin:0 0 24px; }
.hbmp-gallery2-main {
	width:100%; aspect-ratio:16/10; border-radius:16px; overflow:hidden;
	background:#e2e8f0; box-shadow:0 8px 28px rgba(15,23,42,.10);
}
.hbmp-gallery2-main-img {
	width:100%; height:100%; object-fit:cover; display:block;
	transition:opacity .15s ease;
}
.hbmp-gallery2-thumbs {
	display:flex; gap:10px; margin-top:12px; overflow-x:auto;
	padding-bottom:4px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}
.hbmp-gallery2-thumb {
	flex:0 0 auto; width:104px; height:74px; padding:0; border:3px solid transparent;
	border-radius:12px; overflow:hidden; cursor:pointer; background:#e2e8f0;
	scroll-snap-align:start; transition:border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.hbmp-gallery2-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.hbmp-gallery2-thumb:hover { transform:translateY(-2px); }
.hbmp-gallery2-thumb:focus-visible { outline:none; border-color:#7dd3fc; }
.hbmp-gallery2-thumb.is-active {
	border-color:var(--hbmp-primary,#026583); box-shadow:0 4px 14px rgba(2,101,131,.35);
}
/* Tablet */
@media (max-width:900px){
	.hbmp-gallery2-main { aspect-ratio:16/11; }
	.hbmp-gallery2-thumb { width:92px; height:66px; }
}
/* Mobile: thumbnails scroll horizontally */
@media (max-width:560px){
	.hbmp-gallery2-main { aspect-ratio:4/3; border-radius:12px; }
	.hbmp-gallery2-thumb { width:80px; height:58px; border-width:2px; }
	.hbmp-gallery2-thumbs { gap:8px; }
}

/* ---------- Room amenities (frontend) ---------- */
.hbmp-amenities { margin:20px 0; }
.hbmp-amenities-title { font-size:18px; margin:0 0 12px; color:#0f172a; }
.hbmp-amenities-grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; }
.hbmp-amenity { display:flex; align-items:center; gap:10px; color:#334155; font-size:15px; }
.hbmp-amenity-ic { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:9px; background:#f1f5f9; color:var(--hbmp-primary,#026583); flex:0 0 auto; }
.hbmp-amenity-ic svg { width:20px; height:20px; }
.hbmp-amenity-text { font-weight:500; }
@media (max-width:560px){ .hbmp-amenities-grid { grid-template-columns:1fr 1fr; gap:10px; } .hbmp-amenity { font-size:14px; } }

/* ---------- Shared amenities section (frontend) ---------- */
.hbmp-amenities-shared .hbmp-amenity-ic { background:#ecfeff; color:#0e7490; }
.hbmp-amenities + .hbmp-amenities { margin-top:8px; }

/* ---------- Dynamic rooms grid ([hotel_rooms_grid]) ---------- */
.hbmp-rooms-grid { display:grid; gap:22px; margin:24px 0; }
.hbmp-rooms-grid-2 { grid-template-columns:repeat(2,1fr); }
.hbmp-rooms-grid-3 { grid-template-columns:repeat(3,1fr); }
.hbmp-rooms-grid-4 { grid-template-columns:repeat(4,1fr); }
.hbmp-rg-card { display:flex; flex-direction:column; background:#fff; border:1px solid #e2e8f0; border-radius:16px; overflow:hidden; box-shadow:0 6px 20px rgba(15,23,42,.06); transition:transform .15s ease, box-shadow .15s ease; }
.hbmp-rg-card:hover { transform:translateY(-4px); box-shadow:0 12px 30px rgba(15,23,42,.12); }
.hbmp-rg-media { display:flex; align-items:center; justify-content:center; aspect-ratio:4/3; background:#e2e8f0 center/cover no-repeat; color:#94a3b8; font-size:14px; }
.hbmp-rg-noimg { font-size:13px; }
.hbmp-rg-body { display:flex; flex-direction:column; gap:6px; padding:16px; flex:1; }
.hbmp-rg-title { margin:0; font-size:18px; line-height:1.3; }
.hbmp-rg-title a { color:#0f172a; text-decoration:none; }
.hbmp-rg-title a:hover { color:var(--hbmp-primary,#026583); }
.hbmp-rg-cap { margin:0; color:#64748b; font-size:14px; }
.hbmp-rg-price { margin:2px 0 10px; color:#475569; font-size:15px; }
.hbmp-rg-price strong { color:var(--hbmp-primary,#026583); }
.hbmp-rg-cta { margin-top:auto; display:inline-block; text-align:center; background:var(--hbmp-primary,#026583); color:var(--hbmp-on-primary,#fff); text-decoration:none; padding:10px 14px; border-radius:10px; font-weight:600; transition:background .15s ease; }
.hbmp-rg-cta:hover { background:#024e63; }
/* Responsive: 4→2 on tablet, all→1 on mobile */
@media (max-width:1000px){ .hbmp-rooms-grid-4 { grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px){ .hbmp-rooms-grid-3, .hbmp-rooms-grid-4 { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .hbmp-rooms-grid-2, .hbmp-rooms-grid-3, .hbmp-rooms-grid-4 { grid-template-columns:1fr; } }

/* ---------- Special check-in/out fields ---------- */
.hbmp-bf-special { margin-top:6px; }
.hbmp-bf-note { font-size:12px; color:#b45309; background:#fffbeb; border:1px solid #fde68a; border-radius:8px; padding:8px 10px; margin:8px 0 0; }

/* ---------- Field hint + searchable country selector ---------- */
.hbmp-field-hint { display:block; color:#94a3b8; font-size:12px; margin-top:4px; font-weight:400; }
.hbmp-country-field { position:relative; }
.hbmp-country-list { position:absolute; left:0; right:0; top:100%; z-index:30; background:#fff; border:1px solid #e2e8f0; border-radius:10px; box-shadow:0 10px 30px rgba(15,23,42,.12); max-height:260px; overflow-y:auto; margin-top:4px; }
.hbmp-country-opt { display:block; width:100%; text-align:left; border:0; background:none; padding:9px 12px; cursor:pointer; font-size:14px; color:#0f172a; }
.hbmp-country-opt:hover { background:#f1f5f9; }

/* [hotel_availability_all] / [special-availability] */
.hbmp-avail-app { max-width: 640px; }
.hbmp-avail-form .hbmp-avail-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.hbmp-avail-form label { display: flex; flex-direction: column; font-size: 14px; gap: 4px; }
.hbmp-avail-form input[type="date"], .hbmp-avail-form .hbmp-dp-display { padding: 10px 12px; border: 1px solid #d8dee9; border-radius: 8px; font-size: 15px; }
.hbmp-avail-btn { padding: 11px 18px; border: 0; border-radius: 8px; background: var(--hbmp-primary,#026583); color: var(--hbmp-on-primary,#fff); font-weight: 700; cursor: pointer; font-size: 15px; }
.hbmp-avail-btn:hover { filter: brightness(.95); }
.hbmp-avail-results { margin-top: 18px; }
.hbmp-avail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hbmp-avail-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; padding: 10px 14px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; }
.hbmp-avail-count { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--hbmp-primary,#026583); color: var(--hbmp-on-primary,#fff); font-weight: 800; }
.hbmp-avail-msg { color: #64748b; }
.hbmp-avail-msg.err { color: #ef4444; }

/* Small clarifying note under the Children field in the search form. */
.hbmp-search-hint { position:absolute; top:100%; left:0; margin-top:4px; font-weight:400; font-size:11px; color:#94a3b8; line-height:1.3; white-space:nowrap; }

/* Booking form: children ages + capacity message */
.hbmp-bf-ages { margin: 2px 0 12px; }
.hbmp-bf-ages-title { font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #334155; }
.hbmp-bf-ages-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.hbmp-bf-age { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #64748b; font-weight: 600; }
.hbmp-bf-age input { width: 84px; padding: 8px 10px; border: 1px solid #d8dee9; border-radius: 8px; font-size: 14px; }
.hbmp-bf-capmsg { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0 0 10px; }
.hbmp-extra-row.is-auto { opacity: .9; }
.hbmp-extra-row.is-auto .hbmp-extra-name::after { content: " · auto"; color: #94a3b8; font-size: 11px; font-weight: 600; }

/* Capacity message: "search for a bigger room" action + results */
.hbmp-bf-capmsg { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hbmp-bf-capmsg[hidden] { display: none !important; }
.hbmp-bf-bigger-btn { border: 0; background: var(--hbmp-primary, #026583); color: var(--hbmp-on-primary, #fff); border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hbmp-bf-bigger-btn:hover { filter: brightness(.95); }
.hbmp-bf-bigger { margin: 0 0 12px; }
.hbmp-bf-bigger-title { margin: 0 0 8px; font-size: 14px; }
.hbmp-bf-bigger-loading, .hbmp-bf-bigger-none { font-size: 13px; color: #64748b; margin: 0; }
.hbmp-bf-bigger-room { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 6px; text-decoration: none; color: inherit; }
.hbmp-bf-bigger-room:hover { border-color: var(--hbmp-primary, #026583); background: rgba(2,101,131,.04); }
.hbmp-bf-bigger-name { font-weight: 600; font-size: 14px; }
.hbmp-bf-bigger-price { color: var(--hbmp-primary, #026583); font-weight: 700; white-space: nowrap; }

/* ===== Quick offline booking ([hbmp_quick_booking]) — mobile-first ===== */
.hbmp-qb { max-width: 560px; margin: 0 auto; font-size: 16px; }
.hbmp-qb-gate { max-width: 560px; margin: 1em auto; padding: 16px; border: 1px solid #e2e8f0; border-radius: 10px; background: #f8fafc; text-align: center; }
.hbmp-qb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hbmp-qb-title { margin: 0; font-size: 22px; }
.hbmp-qb-badge { background: var(--hbmp-primary, #026583); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.hbmp-qb-field { margin-bottom: 12px; }
.hbmp-qb-field > label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 4px; }
.hbmp-qb-field input, .hbmp-qb-field select, .hbmp-qb-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8dee9; border-radius: 10px; font-size: 16px; box-sizing: border-box; background: #fff; }
.hbmp-qb-row { display: flex; gap: 10px; }
.hbmp-qb-row .hbmp-qb-field { flex: 1; }
.hbmp-qb-btn { width: 100%; border: 0; background: var(--hbmp-primary, #026583); color: #fff; font-size: 17px; font-weight: 700; padding: 15px; border-radius: 12px; cursor: pointer; margin-top: 6px; }
.hbmp-qb-btn:active { filter: brightness(.92); }
.hbmp-qb-back { background: none; border: 0; color: var(--hbmp-primary, #026583); font-size: 15px; font-weight: 600; padding: 6px 0; cursor: pointer; margin-bottom: 6px; }
.hbmp-qb-msg { font-size: 14px; color: #64748b; padding: 10px 0; }
.hbmp-qb-msg.err, .hbmp-qb-result.err, .hbmp-qb-total .err { color: #ef4444; }
.hbmp-qb-rooms { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.hbmp-qb-room { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; text-align: left; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #1e293b; cursor: pointer; }
.hbmp-qb-room:active { border-color: var(--hbmp-primary, #026583); }
.hbmp-qb-room-name { font-weight: 700; font-size: 16px; color: #1e293b; }
.hbmp-qb-room-meta { grid-column: 1; font-size: 12px; color: #64748b; }
.hbmp-qb-room-price { grid-row: 1 / span 2; align-self: center; font-weight: 800; color: var(--hbmp-primary, #026583); font-size: 17px; white-space: nowrap; }
.hbmp-qb-chosen-card { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: #f1f5f9; font-size: 17px; margin-bottom: 14px; }
.hbmp-qb-chosen-card span { font-weight: 800; color: var(--hbmp-primary, #026583); }
.hbmp-qb-extras-title { font-weight: 700; margin: 6px 0 8px; }
.hbmp-qb-extra { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #eef2f7; }
.hbmp-qb-extra input[type="checkbox"] { width: 20px; height: 20px; }
.hbmp-qb-extra-name { font-size: 15px; }
.hbmp-qb-extra-price { font-weight: 700; color: var(--hbmp-primary, #026583); white-space: nowrap; }
.hbmp-qb-extra-price small { color: #94a3b8; font-weight: 600; }
.hbmp-qb-extra-qty { grid-column: 3; width: 70px; padding: 6px 8px; border: 1px solid #d8dee9; border-radius: 8px; }
.hbmp-qb-total { margin: 16px 0; padding: 14px 16px; background: #f8fafc; border-radius: 12px; font-size: 17px; text-align: center; }
.hbmp-qb-result { margin-top: 12px; font-size: 15px; }
.hbmp-qb-result.ok { color: #16a34a; font-weight: 600; }
.hbmp-qb-result .hbmp-qb-new { display: block; margin-top: 10px; }
@media (max-width: 380px) { .hbmp-qb-row { flex-direction: column; gap: 0; } }

/* Quick booking — combinations */
.hbmp-qb-rooms-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; margin: 14px 0 6px; }
.hbmp-qb-rooms-head:first-child { margin-top: 0; }
.hbmp-qb-combo { display: block; text-align: left; width: 100%; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #1e293b; cursor: pointer; }
.hbmp-qb-combo:active { border-color: var(--hbmp-primary, #026583); }
.hbmp-qb-combo-rooms { display: block; font-weight: 700; font-size: 15px; line-height: 1.35; margin-bottom: 8px; color: #1e293b; }
.hbmp-qb-combo-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hbmp-qb-combo-count { font-size: 12px; color: #64748b; }
.hbmp-qb-combo-price { font-weight: 800; color: var(--hbmp-primary, #026583); font-size: 17px; white-space: nowrap; }
.hbmp-qb-combo-list { list-style: none; margin: 8px 0 0; padding: 0; }
.hbmp-qb-combo-list li { padding: 4px 0; font-size: 14px; color: #475569; border-bottom: 1px dashed #eef2f7; }
.hbmp-qb-combo-list small { color: #94a3b8; }

/* Quick booking step switching — must beat theme "section{display:block}" rules */
.hbmp-qb-step { display: block; }
.hbmp-qb-step[hidden] { display: none !important; }

/* Quick booking — touch steppers for adults/children */
.hbmp-qb-stepper { display: flex; align-items: stretch; gap: 8px; }
.hbmp-qb-stepper input { flex: 1; text-align: center; min-width: 0; }
.hbmp-qb-step-btn { flex: 0 0 48px; width: 48px; border: 1px solid #d8dee9; background: #fff; border-radius: 10px; font-size: 24px; font-weight: 700; line-height: 1; color: var(--hbmp-primary, #026583); cursor: pointer; padding: 0; }
.hbmp-qb-step-btn:active { background: #f1f5f9; }
.hbmp-qb-stepper input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.hbmp-qb-stepper input[type="number"]::-webkit-outer-spin-button,
.hbmp-qb-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Quick booking — step 2 hint */
.hbmp-qb-hint { font-size: 13px; color: #64748b; margin: 4px 0 12px; }

/* Quick booking — child age note */
.hbmp-qb-hint-child { display: block; margin-top: 4px; font-size: 12px; color: #94a3b8; }

/* Quick booking — Notes microphone */
.hbmp-qb-notes-wrap { position: relative; }
.hbmp-qb-notes-wrap textarea { width: 100%; padding-right: 52px; box-sizing: border-box; }
.hbmp-qb-mic { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d8dee9; background: #fff; color: var(--hbmp-primary, #026583); border-radius: 10px; cursor: pointer; padding: 0; }
.hbmp-qb-mic:active { background: #f1f5f9; }

/* Quick booking — persistent logo header */
.hbmp-qb-logo { text-align: center; margin: 0 0 16px; }
/* Override the inline px caps so the logo scales to its shape and the screen:
   square logos get the full height, wide ones the full width, never overflow. */
.hbmp-qb-logo-img { width: auto !important; height: auto !important; max-width: 100% !important; max-height: 140px !important; object-fit: contain; }
@media (max-width: 420px) { .hbmp-qb-logo-img { max-height: 110px !important; } }

/* Room-page availability calendar ([hotel_availability_calendar]) */
.hbmp-availability-calendar { max-width: 360px; }
.hbmp-ac { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; background: #fff; }
.hbmp-ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hbmp-ac-head strong { font-size: 15px; }
.hbmp-ac-nav { border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 16px; line-height: 1; color: #334155; }
.hbmp-ac-nav:hover { background: #eef2f7; }
.hbmp-ac-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 4px; }
.hbmp-ac-dow span { text-align: center; font-size: 11px; color: #94a3b8; font-weight: 600; }
.hbmp-ac-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.hbmp-ac-cell { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; border: 1px solid transparent; }
.hbmp-ac-empty-cell { background: transparent; border: 0; }
.hbmp-ac-open { background: #fff; border-color: #cbd5e1; color: #0f172a; }
.hbmp-ac-closed { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.hbmp-ac-past { background: #f1f5f9; color: #cbd5e1; }
.hbmp-ac-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: #64748b; }
.hbmp-ac-key { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.hbmp-ac-loading, .hbmp-ac-empty { color: #94a3b8; font-size: 13px; padding: 8px; }
