/* SHH Booking Widget styles. Scoped under .shb so the site's own CSS is not affected. */
.shb { padding: 40px 0 48px; color: #1e2b3a; font-family: inherit; }
.shb *, .shb *::before, .shb *::after { box-sizing: border-box; }
.shb-wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

.shb-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  margin-top: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(20, 60, 110, .12);
  overflow: hidden;
}

/* Left blue panel */
.shb-intro { padding: 28px 28px; background: #267dc9; color: #fff; }
.shb-intro h4 { font-size: 22px; font-weight: 600; margin: 0 0 12px; color: #fff; }
.shb-intro p { font-size: 15px; line-height: 1.7; margin: 0 0 20px; color: rgba(255,255,255,.92); }
.shb-contact { list-style: none; padding: 0; margin: 0; }
.shb-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.shb-contact i {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.18); border-radius: 50%;
}
.shb-contact a { color: #fff; text-decoration: none; }

/* Right form */
.shb-formwrap { padding: 26px 28px; }
.shb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.shb-field { display: flex; flex-direction: column; min-width: 0; }
.shb-wide { grid-column: 1 / -1; }
.shb-label { font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #1e2b3a; }

.shb input[type=text], .shb input[type=email], .shb input[type=tel],
.shb input[type=date], .shb input[type=time], .shb input[type=number], .shb select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: #1e2b3a;
  background: #f6f9fc;
  border: 1.5px solid #d5e0ec;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.shb select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23267dc9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.shb select:disabled { color: #8a97a6; cursor: not-allowed; }
.shb input:focus, .shb select:focus {
  background-color: #fff;
  border-color: #267dc9;
  box-shadow: 0 0 0 3px rgba(38, 125, 201, .22);
}
.shb-invalid input, .shb-invalid select { border-color: #c0392b; background-color: #fff7f6; }
.shb-error:empty { display: none; }
.shb-error { margin-top: 4px; font-size: 13px; color: #c0392b; }

/* Locked hotel (hotel pages): looks like a normal field, not editable */
.shb-locked {
  display: flex; align-items: center; justify-content: space-between;
  height: 44px; padding: 0 14px; font-size: 15px;
  background: #eef3f8; border: 1.5px solid #d5e0ec; border-radius: 8px;
}
.shb-locked-name { font-weight: 500; }
.shb-locked-tag { font-size: 12px; color: #6b7a8c; }

/* Phone (intl-tel-input) */
.shb .iti { width: 100%; display: block; }
.shb .iti input[type=tel] { width: 100%; }

/* Custom duration row */
.shb-custom { display: none; align-items: center; gap: 10px; }
.shb-custom.shb-open { display: flex; flex-wrap: wrap; }
.shb .shb-custom input[type=number] { width: 110px; }
.shb .shb-unit { width: 130px; }
.shb-total { font-size: 14px; color: #1e2b3a; }

/* Summary (appears when room, date, time and stay are chosen) */
.shb-summary { display: none; margin-top: 14px; padding: 10px 14px; background: #f6f9fc; border-radius: 8px; font-size: 13.5px; line-height: 1.6; }
.shb-summary.shb-show { display: block; }

/* Button */
.shb-btn {
  width: 100%; height: 48px; margin-top: 14px;
  font: inherit; font-size: 16px; font-weight: 600;
  color: #fff; background: #8fb7de;
  border: 0; border-radius: 8px;
  cursor: not-allowed;
  transition: background .2s, transform .1s;
}
.shb-btn.shb-ready { background: #267dc9; cursor: pointer; }
.shb-btn.shb-ready:hover { background: #1c63a8; }
.shb-btn.shb-ready:active { transform: translateY(1px); }
.shb-btn:focus-visible { outline: 3px solid rgba(38,125,201,.45); outline-offset: 2px; }
.shb-btn.shb-loading { opacity: .75; cursor: progress; }
.shb-hint { display: none; }

.shb-status:empty { display: none; }
.shb-status { margin-top: 14px; font-size: 14px; }
.shb-status-error { color: #c0392b; }

.shb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.shb-done { text-align: center; padding: 20px 6px; }
.shb-done-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; line-height: 64px;
  font-size: 28px; color: #fff; background: #2e9e5b; border-radius: 50%;
}
.shb-done h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.shb-done p { margin: 0 0 6px; font-size: 15px; line-height: 1.7; }
.shb-done-box { display: inline-block; text-align: left; margin: 14px 0 20px; padding: 14px 20px; background: #f6f9fc; border-radius: 8px; font-size: 14px; line-height: 1.9; }
.shb-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.shb-wa {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; font-size: 14px; font-weight: 500; line-height: 1.4;
  color: #fff; background: #25d366; border: 1.5px solid #25d366; border-radius: 8px; text-decoration: none;
  transition: background .2s;
}
.shb-wa i { font-size: 20px; }
.shb-wa:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }
.shb-again {
  padding: 10px 22px; font: inherit; font-size: 14px; font-weight: 500;
  color: #267dc9; background: #fff; border: 1.5px solid #267dc9; border-radius: 8px; cursor: pointer;
}
.shb-again:hover { background: #267dc9; color: #fff; }

@media (max-width: 860px) {
  .shb-card { grid-template-columns: minmax(0, 1fr); }
  .shb-intro, .shb-formwrap { padding: 22px 20px; }
}
@media (max-width: 520px) {
  .shb-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .shb * { transition: none !important; } }
