.guest-selector-field,
.guest-selector-field * {
  box-sizing: border-box;
}

.guest-selector-panel[hidden] {
  display: none !important;
}

.guest-selector-card {
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.guest-selector-block-total + .guest-selector-card,
.guest-selector-panel > .guest-selector-block + .guest-selector-block,
.guest-selector-ages-section,
.guest-selector-help {
  margin-top: 1rem;
}

.guest-selector-heading {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.guest-selector-sub-heading {
  display: block;
  font-size: 0.85em;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.guest-selector-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guest-selector-child-ages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.guest-selector-control {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
}

.guest-selector-total,
.guest-selector-adults,
.guest-selector-children,
.guest-selector-child-age {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent;
  box-shadow: none !important;
  font: inherit;
}

.guest-selector-age-row label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .guest-selector-split,
  .guest-selector-child-ages {
    grid-template-columns: 1fr;
  }
}
