#mobile-booking-question-modal,
#mobile-booking-question-modal * {
  box-sizing: border-box;
  letter-spacing: 0;
}

#mobile-booking-question-modal {
  position: fixed;
  top: var(--mobile-app-header-height, calc(env(safe-area-inset-top, 0px) + 112px));
  right: 0;
  bottom: var(--mobile-shop-bottom-nav-offset, calc(66px + env(safe-area-inset-bottom, 0px)));
  left: 0;
  z-index: 9000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 58%, #f6f6f6 100%) !important;
  color: #0b0b0b !important;
  -webkit-text-fill-color: #0b0b0b !important;
  color-scheme: light;
  padding: 18px 16px calc(22px + env(safe-area-inset-bottom, 0px));
}

#mobile-booking-question-modal .mobile-booking-guest-ask {
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(100%, 430px);
  min-height: 0;
  margin: 0 auto;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(5, 5, 5, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 18px 44px rgba(5, 5, 5, 0.07);
}

#mobile-booking-question-modal .mobile-booking-guest-ask-field {
  display: grid;
  gap: 8px;
}

#mobile-booking-question-modal label {
  color: #737373 !important;
  -webkit-text-fill-color: #737373 !important;
  font-size: 10px;
  font-weight: 860;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-picker {
  position: relative;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-selected,
#mobile-booking-question-modal .mobile-booking-guest-ask-option {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(5, 5, 5, 0.10) !important;
  border-radius: 16px;
  background: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  text-align: left;
  box-shadow: none !important;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-option {
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 54px;
  border: 0 !important;
  border-radius: 14px;
  padding: 7px;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-option.is-active {
  background: #f4f4f4 !important;
  box-shadow: inset 0 0 0 1px #111111 !important;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  background: #f5f5f5;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  display: grid;
  place-items: center;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-option .mobile-booking-guest-ask-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-selected-copy,
#mobile-booking-question-modal .mobile-booking-guest-ask-option span:not(.mobile-booking-guest-ask-mark) {
  min-width: 0;
}

#mobile-booking-question-modal strong,
#mobile-booking-question-modal em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-style: normal;
}

#mobile-booking-question-modal strong {
  font-size: 14px;
  line-height: 1.15;
  font-weight: 860;
}

#mobile-booking-question-modal em {
  margin-top: 5px;
  color: #777777 !important;
  -webkit-text-fill-color: #777777 !important;
  font-size: 11px;
  line-height: 1;
  font-weight: 720;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-selected > i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.05);
  color: rgba(5, 5, 5, 0.58);
  -webkit-text-fill-color: rgba(5, 5, 5, 0.58);
  display: grid;
  place-items: center;
  font-size: 11px;
  transition: transform 0.16s ease;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-picker.is-open .mobile-booking-guest-ask-selected > i {
  transform: rotate(180deg);
}

#mobile-booking-question-modal .mobile-booking-guest-ask-options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 5;
  max-height: 252px;
  overflow-y: auto;
  border: 1px solid rgba(5, 5, 5, 0.12);
  border-radius: 20px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 20px 44px rgba(5, 5, 5, 0.14);
}

#mobile-booking-question-modal .mobile-booking-guest-ask-picker.is-open .mobile-booking-guest-ask-options {
  display: grid;
  gap: 4px;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-chips button {
  min-width: 0;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(5, 5, 5, 0.10) !important;
  border-radius: 999px;
  background: #f7f7f7 !important;
  color: #222222 !important;
  -webkit-text-fill-color: #222222 !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 780;
  white-space: nowrap;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-input,
#mobile-booking-question-modal .mobile-booking-guest-ask-textbox {
  width: 100%;
  border: 1px solid rgba(5, 5, 5, 0.12) !important;
  border-radius: 16px;
  background: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
  caret-color: #111111 !important;
  color-scheme: light !important;
  outline: none;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(5, 5, 5, 0.02) !important;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-input {
  min-height: 50px;
  padding: 0 14px;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-input::placeholder,
#mobile-booking-question-modal .mobile-booking-guest-ask-textbox:empty::before {
  color: #a0a0a0 !important;
  -webkit-text-fill-color: #a0a0a0 !important;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-textbox {
  min-height: 150px;
  padding: 15px;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 680;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-textbox:empty::before {
  content: attr(data-placeholder);
  pointer-events: none;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-submit {
  width: 100%;
  min-height: 54px;
  margin: 0;
  border: 1px solid #111111 !important;
  border-radius: 16px;
  background: #111111 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 14px 32px rgba(5, 5, 5, 0.14) !important;
  font-size: 14px;
  font-weight: 920;
  text-transform: uppercase;
}

#mobile-booking-question-modal .mobile-booking-guest-ask-submit:disabled {
  opacity: 0.62;
}

/* Containerless guest ask, matching the shop ask. The form is short enough that
   cards and field boxes only add weight — space and type hierarchy carry the
   structure instead. Every fill, border, and shadow above is unset here; inputs
   keep a single bottom rule so the tap target still reads as a field. */
html body #mobile-booking-question-modal {
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px)) !important;
  background: #ffffff !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask {
  gap: 30px !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-card {
  gap: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-field {
  gap: 10px !important;
}

html body #mobile-booking-question-modal label {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
}

/* Service picker: no box, just the mark, the copy, and the chevron. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-selected {
  min-height: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* The open dropdown stays a real floating surface — it overlaps content and
   needs its own ground to be readable. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-options {
  border-radius: 18px !important;
}

/* Chips: outline only, no fill. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-chips {
  gap: 8px !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-chips button {
  border: 1px solid rgba(5, 5, 5, 0.16) !important;
  background: transparent !important;
  color: #444444 !important;
  -webkit-text-fill-color: #444444 !important;
}

/* Fields: a bottom rule instead of a full border. */
html body #mobile-booking-question-modal input.mobile-booking-guest-ask-input,
html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox {
  border: 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-input {
  padding-bottom: 2px !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox {
  min-height: 120px !important;
  padding-top: 2px !important;
  padding-bottom: 12px !important;
}

/* The message field is a contenteditable div, so it reports :focus as soon as
   the surface mounts — scope the darkened rule to real keyboard focus only,
   otherwise it renders near-black next to the email field's hairline. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-input:focus-visible,
html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox:focus-visible {
  border-bottom-color: #111111 !important;
}

/* The picker mark is a glyph, not a tile — drop its box too. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-mark {
  border: 0 !important;
  background: transparent !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

/* The submit button is the one thing that should stay solid. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-submit {
  margin-top: 4px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* Specificity guards. The template carries broad light-mode rules — an
   `input[type="text"]` fill with a long :not() chain, a `.modal input` fill, and
   the modal-button whitening — that outrank the plain selectors above and put
   the boxes back. These restate the containerless intent at a weight that wins,
   scoped to this surface only. */
html body #mobile-booking-question-modal input#mobile-booking-question-email.mobile-booking-guest-ask-input {
  border: 0 !important;
  border-bottom: 1px solid rgba(5, 5, 5, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body #mobile-booking-question-modal button#mobile-booking-guest-ask-selected.mobile-booking-guest-ask-selected {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body #mobile-booking-question-modal .mobile-booking-guest-ask-chips button {
  background: transparent !important;
  background-color: transparent !important;
}

/* The send button's label must follow its dark fill — the modal-button rule
   above forces descendant text to safe-text, which renders black on black. */
html body #mobile-booking-question-modal button#mobile-booking-question-submit.mobile-booking-guest-ask-submit:not(:disabled),
html body #mobile-booking-question-modal button#mobile-booking-question-submit.mobile-booking-guest-ask-submit:not(:disabled) * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* The message box is contenteditable, so :focus is true the moment the surface
   mounts and autofocuses. Keep the resting hairline until real keyboard focus. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox,
html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox:focus,
html body #mobile-booking-question-modal .mobile-booking-guest-ask-textbox:focus-visible {
  border-bottom-color: rgba(5, 5, 5, 0.16) !important;
}

/* The surface autofocuses the message box on open, and a focused contenteditable
   satisfies :focus-visible — so a darkened rule there would render the field
   near-black on arrival. Only the typed-in email field darkens on focus. */
html body #mobile-booking-question-modal input#mobile-booking-question-email.mobile-booking-guest-ask-input:focus-visible {
  border-bottom-color: #111111 !important;
}

/* Match the shop ask's lifted send button. */
html body #mobile-booking-question-modal button#mobile-booking-question-submit.mobile-booking-guest-ask-submit:not(:disabled) {
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.14) !important;
}

/* Last two values still inherited from the boxed version: match the shop ask's
   picker gap and input text colour exactly. */
html body #mobile-booking-question-modal .mobile-booking-guest-ask-selected {
  gap: 11px !important;
}

html body #mobile-booking-question-modal input#mobile-booking-question-email.mobile-booking-guest-ask-input {
  color: #050505 !important;
  -webkit-text-fill-color: #050505 !important;
}
