/* Shared search/enquiry visual layer. Field names and picker behavior stay intact. */
body [data-search-form] .search-destination { position: relative; }
body [data-search-form] [data-destination-select][hidden] { display: none !important; }
body [data-search-form] .destination-suggestions { position: absolute; top: calc(100% + 10px); left: 0; width: max(100%,260px); max-width: calc(100vw - 48px); z-index: 95; padding: 12px; border: 1px solid #dbcbbc; border-radius: 18px; background: #fcf6ec; box-shadow: 0 12px 30px rgba(65,45,25,.16); }
body [data-search-form] .destination-suggestions[hidden] { display: none; }
body [data-search-form] .destination-suggestions-heading { margin: 2px 10px 8px; color: #626a70; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
body [data-search-form] .destination-suggestions [role="listbox"] { display: grid; max-height: min(330px,45dvh); overflow-y: auto; }
body [data-search-form] .destination-suggestions button { width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: #303336; text-align: left; font: inherit; font-size: 14px; }
body [data-search-form] .destination-suggestions button:hover,body [data-search-form] .destination-suggestions button[aria-selected="true"] { background: #f1ddd4; color: #961c20; }
body [data-search-form] .destination-suggestions .destination-all { margin-top: 5px; border-top: 1px solid #eadfd1; border-radius: 0; color: #b62025; font-weight: 600; }
body [data-search-form] .destination-suggestions-status { margin: 0 10px; color: #626a70; font-size: 13px; }
body .mobile-search-dialog { width: min(calc(100% - 28px),460px); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid #eadfd1; border-radius: 24px; background: #fcf6ec; color: #303336; box-shadow: 0 18px 48px rgba(65,45,25,.2); overflow-y: auto; }
body .mobile-search-dialog::backdrop { background: rgba(35,27,21,.48); }
body .mobile-search-dialog .mobile-search-dialog-inner { padding: 28px 24px 24px; }
body .mobile-search-dialog h2 { padding-right: 30px; margin-top: 8px; font-size: 28px; font-weight: 800; letter-spacing: -.045em; line-height: 1.15; }
body .mobile-search-dialog .hero-search.mobile-search-form { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr; gap: 16px; padding: 0; margin: 24px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
body .mobile-search-dialog .hero-search.mobile-search-form:focus-within { border: 0; box-shadow: none; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-field { display: grid; grid-template-columns: 1fr; gap: 7px; min-height: 0; padding: 0; border: 0; background: transparent; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-field label { position: static; width: auto; height: auto; clip: auto; overflow: visible; margin: 0; color: #626a70; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-icon { display: none; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-field :is(input,select) { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #dbcbbc; border-radius: 12px; background: #fff; color: #303336; font-size: 16px; line-height: 1.4; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-submit { width: 100%; min-height: 50px; margin-top: 4px; border: 0; border-radius: 28px; background: #b62025; color: #fff; font-size: 15px; box-shadow: none; }
body .mobile-search-dialog .hero-search.mobile-search-form .search-submit:hover { background: #961c20; }
body .mobile-search-dialog [data-dialog-close] { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border: 1px solid #eadfd1; border-radius: 50%; background: #fff; color: #4f5559; font-size: 0; }
body .mobile-search-dialog [data-dialog-close]::before,body .mobile-search-dialog [data-dialog-close]::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 1px; background: currentColor; pointer-events: none; transform: translate(-50%,-50%) rotate(45deg); }
body .mobile-search-dialog [data-dialog-close]::after { transform: translate(-50%,-50%) rotate(-45deg); }
body [data-search-form] :is(.search-calendar,.guest-popover) { position: fixed; top: 50%; left: 50%; right: auto; transform: translate(-50%,-50%); z-index: 90; padding: 20px; max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid #dbcbbc; border-radius: 24px; background: #fcf6ec; color: #303336; font-family: 'Plus Jakarta Sans',Arial,sans-serif; box-shadow: 0 16px 44px rgba(65,45,25,.18); }
body [data-search-form] .search-calendar { width: min(640px,calc(100vw - 32px)); }
body [data-search-form] .guest-popover { width: min(360px,calc(100vw - 32px)); }
/* A sticky sidebar is its own stacking context. Lift it while a picker is open
   so the fixed calendar header and Close control stay above the site header. */
@media (min-width: 992px) {
  .page-property .booking-sidebar:has([data-date-picker]:not([hidden]),[data-guest-popover]:not([hidden])) { z-index: 40; }
}
body [data-search-form] [data-date-picker] .search-calendar-head { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px 8px; align-items: center; }
body [data-search-form] [data-date-prev] { grid-column: 1; grid-row: 1; }
body [data-search-form] [data-date-next] { grid-column: 2; grid-row: 1; justify-self: start; }
body [data-search-form] [data-date-close] { grid-column: 3; grid-row: 1; min-height: 44px; padding: 0 16px; border: 1px solid #dbcbbc; border-radius: 24px; background: #fff; color: #4f5559; font-size: 12px; font-weight: 600; }
body [data-search-form] [data-date-picker] .search-calendar-months { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
body [data-search-form] .search-calendar-month h3 { font-size: 16px; font-weight: 700; color: #303336; margin-bottom: 16px; }
body [data-search-form] .search-calendar-weekdays { font-size: 10px; font-weight: 600; color: #626a70; }
body [data-search-form] :is(.search-calendar-day,.search-calendar-blank) { min-height: 38px; }
body [data-search-form] .search-calendar-day { border-radius: 8px; background: transparent; color: #303336; font-size: 13px; font-variant-numeric: tabular-nums; }
body [data-search-form] .search-calendar-day.in-range { border-radius: 0; background: #f1ddd4; color: #961c20; }
body [data-search-form] .search-calendar-day:is(.is-start,.is-end) { border-radius: 8px; background: #b62025; color: #fff; }
body [data-search-form] .search-calendar-day.is-disabled:not(.is-start):not(.is-end) { background: transparent; color: #9c9690; }
body [data-search-form] .search-calendar-hint { margin: 16px 0 12px; color: #626a70; font-size: 12px; line-height: 1.5; }
body [data-search-form] :is(.search-calendar-actions,.guest-popover-actions) { margin-top: 12px; padding-top: 14px; border-top: 1px solid #eadfd1; }
body [data-search-form] .search-clear { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 22px; background: transparent; color: #b62025; font-size: 13px; }
body [data-search-form] .search-done { min-height: 44px; padding: 8px 24px; border: 0; border-radius: 24px; background: #b62025; color: #fff; font-size: 13px; }
body [data-search-form] .guest-popover-title { margin-bottom: 12px; font-size: 21px; font-weight: 700; color: #303336; letter-spacing: -.035em; }
body [data-search-form] .guest-counter { grid-template-columns: minmax(0,1fr) 44px 26px 44px; gap: 7px; min-height: 76px; border-bottom: 1px solid #eadfd1; }
body [data-search-form] .guest-counter strong { font-size: 14px; font-weight: 700; color: #303336; }
body [data-search-form] .guest-counter small { font-size: 11px; color: #626a70; }
body [data-search-form] .guest-counter output { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; color: #303336; }
body [data-search-form] :is(.search-calendar-nav,.guest-counter button) { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #dbcbbc; border-radius: 50%; background: #fff; color: #b62025; font-size: 0; }
body [data-search-form] :is(.search-calendar-nav,.guest-counter button):hover:not(:disabled) { background: #f4eadc; color: #b62025; }
body [data-search-form] .search-calendar-nav:disabled { opacity: .4; }
body [data-search-form] .search-calendar-nav::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-65%,-50%) rotate(45deg); pointer-events: none; }
body [data-search-form] [data-date-prev]::before { transform: translate(-35%,-50%) rotate(-135deg); }
body [data-search-form] .guest-counter button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 1px; background: currentColor; transform: translate(-50%,-50%); pointer-events: none; }
body [data-search-form] .guest-counter [data-guest-plus]::after { content: ''; position: absolute; top: 50%; left: 50%; width: 2px; height: 12px; border-radius: 1px; background: currentColor; transform: translate(-50%,-50%); pointer-events: none; }
body [data-search-form] .guest-pets { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 14px; color: #4f5559; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; cursor: pointer; }
body [data-search-form] .guest-pets input[data-pets-checkbox] { flex: 0 0 20px; width: 20px; height: 20px; min-width: 20px; min-height: 20px; padding: 0; margin: 0; accent-color: #b62025; }
body [data-search-form] :is(input,select,button):focus-visible,body .mobile-search-dialog [data-dialog-close]:focus-visible { outline: 2px solid #b62025; outline-offset: 3px; }
body [data-search-form] :is(.search-done,.search-submit):focus-visible { outline-offset: 3px; }
body:has(.mobile-search-dialog[open],[data-enquiry-form] [data-date-picker]:not([hidden]),[data-enquiry-form] [data-guest-popover]:not([hidden])) #nzoka-widget-root { visibility: hidden; }
@media (min-width:1100px) {
  body:has(.live-search:not(.mobile-search-form) [data-date-picker]:not([hidden]),.live-search:not(.mobile-search-form) [data-guest-popover]:not([hidden])) #nzoka-widget-root { visibility: hidden; }
}
@media (max-width:767px) {
  body [data-search-form] :is(.search-calendar,.guest-popover),body .mobile-search-dialog .hero-search.mobile-search-form :is(.search-calendar,.guest-popover) { position: fixed; top: 50%; left: 50%; right: auto; width: min(calc(100vw - 28px),430px); max-height: calc(100dvh - 28px); transform: translate(-50%,-50%); padding: 16px; }
  body [data-search-form] [data-date-picker] .search-calendar-months { grid-template-columns: 1fr; }
}
body .mobile-search-dialog .hero-search.mobile-search-form [data-date-picker] .search-calendar-months { grid-template-columns: 1fr; }
body .mobile-search-dialog .hero-search.mobile-search-form :is(.search-calendar,.guest-popover) { position: fixed; top: 50%; left: 50%; right: auto; width: min(calc(100vw - 28px),430px); max-height: calc(100dvh - 28px); transform: translate(-50%,-50%); }
@media (max-width:359px) {
  body .mobile-search-dialog .mobile-search-dialog-inner { padding: 24px 18px 18px; }
  body .mobile-search-dialog h2 { font-size: 25px; }
  body [data-search-form] .guest-counter { gap: 5px; grid-template-columns: minmax(0,1fr) 44px 22px 44px; }
}
