/* Postcode checker bar — shared pattern.
   Used by the skip-sizes checker (home) and the booking-strip band on
   inner pages. Enqueued by functions.php for either component. */

.booking-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.booking-bar__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.booking-bar__label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  background: rgba(255, 85, 0, 0.1);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
}

.booking-bar__label-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-bar__label-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.booking-bar__label-sub {
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-grey);
}

.booking-bar__select { position: relative; }

.booking-bar__select select {
  width: 100%;
  height: 3rem;
  padding: 0 2.75rem 0 var(--space-2);
  appearance: none;
  -webkit-appearance: none;
  background: #000;
  border: 2px solid var(--color-dark-border);
  border-radius: var(--radius);
  color: var(--color-text-soft);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.booking-bar__select select:hover,
.booking-bar__select select:focus-visible { border-color: var(--color-primary); }

.booking-bar__select-chevron {
  position: absolute;
  top: 50%;
  right: var(--space-2);
  transform: translateY(-50%);
  pointer-events: none;
  height: 8px;
  width: 13px;
}

.booking-bar__field { flex: 1; }

.booking-bar__field input {
  width: 100%;
  height: 3rem;
  padding: 0 var(--space-2);
  background: #000;
  border: 2px solid var(--color-dark-border);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.booking-bar__field input::placeholder { color: var(--color-text); }

.booking-bar__field input:hover,
.booking-bar__field input:focus-visible { border-color: var(--color-primary); }

.booking-bar__submit { flex: none; }

@media (min-width: 1024px) {
  .booking-bar {
    flex-direction: row;
    align-items: center;
  }

  .booking-bar__label {
    padding-right: var(--space-3);
    border-right: 1px solid var(--color-dark-border);
  }

  .booking-bar__select { width: 20rem; }

  .booking-bar__submit { width: 11.75rem; }
}
