/* Homepage picker (t_2d250f7c) — first-party destination and date popovers for
 * the hero search and the sticky mini search.
 *
 * The native select and date inputs stay in the form and stay usable: nothing
 * here touches them until assets/lux-picker.js adds `lpk-on` to their field
 * label. With the script disabled (or broken) the browser's own control is
 * what the guest sees and clicks.
 *
 * Language: the villa card's own paper — forest #0E2723, warm ivory #F4F1E8,
 * brass #C39B62, 16px panel radius, one restrained shadow. No gradients except
 * the single brass range moment.
 */

/* --------------------------------------------------------------- the field */
form.herosearch label.lpk-on,
.minisearch .msf.lpk-on { position: relative; }

/* The real control keeps the field's box (so validation bubbles and the
   layout stay where they were) but stops intercepting the pointer: the
   button on top is what opens our panel. */
form.herosearch label.lpk-on > select,
form.herosearch label.lpk-on > input,
.minisearch .msf.lpk-on > select,
.minisearch .msf.lpk-on > input {
  opacity: 0;
  pointer-events: none;
  background: transparent;
}

form.herosearch label.lpk-on::after,
.minisearch .msf.lpk-on::after { opacity: .55; }

.lpk-field {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: flex-end;
  gap: .4rem;
  width: 100%;
  min-height: 44px;
  padding: 0 .1rem .28rem;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.minisearch .lpk-field { font-size: .9rem; padding-bottom: .1rem; }

.lpk-field:focus-visible {
  outline: 2px solid #A8834F;
  outline-offset: 2px;
}

.lpk-val {
  display: block;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lpk-field[data-empty="1"] .lpk-val { color: #6E6A62; font-weight: 450; }
.lpk-field[data-filled="1"] .lpk-val { color: inherit; }

/* -------------------------------------------------------------- the panels */
.lpk-pop {
  position: fixed;
  z-index: 79;
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-height: 70vh;
  display: none;
  flex-direction: column;
  min-width: 0;
  padding: .55rem;
  border-radius: 16px;
  background: #0E2723;
  color: #F4F1E8;
  border: 1px solid rgba(244, 241, 232, .14);
  box-shadow: 0 24px 48px -18px rgba(5, 16, 13, .68), 0 2px 8px rgba(5, 16, 13, .34);
  overflow: hidden;
}

.lpk-pop[data-open="1"] { display: flex; }
.lpk-pop:focus { outline: none; }

.lpk-pop-dates { width: min(660px, calc(100vw - 24px)); }

.lpk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .15rem .35rem .45rem;
  border-bottom: 1px solid rgba(244, 241, 232, .13);
  margin-bottom: .4rem;
}

.lpk-title {
  margin: 0;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, .62);
}

.lpk-x {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  background: transparent;
  color: rgba(244, 241, 232, .72);
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  min-width: 44px;
  min-height: 44px;
  padding: 0 .3rem;
  border-radius: 8px;
  cursor: pointer;
}

.lpk-x:hover { color: #F4F1E8; }
.lpk-x:focus-visible { outline: 2px solid #C39B62; outline-offset: 1px; }

/* --------------------------------------------------------- destination list */
.lpk-searchwrap { padding: .1rem .15rem .45rem; }

.lpk-search {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0 .7rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 232, .2);
  background: rgba(244, 241, 232, .07);
  color: #F4F1E8;
  font: inherit;
  font-size: .92rem;
}

.lpk-search::placeholder { color: rgba(244, 241, 232, .44); }
.lpk-search:focus {
  outline: 2px solid #C39B62;
  outline-offset: 1px;
  border-color: transparent;
}

.lpk-popularwrap { padding: 0 .15rem .1rem; }
.lpk-popularwrap[hidden] { display: none; }

.lpk-popular-h {
  margin: 0;
  padding: .1rem .05rem .3rem;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, .42);
}

.lpk-popular {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  padding: 0 0 .35rem;
}

.lpk-popular[hidden] { display: none; }

.lpk-chip {
  min-height: 44px;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 232, .2);
  background: rgba(244, 241, 232, .05);
  color: #F4F1E8;
  font: inherit;
  font-size: .82rem;
  font-weight: 550;
  cursor: pointer;
}

.lpk-chip:hover { background: rgba(244, 241, 232, .12); border-color: rgba(244, 241, 232, .34); }
.lpk-chip:focus-visible { outline: 2px solid #C39B62; outline-offset: 1px; }

.lpk-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .1rem .1rem .3rem;
  /* a sliced row reads as "there is more" instead of as a cut-off */
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
}

.lpk-group {
  padding: .5rem .55rem .2rem;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, .42);
}

.lpk-opt {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: .25rem .55rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #F4F1E8;
  font: inherit;
  font-size: .93rem;
  text-align: left;
  cursor: pointer;
}

.lpk-opt:hover { background: rgba(244, 241, 232, .09); }
.lpk-opt:focus-visible { outline: 2px solid #C39B62; outline-offset: -1px; }

.lpk-opt[aria-selected="true"] {
  border-color: rgba(195, 155, 98, .78);
  background: rgba(195, 155, 98, .11);
}

.lpk-opt-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpk-opt-count { flex: none; font-size: .78rem; color: rgba(244, 241, 232, .52); font-variant-numeric: tabular-nums; }

.lpk-check {
  flex: none;
  width: 14px;
  height: 14px;
  color: #C39B62;
  visibility: hidden;
}

.lpk-opt[aria-selected="true"] .lpk-check { visibility: visible; }

.lpk-empty {
  padding: .9rem .6rem 1.1rem;
  font-size: .88rem;
  color: rgba(244, 241, 232, .58);
}

/* --------------------------------------------------------------- the dates */
.lpk-when {
  display: flex;
  gap: .4rem;
  padding: 0 .3rem .6rem;
}

.lpk-whenbtn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: .25rem .6rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 232, .16);
  background: rgba(244, 241, 232, .04);
  color: #F4F1E8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.lpk-whenbtn span { display: block; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(244, 241, 232, .46); }
.lpk-whenbtn strong { display: block; font-size: .9rem; font-weight: 600; }
.lpk-whenbtn[data-active="1"] { border-color: rgba(195, 155, 98, .8); background: rgba(195, 155, 98, .12); }
.lpk-whenbtn[data-filled="1"] strong { color: #F4F1E8; }
.lpk-whenbtn[data-filled="0"] strong { color: rgba(244, 241, 232, .5); font-weight: 500; }
.lpk-whenbtn:focus-visible { outline: 2px solid #C39B62; outline-offset: 1px; }

.lpk-months {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  gap: .5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 .1rem .3rem;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
}

.lpk-month { flex: 1 1 0; min-width: 0; }

.lpk-mhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .3rem;
  padding: 0 0 .35rem;
  border-bottom: 1px solid rgba(244, 241, 232, .12);
  margin-bottom: .3rem;
}

.lpk-mtitle { font-size: .82rem; font-weight: 650; letter-spacing: .02em; }

.lpk-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(244, 241, 232, .18);
  background: rgba(244, 241, 232, .06);
  color: #F4F1E8;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.lpk-arrow:hover:not([disabled]) { background: rgba(244, 241, 232, .14); }
.lpk-arrow[disabled] { opacity: .34; cursor: default; }
.lpk-arrow:focus-visible { outline: 2px solid #C39B62; outline-offset: 1px; }

.lpk-wd,
.lpk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.lpk-wd { padding-bottom: .2rem; }
.lpk-wd span { font-size: .62rem; text-align: center; color: rgba(244, 241, 232, .42); }

.lpk-day {
  position: relative;
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #F4F1E8;
  font: inherit;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.lpk-day:hover:not([disabled]) { background: rgba(244, 241, 232, .11); }
.lpk-day:focus-visible { outline: 2px solid #C39B62; outline-offset: -2px; }

.lpk-day.pad { visibility: hidden; }
.lpk-day.past { color: rgba(244, 241, 232, .3); cursor: default; }
.lpk-day.in-range { background: rgba(195, 155, 98, .24); border-radius: 0; }

.lpk-day.start,
.lpk-day.end {
  background: #C39B62;
  color: #122F2A;
  font-weight: 700;
}

.lpk-day.start { border-radius: 9px 0 0 9px; }
.lpk-day.end { border-radius: 0 9px 9px 0; }
.lpk-day.start.end { border-radius: 9px; }
.lpk-day.start.end::after { display: none; }

/* ------------------------------------------------------------- the summary */
.lpk-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem .3rem .1rem;
  margin-top: .55rem;
  border-top: 1px solid rgba(244, 241, 232, .13);
}

.lpk-sum {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: .84rem;
  color: rgba(244, 241, 232, .66);
}

.lpk-sum[data-need="1"] { color: #C39B62; }

.lpk-clearbtn,
.lpk-done {
  flex: none;
  min-height: 44px;
  padding: 0 .9rem;
  border-radius: 999px;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
}

.lpk-clearbtn {
  border: 1px solid rgba(244, 241, 232, .2);
  background: transparent;
  color: #F4F1E8;
}

.lpk-clearbtn[disabled] { opacity: .4; cursor: default; }

.lpk-done {
  border: 1px solid rgba(201, 162, 104, .92);
  background: #C39B62;
  color: #122F2A;
}

.lpk-done:hover { filter: brightness(1.06); }
.lpk-clearbtn:hover:not([disabled]) { background: rgba(244, 241, 232, .1); }
.lpk-done:focus-visible,
.lpk-clearbtn:focus-visible { outline: 2px solid #F4F1E8; outline-offset: 2px; }

/* ------------------------------------------------------------------ phones */
@media (max-width: 760px) {
  .lpk-pop {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    max-height: 74svh;
    border-radius: 16px 16px 0 0;
    border-bottom: 0;
    padding: .6rem .7rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -18px 40px -16px rgba(5, 16, 13, .7);
  }

  .lpk-pop-dates { width: 100%; }
  .minisearch .lpk-field { align-items: center; padding-bottom: 0; }
  .lpk-months { display: block; }
  .lpk-month + .lpk-month { margin-top: .5rem; }
  .lpk-day.start, .lpk-day.end, .lpk-day.start.end { border-radius: 10px; }
  .lpk-foot { position: sticky; bottom: 0; background: #0E2723; }
}

@media (prefers-reduced-motion: no-preference) {
  .lpk-pop[data-open="1"] { animation: lpk-in 140ms ease-out; }
  @keyframes lpk-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
  }
  @media (max-width: 760px) {
    .lpk-pop[data-open="1"] { animation-name: lpk-up; }
    @keyframes lpk-up {
      from { opacity: 0; transform: translateY(14px); }
      to { opacity: 1; transform: none; }
    }
  }
}

.lpk-opt-area{display:block;margin-top:.15rem;color:#c4c7bd;font-size:.76rem;font-weight:400;line-height:1.35;white-space:normal}
