/* All Listings: the Category dropdown and its type chips (docs/category-chips.md). */
.catalog-category-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.catalog-category-row .catalog-mode-tabs { margin-top: 0; flex: 1; min-width: 0; }
.catalog-category { position: relative; flex: none; z-index: 20; }
.catalog-category-btn { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 190px; min-height: 52px; padding: 6px 14px;
  border: 1px solid #c9d0d6; border-radius: 14px; background: #fff; color: #242a34; text-align: left; cursor: pointer; box-shadow: 0 6px 18px rgba(24, 29, 38, .07); }
.catalog-category-btn small { grid-column: 1; font-size: 11.5px; font-weight: 700; color: #5d646e; letter-spacing: .02em; }
.catalog-category-btn b { grid-column: 1; font-size: 16px; font-weight: 850; }
.catalog-category-btn span { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-size: 18px; color: #5d646e; }
.catalog-category-btn[aria-expanded="true"] { border-color: #06978c; box-shadow: 0 0 0 3px rgba(6, 151, 140, .18); }
.catalog-category-btn:focus-visible, .catalog-category-menu button:focus-visible, .catalog-sub-chip:focus-visible { outline: 3px solid #6fb3ab; outline-offset: 2px; }
.catalog-category-menu { position: absolute; left: 0; top: calc(100% + 6px); width: 250px; padding: 6px; display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 36px rgba(17, 19, 24, .2), 0 0 0 1px rgba(17, 19, 24, .06); }
.catalog-category-menu[hidden] { display: none; }
.catalog-category-menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: none; color: #242a34; font: inherit; font-size: 15px; font-weight: 750; text-align: left; cursor: pointer; }
.catalog-category-menu button:hover { background: #f3f5f7; }
.catalog-category-menu button[aria-checked="true"] { background: #e3f3f1; color: #06736a; }
.catalog-category-menu small { font-size: 12.5px; font-weight: 700; color: #5d646e; font-variant-numeric: tabular-nums; }
.catalog-category-menu button[aria-checked="true"] small { color: #06736a; }
.catalog-sub-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.catalog-sub-chips[hidden] { display: none; }
.catalog-sub-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(44, 50, 60, .14); border-radius: 999px;
  background: #fff; color: #2b3038; font: inherit; font-size: 14px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.catalog-sub-chip span { font-size: 12px; font-weight: 700; color: #5d646e; font-variant-numeric: tabular-nums; }
.catalog-sub-chip[aria-pressed="true"] { background: #e3f3f1; border-color: #06978c; color: #06736a; }
.catalog-sub-chip[aria-pressed="true"] span { color: #06736a; }
@media (max-width: 700px) {
  .catalog-category-btn { min-width: 160px; }
  .catalog-sub-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .catalog-sub-chips::-webkit-scrollbar { display: none; }
  .catalog-sub-chip { flex: none; }
}
/* Near me (docs/near-me.md): the button beside Category, and the distance on each card. */
.catalog-near-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #06978c; border-radius: 14px; background: #fff; color: #06736a; font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.catalog-near-btn[aria-pressed="true"] { background: #0f2b29; border-color: #0f2b29; color: #fff; }
.catalog-near-btn:focus-visible { outline: 3px solid #6fb3ab; outline-offset: 2px; }
/* The locate icon the owner chose for Near me (2026-10-23): the button and the phone chip. */
.near-icon { width: 18px; height: 18px; flex: none; }
.phone-stay-chip[data-near] { display: inline-flex; align-items: center; gap: 4px; }
.phone-stay-chip[data-near] .near-icon { width: 15px; height: 15px; }
.catalog-distance { margin: 2px 0 0; color: #06736a; font-size: 13px; font-weight: 800; }
.catalog-distance.is-unknown { color: #7c4f0e; font-weight: 700; }

/* Computers: Filters left of the heading opens the filters over the page (docs/filters-overlay.md).
   The list and the map get the whole width, like the mockup. */
.catalog-toolbar-title { display: flex; align-items: flex-end; gap: 14px; min-width: 0; }
.catalog-filters-open { display: none; }
.catalog-filters-close { display: none; }
@media (min-width: 821px) {
  .catalog-shell { grid-template-columns: minmax(0, 1fr) !important; }
  .catalog-shell > .catalog-filter-toggle { display: none !important; }
  .catalog-filters-open { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; padding: 0 16px; border: 1px solid #c9d0d6; border-radius: 14px; background: #fff; color: #242a34; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(24, 29, 38, .07); }
  .catalog-filters-open[aria-expanded="true"] { border-color: #06978c; }
  .catalog-filters-open b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #06736a; color: #fff; font-size: 12px; }
  .catalog-filters-open b[hidden] { display: none; }
  .catalog-filters-open:focus-visible, .catalog-filters-close:focus-visible { outline: 3px solid #6fb3ab; outline-offset: 2px; }
  .catalog-filters { position: fixed !important; top: 0; left: 0; bottom: 0; z-index: 1200; width: min(380px, 92vw); max-height: none; overflow-y: auto; overscroll-behavior: contain; border-radius: 0 22px 22px 0 !important; background: #fff !important; box-shadow: 18px 0 50px rgba(17, 19, 24, .22) !important; transform: translateX(-104%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .catalog-filters.is-overlay-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .catalog-filters .catalog-filter-head { position: sticky; top: -20px; z-index: 2; margin: -20px -20px 12px; padding: 20px 20px 12px; background: #fff; }
  .catalog-filters-close { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; padding: 0; border: 1px solid #dbe5ea; border-radius: 50%; background: #fff; color: #242a34; font: inherit; font-size: 15px; cursor: pointer; }
  body .catalog-filters.is-overlay-open .catalog-filters-done { display: flex !important; justify-content: center; position: sticky; bottom: 0; width: 100%; min-height: 48px; margin-top: 14px; box-shadow: 0 8px 24px rgba(6, 115, 106, .25); }
  .catalog-filters-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(15, 43, 41, .45); }
  .catalog-filters-backdrop[hidden] { display: none; }
  html.catalog-filters-locked { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .catalog-filters { transition: none; } }
/* Beside the map the list keeps three columns where it fits, and the price and Compare wrap instead of clipping. */
.catalog-results-panel.has-split-map { grid-template-columns: minmax(0, 1fr) minmax(360px, 40%) !important; }
.catalog-results-panel.has-split-map > #catalogGrid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
.catalog-results-panel.has-split-map .catalog-card-topline { flex-wrap: wrap; row-gap: 4px; }
