:root {
  --primary: #1c77c3;
  --ink: #0f172a;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --card: #ffffff;
  --bg: #ffffff;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  --radius-lg: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.ls-shell {
  min-height: 100vh;
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg);
}

.ls-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.ls-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ls-icon-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

.ls-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
}

.ls-search img {
  width: 16px;
  height: 16px;
  display: block;
}

.ls-search button {
  background: none;
  border: none;
  font-size: 18px;
  color: #cbd5e1;
  cursor: pointer;
}

.ls-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
}

.ls-search input:focus {
  outline: none;
}

.ls-location {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.ls-location-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.ls-location-meta img {
  width: 16px;
  height: 16px;
  display: block;
}

.ls-location-switch {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.ls-main {
  padding: 20px 18px 32px;
}

.ls-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.ls-section-header h1 {
  margin: 0;
  font-size: 20px;
}

.ls-chips {
  width: 100%;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ls-chips::-webkit-scrollbar {
  display: none;
}

.ls-chip {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ls-chip--icon img {
  width: 16px;
  height: 16px;
  display: block;
}

.ls-chip.active {
  background: rgba(28, 119, 195, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.ls-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ls-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.ls-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ls-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ls-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
}

.ls-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ls-card-body h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.ls-card-location {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.ls-card-rating {
  margin: 0;
  font-size: 12px;
  color: #f59e0b;
}

.ls-card-rating span {
  color: var(--muted);
}

.ls-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ls-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
}

.ls-next-link {
  display: inline-flex;
}

.ls-next-link img {
  width: 32px;
  height: 32px;
  display: block;
}

.ls-empty {
  grid-column: 1 / -1;
  margin: 40px auto;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.ls-empty img {
  width: 160px;
  height: auto;
  margin-bottom: 16px;
}

.ls-empty h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.ls-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ls-filter-overlay[hidden] {
  display: none;
}

.ls-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
}

.ls-filter-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.ls-filter-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.18);
  padding: 20px 22px 28px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ls-filter-overlay.active .ls-filter-sheet {
  transform: translateY(0);
}

.ls-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ls-filter-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.ls-filter-reset {
  background: none;
  border: none;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.ls-filter-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 50vh;
  overflow-y: auto;
}

.ls-filter-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.ls-filter-options {
  display: grid;
  gap: 12px;
}

.ls-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.ls-filter-option .ls-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.ls-filter-option label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.ls-filter-option input {
  width: 18px;
  height: 18px;
}

.ls-filter-apply {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 360px) {
  .ls-cards {
    grid-template-columns: 1fr;
  }
}

