/**
 * Ellavia portal — Hero search interaktivity (F1, 3.5.2026)
 *
 *  ─ Aktívne AI tipy pod Ella inputom (klikateľné chips → submit query do Ella chatu)
 *  ─ Toggle Ella ↔ booking-style search bar (5 stĺpcov, Ellipse demo dizajn)
 *  ─ Custom kalendár popup (2 mesiace vedľa seba, Pon–Ned, range select, vanilla JS)
 *  ─ Number stepper (+/− pre Dospelí / Deti)
 *  ─ Per-child age dropdown (zobrazí sa keď deti > 0)
 *
 * Drží sa global design tokens z portal.css (--accent, --primary, --radius, …).
 * Žiadny external library — vlastná čistá implementácia.
 */

/* === Hero search wrapper (mode switcher) ============================== */
.hero-search {
  width: min(960px, 100%);
  margin: 22px auto 0;
}

.hero-search__mode {
  width: 100%;
  animation: heroSearchFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-search__mode[hidden] {
  display: none !important;
}

@keyframes heroSearchFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-search__mode {
    animation: none;
  }
}

/* === AI tipy pod Ella inputom ========================================= */
.hero-tips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  max-width: 760px;
}

.hero-tips__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin-right: 6px;
  white-space: nowrap;
}

.hero-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  text-align: left;
}
.hero-tip:hover,
.hero-tip:focus-visible {
  background: rgba(172, 133, 16, 0.92);
  border-color: rgba(172, 133, 16, 1);
  color: var(--primary);
  transform: translateY(-1px);
  outline: none;
}
.hero-tip:active {
  transform: translateY(0);
}
.hero-tip__icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: 0.85;
}
.hero-tip__text {
  /* Long queries môžu rozbiť mobile layout — clamp na rozumnú dĺžku. */
  white-space: normal;
}

/* Tablet: tipy do 2 riadkov je OK */
@media (max-width: 720px) {
  .hero-tips {
    gap: 6px;
  }
  .hero-tips__label {
    flex-basis: 100%;
    text-align: center;
    margin: 0 0 4px;
    font-size: 11px;
  }
  .hero-tip {
    font-size: 12.5px;
    padding: 7px 12px;
  }
}

/* === Booking-style search bar (5 stĺpcov, Ellipse demo) =============== */
.hero-search-bar {
  display: grid;
  grid-template-columns:
    minmax(180px, 1.6fr)  /* lokalita */
    minmax(140px, 1fr)    /* check-in */
    minmax(140px, 1fr)    /* check-out */
    minmax(108px, 0.8fr)  /* dospelí */
    minmax(108px, 0.8fr)  /* deti */
    auto;                 /* submit */
  gap: 0;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}

.hero-search-bar__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 18px;
  text-align: left;
  border-right: 1px solid rgba(7, 21, 50, 0.08);
  position: relative;
  min-width: 0;
}
.hero-search-bar__col:last-of-type,
.hero-search-bar__col--submit {
  border-right: none;
}

.hero-search-bar__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search-bar__input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.hero-search-bar__input::placeholder {
  color: rgba(7, 21, 50, 0.42);
  font-weight: 500;
}

.hero-search-bar__date-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.hero-search-bar__date-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero-search-bar__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-search-bar__value.is-placeholder {
  color: rgba(7, 21, 50, 0.42);
  font-weight: 500;
}

.hero-search-bar__col--submit {
  padding: 8px 8px 8px 0;
  align-items: stretch;
  justify-content: stretch;
}
.hero-search-bar__submit {
  width: 100%;
  height: 100%;
  min-height: 56px;
  border-radius: 12px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === Stepper (+/−) ==================================================== */
.hero-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
.hero-stepper__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(7, 21, 50, 0.18);
  background: transparent;
  color: var(--primary);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}
.hero-stepper__btn:hover:not(:disabled),
.hero-stepper__btn:focus-visible:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  outline: none;
}
.hero-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hero-stepper__value {
  min-width: 18px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

/* === Per-child age dropdowns (sub-row) ================================
 *  Visibility: markup sa renderuje s `hidden` atribútom keď deti = 0
 *  (booking-search-bar.php). `display: flex` na hlavnom selektore má
 *  vyššiu špecificitu než UA-default `[hidden] { display: none }`, preto
 *  potrebujeme explicitné `[hidden]` pravidlo nižšie. Smooth fade-in/out
 *  cez `max-height` + `opacity` (display sa nedá animovať). */
.hero-children-ages {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 18px 14px;
  border-top: 1px solid rgba(7, 21, 50, 0.08);
  background: rgba(7, 21, 50, 0.04);
  max-height: 240px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.18s ease,
              padding-top 0.2s ease, padding-bottom 0.2s ease,
              border-top-width 0.2s ease;
}
.hero-children-ages[hidden] {
  display: flex;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-children-ages {
    transition: none;
  }
}
.hero-children-ages__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-children-ages__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.hero-child-age {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.hero-child-age__label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero-child-age__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 28px 6px 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(7, 21, 50, 0.18);
  background: var(--white)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23071532' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1.5 1.5 6 6 10.5 1.5'/></svg>")
    no-repeat right 8px center / 10px 7px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  min-width: 110px;
}
.hero-child-age__select:hover,
.hero-child-age__select:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.hero-child-age__select option:hover,
.hero-child-age__select option:checked {
  background: var(--accent);
  color: var(--primary);
}

/* === „Späť na chat s Ellou" link ====================================== */
.hero-search__back {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.hero-search__back-btn {
  background: transparent;
  border: 0;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-search__back-btn:hover,
.hero-search__back-btn:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  outline: none;
}

/* === Custom kalendár popup ============================================ */
.hero-calendar {
  position: absolute;
  z-index: 50;
  min-width: 640px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(7, 21, 50, 0.32), 0 0 0 1px rgba(7, 21, 50, 0.08);
  padding: 20px;
  display: none;
  /* Renderujeme cez body → fixed positioning v JS-i */
}
.hero-calendar.is-open {
  display: block;
}

.hero-calendar__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.hero-calendar__nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(7, 21, 50, 0.14);
  background: transparent;
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}
.hero-calendar__nav:hover:not(:disabled),
.hero-calendar__nav:focus-visible:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  outline: none;
}
.hero-calendar__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hero-calendar__months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.hero-calendar__month-head {
  text-align: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.hero-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 4px;
}
.hero-calendar__weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
}

.hero-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.hero-calendar__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease, color 0.12s ease;
}
.hero-calendar__day:hover:not(:disabled):not(.is-blocked) {
  background: rgba(172, 133, 16, 0.18);
}
.hero-calendar__day:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.hero-calendar__day.is-empty {
  visibility: hidden;
  pointer-events: none;
}
.hero-calendar__day.is-blocked,
.hero-calendar__day:disabled {
  color: rgba(7, 21, 50, 0.32);
  background: rgba(220, 53, 69, 0.06);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(220, 53, 69, 0.42);
}
.hero-calendar__day.is-today {
  outline: 1.5px solid rgba(7, 21, 50, 0.42);
  outline-offset: -2px;
}
.hero-calendar__day.is-in-range {
  background: rgba(172, 133, 16, 0.22);
  border-radius: 0;
}
.hero-calendar__day.is-range-start,
.hero-calendar__day.is-range-end,
.hero-calendar__day.is-selected {
  background: var(--accent);
  color: var(--primary);
}
.hero-calendar__day.is-range-start {
  border-radius: 10px 0 0 10px;
}
.hero-calendar__day.is-range-end {
  border-radius: 0 10px 10px 0;
}
.hero-calendar__day.is-range-start.is-range-end,
.hero-calendar__day.is-selected:not(.is-in-range) {
  border-radius: 10px;
}

.hero-calendar__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(7, 21, 50, 0.08);
}
.hero-calendar__summary {
  font-size: 13px;
  color: var(--ink-soft);
  flex: 1;
  min-width: 0;
}
.hero-calendar__close {
  background: transparent;
  border: 0;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.16s ease;
}
.hero-calendar__close:hover,
.hero-calendar__close:focus-visible {
  background: rgba(7, 21, 50, 0.08);
  outline: none;
}

/* === Backdrop pre kalendár (zatvorenie po kliku mimo) ================= */
.hero-calendar__backdrop {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: transparent;
  display: none;
}
.hero-calendar__backdrop.is-open {
  display: block;
}


/* === Responzivita ====================================================== */
@media (max-width: 1080px) {
  .hero-search-bar {
    grid-template-columns:
      minmax(0, 2fr)
      minmax(0, 1fr)
      minmax(0, 1fr);
  }
  .hero-search-bar__col--location {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: 1px solid rgba(7, 21, 50, 0.08);
  }
  .hero-search-bar__col--submit {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(7, 21, 50, 0.08);
    padding: 10px;
  }
  .hero-children-ages {
    border-top: 1px solid rgba(7, 21, 50, 0.08);
  }
}

@media (max-width: 768px) {
  .hero-search {
    margin-top: 16px;
  }
  .hero-search-bar {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .hero-search-bar__col {
    border-right: none;
    border-bottom: 1px solid rgba(7, 21, 50, 0.08);
    padding: 12px 16px;
  }
  .hero-search-bar__col:last-of-type {
    border-bottom: none;
  }
  .hero-search-bar__col--submit {
    padding: 12px 16px;
  }
  .hero-search-bar__submit {
    min-height: 50px;
  }

  .hero-calendar {
    /* Mobile: full-width modal centered */
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: 380px;
    padding: 16px;
  }
  .hero-calendar__months {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-children-ages {
    padding: 10px 16px 14px;
  }
}

@media (max-width: 480px) {
  .hero-tips {
    /* Stack do max 2 riadkov, žiadne overflow */
    flex-direction: column;
    gap: 6px;
  }
  .hero-tip {
    width: 100%;
    justify-content: flex-start;
  }
}

/* === Hover „is-loading" stav na booking submit (consistent s Ella) ==== */
.hero-search-bar__submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* === Compact varianta (search results page — /pobyty/) ================
 *  Worker „search results booking bar reuse" (3.5.2026):
 *  - Menej dominantná než hero variant (žiadny dark glass shadow, biele
 *    pozadie s jemným borderom a subtle stien-em).
 *  - Stojí samostatne (mimo hero overlay-u), takže `position: static` je OK.
 *  - Padding/typografia mierne menšia (~20% redukcia vs. hero variant). */
.hero-search-bar--compact {
  background: #fff;
  border: 1px solid rgba(7, 21, 50, 0.10);
  box-shadow: 0 4px 18px rgba(7, 21, 50, 0.07);
  border-radius: 14px;
  margin-bottom: 18px;
}

.hero-search-bar--compact .hero-search-bar__col {
  padding: 11px 14px;
}

.hero-search-bar--compact .hero-search-bar__label {
  font-size: 10px;
  letter-spacing: 0.07em;
}

.hero-search-bar--compact .hero-search-bar__col--location {
  padding-left: 20px;
}

.hero-search-bar--compact .hero-search-bar__input,
.hero-search-bar--compact .hero-search-bar__value {
  font-size: 15px;
}

.hero-search-bar--compact .hero-search-bar__col--submit {
  padding: 6px 12px 6px 12px;
}

.hero-search-bar--compact .hero-search-bar__submit {
  min-height: 48px;
  font-size: 13px;
}

.hero-search-bar--compact .hero-stepper__btn {
  width: 26px;
  height: 26px;
  font-size: 16px;
}

.hero-search-bar--compact .hero-stepper__value {
  font-size: 15px;
}

@media (max-width: 768px) {
  .hero-search-bar--compact {
    margin-bottom: 14px;
  }
  .hero-search-bar--compact .hero-search-bar__col {
    padding: 10px 14px;
  }
}

/* === Location autocomplete dropdown ====================================
 *  Worker „lokalita autocomplete" (3.5.2026) — náhrada free-text inputu
 *  na location fielde dropdownom s real-time zoznamom dostupných hotelov,
 *  miest a regiónov z DB. Zobrazuje sa pod inputom (relative wrap), rozdelený
 *  do 3 sekcií (Hotely / Mestá / Regióny) s ikonami a sub-textom.
 */
.hero-search-bar__input-wrap {
  position: relative;
}

/* Dropdown je injektovaný JS-om priamo do <body> (position:fixed), pretože
 * `.hero-search-bar { overflow: hidden }` by inak orezal absolútny dropdown.
 * Rovnaký pattern ako HeroCalendar. */
.hero-search-bar__dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(7, 21, 50, 0.18), 0 4px 10px rgba(7, 21, 50, 0.06);
  border: 1px solid rgba(7, 21, 50, 0.06);
  max-height: 380px;
  overflow-y: auto;
  z-index: 60;
  padding: 6px;
  -webkit-overflow-scrolling: touch;
}
.hero-search-bar__dropdown[hidden] {
  display: none;
}

.hero-search-bar__dropdown-group + .hero-search-bar__dropdown-group {
  margin-top: 4px;
  border-top: 1px solid rgba(7, 21, 50, 0.06);
  padding-top: 6px;
}

.hero-search-bar__dropdown-group-label {
  padding: 6px 12px 4px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(7, 21, 50, 0.55);
}

.hero-search-bar__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--primary);
  transition: background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-search-bar__dropdown-item:hover,
.hero-search-bar__dropdown-item.is-active,
.hero-search-bar__dropdown-item:focus-visible {
  background: rgba(7, 21, 50, 0.06);
  outline: none;
}

.hero-search-bar__dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(172, 133, 16, 0.14);
  color: #b67e29;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-search-bar__dropdown-item-icon svg {
  width: 16px;
  height: 16px;
}

.hero-search-bar__dropdown-group[data-group-type="hotel"] .hero-search-bar__dropdown-item-icon {
  background: rgba(172, 133, 16, 0.14);
  color: #b67e29;
}
.hero-search-bar__dropdown-group[data-group-type="city"] .hero-search-bar__dropdown-item-icon {
  background: rgba(7, 21, 50, 0.10);
  color: var(--primary);
}
.hero-search-bar__dropdown-group[data-group-type="region"] .hero-search-bar__dropdown-item-icon {
  background: rgba(40, 110, 80, 0.14);
  color: #28694a;
}

.hero-search-bar__dropdown-item-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.hero-search-bar__dropdown-item-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search-bar__dropdown-item-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(7, 21, 50, 0.55);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search-bar__dropdown-empty {
  padding: 16px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(7, 21, 50, 0.6);
  text-align: center;
  line-height: 1.45;
}

/* Mobile: dropdown menej výšky + drobnejšie ikony. Width je inline z JS-u
 * (position:fixed s dynamickými coords). */
@media (max-width: 768px) {
  .hero-search-bar__dropdown {
    max-height: 320px;
    border-radius: 12px;
  }
  .hero-search-bar__dropdown-item {
    padding: 10px 10px;
    gap: 10px;
  }
  .hero-search-bar__dropdown-item-icon {
    width: 30px;
    height: 30px;
  }
}

/* === Empty state ("Hotel Kempinski → 0 výsledkov") =====================
 *  Worker „lokalita autocomplete" (3.5.2026) — friendlier 0-results state
 *  na /pobyty/ keď user napíše voľný text bez výberu z dropdownu a žiadny
 *  hotel nezmatchuje. Aktívne navedie reset filtra alebo opýtanie sa Elle.
 */
.stay-empty-state {
  background: #fff;
  border: 1px solid rgba(7, 21, 50, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  max-width: 580px;
  margin: 12px auto 24px;
  box-shadow: 0 6px 20px rgba(7, 21, 50, 0.06);
}

.stay-empty-state__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

.stay-empty-state__lead {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.55;
}

.stay-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Vlastné btn štýly (nepoužívame .btn--ghost lebo má `display: none` globálne
 * v portal.css — historický artefakt). */
.stay-empty-state__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
  min-width: 180px;
  -webkit-tap-highlight-color: transparent;
}

.stay-empty-state__btn--reset {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(7, 21, 50, 0.20);
}
.stay-empty-state__btn--reset:hover,
.stay-empty-state__btn--reset:focus-visible {
  background: rgba(7, 21, 50, 0.04);
  border-color: rgba(7, 21, 50, 0.42);
  color: var(--primary);
  outline: none;
}

.stay-empty-state__btn--primary {
  background: var(--accent, #E8A53D);
  color: var(--primary);
  border: 1.5px solid var(--accent, #E8A53D);
}
.stay-empty-state__btn--primary:hover,
.stay-empty-state__btn--primary:focus-visible {
  background: #d59327;
  border-color: #d59327;
  outline: none;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .stay-empty-state {
    padding: 24px 18px;
  }
  .stay-empty-state__title {
    font-size: 18px;
  }
  .stay-empty-state__btn {
    width: 100%;
    min-width: 0;
  }
}
