/* ═══════════════════════════════════════════════════════
   Smart Hotel Booking — Frontend CSS  v6
   Matches hotel-booking.php template exactly
═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --p:      #4f46e5;
  --ph:     #4338ca;
  --g:      #059669;
  --r:      #dc2626;
  --am:     #d97706;
  --tx:     #0f172a;
  --tx2:    #64748b;
  --tx3:    #94a3b8;
  --bd:     #e2e8f0;
  --bg:     #f8fafc;
  --wh:     #ffffff;
  --sh:     0 1px 3px rgba(0,0,0,.05), 0 4px 20px rgba(0,0,0,.07);
  --sh2:    0 8px 40px rgba(79,70,229,.15);
  --rad:    14px;
  --fn:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.shb *, .shb *::before, .shb *::after { box-sizing: border-box; margin: 0; padding: 0; }
.shb {
  font-family: var(--fn);
  color: var(--tx);
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px 60px;
  -webkit-font-smoothing: antialiased;
}

/* ─── STEPS ─────────────────────────────────────────── */
.shb-steps {
  display: flex; align-items: center; justify-content: center;
  padding: 32px 0 40px; gap: 0;
}
.shb-step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.shb-step-circle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--bd); background: var(--wh);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--tx3);
  transition: all .25s;
}
.shb-step-v { display: none; }
.shb-step-lbl {
  font-size: 11px; font-weight: 600; color: var(--tx3);
  white-space: nowrap; transition: color .2s;
}
.shb-step-connector {
  height: 2px; min-width: 60px; flex: 1;
  background: var(--bd); margin-top: -24px; border-radius: 2px; overflow: hidden;
}
.shb-step-connector-fill {
  height: 100%; background: var(--g);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.shb-step.active .shb-step-circle {
  background: var(--p); border-color: var(--p); color: var(--wh);
  box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}
.shb-step.active .shb-step-lbl { color: var(--p); font-weight: 700; }
.shb-step.done .shb-step-circle { background: var(--g); border-color: var(--g); color: var(--wh); }
.shb-step.done .shb-step-n { display: none; }
.shb-step.done .shb-step-v { display: flex; align-items: center; justify-content: center; }
.shb-step.done .shb-step-lbl { color: var(--g); }
.shb-step.done + .shb-step-connector .shb-step-connector-fill { transform: scaleX(1); }

/* ─── PANELS ─────────────────────────────────────────── */
.shb-panel { display: none; }
.shb-panel.active { display: block; }

/* ─── SEARCH BAR (step 1) ────────────────────────────── */
.shb-searchbar {
  position: relative;
  display: flex; align-items: center;
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: 20px;
  padding: 6px 6px 6px 6px;
  box-shadow: var(--sh);
  gap: 0;
}
.shb-searchbar:focus-within {
  border-color: var(--p);
  box-shadow: 0 0 0 4px rgba(79,70,229,.08), var(--sh);
}

.shb-sfield {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; cursor: pointer; border-radius: 14px;
  transition: background .15s; position: relative; min-width: 0;
}
.shb-sfield:hover { background: var(--bg); }
.shb-sfield-ico { color: var(--tx3); flex-shrink: 0; display: flex; }
.shb-sfield-inner { min-width: 0; flex: 1; }
.shb-sfield-label {
  display: block; font-size: 10px; font-weight: 800; color: var(--tx2);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 2px; cursor: pointer;
}
.shb-sfield-val {
  display: block; font-size: 13px; font-weight: 600; color: var(--tx);
  width: 100%; border: none; background: none; outline: none;
  font-family: var(--fn); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.shb-sfield-val::placeholder { color: var(--tx3); font-weight: 500; }
.shb-chevron { color: var(--tx3); flex-shrink: 0; }

.shb-sep {
  width: 1px; height: 32px; background: var(--bd); flex-shrink: 0; margin: 0 2px;
}

.shb-search-submit {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--p); color: var(--wh); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .15s, transform .1s;
}
.shb-search-submit:hover { background: var(--ph); transform: scale(1.05); }

/* Location dropdown */
.shb-loc-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 999;
  background: var(--wh); border: 1px solid var(--bd);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.12);
  overflow: hidden;
}
.shb-loc-dropdown.open { display: block; }
.shb-loc-status { padding: 16px 18px; font-size: 13px; color: var(--tx3); }
.shb-loc-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; cursor: pointer; transition: background .12s;
  border-bottom: 1px solid var(--bg);
}
.shb-loc-row:last-child { border-bottom: none; }
.shb-loc-row:hover { background: var(--bg); }
.shb-loc-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.shb-loc-thumb-ico { width: 44px; height: 44px; border-radius: 10px; background: #eef2ff; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.shb-loc-name { font-size: 13px; font-weight: 700; color: var(--tx); }
.shb-loc-city { font-size: 11px; color: var(--tx3); margin-top: 2px; }
.shb-loc-stars { font-size: 12px; color: var(--am); }
.shb-loc-rooms { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--tx3); background: var(--bg); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }

/* Guest dropdown */
.shb-guest-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 60px; z-index: 999;
  width: 300px; background: var(--wh); border: 1px solid var(--bd);
  border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.12);
  padding: 16px;
}
.shb-guest-dropdown.open { display: block; }
.shb-gc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--bg);
}
.shb-gc-row:last-of-type { border-bottom: none; }
.shb-gc-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--tx); }
.shb-gc-info span   { font-size: 12px; color: var(--tx3); }
.shb-gc-ctrl { display: flex; align-items: center; gap: 14px; }
.shb-gc-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--bd); background: var(--wh);
  font-size: 18px; color: var(--tx2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s; font-family: var(--fn); line-height: 1;
}
.shb-gc-btn:hover { border-color: var(--p); color: var(--p); background: #eef2ff; }
.shb-gc-num { font-size: 16px; font-weight: 800; color: var(--tx); min-width: 20px; text-align: center; }
.shb-gc-done {
  display: block; width: 100%; padding: 10px;
  background: var(--p); color: var(--wh); border: none;
  border-radius: 10px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--fn); margin-top: 14px;
  transition: background .15s;
}
.shb-gc-done:hover { background: var(--ph); }

/* ─── MSG ────────────────────────────────────────────── */
#shb-msg {
  display: none; padding: 12px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 600; margin-top: 14px;
}
#shb-msg.err { background: #fef2f2; color: var(--r); border: 1px solid #fecaca; }
#shb-msg.inf { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ─── BOOKING BAR (step 2+) ──────────────────────────── */
.shb-bar {
  background: var(--wh); border: 1px solid var(--bd);
  border-radius: 12px; padding: 12px 18px;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; box-shadow: var(--sh); flex-wrap: wrap;
}
.shb-bar-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--tx2);
}
.shb-bar-item svg { color: var(--p); }
.shb-bar-edit {
  margin-left: auto; padding: 7px 14px;
  border: 1.5px solid var(--bd); border-radius: 8px;
  background: var(--bg); font-size: 12px; font-weight: 700;
  color: var(--p); cursor: pointer; font-family: var(--fn);
  display: flex; align-items: center; gap: 5px;
  transition: border-color .15s;
}
.shb-bar-edit:hover { border-color: var(--p); background: #eef2ff; }

/* ─── ROOMS HEADER ───────────────────────────────────── */
.shb-rooms-hdr {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.shb-rooms-hdr h3 { font-size: 20px; font-weight: 800; color: var(--tx); }
.shb-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1.5px solid var(--bd);
  border-radius: 9px; background: var(--wh);
  font-size: 12px; font-weight: 700; color: var(--tx2);
  cursor: pointer; font-family: var(--fn); transition: all .15s;
}
.shb-back-btn:hover { border-color: var(--p); color: var(--p); }

/* ─── HOTEL CARDS ────────────────────────────────────── */
.shb-hl { display: flex; flex-direction: column; gap: 16px; }

.shb-hc {
  background: var(--wh); border: 1.5px solid var(--bd);
  border-radius: var(--rad); display: flex; overflow: hidden;
  cursor: pointer; transition: all .2s; box-shadow: var(--sh);
}
.shb-hc:hover {
  box-shadow: var(--sh2); border-color: #c7d2fe; transform: translateY(-2px);
}
.shb-hc-img {
  width: 240px; min-width: 240px; height: 210px;
  position: relative; overflow: hidden; flex-shrink: 0; background: var(--bg);
}
.shb-hc-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.shb-hc:hover .shb-hc-img img { transform: scale(1.07); }
.shb-hc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.4) 100%);
}
.shb-hc-stars {
  position: absolute; bottom: 12px; left: 12px;
  display: flex; gap: 1px;
}
.shb-hc-noimg {
  width: 240px; min-width: 240px; height: 210px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  font-size: 52px; flex-shrink: 0;
}
.shb-hc-stars--noimg { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 1px; }
.shb-hc-body {
  flex: 1; padding: 20px 22px;
  display: flex; flex-direction: column; min-width: 0;
}
.shb-hc-top { display: flex; gap: 16px; flex: 1; }
.shb-hc-info { flex: 1; min-width: 0; }
.shb-hc-name {
  font-size: 19px; font-weight: 800; color: var(--tx);
  margin-bottom: 4px; line-height: 1.2;
}
.shb-hc-loc {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--r); font-weight: 600; margin-bottom: 12px;
}
.shb-hc-ams { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.shb-atag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 20px;
  background: var(--bg); border: 1px solid var(--bd);
  font-size: 11px; font-weight: 600; color: var(--tx2);
  transition: all .15s;
}
.shb-hc:hover .shb-atag { border-color: #c7d2fe; color: var(--p); background: #eef2ff; }
.shb-hc-pricing {
  text-align: right; min-width: 150px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.shb-hc-from { font-size: 10px; font-weight: 800; color: var(--tx3); text-transform: uppercase; letter-spacing: .07em; }
.shb-hc-price { font-size: 28px; font-weight: 800; color: var(--tx); line-height: 1; }
.shb-hc-unit  { font-size: 12px; color: var(--tx3); margin-top: -2px; }
.shb-hc-avail {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-top: 6px;
}
.shb-hc-avail--ok { background: #f0fdf4; color: var(--g); border: 1px solid #bbf7d0; }
.shb-hc-avail--no { background: #fef2f2; color: var(--r); border: 1px solid #fecaca; }
.shb-hc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--bg);
}
.shb-hc-detail-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; border-radius: 9px;
  border: 1.5px solid #e0e7ff; background: #fafaff;
  font-size: 12px; font-weight: 700; color: var(--p);
  text-decoration: none; transition: all .15s;
}
.shb-hc-detail-btn:hover { background: #eef2ff; border-color: var(--p); }
.shb-hc-book-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 24px; border-radius: 10px;
  background: var(--p); color: var(--wh); border: none;
  font-size: 13px; font-weight: 800; cursor: pointer;
  font-family: var(--fn); transition: all .15s;
}
.shb-hc-book-btn:hover { background: var(--ph); transform: translateY(-1px); }

/* ─── ROOM CARDS ─────────────────────────────────────── */
.shb-room-grid { display: flex; flex-direction: column; gap: 14px; }
.shb-room-card {
  background: var(--wh); border: 1.5px solid var(--bd);
  border-radius: var(--rad); display: flex; overflow: hidden;
  cursor: pointer; transition: all .2s; box-shadow: var(--sh);
}
.shb-room-card:hover { border-color: var(--p); box-shadow: 0 6px 28px rgba(79,70,229,.13); transform: translateY(-1px); }
.shb-room-card.sel { border-color: var(--p); box-shadow: 0 0 0 3px rgba(79,70,229,.15); }
.shb-rimg { width: 190px; min-width: 190px; overflow: hidden; background: var(--bg); position: relative; }
.shb-rimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.shb-room-card:hover .shb-rimg img { transform: scale(1.05); }
.shb-rbadge {
  position: absolute; top: 10px; left: 10px;
  background: var(--am); color: var(--wh);
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 20px;
}
.shb-rbody { flex: 1; padding: 17px 20px; display: flex; flex-direction: column; }
.shb-room-hotel { font-size: 11px; color: var(--p); font-weight: 800; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em; }
.shb-room-name { font-size: 16px; font-weight: 800; color: var(--tx); margin-bottom: 8px; }
.shb-room-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; font-size: 12px; color: var(--tx2); font-weight: 600; }
.shb-room-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.shb-tag { padding: 3px 10px; border-radius: 20px; background: var(--bg); border: 1px solid var(--bd); font-size: 11px; color: var(--tx2); font-weight: 600; }
.shb-room-desc { font-size: 12px; color: var(--tx3); line-height: 1.5; margin-bottom: 10px; }
.shb-rhr { border: none; border-top: 1px solid var(--bg); margin: 6px 0 12px; }
.shb-rfooter { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.shb-rprice-main { font-size: 22px; font-weight: 800; color: var(--tx); }
.shb-rprice-unit { font-size: 12px; color: var(--tx3); }
.shb-rprice-total { font-size: 12px; color: var(--tx3); margin-top: 1px; }
.shb-rfooter-actions { display: flex; align-items: center; gap: 10px; }
.shb-detail-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--p);
  text-decoration: none; padding: 6px 12px;
  border: 1.5px solid #e0e7ff; border-radius: 7px; background: #fafaff;
  transition: all .15s;
}
.shb-detail-link:hover { background: #eef2ff; }
.shb-rselect {
  padding: 10px 22px; border-radius: 9px;
  background: var(--p); color: var(--wh); border: none;
  font-size: 13px; font-weight: 800; cursor: pointer;
  font-family: var(--fn); transition: background .15s;
}
.shb-rselect:hover { background: var(--ph); }
.shb-room-card.sel .shb-rselect { background: var(--g); }

/* ─── STEP 3 & 4 LAYOUT ──────────────────────────────── */
.shb-cols {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 24px; align-items: start;
}
.shb-col-main { min-width: 0; }
.shb-col-side {}

/* Card */
.shb-card {
  background: var(--wh); border: 1px solid var(--bd);
  border-radius: var(--rad); padding: 26px; box-shadow: var(--sh);
}
.shb-card-title {
  font-size: 17px; font-weight: 800; color: var(--tx); margin-bottom: 20px;
}
.shb-mt { margin-top: 28px; }

/* Form grid */
.shb-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shb-fg { display: flex; flex-direction: column; gap: 5px; }
.shb-fg-full { grid-column: 1 / -1; }
.shb-lbl {
  font-size: 11px; font-weight: 700; color: var(--tx2);
  text-transform: uppercase; letter-spacing: .06em;
}
.shb-req { color: var(--r); }
.shb-inp {
  height: 42px; border: 1.5px solid var(--bd); border-radius: 9px;
  padding: 0 13px; font-size: 13px; font-weight: 500;
  color: var(--tx); font-family: var(--fn); background: var(--bg); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.shb-inp:focus { border-color: var(--p); background: var(--wh); box-shadow: 0 0 0 3px rgba(79,70,229,.1); }
.shb-inp.err { border-color: var(--r); }
.shb-ta { height: 90px; padding: 10px 13px; resize: vertical; }

/* Extras */
.shb-extras { display: flex; flex-direction: column; gap: 8px; }
.shb-extra {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--bg); border: 1.5px solid var(--bd);
  border-radius: 10px; transition: border-color .15s;
}
.shb-extra:hover { border-color: var(--p); }
.shb-extra-left { display: flex; align-items: center; gap: 12px; flex: 1; }
.shb-extra-ico { font-size: 22px; }
.shb-extra-left strong { display: block; font-size: 13px; font-weight: 700; color: var(--tx); }
.shb-extra-left small  { display: block; font-size: 11px; color: var(--tx3); margin: 1px 0; }
.shb-extra-price { font-size: 13px; font-weight: 800; color: var(--p); }
.shb-extra-price em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--tx3); }
.shb-extra-ctrl { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.shb-qb {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--bd); background: var(--wh);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--tx2); transition: all .15s; font-family: var(--fn); line-height: 1;
}
.shb-qb:hover { border-color: var(--p); color: var(--p); background: #eef2ff; }
.shb-qi {
  width: 36px; text-align: center; border: none; background: none;
  font-size: 15px; font-weight: 800; color: var(--tx); font-family: var(--fn);
}

/* Coupon */
.shb-coupon-wrap { margin-top: 18px; }
.shb-coupon-row { display: flex; gap: 8px; }
.shb-coupon-box {
  flex: 1; display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--bd); border-radius: 9px;
  padding: 0 12px; background: var(--bg); transition: border-color .15s;
}
.shb-coupon-box:focus-within { border-color: var(--p); background: var(--wh); }
.shb-coupon-box svg { color: var(--tx3); flex-shrink: 0; }
.shb-coupon-inp {
  border: none; background: none; outline: none; height: 42px;
  font-size: 13px; font-family: var(--fn); color: var(--tx); flex: 1;
}
.shb-coupon-apply {
  padding: 0 20px; height: 44px; background: var(--tx);
  color: var(--wh); border: none; border-radius: 9px;
  font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--fn);
  transition: background .15s;
}
.shb-coupon-apply:hover { background: #1f2937; }
.shb-coupon-ok  { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--g); }
.shb-coupon-err { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--r); }

/* Nav buttons */
.shb-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; gap: 12px;
}
.shb-nav-back {
  padding: 10px 20px; border: 1.5px solid var(--bd); border-radius: 9px;
  background: var(--wh); font-size: 13px; font-weight: 700; color: var(--tx2);
  cursor: pointer; font-family: var(--fn); transition: all .15s;
}
.shb-nav-back:hover { border-color: var(--tx); color: var(--tx); }
.shb-nav-next {
  flex: 1; padding: 12px 24px; background: var(--p); color: var(--wh);
  border: none; border-radius: 10px; font-size: 14px; font-weight: 800;
  cursor: pointer; font-family: var(--fn); transition: all .15s;
}
.shb-nav-next:hover { background: var(--ph); transform: translateY(-1px); }

/* ─── PRICE BOX ──────────────────────────────────────── */
.shb-price-box {
  background: var(--wh); border: 1px solid var(--bd);
  border-radius: var(--rad); overflow: hidden;
  box-shadow: var(--sh); position: sticky; top: 24px;
}
.shb-price-top {
  background: linear-gradient(135deg, #1e1b4b, #4338ca);
  min-height: 60px;
}
.shb-price-top img { width: 100%; height: 120px; object-fit: cover; display: block; }
.shb-price-top strong { display: block; padding: 12px 16px 4px; font-size: 14px; color: #fff; font-weight: 800; }
.shb-price-top span  { display: block; padding: 0 16px 12px; font-size: 12px; color: rgba(255,255,255,.6); }
.shb-price-rows { padding: 14px 16px; display: flex; flex-direction: column; gap: 0; }
.shb-pr {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--bg);
}
.shb-pr:last-child { border-bottom: none; }
.shb-pr span:first-child { color: var(--tx2); }
.shb-pr span:last-child  { font-weight: 700; color: var(--tx); }
.shb-pr.shb-pr-disc span:last-child { color: var(--g); }
.shb-pr-extra-line { padding-left: 14px; }
.shb-pr-extra-line span:first-child { color: var(--tx3); font-size: 12px; }
.shb-pr-extra-line span:last-child  { font-size: 12px; }
.shb-price-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--tx);
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7);
}
.shb-price-total strong { font-size: 18px; font-weight: 800; color: var(--wh); }
.shb-price-note {
  text-align: center; padding: 10px; font-size: 11px; color: var(--tx3);
  border-top: 1px solid var(--bg);
}

/* ─── BOOKING REVIEW ─────────────────────────────────── */
.shb-rev-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--bg); font-size: 13px;
}
.shb-rev-row:last-child { border-bottom: none; }
.shb-rev-row span:first-child { color: var(--tx3); font-weight: 600; }
.shb-rev-row span:last-child  { color: var(--tx); font-weight: 700; text-align: right; max-width: 60%; }

/* Gateways */
.shb-gways { display: flex; flex-direction: column; gap: 8px; }
.shb-gway {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--bd); border-radius: 10px;
  padding: 13px 16px; cursor: pointer; transition: all .15s;
  background: var(--bg);
}
.shb-gway.active { border-color: var(--p); background: #fafaff; }
.shb-gw-r { cursor: pointer; accent-color: var(--p); }
.shb-gway-ico { font-size: 20px; }
.shb-gway-lbl { flex: 1; font-size: 13px; font-weight: 700; color: var(--tx); }
.shb-gway-ck {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--p); display: none; align-items: center; justify-content: center;
  color: var(--wh);
}
.shb-gway.active .shb-gway-ck { display: flex; }
.shb-gway-detail { display: none; }
.shb-info-box {
  padding: 14px 16px; background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 9px; font-size: 13px; color: #1e40af;
  line-height: 1.7; margin-top: 8px;
}

/* Terms */
.shb-terms {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0; font-size: 13px; color: var(--tx2); cursor: pointer;
}
.shb-terms input { accent-color: var(--p); width: 16px; height: 16px; }
.shb-terms a { color: var(--p); font-weight: 700; }

/* Confirm */
.shb-confirm-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, #059669, #047857);
  color: var(--wh); border: none; border-radius: 12px;
  font-size: 15px; font-weight: 800; cursor: pointer; font-family: var(--fn);
  transition: all .15s; box-shadow: 0 4px 16px rgba(5,150,105,.3);
}
.shb-confirm-btn:hover { background: linear-gradient(135deg, #047857, #065f46); transform: translateY(-1px); }
.shb-confirm-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
@keyframes shb-spin { to { transform: rotate(360deg); } }
.shb-err {
  padding: 12px 16px; background: #fef2f2; color: var(--r);
  border: 1px solid #fecaca; border-radius: 9px;
  font-size: 13px; font-weight: 600; margin-top: 12px;
}

/* ─── STEP 5 — SUCCESS ───────────────────────────────── */
.shb-done {
  text-align: center; padding: 60px 24px;
  background: var(--wh); border-radius: var(--rad);
  border: 1px solid var(--bd); box-shadow: var(--sh);
}
.shb-done h2 { font-size: 26px; font-weight: 800; color: var(--tx); margin-bottom: 8px; }
.shb-done p  { font-size: 14px; color: var(--tx2); margin-bottom: 24px; }
.shb-done-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
}
.shb-tick { width: 72px; height: 72px; }
.shb-tick-c {
  stroke: var(--g); stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-width: 2; animation: dash .6s ease-in-out forwards;
}
.shb-tick-p {
  stroke: var(--g); stroke-dasharray: 48; stroke-dashoffset: 48;
  stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  animation: dash .6s .4s ease-in-out forwards;
}
@keyframes dash { to { stroke-dashoffset: 0; } }
.shb-done-ref {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #eef2ff; border: 1px solid #c7d2fe;
  border-radius: 12px; padding: 12px 28px; margin: 0 auto 20px;
}
.shb-done-ref span { font-size: 11px; color: var(--tx3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.shb-done-ref strong { font-size: 17px; font-weight: 800; color: var(--p); font-family: monospace; margin-top: 2px; }
.shb-done-details { max-width: 360px; margin: 0 auto 24px; }
.shb-dr {
  display: flex; justify-content: space-between; padding: 9px 0;
  font-size: 13px; border-bottom: 1px solid var(--bg);
}
.shb-dr span:first-child { color: var(--tx3); }
.shb-dr span:last-child  { font-weight: 700; color: var(--tx); }
.shb-done-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--p); color: var(--wh);
  border: none; border-radius: 10px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: var(--fn); text-decoration: none;
  transition: background .15s;
}
.shb-done-link:hover { background: var(--ph); }

/* ─── SKELETON ───────────────────────────────────────── */
.shb-skel-list { display: flex; flex-direction: column; gap: 16px; }
.shb-skel-card {
  background: var(--wh); border: 1px solid var(--bd);
  border-radius: var(--rad); overflow: hidden; display: flex; height: 170px;
}
.shb-skel-img { width: 220px; animation: shimmer 1.4s infinite; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; }
.shb-skel-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.shb-skel-line { border-radius: 6px; animation: shimmer 1.4s infinite; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ─── NO RESULT ──────────────────────────────────────── */
.shb-noresult {
  text-align: center; padding: 64px 24px;
  background: var(--wh); border-radius: var(--rad); border: 1px solid var(--bd);
}
.shb-noresult h3 { font-size: 18px; font-weight: 800; color: var(--tx); margin: 12px 0 6px; }
.shb-noresult p  { font-size: 14px; color: var(--tx3); }

/* ─── LOGIN OVERLAY ──────────────────────────────────── */
#shb-login-ov {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.5); display: flex;
  align-items: center; justify-content: center; padding: 16px;
}
#shb-login-box {
  background: var(--wh); border-radius: 20px; padding: 40px;
  max-width: 380px; width: 100%; text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
}
.shb-login-ico { font-size: 44px; display: block; margin-bottom: 14px; }
#shb-login-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
#shb-login-box p  { font-size: 14px; color: var(--tx3); margin-bottom: 24px; line-height: 1.6; }
.shb-login-go {
  display: block; padding: 13px; background: var(--p); color: var(--wh);
  border-radius: 10px; font-weight: 800; text-decoration: none; font-size: 14px;
  margin-bottom: 10px; transition: background .15s;
}
.shb-login-go:hover { background: var(--ph); }
.shb-login-no {
  display: block; width: 100%; padding: 10px; background: none;
  border: 1.5px solid var(--bd); border-radius: 10px;
  font-size: 13px; font-weight: 700; color: var(--tx2);
  cursor: pointer; font-family: var(--fn); transition: all .15s;
}
.shb-login-no:hover { border-color: var(--tx); color: var(--tx); }

/* ─── PRESELECT LOADING ──────────────────────────────── */
.shb-preselect-loading {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; font-size: 13px; color: var(--tx2); margin-top: 10px;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 860px) {
  .shb-cols { grid-template-columns: 1fr; }
  .shb-price-box { position: static; }
  .shb-col-side { order: -1; }
}
@media (max-width: 680px) {
  .shb-searchbar { flex-direction: column; border-radius: 16px; padding: 8px; gap: 4px; }
  .shb-sep { display: none; }
  .shb-sfield { width: 100%; border-radius: 10px; border: 1px solid var(--bg); }
  .shb-search-submit { width: 100%; border-radius: 10px; height: 46px; }
  .shb-hc { flex-direction: column; }
  .shb-hc-img, .shb-hc-noimg { width: 100%; height: 200px; min-width: auto; }
  .shb-room-card { flex-direction: column; }
  .shb-rimg { width: 100%; height: 160px; min-width: auto; }
  .shb-fgrid { grid-template-columns: 1fr; }
  .shb-fg-full { grid-column: 1; }
  .shb-steps { padding: 20px 0 28px; }
  .shb-step-lbl { font-size: 10px; }
  .shb-step-circle { width: 36px; height: 36px; font-size: 12px; }
  .shb-step-connector { min-width: 20px; }
  .shb-guest-dropdown { right: 0; left: 0; width: auto; }
}
