:root {
  --primary: #0870de;
  --primary-dark: #005db8;
  --navy: #12253b;
  --muted: #5b6777;
  --line: #d6dde8;
  --surface: #f1f7ff;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 0 0, rgba(8, 112, 222, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 48%, #ffffff 100%);
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner nav {
  display: flex;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}

.brand strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.16em;
}

.brand small {
  display: block;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.2em;
}

.hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  padding: 22px 0 42px;
}

.hero h1,
.page-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--primary);
}

.muted {
  color: var(--muted);
  line-height: 1.8;
}

.btn,
button.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.btn.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 37, 59, 0.08);
}

.grid {
  display: grid;
  gap: 16px;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
}

.phone {
  min-height: 650px;
  border: 1.5px solid #1f2937;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px rgba(18, 37, 59, 0.16);
}

.phone-bar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  font-weight: 900;
}

.phone-body {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.blue-tab {
  display: inline-flex;
  width: fit-content;
  padding: 6px 18px;
  border-radius: 7px 7px 0 0;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.event-card {
  overflow: hidden;
}

.event-card img,
.parking-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.event-card .body,
.parking-card .body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eaf4ff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.map {
  position: relative;
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: #eaf4ff;
  background-image:
    linear-gradient(rgba(8, 112, 222, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 112, 222, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}

.pin {
  position: absolute;
  min-width: 58px;
  transform: translate(-50%, -50%);
  border-radius: 8px 8px 8px 0;
  background: var(--primary);
  color: #fff;
  padding: 6px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 112, 222, 0.24);
}

.venue {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
}

.form {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

@media (max-width: 900px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .phone-grid {
    grid-template-columns: 1fr;
  }
}

/* Parking search */
.parking-search-page {
  min-height: calc(100vh - 64px);
  background: #f6f8fb;
}

.parking-search-shell {
  width: min(760px, 100%);
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  background: #fff;
}

.parking-search-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 74px;
  padding: 12px 18px;
  border-bottom: 1px solid #edf0f4;
  text-align: center;
}

.parking-search-header h1 {
  margin: 2px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.search-eyebrow {
  margin: 0;
  color: #7a8492;
  font-size: 11px;
  font-weight: 700;
}

.search-back {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 25px;
}

.search-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
}

.event-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  background: #f4f6f9;
  color: #263342;
  font-size: 12px;
  font-weight: 800;
}

.filter-open-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  background: #eef5ff;
  color: #0969d8;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.filter-open-button svg,
.parking-result-meta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filter-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0870de;
  color: #fff;
  font-size: 11px;
}

.search-view-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 18px;
  border-bottom: 1px solid #e7ebf0;
}

.search-view-tabs a {
  position: relative;
  padding: 13px 8px 12px;
  color: #88919d;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.search-view-tabs a.is-active {
  color: #0870de;
}

.search-view-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 26%;
  right: 26%;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #0870de;
}

.search-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 10px;
}

.search-list-toolbar p {
  margin: 0;
  color: #6e7885;
  font-size: 12px;
}

.sort-form select {
  border: 0;
  background: transparent;
  color: #263342;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.parking-result-list {
  display: grid;
  gap: 12px;
  padding: 6px 14px 28px;
}

.parking-result-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 138px;
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(32, 50, 72, 0.07);
}

.parking-result-image-wrap {
  position: relative;
  min-height: 138px;
  overflow: hidden;
  background: #edf1f5;
}

.parking-result-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.walk-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 7px;
  padding: 4px 7px;
  background: rgba(8, 112, 222, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(8, 112, 222, 0.25);
}

.parking-result-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 14px;
}

.parking-result-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.parking-result-title-row h2 {
  margin: 0;
  color: #172333;
  font-size: 16px;
  line-height: 1.45;
}

.parking-card-arrow {
  color: #adb5c0;
  font-size: 26px;
  line-height: 1;
}

.parking-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #66717f;
  font-size: 11px;
}

.parking-result-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.parking-result-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.parking-result-footer strong {
  color: #101b2a;
  font-size: 20px;
}

.parking-result-footer small {
  color: #6d7885;
  font-size: 11px;
  font-weight: 700;
}

.search-empty {
  margin: 24px 18px;
  padding: 28px 20px;
  text-align: center;
}

.search-empty p {
  color: #7b8592;
}

.parking-map-view {
  position: relative;
  min-height: calc(100vh - 230px);
  background: #e9eef3;
}

.parking-search-map {
  width: 100%;
  height: calc(100vh - 230px);
  min-height: 520px;
}

.search-map-price-marker {
  min-width: 76px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 0 10px;
  background: #0870de;
  color: #fff;
  box-shadow: 0 6px 18px rgba(8, 112, 222, 0.32);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.search-map-price-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #0870de;
}

.search-map-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 150px;
  min-height: 38px;
  border: 1px solid #bce6c9;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(224, 247, 231, 0.95);
  color: #16723b;
  box-shadow: 0 5px 14px rgba(21, 114, 59, 0.14);
  font-size: 11px;
  font-weight: 900;
}

.map-selected-card {
  position: absolute;
  z-index: 500;
  left: 14px;
  right: 14px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 82px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #e6ebf0;
  border-radius: 16px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(19, 35, 54, 0.2);
}

.map-selected-card[hidden] {
  display: none;
}

.map-selected-card img {
  width: 82px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

.map-selected-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.map-selected-card strong,
.map-selected-card small,
.map-selected-card b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-selected-card small {
  color: #75808e;
  font-size: 11px;
}

.map-selected-card a {
  border-radius: 9px;
  padding: 10px 12px;
  background: #0870de;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.map-privacy-note {
  position: absolute;
  z-index: 450;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #687381;
  box-shadow: 0 4px 14px rgba(30, 44, 60, 0.09);
  font-size: 10px;
  font-weight: 700;
}

.filter-sheet-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(15, 26, 41, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.filter-sheet-backdrop.is-open {
  opacity: 1;
}

.filter-sheet {
  position: fixed;
  z-index: 1001;
  left: 50%;
  bottom: 0;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  transform: translate(-50%, 102%);
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -22px 60px rgba(21, 35, 51, 0.24);
  transition: transform 0.26s ease;
}

.filter-sheet.is-open {
  transform: translate(-50%, 0);
}

.filter-sheet-open {
  overflow: hidden;
}

.filter-sheet-handle {
  width: 42px;
  height: 5px;
  margin: 10px auto 4px;
  border-radius: 999px;
  background: #9aa4b1;
}

.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 14px;
  border-bottom: 1px solid #e8ebef;
}

.filter-sheet-header h2 {
  margin: 0;
  font-size: 19px;
}

.filter-sheet-header a {
  color: #0870de;
  font-size: 13px;
  font-weight: 900;
}

.filter-form {
  padding: 0 20px 24px;
}

.filter-section {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eceff2;
  padding: 20px 0;
}

.filter-section legend {
  margin-bottom: 14px;
  padding: 0;
  color: #172333;
  font-size: 15px;
  font-weight: 900;
}

.filter-price-grid,
.filter-time-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 10px;
}

.filter-price-grid label,
.filter-time-grid label {
  display: grid;
  gap: 6px;
  color: #7a8491;
  font-size: 11px;
  font-weight: 800;
}

.filter-price-grid input,
.filter-time-grid input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dce2e8;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  color: #172333;
  font: inherit;
}

.filter-quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-quick-options button,
.clear-radio-button {
  border: 1px solid #e2e6eb;
  border-radius: 999px;
  padding: 8px 11px;
  background: #f8f9fb;
  color: #52606f;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.vehicle-size-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vehicle-size-option {
  position: relative;
  cursor: pointer;
}

.vehicle-size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vehicle-size-option > span,
.vehicle-size-option > strong,
.vehicle-size-option > small {
  display: block;
  text-align: center;
}

.vehicle-size-option {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 6px;
  background: #f5f7fa;
}

.vehicle-size-option:has(input:checked) {
  border-color: #0870de;
  background: #eaf4ff;
  color: #0868cc;
}

.vehicle-icon {
  margin-bottom: 6px;
  font-size: 18px;
}

.vehicle-size-option strong {
  font-size: 11px;
}

.vehicle-size-option small {
  margin-top: 3px;
  color: #8a94a1;
  font-size: 9px;
}

.clear-radio-button {
  margin-top: 10px;
}

.filter-help {
  margin: 9px 0 0;
  color: #818b97;
  font-size: 10px;
}

.filter-submit-button {
  position: sticky;
  bottom: 0;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: #0870de;
  color: #fff;
  box-shadow: 0 10px 24px rgba(8, 112, 222, 0.24);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

@media (min-width: 900px) {
  .parking-search-shell {
    margin-top: 24px;
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #e5e9ee;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(26, 45, 66, 0.08);
  }

  .parking-map-view,
  .parking-search-map {
    min-height: 650px;
    height: min(72vh, 720px);
  }
}

@media (max-width: 560px) {
  .parking-search-page {
    background: #fff;
  }

  .parking-search-shell {
    min-height: 100vh;
  }

  .parking-result-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .parking-result-image-wrap {
    min-height: 132px;
  }

  .vehicle-size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-selected-card {
    grid-template-columns: 70px 1fr;
  }

  .map-selected-card img {
    width: 70px;
    height: 66px;
  }

  .map-selected-card a {
    grid-column: 1 / -1;
    text-align: center;
  }
}


/* Parking search interaction fixes */
.parking-search-header {
  display: flex;
  justify-content: center;
  grid-template-columns: none;
}

.search-control-row--filters-only {
  justify-content: flex-end;
}

.parking-search-map,
.parking-search-map .leaflet-container,
.parking-search-map .leaflet-pane,
.parking-search-map .leaflet-map-pane {
  touch-action: none;
}

.parking-search-map {
  overscroll-behavior: contain;
  background: #e8edf2;
}

.filter-sheet-backdrop[hidden] {
  display: none !important;
}

.filter-sheet {
  max-height: min(92dvh, 820px);
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

.filter-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.filter-sheet-handle {
  display: grid;
  place-items: center;
  width: 100%;
  height: 28px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: grab;
}

.filter-sheet-handle span {
  display: block;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: #9aa4b1;
}

.filter-sheet-header {
  display: grid;
  grid-template-columns: 42px 1fr 70px;
  gap: 8px;
}

.filter-sheet-header h2 {
  text-align: center;
}

.filter-sheet-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f7;
  color: #263342;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Prevent iOS Safari from zooming the page when focusing form controls. */
input,
select,
textarea {
  font-size: 16px;
}

.sort-form select,
.filter-price-grid input,
.filter-time-grid input {
  font-size: 16px;
}

@media (max-width: 560px) {
  .site-header .header-inner {
    min-height: 58px;
  }

  .parking-search-page {
    min-height: calc(100dvh - 58px);
  }

  .parking-search-shell {
    min-height: calc(100dvh - 58px);
  }

  .parking-map-view,
  .parking-search-map {
    height: calc(100dvh - 214px);
    min-height: 460px;
  }

  .filter-sheet {
    width: 100%;
    max-height: 94dvh;
  }
}

/* Parking search layout refinements */
.parking-search-header {
  position: relative;
  display: block;
  min-height: 76px;
  padding: 14px 24px;
  text-align: center;
}

.parking-search-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.parking-search-heading .search-eyebrow,
.parking-search-heading h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-control-row--location-filter {
  justify-content: space-between;
  padding-top: 12px;
}

.event-location {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: #536171;
  font-size: 12px;
  font-weight: 800;
}

.event-location img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  object-fit: contain;
}

.event-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-open-button {
  flex: 0 0 auto;
  margin-left: auto;
}

.search-view-tabs {
  position: relative;
  z-index: 750;
  background: #fff;
}

.search-view-tabs a {
  position: relative;
  z-index: 751;
  touch-action: manipulation;
}

.filter-sheet {
  max-height: min(78dvh, 720px);
  border-radius: 26px 26px 0 0;
}

.filter-form {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

.vehicle-icon img {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  object-fit: contain;
}

.result-meta-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  object-fit: contain;
}

/* Public header: keep the symbol on the left and center the TOMEST wordmark. */
.site-header--simple .header-inner {
  position: relative;
  justify-content: flex-start;
}

.site-header--simple .brand {
  width: 100%;
}

.site-header--simple .brand > span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 560px) {
  .filter-sheet {
    max-height: 76dvh;
  }

  .parking-search-header {
    min-height: 72px;
    padding-inline: 20px;
  }

  .search-control-row--location-filter {
    gap: 10px;
  }

  .event-location {
    font-size: 11px;
  }
}


/* ===== TOMEST search/detail refinements 2026-07-14 ===== */
.search-control-row--event-filter {
  align-items: center;
}
.search-event-summary {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.search-event-summary strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.search-event-summary small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.filter-open-button {
  margin-left: auto;
  flex: 0 0 auto;
}
.sort-form {
  flex: 0 0 auto;
}
.sort-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sort-select-wrap select {
  width: auto;
  min-width: 0;
  padding: 8px 28px 8px 10px;
  background-position: right 8px center;
}

.filter-sheet {
  height: min(78dvh, 760px);
  max-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}
.filter-sheet-handle {
  flex: 0 0 auto;
  padding: 10px 0 5px;
}
.filter-sheet-handle span {
  display: block;
  width: 42px;
  height: 5px;
  margin: auto;
  border-radius: 999px;
  background: #aeb7c4;
}
.filter-sheet-header {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  background: #fff;
}
.filter-form {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.filter-scroll-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0 22px 28px;
}
.filter-sheet-footer {
  flex: 0 0 auto;
  padding: 12px 22px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(18, 37, 59, .06);
}
.filter-section {
  padding: 28px 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}
.filter-section--first {
  border-top: 0;
  padding-top: 24px;
}
.filter-section legend {
  width: 100%;
  padding: 0 0 16px;
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
}
.filter-time-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}
.filter-time-grid .time-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  font-weight: 900;
}
.filter-time-grid label {
  min-width: 0;
}
.filter-time-grid input {
  width: 100%;
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 900;
}
.dual-range {
  position: relative;
  height: 38px;
}
.dual-range::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 17px;
  height: 4px;
  border-radius: 999px;
  background: #dbe4ef;
}
.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18,37,59,.18);
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  pointer-events: auto;
}
.binary-filter-row {
  display: grid;
  gap: 10px;
}
.binary-filter-row + .binary-filter-row {
  margin-top: 20px;
}
.binary-filter-row > span {
  font-weight: 800;
}
.segmented-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.segmented-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.segmented-choice span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f6f8fb;
  font-size: 13px;
  font-weight: 800;
}
.segmented-choice input:checked + span {
  border-color: var(--primary);
  background: #eaf4ff;
  color: var(--primary-dark);
}
.filter-submit-button {
  position: relative;
  width: 100%;
}
.filter-submit-button:disabled {
  cursor: wait;
  opacity: .8;
}
.filter-submit-spinner {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tomest-spin .7s linear infinite;
}
@keyframes tomest-spin { to { transform: rotate(360deg); } }

.parking-result-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.parking-result-feature-chips span {
  padding: 4px 7px;
  border-radius: 7px;
  background: #eef5ff;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.parking-map-view {
  position: relative;
  min-height: min(720px, calc(100dvh - 230px));
  overflow: hidden;
  border-radius: 18px;
  background: #edf2f5;
}
.parking-search-map {
  position: absolute;
  inset: 0;
  min-height: 0 !important;
  border-radius: inherit;
}
.search-map-price-marker {
  min-width: 78px;
  min-height: 38px;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #132238;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 5px 18px rgba(18,37,59,.20);
}
.search-map-price-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
}
.leaflet-marker-icon:has(.search-map-price-marker):hover .search-map-price-marker {
  background: var(--primary);
  color: #fff;
}
.search-map-venue {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #45a56b;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 5px 16px rgba(18,37,59,.18);
}
.search-map-venue small {
  display: block;
  font-size: 10px;
  opacity: .9;
}
.map-selected-card {
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 600;
  display: grid;
  grid-template-columns: 92px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
}
.map-selected-card img {
  width: 92px;
  height: 78px;
  border-radius: 11px;
  object-fit: cover;
}
.map-card-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.map-card-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-card-copy small {
  color: var(--muted);
  font-size: 11px;
}
.map-card-copy b {
  font-size: 20px;
}
.map-selected-card > a {
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.map-privacy-note {
  position: absolute;
  left: 12px;
  bottom: 8px;
  z-index: 500;
  margin: 0;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,.88);
  font-size: 10px;
}

/* parking detail */
.parking-detail-page {
  padding: 20px 0 64px;
  background: #f7f9fc;
}
.parking-detail-shell {
  width: min(1080px, calc(100% - 32px));
  margin: auto;
}
.parking-detail-back {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
}
.parking-gallery {
  display: grid;
  gap: 10px;
}
.parking-gallery-main {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 52vw, 560px);
  border-radius: 18px;
  background: #e8edf3;
}
.parking-gallery-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.parking-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.parking-gallery-thumbs button {
  flex: 0 0 82px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: none;
}
.parking-gallery-thumbs button.is-active {
  border-color: var(--primary);
}
.parking-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.parking-detail-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 28px;
  margin-top: 24px;
}
.parking-detail-main {
  min-width: 0;
}
.parking-detail-heading {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
}
.parking-detail-heading p {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}
.parking-detail-heading h1 {
  margin: 0;
  font-size: clamp(24px,4vw,36px);
}
.parking-detail-heading > span {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}
.parking-detail-section {
  margin-top: 16px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
}
.parking-detail-section h2 {
  margin: 0 0 18px;
  font-size: 19px;
}
.parking-detail-section p {
  margin: 0;
  color: #3f4d5e;
  line-height: 1.9;
}
.parking-spec-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.parking-spec-grid > div {
  padding: 14px;
  border-radius: 12px;
  background: #f5f8fc;
}
.parking-spec-grid small,
.parking-spec-grid strong {
  display: block;
}
.parking-spec-grid small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}
.parking-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.parking-feature-list span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fc;
  font-size: 13px;
  font-weight: 800;
}
.parking-feature-list span.is-on {
  border-color: #a8d4ff;
  background: #eaf4ff;
  color: var(--primary-dark);
}
.parking-detail-map {
  height: 300px;
  overflow: hidden;
  border-radius: 14px;
}
.parking-detail-note {
  margin-top: 10px !important;
  font-size: 12px;
}
.parking-booking-card {
  position: sticky;
  top: 88px;
  height: max-content;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(18,37,59,.10);
}
.parking-booking-card > strong {
  font-size: 34px;
}
.parking-booking-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.parking-booking-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.host-parking-form .field--full {
  grid-column: 1 / -1;
}
.parking-feature-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.parking-feature-checks label {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .filter-sheet {
    width: 100%;
    height: 76dvh;
    max-height: calc(100dvh - 64px);
    border-radius: 22px 22px 0 0;
  }
  .filter-scroll-body {
    padding-inline: 18px;
  }
  .filter-sheet-footer {
    padding-inline: 18px;
  }
  .vehicle-size-options {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-event-summary strong {
    font-size: 13px;
  }
  .search-event-summary small {
    font-size: 11px;
  }
  .parking-map-view {
    min-height: calc(100dvh - 210px);
    margin-inline: -16px;
    border-radius: 0;
  }
  .map-selected-card {
    grid-template-columns: 78px minmax(0,1fr);
  }
  .map-selected-card img {
    width: 78px;
    height: 70px;
  }
  .map-selected-card > a {
    grid-column: 1 / -1;
    text-align: center;
  }
  .parking-detail-shell {
    width: min(100% - 20px, 1080px);
  }
  .parking-gallery-main {
    height: 280px;
    border-radius: 14px;
  }
  .parking-detail-layout {
    display: block;
  }
  .parking-detail-heading,
  .parking-detail-section {
    padding: 18px;
    border-radius: 14px;
  }
  .parking-spec-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .parking-booking-card {
    position: sticky;
    bottom: 0;
    top: auto;
    z-index: 30;
    margin: 18px -10px -64px;
    border-radius: 18px 18px 0 0;
  }
  .parking-booking-card > div,
  .parking-booking-card > p,
  .parking-booking-card > small {
    display: none;
  }
  .parking-booking-card {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .parking-booking-card > strong {
    font-size: 26px;
  }
}

/* iOS input focus zoom prevention */
input, select, textarea, button {
  font-size: 16px;
}

/* ===== TOMEST search/detail final UI refinements 2026-07-14 ===== */
body.filter-sheet-open {
  overflow: hidden;
  touch-action: none;
}

/* Search toolbar */
.search-control-row--event-filter {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-event-summary {
  flex: 1 1 auto;
  min-width: 0;
}
.search-event-summary strong,
.search-event-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filter-open-button {
  margin-left: auto;
  flex: 0 0 auto;
}
.sort-select-wrap {
  display: inline-flex;
  align-items: center;
  width: max-content;
}
.sort-select-wrap select {
  width: max-content;
  min-width: 0;
  padding-right: 25px;
  background-position: right 7px center;
}

/* Bottom sheet: header/footer never scroll, only the body does */
.filter-sheet {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 1200 !important;
  width: min(560px, 100%) !important;
  height: min(76dvh, 720px) !important;
  max-height: calc(100dvh - 76px) !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  overflow: hidden !important;
  border-radius: 24px 24px 0 0 !important;
  background: #fff;
  transform: translate(-50%, 105%) !important;
  transition: transform .24s ease !important;
  box-shadow: 0 -18px 60px rgba(18, 37, 59, .22);
}
.filter-sheet.is-open {
  transform: translate(-50%, 0) !important;
}
.filter-sheet-handle {
  grid-row: 1;
  flex: none !important;
  padding: 9px 0 5px !important;
  background: #fff;
  touch-action: pan-y;
}
.filter-sheet-header {
  grid-row: 2;
  position: relative !important;
  z-index: 4;
  display: grid !important;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  min-height: 50px;
  padding: 0 18px 12px !important;
  border-bottom: 1px solid var(--line);
  background: #fff !important;
}
.filter-sheet-header-spacer { display: block; }
.filter-sheet-header h2 {
  margin: 0 !important;
  text-align: center;
  font-size: 17px !important;
}
.filter-sheet-header a {
  justify-self: end;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}
.filter-form {
  grid-row: 3;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  overflow: hidden !important;
}
.filter-scroll-body {
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 22px 30px !important;
}
.filter-sheet-footer {
  position: relative !important;
  z-index: 5;
  flex: none !important;
  padding: 12px 22px max(14px, env(safe-area-inset-bottom)) !important;
  border-top: 1px solid var(--line) !important;
  background: #fff !important;
  box-shadow: 0 -8px 24px rgba(18, 37, 59, .07);
}
.filter-section {
  margin: 0;
  padding: 32px 0 26px !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
}
.filter-section--first {
  padding-top: 26px !important;
  border-top: 0 !important;
}
.filter-section legend {
  width: 100%;
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-weight: 900;
}

/* Price slider */
.price-range-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #5d6876;
  font-size: 12px;
  font-weight: 800;
}
.dual-range {
  position: relative;
  height: 34px;
  margin: 0 4px;
}
.dual-range-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 4px;
  border-radius: 999px;
  background: #d9e0e8;
}
.dual-range-track span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: var(--primary);
}
.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}
.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(18, 37, 59, .18);
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}
.dual-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  pointer-events: auto;
}

/* Vehicle/time/toggles */
.vehicle-size-symbol {
  display: grid;
  place-items: center;
  height: 26px;
  color: #23344b;
  font-size: 25px;
  line-height: 1;
}
.filter-time-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
  align-items: end !important;
  gap: 8px !important;
}
.filter-time-grid label {
  display: grid !important;
  gap: 7px;
  min-width: 0;
}
.filter-time-grid label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.filter-time-grid input {
  width: 100%;
  min-width: 0;
  font-size: 16px !important;
}
.filter-time-grid .time-separator {
  align-self: end !important;
  display: grid !important;
  place-items: center !important;
  height: 48px !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 18px;
  font-weight: 800;
}
.switch-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 800;
}
.switch-filter-row + .switch-filter-row {
  border-top: 1px solid #f0f3f7;
}
.filter-switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
}
.filter-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d7dde5;
  transition: background .18s ease;
}
.filter-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(18, 37, 59, .18);
  transition: transform .18s ease;
}
.filter-switch input:checked + span { background: var(--primary); }
.filter-switch input:checked + span::after { transform: translateX(20px); }
.filter-submit-button:disabled {
  cursor: wait;
  opacity: .72;
}
.filter-submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: tomestFilterSpin .72s linear infinite;
}
@keyframes tomestFilterSpin { to { transform: rotate(360deg); } }

/* Map inspired by reference UI */
.parking-map-view {
  position: relative;
  min-height: min(720px, calc(100dvh - 215px)) !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #edf2f5;
}
.parking-search-map {
  position: absolute !important;
  inset: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  touch-action: none;
}
.search-map-marker-shell { background: transparent !important; border: 0 !important; }
.search-map-price-marker {
  position: relative;
  min-width: 82px !important;
  min-height: 50px !important;
  display: grid;
  place-items: center;
  gap: 1px;
  padding: 7px 10px 8px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #132238 !important;
  box-shadow: 0 5px 18px rgba(18,37,59,.18) !important;
}
.search-map-price-marker strong { font-size: 15px; font-weight: 900; }
.search-map-price-marker small { color: #667384; font-size: 10px; font-weight: 800; }
.search-map-price-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: inherit;
}
.leaflet-marker-icon.is-selected .search-map-price-marker,
.leaflet-marker-icon:has(.search-map-price-marker):hover .search-map-price-marker {
  background: var(--primary) !important;
  color: #fff !important;
}
.leaflet-marker-icon.is-selected .search-map-price-marker small,
.leaflet-marker-icon:has(.search-map-price-marker):hover .search-map-price-marker small { color: rgba(255,255,255,.9); }
.search-map-venue {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 8px 13px;
  border: 0 !important;
  border-radius: 16px !important;
  background: rgba(79, 171, 100, .82) !important;
  color: #0b6336 !important;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: none !important;
}
.search-map-venue small { color: #0b6336; font-size: 10px; opacity: .86; }
.map-floating-controls {
  position: absolute;
  right: 14px;
  bottom: 142px;
  z-index: 650;
  display: grid;
  gap: 10px;
}
.map-floating-controls button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #26364c;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(18,37,59,.18);
}
.map-selected-card {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  z-index: 700 !important;
  display: grid !important;
  grid-template-columns: 96px minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 116px;
  padding: 12px !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(18,37,59,.20) !important;
}
.map-selected-card[hidden] { display: none !important; }
.map-selected-card img {
  width: 96px !important;
  height: 92px !important;
  border-radius: 12px !important;
  object-fit: cover;
}
.map-card-copy { min-width: 0; display: grid; gap: 5px; }
.map-card-copy strong { font-size: 15px; line-height: 1.35; }
.map-card-copy small { color: var(--muted); font-size: 11px; font-weight: 700; }
.map-card-copy b { font-size: 22px; }
.map-selected-card > a {
  align-self: end;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

/* Parking detail mobile-app style */
.parking-detail-page--app {
  padding: 0 0 92px !important;
  background: #f5f7fb !important;
}
.parking-detail-shell--app {
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
}
.parking-detail-hero {
  position: relative;
  height: clamp(280px, 48vw, 500px);
  overflow: hidden;
  background: #dfe5ec;
}
.parking-detail-hero-track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.parking-detail-hero-track::-webkit-scrollbar { display: none; }
.parking-detail-hero-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.parking-detail-overlay-back {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #1c2b3e;
  font-size: 35px;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(18,37,59,.15);
}
.parking-detail-hero .gallery-counter {
  right: 14px;
  bottom: 22px;
}
.parking-detail-sheet {
  position: relative;
  z-index: 3;
  margin-top: -22px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #fff;
}
.parking-detail-summary {
  padding: 26px 24px 24px;
  border-bottom: 1px solid #edf0f4;
}
.parking-detail-summary h1 {
  margin: 0 0 26px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.35;
}
.parking-detail-price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.parking-detail-price-line strong {
  font-size: clamp(34px, 7vw, 46px);
  line-height: 1;
}
.parking-detail-price-line strong small { font-size: 15px; }
.parking-detail-price-line > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.parking-detail-summary-chips,
.parking-size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.parking-detail-summary-chips span,
.parking-size-chips span {
  padding: 10px 13px;
  border-radius: 10px;
  background: #f3f6fa;
  color: #35445a;
  font-size: 13px;
  font-weight: 800;
}
.parking-detail-section--plain {
  margin: 0 !important;
  padding: 28px 24px !important;
  border-bottom: 1px solid #edf0f4;
  border-radius: 0 !important;
  background: #fff !important;
}
.parking-detail-section--plain h2 {
  margin: 0 0 20px !important;
  font-size: 20px !important;
}
.parking-feature-check-list { display: grid; gap: 14px; }
.parking-feature-check-list p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #28364a !important;
  font-weight: 700;
  line-height: 1.55 !important;
}
.parking-feature-check-list p span {
  color: #29b875;
  font-size: 18px;
  font-weight: 900;
}
.parking-detail-map { height: 280px !important; border-radius: 14px !important; }
.parking-detail-bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 900;
  width: min(760px, 100%);
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr minmax(180px, 48%);
  align-items: center;
  gap: 14px;
  padding: 12px 18px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid #e8edf3;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -10px 30px rgba(18,37,59,.09);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}
.parking-detail-bottom-bar > div { display: grid; gap: 3px; }
.parking-detail-bottom-bar strong { font-size: 26px; }
.parking-detail-bottom-bar small { color: var(--muted); font-size: 11px; font-weight: 700; }
.parking-detail-bottom-bar a {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

/* Host registration */
.host-feature-section {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafcff;
}
.host-feature-section h2 { margin: 0 0 14px; font-size: 18px; }
.host-feature-section .parking-feature-checks { margin: 0 0 18px; }

@media (max-width: 720px) {
  .filter-sheet {
    height: 74dvh !important;
    max-height: calc(100dvh - 72px) !important;
  }
  .filter-scroll-body { padding-inline: 18px !important; }
  .filter-sheet-footer { padding-inline: 18px !important; }
  .filter-section { padding: 30px 0 24px !important; }
  .filter-section--first { padding-top: 24px !important; }
  .filter-section legend { margin-bottom: 18px !important; }
  .parking-map-view {
    min-height: calc(100dvh - 205px) !important;
    margin-inline: -16px !important;
  }
  .map-selected-card {
    grid-template-columns: 82px minmax(0,1fr) !important;
    min-height: 116px;
  }
  .map-selected-card img { width: 82px !important; height: 82px !important; }
  .map-selected-card > a {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }
  .map-floating-controls { bottom: 176px; }
  .parking-detail-hero { height: 310px; }
  .parking-detail-summary { padding-inline: 20px; }
  .parking-detail-section--plain { padding-inline: 20px !important; }
  .parking-detail-bottom-bar {
    grid-template-columns: minmax(0, 1fr) minmax(164px, 48%);
    padding-inline: 14px;
  }
}

/* 2026-07 map/detail/filter interaction fixes */
.filter-sheet.is-open {
  transform: translate(-50%, var(--sheet-drag-y, 0px)) !important;
}
.filter-sheet.is-dragging {
  transition: none !important;
}
.filter-sheet-handle {
  cursor: grab;
  touch-action: none !important;
  user-select: none;
}
.filter-sheet.is-dragging .filter-sheet-handle {
  cursor: grabbing;
}

.vehicle-size-symbol {
  width: 44px;
  height: 30px;
  margin-inline: auto;
}
.vehicle-size-symbol img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.filter-time-grid {
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) !important;
  align-items: stretch !important;
}
.filter-time-grid label {
  grid-template-rows: 18px 52px !important;
  gap: 8px !important;
}
.filter-time-grid input {
  height: 52px !important;
  min-height: 52px !important;
  box-sizing: border-box;
}
.filter-time-grid .time-separator {
  align-self: end !important;
  width: 28px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.filter-submit-button {
  background: #0870de !important;
  background-image: none !important;
  box-shadow: none !important;
}
.filter-submit-button:hover,
.filter-submit-button:focus,
.filter-submit-button:active {
  background: #0870de !important;
  background-image: none !important;
}

.parking-detail-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 26px;
}
.parking-detail-title-row h1 {
  min-width: 0;
  margin: 0 !important;
}
.parking-detail-map-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(8, 112, 222, .18);
  border-radius: 999px;
  background: #eef6ff;
  color: #0870de;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .vehicle-size-symbol {
    width: 38px;
    height: 27px;
  }
  .parking-detail-title-row {
    align-items: flex-start;
    gap: 10px;
  }
  .parking-detail-map-link {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 12px;
  }
}


/* 2026-07 compact filter/sort visual fixes */
.filter-sheet-footer {
  padding: 12px 22px max(14px, env(safe-area-inset-bottom)) !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.filter-submit-button {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 !important;
  background: #0870de !important;
  background-image: none !important;
  box-shadow: none !important;
}
.filter-submit-spinner {
  display: inline-block;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  aspect-ratio: 1 / 1;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: rgba(255,255,255,.45) !important;
  border-top-color: #fff !important;
  border-radius: 50% !important;
  line-height: 0 !important;
  animation: tomestFilterSpin .72s linear infinite !important;
}
.filter-submit-spinner[hidden] {
  display: none !important;
}

.filter-time-grid {
  grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) !important;
  align-items: end !important;
  column-gap: 8px !important;
}
.filter-time-grid label {
  grid-template-rows: 18px 44px !important;
  gap: 7px !important;
}
.filter-time-grid input {
  height: 44px !important;
  min-height: 44px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
.filter-time-grid .time-separator {
  align-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

.sort-select-wrap {
  border: 1px solid #dce3eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden;
}
.sort-select-wrap select {
  min-height: 38px !important;
  padding: 8px 28px 8px 16px !important;
  background-position: right 9px center !important;
}
