/* Grand Mayfair V81 — editorial floating stay search.
   Homepage-only. The existing PHP GET action, form field names and autocomplete stay unchanged.
   Intentionally loaded after the earlier homepage styles for a contained visual replacement. */
:root {
  --gm81-night: #0b2132;
  --gm81-ink: #162c3b;
  --gm81-quiet: #687682;
  --gm81-gold: #ad8656;
  --gm81-paper: #fbf8f2;
  --gm81-line: #e7ded1;
}
body main .availability-wrap.gm81-search-wrap {
  position: relative;
  z-index: 26;
  margin-top: -76px !important;
  padding: 0 0 31px !important;
  background: linear-gradient(180deg, transparent 0%, #071622 72%) !important;
}
body main .gm81-search-container { position: relative; }
body main .availability-card.gm81-search-card {
  box-sizing: border-box;
  display: block !important;
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  width: min(100%, 1230px) !important;
  max-width: 1230px !important;
  margin: 0 auto !important;
  padding: 24px 29px 19px !important;
  border: 1px solid rgba(203, 172, 128, .64) !important;
  border-radius: 19px !important;
  color: var(--gm81-ink) !important;
  background: linear-gradient(135deg, #fffdfa 0%, #fbf7ef 58%, #f4eee5 100%) !important;
  box-shadow: 0 28px 68px rgba(1, 13, 23, .43), 0 2px 8px rgba(3, 14, 25, .10), inset 0 1px #fff !important;
  text-align: left;
}
body main .gm81-search-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 27px;
  width: min(155px, 30%);
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, #ae8757 0%, #e5c79d 100%);
  pointer-events: none;
}
body main .gm81-search-card::after { display:none !important; }
body main .gm81-search-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
body main .gm81-search-heading { min-width: 0; }
body main .gm81-search-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
  color: #90724e !important;
  font: 800 10px/1.5 'Manrope', 'Inter', sans-serif !important;
  letter-spacing: .19em !important;
}
body main .gm81-search-eyebrow > span { color: #bc9766; font-size: 14px; }
body main .gm81-search-head h2 {
  margin: 0 !important;
  font: 600 clamp(2rem, 3.0vw, 2.9rem)/1.01 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: -.017em !important;
  color: #152b3b !important;
}
body main .gm81-search-head h2 em { color: #b58b56 !important; font-weight: 500; }
body main .gm81-search-subtitle {
  margin: 0 2px 5px 0 !important;
  color: #71808a !important;
  font: 500 12px/1.5 'Manrope', 'Inter', sans-serif !important;
  white-space: nowrap;
}
body main .gm81-search-rail {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(210px, 2fr) minmax(153px, 1.23fr) minmax(153px, 1.23fr) minmax(126px, .9fr) minmax(165px, 1.22fr) !important;
  min-height: 78px;
  gap: 0 !important;
  padding: 6px !important;
  align-items: stretch;
  border: 1px solid var(--gm81-line) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: 0 8px 28px rgba(40, 42, 39, .04), inset 0 1px 2px rgba(33, 34, 31, .025) !important;
}
body main .gm81-search-card .gm81-search-field {
  box-sizing: border-box;
  position: relative;
  align-self: stretch !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 15px 8px !important;
  border: none !important;
  border-right: 1px solid #ece5dc !important;
  border-radius: 8px !important;
  background: transparent !important;
  transition: background-color .26s ease !important;
}
body main .gm81-search-card .gm81-search-field:hover,
body main .gm81-search-card .gm81-search-field:focus-within {
  background: #f8f5ef !important;
}
body main .gm81-search-card .gm81-search-field:focus-within::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 5px;
  left: 14px;
  right: 14px;
  background: #bb9463;
  border-radius: 3px;
  animation: gm81-focus-in .25s ease both;
  pointer-events: none;
}
body main .gm81-search-card .gm81-search-field label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #7a7974 !important;
  font: 800 9px/1.3 'Manrope', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: .125em !important;
  cursor: pointer;
  transition: color .22s ease;
}
body main .gm81-search-card .gm81-search-field:focus-within label,
body main .gm81-search-card .gm81-search-field.gm81-has-value label { color: #9b7549 !important; }
body main .gm81-search-card .gm81-search-value {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 27px !important;
  min-height: 27px !important;
  min-width: 0;
  border: 0 !important;
  background: transparent !important;
}
body main .gm81-search-card .gm81-search-icon { display: block; flex: none; color: #a7804d !important; }
body main .gm81-search-card .gm81-search-field input:not([type="hidden"]),
body main .gm81-search-card .gm81-search-field select {
  box-sizing: border-box;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 27px !important;
  min-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  color: #233747 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 650 12.6px/27px 'Manrope','Inter',system-ui,sans-serif !important;
  letter-spacing: 0 !important;
  color-scheme: light;
}
body main .gm81-search-card .gm81-search-field input::placeholder {
  color: #79838b !important;
  opacity: 1 !important;
}
body main .gm81-search-card .gm81-search-field input:focus-visible,
body main .gm81-search-card .gm81-search-field select:focus-visible { outline: 0 !important; box-shadow: none !important; }
body main .gm81-search-card .gm81-search-field input[type="date"] { cursor:pointer; font-size: 12px !important; }
body main .gm81-search-card input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: .65;
  filter: none !important;
  width: 13px;
  margin-left: 2px;
}
body main .gm81-search-card .gm81-search-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 15px !important;
  cursor: pointer;
}
body main .gm81-search-card .gm81-select-chevron {
  position: absolute;
  right: 13px;
  pointer-events: none;
  color: #6f7e8a;
}
body main .gm81-search-card .destination-autocomplete { width: 100%; position: relative; }
body main .gm81-search-card .destination-autocomplete__control {
  display: flex !important;
  align-items: center !important;
  height: 27px !important;
  min-height: 27px !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
body main .gm81-search-card .destination-autocomplete__search {
  left: 0 !important;
  top: 50% !important;
  display: grid;
  place-items: center;
  width: 18px;
  color: #a7804d !important;
  transform: translateY(-50%) !important;
}
body main .gm81-search-card .destination-autocomplete__search svg { display: block; }
body main .gm81-search-card .destination-autocomplete__control input.destination-autocomplete__input {
  flex: 1;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 26px 0 27px !important;
}
body main .gm81-search-card .destination-autocomplete__clear { right: -4px; color: #60717d; }
body main .gm81-search-card .destination-autocomplete__clear:hover { color: #102d42; background: #f1e9da; }
body main .gm81-search-card .destination-autocomplete__hint { display: none !important; }
body main .gm81-search-card .destination-field { z-index: 40 !important; }
body main .gm81-search-card .destination-autocomplete__menu {
  top: calc(100% + 18px);
  left: -12px;
  right: auto;
  width: min(380px, calc(100vw - 44px));
  max-height: min(320px, 54vh);
  overflow-y: auto;
  z-index: 1000 !important;
  border: 1px solid #e7d9c6;
  border-radius: 13px;
  background: #fffdf8 !important;
  box-shadow: 0 18px 52px rgba(10, 25, 38, .23);
  color: #213747 !important;
}
body main .gm81-search-card .destination-autocomplete__option { color: #1b3041; }
body main .gm81-search-card .destination-autocomplete__option:hover,
body main .gm81-search-card .destination-autocomplete__option.is-active { background: #f6eddf; }
body main .gm81-search-card .gm81-search-submit {
  box-sizing: border-box;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 65px !important;
  margin: 0 0 0 6px !important;
  padding: 9px 10px 9px 16px !important;
  border: 1px solid #102d40 !important;
  border-radius: 9px !important;
  color: #fbf5ea !important;
  background: linear-gradient(115deg, #132f43 0%, #082034 100%) !important;
  box-shadow: 0 6px 15px rgba(10, 30, 46, .15), inset 0 1px rgba(255,255,255,.08) !important;
  font: 800 11px/1.25 'Manrope', sans-serif !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease !important;
}
body main .gm81-search-card .gm81-search-submit:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(115deg, #1c4258, #0a263b) !important;
  box-shadow: 0 11px 23px rgba(10,30,46,.23) !important;
}
body main .gm81-search-card .gm81-search-submit:focus-visible { outline: 3px solid #b39264 !important; outline-offset: 3px; }
body main .gm81-search-card .gm81-search-submit:active { transform: translateY(0) !important; }
body main .gm81-search-submit-icon {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, #dfbf90, #bb9361);
  color: #132d3f;
  font: 600 22px/1 Georgia,serif;
  transition: transform .32s cubic-bezier(.2,.75,.2,1);
}
body main .gm81-search-submit:hover .gm81-search-submit-icon { transform: translate(2px,-2px); }
body main .gm81-search-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0;
  color: #a28b70;
  font: 800 9px/1 'Manrope',sans-serif;
  letter-spacing: .24em;
}
body main .gm81-search-footnote-line { display: block; height: 1px; width: 24px; background: #d4c5af; }
@keyframes gm81-focus-in { from { opacity: .1; transform: scaleX(.65); } to { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  body main .gm81-search-card.is-visible .gm81-search-heading { animation: gm81-arrive .65s .05s both cubic-bezier(.18,.8,.2,1); }
  body main .gm81-search-card.is-visible .gm81-search-subtitle { animation: gm81-arrive .65s .13s both cubic-bezier(.18,.8,.2,1); }
  body main .gm81-search-card.is-visible .gm81-search-rail { animation: gm81-arrive .72s .17s both cubic-bezier(.18,.8,.2,1); }
  @keyframes gm81-arrive { from { opacity: .01; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
}
@media (max-width: 1100px) {
  body main .gm81-search-card .gm81-search-rail {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 7px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  body main .gm81-search-card .gm81-search-field { border: 1px solid #e8e0d6 !important; background: #fff !important; border-radius: 9px !important; padding: 11px 14px !important; }
  body main .gm81-search-card .gm81-search-field--destination { grid-column: span 2 !important; }
  body main .gm81-search-card .gm81-search-field--guests { grid-column: span 1 !important; }
  body main .gm81-search-card .gm81-search-submit { grid-column: span 3 !important; margin: 0 !important; min-height: 57px !important; }
}
@media (max-width: 700px) {
  body main .availability-wrap.gm81-search-wrap { margin-top: -48px !important; padding-bottom: 24px !important; }
  body main .gm81-search-container { padding-left: 14px !important; padding-right: 14px !important; }
  body main .availability-card.gm81-search-card { padding: 22px 17px 17px !important; border-radius: 15px !important; }
  body main .gm81-search-head { display: block; margin-bottom: 17px; }
  body main .gm81-search-eyebrow { font-size: 9px !important; letter-spacing: .13em !important; }
  body main .gm81-search-head h2 { font-size: clamp(2.05rem, 7vw, 2.7rem) !important; }
  body main .gm81-search-subtitle { margin: 8px 0 0 !important; font-size: 11px !important; white-space: normal; }
  body main .gm81-search-card .gm81-search-rail { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 8px !important; }
  body main .gm81-search-card .gm81-search-field--destination { grid-column: 1 / -1 !important; }
  body main .gm81-search-card .gm81-search-field--checkin,
  body main .gm81-search-card .gm81-search-field--checkout { grid-column: span 1 !important; }
  body main .gm81-search-card .gm81-search-field--guests { grid-column: span 1 !important; }
  body main .gm81-search-card .gm81-search-submit { grid-column: span 1 !important; min-height: 59px !important; }
  body main .gm81-search-card .gm81-search-field { padding: 10px 12px 8px !important; }
  body main .gm81-search-card .gm81-search-field input[type="date"] { font-size: 11px !important; }
  body main .gm81-search-card .gm81-search-value { gap: 6px !important; }
  body main .gm81-search-card .destination-autocomplete__menu {
    position: absolute !important;
    top: calc(100% + 18px) !important;
    bottom: auto !important;
    left: -3px !important;
    right: auto !important;
    width: min(410px, calc(100vw - 66px)) !important;
    max-height: 280px !important;
  }
  body main .gm81-search-card .gm81-search-submit { padding: 8px 8px 8px 12px !important; }
  body main .gm81-search-submit-icon { width: 33px; height: 33px; flex-basis: 33px; margin-left: 5px; }
}
@media (max-width: 430px) {
  body main .gm81-search-head h2 { font-size: 2.15rem !important; }
  body main .gm81-search-card .gm81-search-submit { grid-column: 1 / -1 !important; }
  body main .gm81-search-card .gm81-search-field--guests { grid-column: 1 / -1 !important; }
  body main .gm81-search-card .gm81-search-field--checkin,
  body main .gm81-search-card .gm81-search-field--checkout { padding: 10px 8px !important; }
  body main .gm81-search-card .gm81-search-field--checkin .gm81-search-icon,
  body main .gm81-search-card .gm81-search-field--checkout .gm81-search-icon { width: 14px; }
  body main .gm81-search-card .gm81-search-field input[type="date"] { font-size: 10.5px !important; }
  body main .gm81-search-card .gm81-search-field label { font-size: 8.5px !important; }
  body main .gm81-search-card .gm81-search-footnote { margin-top: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  body main .gm81-search-card, body main .gm81-search-card *,
  body main .gm81-search-card *::before, body main .gm81-search-card *::after { animation: none !important; transition: none !important; translate: none !important; }
  body main .gm81-search-card .gm81-search-submit:hover { transform: none !important; }
}
