.search-launch {
  display: none;
}
.search-is-open {
  overflow: hidden;
}
.search-dialog {
  width: min(780px, calc(100vw - 40px));
  height: min(850px, 92dvh);
  max-width: 100vw;
  max-height: 92dvh;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #f1f3f0;
  scrollbar-gutter: auto;
}
.search-dialog[open] {
  display: flex;
  flex-direction: column;
}
.search-dialog::backdrop {
  background: #1b302866;
  backdrop-filter: blur(8px);
}
.search-ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #dce4dd;
  flex-shrink: 0;
}
.search-ui-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--green);
}
.search-ui-brand .icon {
  width: 23px;
  height: 23px;
}
.search-ui-close {
  width: 42px;
  height: 42px;
  background: #f1f4f0;
}
.search-ui-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  padding: 24px;
  flex: 1;
}
.search-ui-title {
  font-size: 27px;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin: 0 0 22px;
  font-weight: 650;
}
.search-steps {
  display: grid;
  gap: 14px;
}
.search-step {
  border: 1px solid #d3dfd6;
  border-radius: 19px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 10px #193a2505;
}
.search-step.expanded {
  box-shadow: 0 10px 24px #143c2c12;
  border-color: #aec5b8;
}
.search-step-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 70px;
  text-align: left;
  padding: 21px 24px;
}
.search-step-toggle > span {
  font-size: 14px;
  font-weight: 550;
  color: #586b5e;
  flex-shrink: 0;
}
.search-step-toggle strong {
  font-size: 13px;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}
.expanded .search-step-toggle {
  padding-bottom: 16px;
}
.expanded .search-step-toggle > span {
  font-size: 27px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.8px;
}
.expanded .search-step-toggle strong {
  display: none;
}
.search-step-content {
  padding: 0 24px 24px;
}
.search-step-content[hidden] {
  display: none;
}
.search-ui-hint {
  color: #617166;
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0;
}
.search-place-label {
  display: grid;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.search-place-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  height: 54px;
  border: 1px solid #91ad9b;
  border-radius: 12px;
  color: var(--green);
}
.search-place-wrap:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.search-place-wrap input {
  border: 0;
  background: none;
  outline: 0;
  min-width: 0;
  width: 100%;
  font-size: 16px;
}
#destination-suggestions {
  display: grid;
  gap: 3px;
}
.destination-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 10px 4px;
  text-align: left;
  border-radius: 10px;
}
.destination-option:hover {
  background: #edf4ef;
}
.destination-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #edf4ef;
  color: var(--green);
  flex-shrink: 0;
}
.destination-option > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.destination-option strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
}
.destination-option small {
  display: block;
  color: #65756b;
  font-size: 12px;
  margin-top: 4px;
}
.destination-option > .icon {
  color: var(--green);
}
.calendar-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #52685a;
}
.calendar-intro p {
  margin: 0;
  line-height: 1.7;
}
.calendar-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 18px;
}
.calendar-navigation button {
  width: 38px;
  height: 38px;
}
.calendar-prev {
  transform: rotate(180deg);
}
.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.calendar-month h3 {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  margin: 0 0 16px;
  text-transform: capitalize;
}
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  gap: 5px 0;
}
.calendar-weekdays {
  color: #6a796f;
  font-size: 11px;
  margin-bottom: 8px;
}
.calendar-day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 13px;
  border-radius: 50%;
  min-width: 0;
  padding: 0;
}
.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  background: #e3ede6;
  outline: 1px solid var(--green);
}
.calendar-day:disabled {
  color: #a0aaa3;
  text-decoration: line-through;
  opacity: 0.6;
}
.calendar-day.in-range {
  background: #e8f1e5;
  border-radius: 0;
}
.calendar-day.selected {
  background: var(--green);
  color: #fff;
}
.calendar-selection {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #dce4dd;
  color: var(--green);
  font-size: 12px;
  line-height: 1.6;
}
.guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 22px;
  border-bottom: 1px solid #e3e8e3;
}
.guest-counter strong {
  font-size: 16px;
  font-weight: 650;
}
.guest-counter p {
  font-size: 12px;
  color: #65756b;
  line-height: 1.6;
  margin: 8px 0 0;
}
.counter-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.counter-controls button {
  width: 38px;
  height: 38px;
  background: #f1f5ef;
}
.counter-controls .icon {
  width: 16px;
  height: 16px;
}
.counter-controls output {
  font-size: 17px;
  font-weight: 650;
  min-width: 20px;
  text-align: center;
}
.search-ui-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  padding: 18px 24px;
  background: #fff;
  border-top: 1px solid #dce4dd;
}
.search-ui-footer > .text-button {
  font-size: 12px;
  text-align: left;
  line-height: 1.5;
}
.search-ui-primary {
  min-height: 48px;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 12px;
  gap: 12px;
}
.search-ui-status {
  color: #9a3a2b;
  background: #fff;
  font-size: 12px;
  line-height: 1.7;
  padding: 0 24px;
}
.search-ui-status:not(:empty) {
  padding-top: 12px;
  padding-bottom: 12px;
}
.filter-section {
  border-bottom: 1px solid #d7e1d9;
  padding: 0 0 24px;
  margin: 0 0 24px;
}
.filter-section:last-child {
  border: 0;
  margin-bottom: 0;
}
.filter-section h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0 0 16px;
}
.filter-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.filter-section .form-field {
  margin: 0;
  font-size: 12px;
}
.filter-section input:not([type="checkbox"]),
.filter-section select {
  font-size: 16px;
  min-height: 48px;
  background: #fff;
}
.filter-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.filter-types button {
  display: grid;
  gap: 12px;
  text-align: left;
  padding: 16px;
  border: 1px solid #c3d1c7;
  border-radius: 13px;
  font-size: 12px;
  background: #fff;
}
.filter-types button[aria-pressed="true"] {
  border: 2px solid var(--green);
  padding: 15px;
  background: #e4eee5;
  color: var(--green);
}
.filter-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.filter-amenities label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
  min-height: 32px;
}
.filter-amenities input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin: 2px 0;
}
.search-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 25px;
}
.search-summary[hidden] {
  display: none;
}
.search-summary button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #edf4ef;
  border: 1px solid #bdcfc2;
  border-radius: 30px;
  font-size: 11px;
  min-height: 40px;
  text-align: left;
}
.search-summary .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}
#filter {
  position: relative;
}
#filter[data-active-count]:not([data-active-count=""])::after {
  content: attr(data-active-count);
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
}
@media (max-width: 650px) {
  .hero-gallery > .search {
    display: none;
  }
  .search-launch {
    display: grid;
    gap: 13px;
    order: -2;
    background: var(--green);
    border-radius: 20px;
    padding: 20px;
  }
  .search-launch > span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }
  .search-launch button {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    min-height: 76px;
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #dce7dd;
    border-radius: 13px;
    text-align: left;
  }
  .search-launch strong {
    font-size: 15px;
    font-weight: 650;
    display: block;
    color: var(--ink);
  }
  .search-launch small {
    display: block;
    font-size: 11px;
    color: #65756b;
    line-height: 1.7;
    margin-top: 5px;
  }
  .search-launch-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--lime);
    color: var(--green);
    flex-shrink: 0;
  }
  .search-launch-icon svg {
    width: 19px;
    height: 19px;
  }
  .search-dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    top: 0;
    left: 0;
  }
  .search-ui-top {
    padding: 14px 18px;
  }
  .search-ui-scroll {
    padding: 22px 14px;
  }
  .search-ui-title {
    font-size: 25px;
    margin-left: 6px;
  }
  .search-step-toggle {
    padding: 19px 20px;
  }
  .search-step-content {
    padding: 0 20px 24px;
  }
  .search-step-toggle strong {
    max-width: 65%;
    font-size: 12px;
  }
  .expanded .search-step-toggle > span {
    font-size: 26px;
  }
  .calendar-months {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .calendar-day {
    font-size: 14px;
  }
  .calendar-weekdays {
    font-size: 12px;
  }
  .search-ui-footer {
    padding: 16px 20px max(16px, env(safe-area-inset-bottom));
    gap: 16px;
  }
  .search-ui-primary {
    padding: 12px 19px;
  }
  .guest-counter {
    flex-wrap: wrap;
  }
  .counter-controls {
    margin-left: auto;
  }
  .filter-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-amenities {
    grid-template-columns: minmax(0, 1fr);
  }
  .filter-field-grid {
    gap: 12px;
  }
  .filter-section .form-field {
    font-size: 12px;
  }
}
.party-composition { display:grid; }
.party-row, .party-row.guest-counter { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:16px; padding:18px 0; border-bottom:1px solid #e0e7e0; }
.party-row strong { display:block; font-size:14px; font-weight:650; }
.party-row small { display:block; color:#65756b; font-size:11px; line-height:1.6; margin-top:6px; }
.party-row .counter-controls { gap:12px; margin-left:0; }
.party-total { font-size:12px; color:var(--green); margin:20px 0 0; }
@media(max-width:380px){.party-row .counter-controls{gap:8px}.party-row .counter-controls button{width:32px;height:32px}.party-row strong{font-size:13px}}
