/* Faqja "Rezervo" — paneli i qëndrimit + lista e dhomave.
   Përdor variablat e css/style.css. */

.bk-head { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(28px, 4vw, 48px); }
.bk-head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.05em; line-height: .96; margin-top: 18px; }
.bk-head .head-row { margin-bottom: 0; }

.bk-steps {
  display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: clamp(28px, 4vw, 40px);
  font-size: .8rem; color: var(--ink-soft); counter-reset: s;
  margin-bottom: 0; padding: 0; list-style: none;
}
.bk-steps li { display: inline-flex; align-items: center; gap: 10px; }
.bk-steps li::before {
  counter-increment: s; content: counter(s);
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); font-size: .72rem; font-weight: 600; color: var(--ink-soft);
}
.bk-steps li.on { color: var(--ink); }
.bk-steps li.on::before { background: var(--clay); border-color: var(--clay); color: var(--paper); }

.bk-layout {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px); align-items: start;
  padding-bottom: clamp(72px, 10vw, 136px);
}

/* ---------- Paneli ---------- */
.bk-panel {
  position: sticky; top: 98px;
  background: var(--paper); border: 1px solid var(--line);
}
.bk-panel-head { padding: 22px 24px 0; }
.bk-panel-head h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 24px 0; border: 1px solid var(--line); }
.bk-dates .field { border-right: 1px solid var(--line); padding: 12px 14px; }
.bk-dates .field:last-child { border-right: 0; }
.bk-dates input { font-size: .98rem; cursor: pointer; }
.bk-dates input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.bk-span { margin: 10px 24px 0; font-size: .85rem; color: var(--ink-soft); min-height: 1.4em; }
.bk-span strong { color: var(--ink); font-weight: 600; }
.bk-span.err { color: var(--clay-deep); }

.bk-guests { margin: 18px 24px 0; border-top: 1px solid var(--line); }
.bk-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.bk-row b { display: block; font-weight: 500; font-size: .98rem; }
.bk-row small { display: block; font-size: .78rem; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper button svg { width: 14px; height: 14px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.bk-go { display: grid; gap: 10px; padding: 20px 24px 22px; }
.bk-go .btn { width: 100%; padding-block: 18px; font-size: 1rem; }
.bk-go p { font-size: .78rem; color: var(--ink-soft); text-align: center; }

.bk-trust { border-top: 1px solid var(--line); padding: 18px 24px; display: grid; gap: 10px; font-size: .86rem; }
.bk-trust li { display: flex; gap: 10px; align-items: flex-start; }
.bk-trust svg { width: 17px; height: 17px; color: var(--clay); flex: none; margin-top: 2px; }

.bk-call {
  border-top: 1px solid var(--line); padding: 16px 24px; background: var(--sand);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px;
  font-size: .86rem; color: var(--ink-soft);
}
.bk-call a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.bk-call a:hover { border-bottom-color: var(--ink); }

/* ---------- Dhomat ---------- */
.bk-rooms-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.bk-rooms-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.035em; }
.bk-rooms-head p { font-size: .88rem; color: var(--ink-soft); }
.bk-rooms { display: grid; gap: 16px; }

.bk-room {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) auto;
  background: var(--paper); border: 1px solid var(--line);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), opacity .25s var(--ease);
}
.bk-room:hover { border-color: var(--ink-soft); }
.bk-room.is-picked { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.bk-room .ph { position: relative; min-height: 180px; }
.bk-room .ph img { position: absolute; inset: 0; }
.bk-room-body { padding: 18px 22px; display: grid; gap: 8px; align-content: center; min-width: 0; }
.bk-room .tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.bk-room h3 { font-size: 1.3rem; letter-spacing: -.025em; }
.bk-room p { font-size: .9rem; color: var(--ink-soft); }
.bk-room .specs { margin-top: 2px; }
.bk-room-cta {
  padding: 18px 22px; display: grid; gap: 10px; align-content: center; justify-items: end;
  border-left: 1px solid var(--line); min-width: 190px;
}
.bk-fit { font-size: .78rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.bk-fit svg { width: 14px; height: 14px; }
.bk-fit.ok { color: #3F6B48; }
.bk-room.is-small { opacity: .55; }
.bk-room.is-small:hover { opacity: .85; }
.bk-room.is-small .bk-fit { color: var(--clay-deep); }
.bk-note { margin-top: 18px; font-size: .86rem; color: var(--ink-soft); }
.bk-note a { color: var(--ink); }

/* ---------- Motori i rezervimit brenda faqes ---------- */
.bk-ibe { padding-top: 20px; padding-bottom: 40px; }
.bk-ibe-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  margin-bottom: 14px; font-size: .9rem;
}
.bk-ibe-top button {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0 0 3px;
  border-bottom: 1px solid currentColor; font: 500 .9375rem/1.2 var(--f-body); color: var(--ink); cursor: pointer;
}
.bk-ibe-top button svg { width: 16px; height: 16px; }
#bk-ibe-sum { color: var(--ink-soft); flex: 1; }
.bk-ibe-out { font-size: .8rem; color: var(--ink-soft); }
.bk-frame-box { background: #fff; border: 1px solid var(--line); }
#bk-frame {
  display: block; width: 100%; border: 0;
  height: calc(100vh - 78px - 70px); height: calc(100dvh - 78px - 70px); min-height: 620px;
}
body.in-ibe .bk-bar { display: none; }
body.in-ibe { padding-bottom: 0; }
@media (max-width: 600px) {
  .bk-ibe .wrap { padding-left: 0; padding-right: 0; }
  .bk-ibe-top { padding-inline: 16px; }
  .bk-frame-box { border-left: 0; border-right: 0; }
}

/* ---------- Shiriti poshtë në celular ---------- */
.bk-bar { display: none; }

@media (max-width: 1080px) {
  .bk-room { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
  .bk-room-cta { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line);
    grid-template-columns: 1fr auto; justify-items: start; align-items: center; min-width: 0; }
}
@media (max-width: 900px) {
  .bk-layout { grid-template-columns: 1fr; }
  .bk-panel { position: static; }
  .bk-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px max(var(--g), env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(var(--g), env(safe-area-inset-left, 0px));
    background: var(--paper); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .bk-bar.show { transform: none; }
  .bk-bar span { font-size: .85rem; line-height: 1.3; min-width: 0; }
  .bk-bar span b { display: block; font-weight: 600; }
  .bk-bar .btn { flex: none; }
  body.has-bar { padding-bottom: 84px; }
}
@media (max-width: 600px) {
  .bk-room { grid-template-columns: 1fr; }
  .bk-room .ph { min-height: 0; aspect-ratio: 16 / 9; }
  .bk-room-cta { grid-template-columns: 1fr; justify-items: stretch; }
  .bk-room-cta .btn { width: 100%; }
}