.hwd-beds24-booking {
  --hwd-beds24-primary: #008acc;
  --hwd-beds24-border: rgba(20, 20, 20, 0.10);
  --hwd-beds24-muted: #667085;
  --hwd-beds24-bg: #ffffff;
  --hwd-beds24-soft: color-mix(in srgb, var(--hwd-beds24-primary) 9%, #ffffff);
  font-family: inherit;
  color: inherit;
}

.hwd-beds24-card {
  background: var(--hwd-beds24-bg);
  border: 1px solid var(--hwd-beds24-border);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.hwd-beds24-search-card {
  padding: clamp(18px, 3vw, 32px);
  margin-bottom: 22px;
}

.hwd-beds24-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.06;
}

.hwd-beds24-intro {
  margin: 0 0 22px;
  color: var(--hwd-beds24-muted);
}

.hwd-beds24-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.hwd-beds24-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.hwd-beds24-form input,
.hwd-beds24-form select {
  min-height: 46px;
  border: 1px solid var(--hwd-beds24-border);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.hwd-beds24-form button,
.hwd-beds24-book {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--hwd-beds24-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.hwd-beds24-form button:hover,
.hwd-beds24-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px color-mix(in srgb, var(--hwd-beds24-primary) 30%, transparent);
  opacity: .95;
  color: #fff;
}

.hwd-beds24-grid {
  display: grid;
  gap: 14px;
}

.hwd-beds24-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--hwd-beds24-border);
  border-radius: 20px;
  background: #fff;
}

.hwd-beds24-result-card.is-best {
  border-color: color-mix(in srgb, var(--hwd-beds24-primary) 45%, #ffffff);
  background: linear-gradient(135deg, var(--hwd-beds24-soft), #fff 65%);
}

.hwd-beds24-result-topline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.hwd-beds24-type,
.hwd-beds24-best {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hwd-beds24-type {
  background: #f2f4f7;
}

.hwd-beds24-best {
  background: var(--hwd-beds24-primary);
  color: #fff;
}

.hwd-beds24-result-card h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
}

.hwd-beds24-meta,
.hwd-beds24-note {
  color: var(--hwd-beds24-muted);
  font-size: 14px;
}

.hwd-beds24-meta {
  margin: 8px 0 0;
}

.hwd-beds24-price-block {
  display: grid;
  gap: 7px;
  justify-items: end;
  text-align: right;
  min-width: 150px;
}

.hwd-beds24-from {
  font-size: 12px;
  color: var(--hwd-beds24-muted);
}

.hwd-beds24-price-block strong {
  font-size: 26px;
  line-height: 1;
}

.hwd-beds24-loading,
.hwd-beds24-error,
.hwd-beds24-empty {
  padding: 18px 20px;
}

.hwd-beds24-error {
  border-color: #fda29b;
  background: #fff1f3;
}

.hwd-beds24-note {
  margin: 12px 4px 0;
}

@media (max-width: 860px) {
  .hwd-beds24-form {
    grid-template-columns: 1fr 1fr;
  }
  .hwd-beds24-form button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hwd-beds24-form,
  .hwd-beds24-result-card {
    grid-template-columns: 1fr;
  }
  .hwd-beds24-price-block {
    justify-items: stretch;
    text-align: left;
  }
  .hwd-beds24-book {
    width: 100%;
  }
}

.hwd-beds24-final {
  margin-top: 18px;
}

.hwd-beds24-iframe-card,
.hwd-beds24-onsite-card {
  padding: clamp(16px, 3vw, 24px);
}

.hwd-beds24-final-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.hwd-beds24-final-head h3,
.hwd-beds24-onsite-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 30px);
}

.hwd-beds24-iframe {
  width: 100%;
  border: 1px solid var(--hwd-beds24-border);
  border-radius: 16px;
  background: #fff;
}

.hwd-beds24-selected {
  margin: 8px 0 18px;
  color: var(--hwd-beds24-muted);
}

.hwd-beds24-onsite-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hwd-beds24-onsite-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.hwd-beds24-onsite-form input,
.hwd-beds24-onsite-form textarea {
  width: 100%;
  border: 1px solid var(--hwd-beds24-border);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.hwd-beds24-onsite-form textarea {
  resize: vertical;
}

.hwd-beds24-full {
  grid-column: 1 / -1;
}

.hwd-beds24-check {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 600 !important;
}

.hwd-beds24-check input {
  width: auto;
  min-height: auto;
  margin-top: 3px;
}

.hwd-beds24-submit-booking {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--hwd-beds24-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.hwd-beds24-submit-booking:disabled,
.hwd-beds24-book:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.hwd-beds24-onsite-message {
  min-height: 24px;
  font-weight: 700;
}

.hwd-beds24-success {
  color: #067647;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  padding: 12px 14px;
  border-radius: 12px;
}

.hwd-beds24-error-inline {
  color: #b42318;
  background: #fff1f3;
  border: 1px solid #fda29b;
  padding: 12px 14px;
  border-radius: 12px;
}

.hwd-beds24-loading-inline {
  color: var(--hwd-beds24-muted);
}

.hwd-beds24-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .hwd-beds24-final-head,
  .hwd-beds24-onsite-form {
    grid-template-columns: 1fr;
  }
  .hwd-beds24-final-head {
    display: grid;
  }
}
