.chbk-booking-shell {
  --chbk-bg: #ffffff;
  --chbk-border: #d9e1ec;
  --chbk-border-strong: #c4cedb;
  --chbk-text: #111827;
  --chbk-text-soft: #5b6472;
  --chbk-primary: #1f6fb2;
  --chbk-primary-hover: #18598f;
  --chbk-success-bg: #edf8f1;
  --chbk-success-border: #9cd3af;
  --chbk-error-bg: #fff2f2;
  --chbk-error-border: #e5a5a5;
  --chbk-warning-bg: #fff8ea;
  --chbk-warning-border: #e4cc91;
  --chbk-info-bg: #eef6ff;
  --chbk-info-border: #9ec0e9;
  background: var(--chbk-bg);
  border: 1px solid var(--chbk-border);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  color: var(--chbk-text);
  padding: clamp(16px, 2.5vw, 24px);
  margin: 0;
}

.chbk-booking-shell,
.chbk-booking-shell * {
  box-sizing: border-box;
}

.chbk-booking-form {
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 1rem;
}

.chbk-booking-form > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.chbk-booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.chbk-booking-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.4rem;
  margin: 0 !important;
  width: 100%;
}

.chbk-booking-field > span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--chbk-text);
  margin: 0;
}

.chbk-booking-shell .chbk-booking-field input[type='text'],
.chbk-booking-shell .chbk-booking-field input[type='email'],
.chbk-booking-shell .chbk-booking-field input[type='number'],
.chbk-booking-shell .chbk-booking-field select,
.chbk-booking-shell .chbk-booking-field textarea {
  display: block;
  width: 100% !important;
  min-height: 46px;
  height: auto;
  margin: 0 !important;
  border: 1px solid var(--chbk-border-strong) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--chbk-text) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  padding: 0.65rem 0.78rem !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
}

.chbk-booking-shell .chbk-booking-field select {
  appearance: auto;
}

.chbk-booking-shell .chbk-booking-field input:focus,
.chbk-booking-shell .chbk-booking-field select:focus,
.chbk-booking-shell .chbk-booking-field textarea:focus {
  outline: 0;
  border-color: var(--chbk-primary) !important;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.16) !important;
}

.chbk-booking-notice {
  margin: 0;
  border: 1px solid;
  border-radius: 11px;
  padding: 0.72rem 0.9rem;
  font-size: 0.94rem;
  line-height: 1.45;
}

.chbk-booking-notice-success {
  background: var(--chbk-success-bg);
  border-color: var(--chbk-success-border);
}

.chbk-booking-notice-info {
  background: var(--chbk-info-bg);
  border-color: var(--chbk-info-border);
}

.chbk-booking-notice-error {
  background: var(--chbk-error-bg);
  border-color: var(--chbk-error-border);
}

.chbk-booking-notice-warning {
  background: var(--chbk-warning-bg);
  border-color: var(--chbk-warning-border);
}

.chbk-booking-summary {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--chbk-border);
  border-radius: 12px;
  background: #f9fbfe;
}

.chbk-live-price,
.chbk-due-at-booking {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.chbk-live-price strong,
.chbk-due-at-booking strong {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--chbk-text-soft);
}

.chbk-live-price-value,
.chbk-due-at-booking {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--chbk-text);
}

.chbk-booking-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
}

.chbk-booking-gateway {
  min-width: 220px;
  max-width: 280px;
}

.chbk-booking-gateway > span {
  font-size: 0.85rem;
}

.chbk-booking-gateway-label {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--chbk-text-soft);
  padding: 0 0.15rem;
}

.chbk-booking-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--chbk-primary);
  border-radius: 11px;
  background: var(--chbk-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.chbk-booking-submit:hover:not(:disabled),
.chbk-booking-submit:focus-visible:not(:disabled) {
  background: var(--chbk-primary-hover);
  border-color: var(--chbk-primary-hover);
  transform: translateY(-1px);
}

.chbk-booking-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chbk-trip-listings {
  --chbk-border: #d9e1ec;
  --chbk-text: #111827;
  --chbk-text-soft: #5b6472;
  --chbk-primary: #1f6fb2;
  --chbk-primary-hover: #18598f;
  display: grid;
  gap: 1rem;
}

.chbk-trip-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border: 1px solid var(--chbk-border);
  border-radius: 16px;
  background: #fff;
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
}

.chbk-trip-card-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.chbk-trip-card-image-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.chbk-trip-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.chbk-trip-card-title a {
  color: var(--chbk-text);
  text-decoration: none;
}

.chbk-trip-card-title a:hover,
.chbk-trip-card-title a:focus-visible {
  color: var(--chbk-primary);
}

.chbk-trip-card-description {
  margin: 0;
  color: var(--chbk-text-soft);
  line-height: 1.55;
}

.chbk-trip-card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 0;
}

.chbk-trip-card-meta div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.6rem;
}

.chbk-trip-card-meta dt {
  margin: 0;
  color: var(--chbk-text-soft);
  font-weight: 600;
}

.chbk-trip-card-meta dd {
  margin: 0;
  font-weight: 400;
  color: var(--chbk-text);
}

.chbk-trip-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #e8edf4;
  padding-top: 0.9rem;
}

.chbk-trip-card-price {
  margin: 0;
  color: #14532d;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.chbk-trip-card-price span {
  color: var(--chbk-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

.chbk-trip-card-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chbk-trip-listings .chbk-trip-card .chbk-trip-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  border-radius: 11px !important;
  border: 1px solid var(--chbk-primary, #1f6fb2) !important;
  background: var(--chbk-primary, #1f6fb2) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0.25rem 1.25rem !important;
  white-space: nowrap;
  opacity: 1 !important;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.chbk-trip-listings .chbk-trip-card .chbk-trip-card-button-primary {
  background: var(--chbk-primary, #1f6fb2);
  border-color: var(--chbk-primary, #1f6fb2);
  color: #fff;
}

.chbk-trip-listings .chbk-trip-card .chbk-trip-card-button-primary:hover,
.chbk-trip-listings .chbk-trip-card .chbk-trip-card-button-primary:focus-visible {
  background: var(--chbk-primary-hover, #18598f);
  border-color: var(--chbk-primary-hover, #18598f);
  color: #fff;
  transform: translateY(-1px);
}

.chbk-trip-listings .chbk-trip-card .chbk-trip-card-button-disabled {
  background: #9aa4b2 !important;
  border-color: #9aa4b2 !important;
  color: #ffffff !important;
  cursor: not-allowed;
}

.chbk-trip-listings-empty {
  margin: 0;
  color: var(--chbk-text-soft);
}

@media (min-width: 700px) {
  .chbk-booking-grid {
    grid-template-columns: 1fr 1fr;
  }

  .chbk-booking-field-wide {
    grid-column: 1 / -1;
  }

  .chbk-trip-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem 1.25rem;
  }

  .chbk-trip-card-title,
  .chbk-trip-card-description,
  .chbk-trip-card-meta,
  .chbk-trip-card-image-link {
    grid-column: 1 / -1;
  }

  .chbk-trip-card-actions {
    border-top: 1px solid #e8edf4;
    border-left: 0;
    padding-top: 0.9rem;
    padding-left: 0;
    min-width: 220px;
    grid-column: 1 / -1;
  }
}
