:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: rgba(255, 255, 255, 0.94);
  --section: rgba(248, 250, 252, 0.72);
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --line-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --green: #15803d;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  --radius-card: 22px;
  --radius-section: 18px;
  --radius-field: 14px;
  --field-height: 52px;
  --radius: var(--radius-field);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  line-height: 1.5;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 35%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 25%),
    linear-gradient(135deg, var(--bg), var(--bg-soft));
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 54px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.register-restaurant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.register-restaurant-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

.register-restaurant-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--primary-soft), 0 14px 28px rgba(37, 99, 235, 0.24);
}

.map-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 28px;
  align-items: end;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-top: 0;
  backdrop-filter: blur(18px);
}

.map-intro .eyebrow {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-intro h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.map-intro-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.map-intro-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-section);
  background: var(--section);
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.filters-panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.95fr) minmax(210px, 1fr) minmax(240px, 1.12fr) minmax(280px, 1.35fr) auto;
  gap: 28px;
  align-items: end;
  padding: 22px 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-top: 0;
  backdrop-filter: blur(18px);
}

.field {
  min-width: 0;
}

.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.field-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--field-height);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-field);
  padding: 0 16px;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.field-control:focus-within {
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 0 0 4px var(--primary-soft);
  transform: translateY(-1px);
}

.field-control select,
.field-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  appearance: none;
}

.field-control input::placeholder {
  color: #8b95a3;
}

.location-control {
  padding-right: 16px;
}

.field-control select {
  padding-right: 24px;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.filter-actions {
  display: grid;
  gap: 10px;
  min-width: 205px;
}

.primary-btn,
.outline-btn,
.quiet-btn {
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn:hover,
.outline-btn:hover,
.quiet-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.primary-btn:hover {
  background: var(--primary-dark);
}

.outline-btn {
  color: var(--ink);
  background: rgba(226, 232, 240, 0.9);
  border-color: var(--line);
}

.quiet-btn {
  min-height: auto;
  color: var(--muted);
  background: transparent;
  padding: 0;
  border: 0;
  font-weight: 500;
}

.content {
  min-height: 0;
  height: clamp(620px, calc(100vh - 330px), 760px);
  display: grid;
  grid-template-columns: minmax(320px, 25%) minmax(0, 75%);
}

.list-panel {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 24px 18px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-top: 0;
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.result-count {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.search-notice {
  display: none;
  margin: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e3a8a;
  background: #eff6ff;
  font-size: 13px;
  line-height: 1.35;
}

.search-notice.is-visible {
  display: block;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  width: 100%;
  justify-content: space-between;
}

.sort-control select {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.cards {
  display: grid;
  gap: 13px;
}

.venue-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-section);
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.venue-card:hover,
.venue-card.is-active {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: var(--shadow);
}

.venue-card.is-active {
  transform: translateY(-1px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--white);
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.venue-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: 0;
}

.venue-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card-lines {
  display: grid;
  gap: 6px;
}

.line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
}

.line span:last-child {
  min-width: 0;
}

.address-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: start;
}

.distance {
  color: var(--muted);
  white-space: nowrap;
}

.entry-free {
  color: var(--ink);
}

.entry-paid {
  color: var(--green);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

.card-actions .primary-btn,
.card-actions .outline-btn {
  min-height: 40px;
  flex: 1;
  padding: 0 12px;
  font-size: 13px;
}

.load-more {
  width: 100%;
  margin-top: 15px;
  color: var(--ink);
  background: rgba(226, 232, 240, 0.9);
  border: 1px solid var(--line);
}

.empty-state {
  display: none;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-section);
  text-align: center;
  background: var(--section);
}

.empty-state.is-visible {
  display: block;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.map-panel {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #dcebf8;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 var(--radius-card) 0;
}

.map-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 88% 33%, #b8ddff 0 17%, transparent 17.5%),
    radial-gradient(circle at 79% 65%, #b8ddff 0 24%, transparent 24.5%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    #e9edf1;
  background-size: auto, auto, auto, 68px 68px, 68px 68px, auto;
}

.map-canvas.is-google-map {
  background: #e9edf1;
}

.map-canvas.is-google-map::before,
.map-canvas.is-google-map::after {
  display: none;
}

.map-loading,
.map-error {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  background: var(--section);
  text-align: center;
}

.map-error {
  color: #8a1f11;
  background: #fff4f1;
}

.map-panel.has-google-map .map-label,
.map-panel.has-google-map .zoom-controls {
  display: none;
}

.map-info-window {
  min-width: 190px;
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.3;
}

.map-info-window strong {
  font-size: 14px;
}

.map-info-window span {
  color: var(--muted);
  font-size: 12px;
}

.map-info-window a {
  width: max-content;
  margin-top: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.map-canvas::before,
.map-canvas::after {
  content: "";
  position: absolute;
  inset: -30px;
  pointer-events: none;
}

.map-canvas::before {
  background:
    linear-gradient(98deg, transparent 0 21%, rgba(245, 184, 50, 0.62) 21.2% 21.7%, transparent 21.9% 100%),
    linear-gradient(8deg, transparent 0 37%, rgba(245, 184, 50, 0.62) 37.2% 37.8%, transparent 38% 100%),
    linear-gradient(147deg, transparent 0 52%, rgba(245, 184, 50, 0.56) 52.2% 52.8%, transparent 53% 100%),
    linear-gradient(89deg, transparent 0 66%, rgba(245, 184, 50, 0.5) 66.2% 66.8%, transparent 67% 100%);
}

.map-canvas::after {
  background:
    linear-gradient(90deg, transparent 0 49.5%, rgba(255, 255, 255, 0.9) 49.8% 50.2%, transparent 50.5% 100%),
    linear-gradient(0deg, transparent 0 44.5%, rgba(255, 255, 255, 0.9) 44.8% 45.2%, transparent 45.5% 100%),
    linear-gradient(28deg, transparent 0 58%, rgba(255, 255, 255, 0.82) 58.2% 58.7%, transparent 58.9% 100%);
}

.map-label {
  position: absolute;
  color: rgba(17, 24, 39, 0.72);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  user-select: none;
}

.map-label:nth-of-type(1) {
  top: 16%;
  left: 44%;
}

.map-label:nth-of-type(2) {
  top: 34%;
  left: 38%;
}

.map-label:nth-of-type(3) {
  top: 50%;
  left: 56%;
}

.map-label:nth-of-type(4) {
  top: 73%;
  left: 25%;
}

.marker {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 50px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  display: grid;
  place-items: center;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 8px 13px rgba(0, 107, 63, 0.35));
}

.marker span {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--white) url("pelota.svg") center / 86% 86% no-repeat;
}

.marker span::before {
  content: none;
}

.marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: var(--green);
  transform: translateX(-50%) rotate(45deg);
}

.marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
  z-index: -1;
}

.marker.is-active {
  width: 50px;
  height: 58px;
  filter: drop-shadow(0 12px 18px rgba(0, 107, 63, 0.45));
}

.marker.is-active span {
  width: 37px;
  height: 37px;
}

.marker.is-active::before,
.marker.is-active::after {
  background: #18a957;
}

.marker.is-hidden {
  display: none;
}

.map-floating {
  position: absolute;
  z-index: 4;
  right: 24px;
  top: 24px;
}

.map-floating .outline-btn {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.zoom-controls {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.zoom-controls button {
  width: 50px;
  height: 47px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 28px;
  line-height: 1;
}

.zoom-controls button:last-child {
  border-bottom: 0;
  font-size: 20px;
}

.map-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  font-size: 13px;
}

.mobile-tabs {
  display: none;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  gap: 8px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.mobile-search-summary {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.mobile-search-summary > div {
  min-width: 0;
}

.summary-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-search-summary strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-search-summary .primary-btn {
  min-height: 38px;
  padding: 0 16px;
}

.mobile-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 800;
}

.mobile-tab.is-active {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.details-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-card);
  padding: 0;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

.details-dialog::backdrop,
.search-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.search-dialog {
  width: min(640px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius-card);
  padding: 0;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
}

.dialog-inner {
  padding: 22px;
}

.search-dialog-inner {
  padding: 26px;
}

.search-dialog-header {
  margin-bottom: 20px;
}

.search-dialog-header .eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.search-dialog-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.search-dialog-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.search-steps {
  display: grid;
  gap: 14px;
}

.search-step {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-section);
  background: var(--section);
}

.search-step h3 {
  margin: 0;
  font-size: 17px;
}

.search-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.step-number {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.modal-field {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.modal-field select,
.modal-field input {
  height: var(--field-height);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: 0 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.location-status {
  min-height: 20px;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.dialog-header h2 {
  margin: 0;
  font-size: 24px;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.dialog-body {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .map-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filters-panel {
    grid-template-columns: 1fr 1fr;
  }

  .filter-actions {
    grid-column: span 2;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .content {
    grid-template-columns: minmax(320px, 32%) minmax(0, 68%);
  }

  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-actions {
    width: 100%;
  }

  .card-actions .primary-btn,
  .card-actions .outline-btn {
    flex: 1;
  }
}

@media (max-width: 820px) {
  .app-shell {
    width: min(100% - 28px, 760px);
    padding: 12px 0 22px;
    grid-template-rows: auto auto auto 1fr;
  }

  .topbar {
    height: auto;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    border-radius: 18px 18px 0 0;
  }

  .map-intro {
    padding: 20px 18px;
  }

  .map-intro h1 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
  }

  .map-intro-lead {
    font-size: 1rem;
  }

  .brand-logo {
    height: 44px;
  }

  .register-restaurant-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }

  .filters-panel {
    display: none;
  }

  .mobile-search-summary {
    display: flex;
  }

  .mobile-tabs {
    display: grid;
  }

  .content {
    display: block;
    height: auto;
    min-height: 0;
  }

  .list-panel,
  .map-panel {
    display: none;
    height: max(520px, calc(100vh - 210px));
    min-height: 520px;
  }

  .list-panel.is-mobile-active,
  .map-panel.is-mobile-active {
    display: block;
  }

  .list-panel {
    padding: 18px 18px 24px;
    border-right: 0;
    border-radius: 0 0 18px 18px;
  }

  .map-panel {
    border-left: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 0 0 18px 18px;
  }

  .list-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .sort-control {
    width: 100%;
    justify-content: space-between;
  }

  .sort-control select {
    flex: 1;
  }

  .map-footer {
    display: none;
  }

  .search-dialog-inner {
    padding: 18px 16px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }

  .search-dialog-header h2 {
    font-size: 22px;
  }

  .search-dialog-header {
    margin-bottom: 12px;
  }

  .search-dialog-header p {
    font-size: 14px;
  }

  .search-steps {
    gap: 8px;
  }

  .search-step {
    gap: 8px;
    padding: 12px;
  }

  .search-step p {
    display: none;
  }

  .modal-field select,
  .modal-field input {
    width: 100%;
    height: 42px;
  }

  .dialog-actions {
    margin-top: 10px;
  }
}

@media (max-width: 520px) {
  .topbar {
    flex-direction: column;
  }

  .brand,
  .register-restaurant-btn {
    width: 100%;
  }

  .field-control {
    height: 46px;
  }

  .location-control {
    height: auto;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 8px;
  }

  .location-control .icon {
    height: 36px;
  }

  .location-control input {
    min-width: calc(100% - 34px);
    height: 36px;
  }

  .venue-card h2 {
    font-size: 18px;
  }

  .venue-card {
    padding: 16px;
  }

  .cards {
    gap: 14px;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .search-dialog .dialog-actions {
    flex-direction: row;
  }

  .search-dialog .dialog-actions .primary-btn,
  .search-dialog .dialog-actions .quiet-btn {
    flex: 1;
    min-height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }
}

@media (max-width: 390px) {
  .app-shell {
    width: calc(100% - 24px);
  }

  .list-panel {
    padding: 16px 14px 22px;
  }

  .venue-card {
    padding: 15px;
  }
}
