.sb3-wrapper{max-width:1200px;margin:20px auto;font-family:Georgia, "Times New Roman", serif;color:#222}
.sb3-header{display:flex;justify-content:space-between;align-items:center}
.sb3-trust .badge{background:#b88f68;color:#fff;padding:6px 10px;border-radius:4px;margin-left:8px;font-size:13px}
.sb3-grid{display:flex;gap:20px;margin-top:14px}
.sb3-left{flex:1}
.sb3-right{width:380px}
.rate-cards-row{display:flex;gap:18px;justify-content:flex-start;flex-wrap:nowrap;overflow:auto;padding-bottom:8px}
.rate-card{width:18%;min-width:160px;background:#fff;border:1px solid #f0efec;border-radius:6px;padding:12px;text-align:center;box-shadow:0 1px 4px rgba(0,0,0,0.03)}
.rate-card img{width:100%;height:100px;object-fit:cover;border-radius:4px}
.rate-card h4{font-weight:400;margin:12px 0 8px;font-size:18px}
.price-wrap{margin:6px 0}
.starting-from{font-size:13px;color:#777;margin-bottom:6px}
.price-kes{font-weight:700;font-size:16px;margin-bottom:4px}
.price-usd{font-size:13px;color:#444}
.select-rate{background:#b88f68;color:#fff;border:none;padding:10px 12px;border-radius:6px;cursor:pointer;margin-top:8px}
#sb3_packages_area{margin-top:18px}
.packages-list{display:none;background:#fff;padding:12px;border-radius:6px;border:1px solid #f0f0f0;margin-bottom:12px}
.packages-table{width:100%;border-collapse:collapse}
.packages-table td{padding:10px;border-top:1px solid #f3f3f3}
.select-package{background:#2b7de9;color:#fff;padding:8px 10px;border-radius:6px;border:none;cursor:pointer}
.sb3-reviews{margin-top:12px;background:#faf9f8;padding:10px;border-radius:6px}
.sb3-right .currency-toggle{margin-bottom:10px}
#sb3_price,#sb3_total,#sb3_nights,#sb3_selected_room{background:#fafafa;border:1px solid #e6e6e6;padding:10px;border-radius:6px;width:100%;box-sizing:border-box}
#sb3_selected_room{height:44px}
.inline-row{display:flex;gap:10px}
.inline-row div{flex:1}
.form-actions{display:flex;gap:10px;margin-top:10px}
.btn{background:#2b7de9;color:#fff;border:none;padding:10px;border-radius:6px;cursor:pointer}
.btn.wa{background:#25D366}
.small-note{color:#666;margin-top:8px}

/* ---------- overrides to fix large spacing & input heights ---------- */
.sb3-wrapper #sb3_form label {
  display:block;
  margin:6px 0 6px;           /* smaller label spacing */
  font-size:14px;
  color:#222;
  line-height:1.15;
}

.sb3-wrapper #sb3_form input[type="text"],
.sb3-wrapper #sb3_form input[type="date"],
.sb3-wrapper #sb3_form input[type="email"],
.sb3-wrapper #sb3_form input[type="tel"],
.sb3-wrapper #sb3_form input[readonly],
.sb3-wrapper #sb3_form textarea,
.sb3-wrapper #sb3_form select {
  padding:10px 12px !important;
  font-size:14px !important;
  line-height:1.2 !important;
  height:auto !important;
  min-height:40px !important;      /* prevent huge heights but keep comfortable size */
  border-radius:6px !important;
  box-sizing:border-box;
  background:#fff !important;
}

.sb3-wrapper #sb3_form textarea { min-height:80px !important; max-height:200px; }

/* tighten 'Nights / Total' inline inputs */
.sb3-wrapper .inline-row input { min-height:46px !important; padding:10px; }

/* remove large top/bottom margins injected by theme on inputs/controls */
.sb3-wrapper #sb3_form .form-actions,
.sb3-wrapper #sb3_form .dates-row,
.sb3-wrapper #sb3_form .inline-row {
  margin-top:8px !important;
  margin-bottom:8px !important;
}

/* ensure submit buttons line up */
.sb3-wrapper .form-actions .btn { padding:10px 14px !important; }

/* ensure the right column (form) doesn't collapse or stretch weirdly */
.sb3-wrapper .sb3-right { padding-top:6px; }

/* apartment quote style */
.apartment-quote{border:1px dashed #e0bfa8;background:#fff8f4;padding:14px;border-radius:6px;color:#5b4a3e}

/* packages title */
#sb3_packages_title {
  background: transparent;
  padding: 6px 10px;
  border-left: 4px solid #b88f68;
  border-radius: 4px;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
}

/* responsive */
@media(max-width:980px){ 
  .sb3-grid{flex-direction:column} 
  .sb3-right{width:100%} 
  .rate-card{width:48%} 
  .rate-cards-row{flex-wrap:wrap} 
  #sb3_price,#sb3_total,#sb3_nights,#sb3_selected_room{min-height:44px}
}
