/* ==========================================================================
   হাওর বিলাস — booking module, checkout, confirmation, room views, stats
   ========================================================================== */
/* Neutralise theme button styling inside the app components. */
.hb-booking button:not(.hb-btn), .hb-modal button:not(.hb-btn), .hb-slider button, .hb-journeys button, .hb-views button, .hb-checkout button:not(.hb-btn), .hb-stepper button { padding: 0; margin: 0; min-width: 0; line-height: 1; font-family: inherit; box-shadow: none; text-transform: none; letter-spacing: 0; }
.hb-booking button:not(.hb-btn):hover, .hb-modal button:not(.hb-btn):hover { transform: none; }
.hb-booking { display: grid; gap: 28px; min-width: 0; }
.hb-booking > *, .hb-booking__top > * { min-width: 0; }
.hb-deck { overflow: hidden; }
.hb-booking__top { display: grid; grid-template-columns: 460px 1fr; gap: 28px; align-items: start; }
.hb-booking__calendar { padding: 24px; }
.hb-booking__cal-head { margin-bottom: 14px; }
.hb-booking__picked { font-family: var(--hb-head); font-weight: 700; font-size: 22px; margin: 0; color: var(--hb-muted); }
.hb-booking__picked.is-set { color: var(--hb-ink); }
.hb-booking__trip { margin: 2px 0 0; font-size: 14px; color: var(--hb-muted); }
.hb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hb-cal__head strong { font-family: var(--hb-head); font-size: 18px; }
.hb-cal__nav { border-color: var(--hb-line); background: var(--hb-surface); color: var(--hb-ink); width: 36px; height: 36px; }
.hb-cal__nav:hover { background: var(--hb-bg-soft); }
.hb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hb-cal__dow { font-size: 12px; font-weight: 600; color: var(--hb-muted); text-align: center; padding: 4px 0 6px; }
.hb-cal__day { aspect-ratio: 1; width: 100%; min-width: 0; border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; background: var(--hb-bg-soft); color: var(--hb-ink); display: flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .2s; position: relative; }
.hb-cal__day.is-available { background: #E3F7EF; color: #0E6B45; }
.hb-cal__day.is-partial { background: #FFF1D6; color: #8A5A00; }
.hb-cal__day.is-full { background: #FDE2E0; color: #9A2E27; cursor: not-allowed; }
.hb-cal__day.is-off { background: #F1F4F4; color: #A3B0B5; cursor: not-allowed; }
.hb-cal__day:not([disabled]):hover { transform: translateY(-2px); box-shadow: var(--hb-shadow); }
.hb-cal__day.is-picked { background: var(--hb-grad) !important; color: #fff !important; box-shadow: var(--hb-shadow-accent); }
.hb-cal__loading { color: var(--hb-muted); font-size: 14px; padding: 20px 0; text-align: center; }
.hb-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--hb-muted); }
.hb-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.hb-legend .is-available { background: #2EBD85; } .hb-legend .is-partial { background: #F5B942; } .hb-legend .is-full { background: #E0453A; } .hb-legend .is-off { background: #C9D3D6; }
.hb-legend .is-family { background: var(--hb-accent); } .hb-legend .is-couple { background: var(--hb-coral); } .hb-legend .is-bunk { background: var(--hb-navy); } .hb-legend .is-public { background: #CFE6DE; } .hb-legend .is-booked { background: #C9D3D6; } .hb-legend .is-selected { background: var(--hb-gold); }
.hb-booking__side { padding: 8px 0; }
.hb-booking__title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.hb-booking__intro { color: var(--hb-muted); max-width: 52ch; }
.hb-booking__stats { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-top: 24px; }
.hb-stat { background: var(--hb-surface); border: 1px solid var(--hb-line); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--hb-shadow); }
.hb-stat--navy { background: var(--hb-navy); color: #fff; border-color: transparent; }
.hb-stat__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.hb-stat__num { font-family: var(--hb-head); font-size: 44px; line-height: 1; }
.hb-stat__flow { font-family: var(--hb-head); font-size: 18px; line-height: 1.3; }
.hb-stat__sub { font-size: 13px; opacity: .8; }

/* Deck plan */
.hb-deck { padding: 28px; }
.hb-deck__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hb-deck__title { font-size: 26px; margin: 0 0 4px; }
.hb-deck__sub { margin: 0; color: var(--hb-muted); font-size: 14px; }
.hb-legend--deck { margin: 0; align-self: flex-end; }
.hb-deck__plan { overflow-x: auto; padding-bottom: 6px; }
.hb-plan { display: grid; grid-template-columns: 120px repeat(var(--hb-cols, 5), minmax(180px, 250px)) 120px; grid-template-rows: auto 56px auto; gap: 12px; width: fit-content; min-width: 0; margin: 0 auto; background: var(--hb-bg-soft); border: 1px solid var(--hb-line); border-radius: 26px; padding: 18px; }
.hb-plan__area { display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-accent-deep); background: #DDEFE9; border-radius: 18px; }
.hb-plan__area--left { grid-column: 1; grid-row: 1; }
.hb-plan__area--owner { grid-column: 1; grid-row: 3; }
.hb-plan__area--right { grid-column: calc(var(--hb-cols, 5) + 2); grid-row: 1 / span 3; border-radius: 0 80px 80px 0; }
.hb-plan__area--middle { grid-column: 2 / span var(--hb-cols, 5); grid-row: 2; background: #F3E4C9; color: #7A5A19; }
.hb-cabin { grid-row: 1; background: var(--hb-surface); border: 2px solid var(--hb-accent); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s var(--hb-ease), box-shadow .2s; }
.hb-cabin[style*="grid-row:2"], .hb-cabin[style*="grid-row: 2"] { grid-row: 3 !important; }
.hb-cabin--couple { border-color: var(--hb-coral); }
.hb-cabin--bunk { border-color: var(--hb-navy); }
.hb-cabin:hover { transform: translateY(-3px); box-shadow: var(--hb-shadow); }
.hb-cabin.is-selected { border-color: var(--hb-gold); box-shadow: 0 0 0 4px rgba(245,185,66,.3); background: #FFF9EA; }
.hb-cabin.is-booked { border-color: var(--hb-line); background: #F4F6F6; opacity: .75; }
.hb-cabin__top { display: flex; justify-content: space-between; align-items: center; }
.hb-cabin__type { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--hb-accent); color: #fff; }
.hb-cabin--couple .hb-cabin__type { background: var(--hb-coral); } .hb-cabin--bunk .hb-cabin__type { background: var(--hb-navy); } .hb-cabin.is-booked .hb-cabin__type { background: #A3B0B5; }
.hb-cabin__code { font-size: 12px; font-weight: 700; color: var(--hb-muted); }
.hb-cabin__name { font-family: var(--hb-head); font-size: 17px; line-height: 1.25; }
.hb-cabin__meta { font-size: 13px; color: var(--hb-muted); }
.hb-cabin__meta strong { color: var(--hb-ink); }
.hb-cabin__actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.hb-cabin__view { font-size: 13px; font-weight: 600; }
.hb-cabin__select { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--hb-bg-soft); cursor: pointer; }
.hb-cabin__select input { accent-color: var(--hb-accent); width: 16px; height: 16px; }
.hb-cabin.is-selected .hb-cabin__select { background: var(--hb-gold); color: var(--hb-ink); }
.hb-cabin__booked { font-size: 12px; font-weight: 700; color: var(--hb-danger); }

/* Selection bar */
.hb-selection { position: sticky; bottom: 12px; z-index: 40; }
.hb-selection__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--hb-navy); color: #fff; border-radius: 20px; padding: 14px 18px 14px 24px; box-shadow: var(--hb-shadow-lg); }
.hb-selection__inner strong { display: block; font-family: var(--hb-head); font-size: 20px; }
.hb-selection__total { font-size: 14px; color: rgba(255,255,255,.8); }
.hb-selection .hb-kicker { margin-bottom: 2px; }

/* Group package */
.hb-group { padding: 26px 28px; }
.hb-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.hb-group__note { margin: 0; color: var(--hb-muted); max-width: 60ch; }
.hb-group__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.hb-tier { background: var(--hb-bg-soft); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; }
.hb-tier span { font-size: 13px; font-weight: 600; color: var(--hb-muted); }
.hb-tier strong { font-family: var(--hb-head); font-size: 22px; }
.hb-tier small { font-size: 12px; color: var(--hb-muted); }

/* Modal */
.hb-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hb-modal[hidden] { display: none; }
.hb-modal__backdrop { position: absolute; inset: 0; background: rgba(7,29,42,.6); backdrop-filter: blur(4px); }
.hb-modal__panel { position: relative; background: var(--hb-surface); border-radius: 24px; width: min(640px, 100%); max-height: 90vh; overflow: auto; padding: 32px; box-shadow: var(--hb-shadow-lg); animation: hbPop .25s var(--hb-ease); }
@keyframes hbPop { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.hb-modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hb-line); background: #fff; color: var(--hb-ink); font-size: 24px; cursor: pointer; }
.hb-modal__title { font-size: 26px; margin: 0 0 4px; }
.hb-modal__sub { color: var(--hb-muted); margin: 0 0 18px; }
.hb-guest-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hb-line); }
.hb-guest-row > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.hb-guest-row span { font-size: 13px; color: var(--hb-muted); }
.hb-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--hb-bg-soft); border-radius: 999px; padding: 4px; }
.hb-stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--hb-ink); font-size: 20px; font-weight: 700; cursor: pointer; box-shadow: var(--hb-shadow); }
.hb-stepper button:hover { background: var(--hb-accent); color: #fff; }
.hb-stepper output { min-width: 34px; text-align: center; font-family: var(--hb-head); font-size: 18px; font-weight: 700; }
.hb-modal__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hb-line); }
.hb-modal__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hb-muted); }
.hb-modal__foot strong { font-family: var(--hb-head); font-size: 24px; }
body.hb-modal-open { overflow: hidden; }

/* Checkout */
.hb-checkout__grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.hb-checkout__form { padding: clamp(24px, 4vw, 40px); }
.hb-checkout__title { font-size: 30px; margin-bottom: 20px; }
.hb-policies { margin: 24px 0 12px; padding: 20px 22px; background: var(--hb-bg-soft); border-radius: 16px; font-size: 15px; }
.hb-policies h3 { font-size: 18px; margin-bottom: 8px; }
.hb-policies h4 { font-size: 15px; margin: 12px 0 2px; }
.hb-policies p { margin: 0 0 6px; color: var(--hb-muted); }
.hb-checkout .hb-field--check { margin: 16px 0; }
.hb-checkout__submit { width: 100%; }
.hb-summary { position: sticky; top: 100px; padding: 28px; }
.hb-summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.hb-summary__row span { opacity: .75; }
.hb-summary__lines { list-style: none; margin: 12px 0; padding: 0; }
.hb-summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hb-summary__lines small { opacity: .7; }
.hb-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.hb-summary__total strong { font-family: var(--hb-head); font-size: 26px; color: var(--hb-gold); }
.hb-summary__edit { display: inline-block; margin-top: 14px; color: #fff !important; text-decoration: underline; font-size: 14px; }
.hb-checkout__empty { padding: 40px; text-align: center; }

/* Confirmation */
.hb-confirm { padding: clamp(24px, 4vw, 44px); }
.hb-confirm__head { display: flex; gap: 20px; align-items: center; color: var(--hb-success); margin-bottom: 24px; }
.hb-confirm__head h2 { margin: 0; font-size: 34px; color: var(--hb-ink); }
.hb-confirm__head .hb-kicker { margin: 0; }
.hb-confirm__status { display: inline-block; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #FFF1D6; color: #8A5A00; }
.hb-confirm__status.is-confirmed { background: #E3F7EF; color: #0E6B45; }
.hb-confirm__status.is-cancelled { background: #FDE2E0; color: #9A2E27; }
.hb-confirm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.hb-confirm .hb-summary__lines li, .hb-confirm .hb-summary__row { border-color: var(--hb-line); }
.hb-confirm .hb-summary__total strong { color: var(--hb-accent-deep); }
.hb-confirm__hold { padding: 10px 14px; background: #FFF1D6; border-radius: 12px; }
.hb-confirm__pay { background: var(--hb-bg-soft); border-radius: 16px; padding: 18px 20px; margin: 14px 0; }
.hb-confirm__pay h4 { margin: 0 0 6px; font-size: 16px; }
.hb-confirm__loading { color: var(--hb-muted); }

/* Room views (tabs + slider) */
.hb-views { background: var(--hb-navy); border-radius: var(--hb-r-lg); overflow: hidden; color: #fff; }
.hb-views__tabs { display: flex; gap: 6px; padding: 10px; background: rgba(255,255,255,.06); overflow-x: auto; }
.hb-views .hb-views__tab { flex: 1 0 auto; border: 0; background: transparent; color: rgba(255,255,255,.75); font: inherit; font-weight: 700; font-size: 16px; padding: 14px 20px; border-radius: 14px; cursor: pointer; transition: background .2s, color .2s; }
.hb-views__tab.is-active { background: var(--hb-grad-coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,53,.35); }
.hb-views__panel { display: none; grid-template-columns: 340px 1fr; gap: 0; }
.hb-views__panel.is-active { display: grid; }
.hb-views__text { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.hb-site .hb-views__text h3, .hb-site .hb-views__text .hb-kicker { color: #fff; }
.hb-views__text h3 { font-size: 28px; margin: 0; }
.hb-views__text p { color: rgba(255,255,255,.82); margin: 0 0 10px; }
.hb-views__text .hb-btn { align-self: flex-start; color: #fff !important; border-color: rgba(255,255,255,.4); }
.hb-slider { position: relative; overflow: hidden; min-height: 380px; }
.hb-slider__track { display: flex; height: 100%; transition: transform .6s var(--hb-ease); }
.hb-slider__slide { flex: 0 0 100%; position: relative; min-height: 380px; }
.hb-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.hb-slider__ctrl { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: rgba(7,29,42,.6); padding: 6px 8px; border-radius: 999px; backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; }
.hb-slider__ctrl button { width: 34px; height: 34px; }

/* Stats strip */
.hb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.hb-stats__item { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 22px; text-align: center; }
.hb-stats__item strong { display: block; font-family: var(--hb-head); font-size: 44px; line-height: 1; color: var(--hb-gold); }
.hb-stats__item span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hb-stats--light .hb-stats__item { background: var(--hb-surface); border-color: var(--hb-line); box-shadow: var(--hb-shadow); }
.hb-stats--light .hb-stats__item strong { color: var(--hb-accent-deep); }
.hb-stats--light .hb-stats__item span { color: var(--hb-muted); }

@media (max-width: 1024px) {
	.hb-booking__top { grid-template-columns: 1fr; }
	.hb-booking__side { order: -1; }
	.hb-checkout__grid { grid-template-columns: 1fr; }
	.hb-summary { position: static; }
	.hb-views__panel.is-active { grid-template-columns: 1fr; }
	.hb-views__text { padding: 28px 24px 10px; }
	.hb-confirm__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.hb-booking__calendar, .hb-deck, .hb-group { padding: 18px; }
	.hb-booking__stats { grid-template-columns: 1fr; }
	.hb-cal__grid { gap: 4px; }
	.hb-cal__day { border-radius: 9px; font-size: 14px; }
	.hb-selection { bottom: 12px; }
	.hb-selection__inner { flex-direction: column; align-items: stretch; text-align: center; padding: 14px; }
	.hb-selection__inner strong { font-size: 17px; }
	.hb-modal__panel { padding: 24px 18px; border-radius: 20px; }
	.hb-modal__foot { flex-direction: column; align-items: stretch; }
	.hb-slider, .hb-slider__slide { min-height: 260px; }
	.hb-views__tab { font-size: 14px; padding: 12px 14px; }
	.hb-stats__item strong { font-size: 34px; }
	.hb-confirm__head { flex-direction: column; align-items: flex-start; }
}
