/* Our booking search bar (#380, redesigned #409): one white pill with three
   segments and a gold Search. The open segment lifts out of a softened pill.
   Panels anchor to the bar; they are not dialogs. */
.ecsb {
  --sb-ink: #1e2419; --sb-muted: #6a6f5c; --sb-eyebrow: #8a6d2c; --sb-line: #e3e1cf; --sb-gold: #b89647;
  --sb-gold-hi: #c6a453; --sb-soft: #f1efe6; --sb-green: #1d4038;
  position: relative; width: 100%; color: var(--sb-ink); font-family: 'Inter', system-ui, sans-serif; text-align: left;
}
.ecsb-pill {
  display: flex; align-items: center; gap: 0; padding: 8px; background: #fff; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 54px rgba(0, 0, 0, .16); transition: background .2s ease;
}
.ecsb.is-open .ecsb-pill { background: var(--sb-soft); }
.ecsb-seg {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; height: 68px; padding: 0 28px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: background .18s ease, box-shadow .18s ease;
}
.ecsb-seg-guests { flex-grow: 1.35; }
.ecsb-seg:hover { background: rgba(30, 36, 25, .045); }
.ecsb-seg.is-active, .ecsb-seg.is-active:hover { background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.ecsb-k { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sb-eyebrow); }
.ecsb-v { display: flex; align-items: baseline; gap: 8px; font-family: 'Fraunces', Georgia, serif; font-size: 19px; line-height: 1.15; color: var(--sb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ecsb-v small { font-family: 'Inter', system-ui, sans-serif; font-size: 12.5px; color: var(--sb-muted); }
.ecsb-v.is-empty { font-family: 'Inter', system-ui, sans-serif; font-size: 15px; color: var(--sb-muted); }
.ecsb-div { flex: none; width: 1px; height: 32px; background: var(--sb-line); transition: opacity .15s ease; }
.ecsb-seg:hover + .ecsb-div, .ecsb-div:has(+ .ecsb-seg:hover), .ecsb-seg.is-active + .ecsb-div, .ecsb-div:has(+ .ecsb-seg.is-active), .ecsb.is-open .ecsb-div { opacity: 0; }
.ecsb-go {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 64px; margin-left: 8px; padding: 0 30px;
  border: 0; border-radius: 999px; background: var(--sb-gold); color: #1e1a10; font: 500 17px/1 'Inter', system-ui, sans-serif; cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ecsb-go:hover { background: var(--sb-gold-hi); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(184, 150, 71, .35); }
.ecsb-go svg { width: 19px; height: 19px; }
.ecsb button:focus-visible { outline: 2px solid var(--sb-gold); outline-offset: 2px; }

.ecsb-pop {
  position: absolute; top: calc(100% + 12px); z-index: 60; background: #fff; color: var(--sb-ink); border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06), 0 30px 70px rgba(0, 0, 0, .22); padding: 24px 28px; animation: ecsb-in .2s ease;
}
.ecsb-pop[hidden] { display: none; }
.ecsb-pop.is-up { top: auto; bottom: calc(100% + 12px); }
@keyframes ecsb-in { from { opacity: 0; transform: translateY(-6px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ecsb-pop { animation: none; } .ecsb-go:hover { transform: none; } }
.ecsb-cal { left: 0; width: min(760px, calc(100vw - 32px)); }
.ecsb-gpop { right: 0; width: min(400px, calc(100vw - 32px)); }
.ecsb-grow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.ecsb-grow + .ecsb-grow { border-top: 1px solid #efede2; }
.ecsb-gname { font-size: 15.5px; font-weight: 500; }
.ecsb-gsub { font-size: 13px; color: var(--sb-muted); margin-top: 3px; }
.ecsb-step { display: flex; align-items: center; flex: none; }
.ecsb-step button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #cfcdbd; background: #fff; font-size: 18px; line-height: 1; color: var(--sb-ink); cursor: pointer; transition: border-color .15s ease; }
.ecsb-step button:hover:not(:disabled) { border-color: var(--sb-ink); }
.ecsb-step button:disabled { opacity: .3; cursor: default; }
.ecsb-step output { width: 38px; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.ecsb-gfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #efede2; }
.ecsb-hint { font-size: 13px; color: var(--sb-muted); }
.ecsb-done { height: 42px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--sb-green); color: #f5f3ea; font: 500 14px 'Inter', system-ui, sans-serif; cursor: pointer; }

@media (max-width: 860px) {
  .ecsb-seg { padding: 0 18px; }
  .ecsb-go span { display: none; }
  .ecsb-go { width: 64px; padding: 0; }
}
@media (max-width: 720px) {
  .ecsb-pill { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
  .ecsb-seg { flex: 1 1 40%; height: 62px; border-radius: 16px; padding: 0 16px; }
  .ecsb-seg-guests { flex: 1 1 100%; }
  .ecsb-div { display: none; }
  .ecsb-seg-in, .ecsb-seg-out { border-bottom: 1px solid var(--sb-line); border-radius: 16px 16px 0 0; }
  .ecsb-seg-in { border-right: 1px solid var(--sb-line); border-radius: 16px 0 0 0; }
  .ecsb-seg-out { border-radius: 0 16px 0 0; }
  .ecsb-go { flex: 1 1 100%; width: auto; height: 54px; margin: 6px 0 0; }
  .ecsb-go span { display: inline; }
  .ecsb-cal, .ecsb-gpop { left: 0; right: 0; width: auto; }
  .ecsb-pop { padding: 18px 16px; border-radius: 20px; }
}

/* The full Lodgify calendar link has no direct counterpart. */
html[data-booking-mode="direct"] .cal-lodgify-link { display: none; }
