/* ============================================================
   Prague Hotels v2 — hotels.html (browse / filter) page
   ============================================================ */

.hero--compact { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem); }
.hero--compact h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.hero--compact .hero__lede { margin-bottom: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- featured tier heading ---------- */
.featured-tier {
  font-family: var(--f-sans);
  font-size: .9rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.featured-tier__stars { color: var(--c-gold); font-size: 1.05rem; letter-spacing: 0; }

/* ---------- star tabs (primary filter, hotels page) ---------- */
.star-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .star-tabs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 340px) {
  .star-tabs { grid-template-columns: 1fr; }
}

.star-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: var(--c-surface);
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1rem .75rem .9rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.star-tab:hover {
  border-color: var(--c-accent-soft);
  background: var(--c-surface-alt);
}
.star-tab.is-active {
  border-color: var(--c-accent);
  background: #fff;
  box-shadow: 0 0 0 1px var(--c-accent), 0 4px 16px rgba(122,30,43,.10);
}
.star-tab__stars {
  display: block;
  color: var(--c-gold);
  font-size: 1rem;
  letter-spacing: .05em;
  line-height: 1;
}
.star-tab__label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.2;
}
.star-tab__count {
  display: inline-block;
  background: var(--c-surface-alt);
  color: var(--c-muted);
  font-size: .73rem;
  font-weight: 600;
  padding: .15rem .55rem;
  border-radius: 999px;
  min-width: 2rem;
  text-align: center;
}
.star-tab.is-active .star-tab__count {
  background: var(--c-accent);
  color: #fff;
}

/* ---------- secondary filter row (name + area) ---------- */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-end;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  box-shadow: var(--sh-card);
  margin-bottom: 1.25rem;
}
.filter-row .filter-search { flex: 1 1 220px; }
.filter-row .filter-group { flex: 0 0 auto; }

/* ---------- filter bar (kept for other uses) ---------- */
.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr auto auto auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--sh-card);
  margin-bottom: 1.5rem;
}
@media (max-width: 950px) {
  .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .filter-bar { grid-template-columns: 1fr; padding: 1rem; }
}

.filter-search {
  position: relative;
  display: flex;
  align-items: center;
}
.filter-search__icon {
  position: absolute;
  left: .85rem;
  color: var(--c-muted);
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.4rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  font: inherit;
  color: var(--c-ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.filter-search input:focus {
  outline: 0;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(122,30,43,.15);
}

.filter-group { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.filter-group__label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 600;
}

.filter-pills { display: flex; gap: .3rem; flex-wrap: wrap; }
.filter-pill {
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-ink);
  padding: .45rem .8rem;
  border-radius: 999px;
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--c-accent); }
.filter-pill.is-active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.filter-group select {
  padding: .55rem .75rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  font: inherit;
  color: var(--c-ink);
  cursor: pointer;
  min-width: 160px;
}
.filter-group select:focus {
  outline: 0;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(122,30,43,.15);
}

.filter-reset {
  align-self: end;
  background: transparent;
  border: 0;
  color: var(--c-muted);
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  padding: .5rem .75rem;
  border-radius: var(--r-sm);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.filter-reset:hover { color: var(--c-accent); }

/* ---------- result count + empty state ---------- */
.result-count {
  color: var(--c-muted);
  font-size: .9rem;
  margin: 0 0 1rem;
}
.result-count strong { color: var(--c-ink); font-weight: 600; }

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--c-muted);
  font-size: 1.05rem;
  background: var(--c-surface);
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
}

/* ---------- card tweak: "featured" ribbon ---------- */
.hotel-card__featured {
  position: absolute;
  top: .8rem; right: .8rem;
  background: var(--c-gold);
  color: #fff;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .3rem .55rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(184,137,58,.4);
}

/* loading shimmer for the initial state */
.skeleton-card {
  background: var(--c-surface);
  border-radius: var(--r-md);
  height: 320px;
  box-shadow: var(--sh-card);
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
