/* Worktree 6: WB Travel results composition, scoped to the psychologist catalog. */
.marketplace-results-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--marketplace-text);
  background: #f5f8f6;
}

.marketplace-results-page * { box-sizing: border-box; }
.marketplace-results-page button,
.marketplace-results-page select,
.marketplace-results-page input { letter-spacing: 0; }

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

.marketplace-results-page .marketplace-public-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(700px, 4fr) auto;
  width: 100%;
  max-width: none;
  min-height: 128px;
  align-items: center;
  gap: clamp(14px, 1.5vw, 26px);
  margin: 0;
  border-bottom-color: var(--marketplace-line);
  padding: 12px clamp(18px, 3vw, 52px);
  background: #fff;
  box-shadow: 0 6px 24px rgba(18, 54, 46, 0.05);
}

.marketplace-results-page .marketplace-public-header .brand {
  grid-column: 1;
  justify-self: start;
  white-space: nowrap;
}

.marketplace-results-page .marketplace-header-tools { flex: 0 0 auto; }
.marketplace-results-page .marketplace-header-tools {
  grid-column: 3;
  justify-self: end;
}
.marketplace-results-page .marketplace-header-tool { position: relative; }
.marketplace-results-page .results-login { gap: 7px; }
.marketplace-results-page .results-login img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.marketplace-results-page .marketplace-header-tool b {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--marketplace-accent);
  font-size: 10px;
}

.results-search-shell {
  position: static;
  grid-column: 2;
  min-width: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.results-search-mobile { display: none; }

.results-search-shell .marketplace-search-tabs { gap: 4px; margin: 0 0 8px; }
.results-search-shell .marketplace-search-tabs a {
  min-height: 34px;
  gap: 7px;
  padding: 6px 9px;
  color: var(--marketplace-text);
  font-size: 14px;
}
.results-search-shell .marketplace-search-tab-icon { width: 19px; height: 19px; }
.results-search-shell .marketplace-search-tabs a[aria-current="page"] {
  color: var(--marketplace-ink);
  background: var(--marketplace-search-active);
}

.results-search-form { --results-search-field-count: 3; grid-template-columns: minmax(190px, 1.3fr) repeat(calc(var(--results-search-field-count) - 1), minmax(135px, 1fr)) auto; }
.results-search-form[data-search-mode="directions"] { --results-search-field-count: 4; }
.results-search-form [hidden] { display: none; }
.results-search-form .marketplace-search-field { min-height: 54px; padding: 7px 12px; }
.results-search-form .marketplace-search-submit { min-width: 112px; min-height: 46px; }

.results-main {
  width: min(var(--marketplace-wide), calc(100% - 32px));
  margin: 26px auto 0;
}

.marketplace-results-page .journey-navigation.is-standalone { display: none; }
.marketplace-results-page .mobile-nav-toggle,
.marketplace-results-page .mobile-site-menu { display: none !important; }

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.results-heading h1 {
  margin: 1px 0 3px;
  color: var(--marketplace-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.results-eyebrow,
.catalog-status { margin: 0; }
.results-eyebrow {
  color: var(--marketplace-accent-deep);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}
.catalog-status { color: var(--marketplace-muted); font-size: 14px; }

.results-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.results-sort {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--marketplace-line);
  border-radius: 10px;
  padding: 0 8px 0 12px;
  background: var(--marketplace-paper);
}
.results-sort span { color: var(--marketplace-muted); font-size: 12px; font-weight: 700; }
.results-sort select {
  width: auto;
  min-height: 38px;
  border: 0;
  padding: 0 24px 0 0;
  background-color: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 740;
}

.marketplace-results-page .catalog-view-switch {
  display: flex;
  min-height: 42px;
  overflow: hidden;
  border: 1px solid var(--marketplace-line);
  border-radius: 10px;
  background: var(--marketplace-paper);
}
.marketplace-results-page .catalog-view-switch button {
  width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--marketplace-muted);
  background: transparent;
  font-size: 18px;
}
.marketplace-results-page .catalog-view-switch button + button { border-left: 1px solid var(--marketplace-line); }
.marketplace-results-page .catalog-view-switch button[aria-pressed="true"] { color: var(--marketplace-accent-deep); background: var(--marketplace-soft); }
.marketplace-results-page .catalog-mobile-filter-button { display: none; }

.catalog-selected-summary { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; }
.catalog-selected-filters {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-selected-filters[hidden] { display: none; }
.catalog-selected-filters::-webkit-scrollbar { display: none; }
.catalog-selected-filters button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid #bed6cc;
  border-radius: 9px;
  padding: 6px 9px;
  color: var(--marketplace-accent-deep);
  background: #eef6f2;
  font-size: 12px;
  font-weight: 700;
}
.catalog-selected-filters button b { font-size: 16px; line-height: 1; }
.results-clear-all {
  min-height: 34px;
  flex: 0 0 auto;
  border: 0;
  padding: 6px 2px;
  color: var(--marketplace-accent-deep);
  background: transparent;
  font-size: 12px;
  font-weight: 760;
}
.catalog-source-note { margin: -4px 0 12px; color: var(--marketplace-muted); font-size: 12px; }

.results-layout {
  display: grid;
  grid-template-columns: 226px minmax(560px, 1fr) 276px;
  align-items: start;
  gap: 16px;
}

.results-filters {
  position: sticky;
  top: 146px;
  display: block;
  max-height: calc(100vh - 190px);
  overflow: auto;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  padding: 14px;
  background: var(--marketplace-paper);
  scrollbar-width: thin;
}
.catalog-toolbar-sheet-head,
.catalog-filter-sheet-footer { display: none; }
.catalog-search { display: grid; gap: 6px; margin-bottom: 12px; }
.catalog-search > span:first-child,
.results-filters legend,
.results-filter-section summary {
  color: var(--marketplace-ink);
  font-size: 13px;
  font-weight: 780;
}
.catalog-search-control { position: relative; display: block; }
.catalog-search-control input { width: 100%; min-height: 40px; padding: 8px 34px 8px 10px; font-size: 13px; }
.catalog-search-control button {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 30px;
  min-height: 30px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: var(--marketplace-muted);
  background: transparent;
  font-size: 18px;
}

.results-filters fieldset,
.results-filters .filter-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.results-filters > fieldset { padding: 12px 0; border-top: 1px solid var(--marketplace-line); }
.results-filters legend { width: 100%; margin: 0 0 7px; padding: 0; }
.results-filter-section { border-top: 1px solid var(--marketplace-line); }
.results-filter-section summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}
.results-filter-section summary::-webkit-details-marker { display: none; }
.results-filter-section summary::after { color: var(--marketplace-muted); content: "+"; font-size: 18px; font-weight: 500; }
.results-filter-section[open] summary::after { content: "−"; }
.results-filter-section .filter-group { padding: 0 0 11px; }
.results-filter-more { border-top: 1px solid var(--marketplace-line-strong); }
.results-filter-more > summary {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  color: var(--marketplace-accent-deep);
  font-size: 13px;
  font-weight: 800;
}
.results-filter-more > summary::-webkit-details-marker { display: none; }
.results-filter-more > summary::after { content: "+"; font-size: 18px; }
.results-filter-more[open] > summary::after { content: "−"; }
.results-filter-more-body { padding-bottom: 4px; }

.marketplace-results-page .results-filters .filter-chip {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 4px 0;
  color: var(--marketplace-text);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.25;
}
.marketplace-results-page .results-filters .filter-chip input { width: 16px; height: 16px; flex: 0 0 16px; accent-color: var(--marketplace-accent); }
.marketplace-results-page .results-filters .filter-chip .filter-count { margin-left: auto; color: var(--marketplace-muted); font-size: 11px; }
.marketplace-results-page .results-filters .filter-chip.is-disabled { opacity: 0.44; cursor: default; }
.results-favorites-only { margin-top: 10px; border-top: 1px solid var(--marketplace-line) !important; padding-top: 12px !important; }
.results-filter-reset {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid var(--marketplace-line-strong);
  border-radius: 8px;
  color: var(--marketplace-accent-deep);
  background: #fff;
  font-size: 12px;
  font-weight: 740;
}

.catalog-results,
.marketplace-results-page .match-list,
.result-card { width: 100%; min-width: 0; max-width: 100%; }
.marketplace-results-page .catalog-result-context {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.catalog-result-context > div { display: flex; min-width: 0; gap: 5px; font-size: 12px; }
.catalog-result-context span { color: var(--marketplace-muted); }
.catalog-result-context strong { overflow: hidden; color: var(--marketplace-text); text-overflow: ellipsis; white-space: nowrap; }

.marketplace-results-page .match-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.marketplace-results-page .match-list > .marketplace-loading,
.marketplace-results-page .match-list > .marketplace-empty,
.marketplace-results-page .match-list > .marketplace-error { grid-column: 1 / -1; }

.result-card {
  position: relative;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr) 138px;
  height: 180px;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  color: var(--marketplace-text);
  background: var(--marketplace-paper);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.result-card:hover { border-color: var(--marketplace-line-strong); box-shadow: 0 8px 22px rgba(18, 54, 46, 0.08); }
.result-card:focus-visible { outline: 3px solid rgba(47, 111, 98, 0.34); outline-offset: 2px; }
.result-card.is-returned-card { outline: 3px solid rgba(47, 111, 98, 0.28); outline-offset: 2px; }
.result-card-media { position: relative; min-width: 0; overflow: hidden; background: var(--marketplace-soft); }
.result-card-media > a { display: block; width: 100%; height: 100%; }
.result-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.result-card-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 5px; }
.result-card-tool {
  display: grid;
  width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(18, 33, 29, 0.12);
  border-radius: 50%;
  padding: 0;
  color: var(--marketplace-ink);
  background: rgba(255, 255, 255, 0.95);
}
.result-card-tool[aria-pressed="true"] { border-color: var(--marketplace-accent); color: #fff; background: var(--marketplace-accent); }
.result-card-tool[aria-pressed="true"] img,
.results-choice-person-heart[aria-pressed="true"] img { filter: brightness(0) invert(1); }
.result-card-tool img { width: 18px; height: 18px; object-fit: contain; }

.result-card-copy { display: flex; min-width: 0; flex-direction: column; padding: 12px 14px; }
.result-card-rating { display: flex; align-items: center; gap: 6px; margin: 0 0 5px; font-size: 11px; }
.result-card-rating strong { color: #7a5a15; }
.result-card-rating span { color: var(--marketplace-muted); }
.result-card h2 { margin: 0; overflow: hidden; color: var(--marketplace-ink); font-size: 17px; line-height: 1.2; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.result-card h2 a { color: inherit; text-decoration: none; }
.result-card-method {
  display: -webkit-box;
  min-height: 34px;
  margin: 4px 0 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--marketplace-muted);
  font-size: 12px;
  line-height: 17px;
}
.result-card-help {
  margin: 0 0 5px;
  font-size: 11px;
  line-height: 1.35;
}
.result-card-availability { margin: auto 0 0; color: var(--marketplace-success); font-size: 11px; font-weight: 720; line-height: 1.3; }

.result-card-commercial {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-left: 1px solid var(--marketplace-line);
  padding: 12px;
  text-align: right;
}
.result-card-price { margin: 0; color: var(--marketplace-ink); font-size: 17px; font-weight: 820; line-height: 1.15; }
.result-card-duration { margin: 4px 0 0; color: var(--marketplace-muted); font-size: 11px; }
.marketplace-results-page.catalog-view-grid .match-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.marketplace-results-page.catalog-view-grid .result-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); height: 214px; min-height: 214px; }
.marketplace-results-page.catalog-view-grid .result-card-commercial { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; border-top: 1px solid var(--marketplace-line); border-left: 0; padding: 10px 12px; text-align: left; }
.marketplace-results-page.catalog-view-grid .result-card-price { font-size: 17px; }
.marketplace-results-page.catalog-view-grid .result-card-duration { grid-column: 1; margin: 0; }

.results-choice-sticky {
  position: sticky;
  top: 146px;
  display: flex;
  max-height: min(680px, calc(100vh - 194px));
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  background: var(--marketplace-paper);
}
.results-choice.is-highlighted .results-choice-sticky { border-color: var(--marketplace-accent); box-shadow: 0 0 0 3px rgba(47, 111, 98, 0.16); }
.results-choice-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 15px; border-bottom: 1px solid var(--marketplace-line); }
.results-choice-head span { color: var(--marketplace-ink); font-size: 17px; font-weight: 820; }
.results-choice-head strong { color: var(--marketplace-muted); font-size: 11px; }
.results-choice-people { display: grid; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px; scrollbar-width: thin; }
.results-choice-people > span { padding: 8px 2px 12px; color: var(--marketplace-muted); font-size: 12px; line-height: 1.35; }
.results-choice-person { position: relative; display: grid; gap: 7px; border-top: 1px solid var(--marketplace-line); padding: 10px 30px 10px 0; }
.results-choice-person:first-child { border-top: 0; }
.results-choice-person-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px; }
.results-choice-person-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.results-choice-person-head strong { overflow: hidden; color: var(--marketplace-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.results-choice-person dl { display: grid; gap: 3px; grid-column: 1 / -1; margin: 0; }
.results-choice-person dl div { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 5px; }
.results-choice-person :is(dt, dd) { margin: 0; font-size: 10px; line-height: 1.25; }
.results-choice-person dt { color: var(--marketplace-muted); }
.results-choice-person dd { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--marketplace-text); }
.results-choice-person-heart {
  position: absolute;
  top: 12px;
  right: 0;
  display: grid;
  width: 28px;
  height: 28px;
  min-height: 28px;
  place-items: center;
  border: 1px solid var(--marketplace-accent);
  border-radius: 50%;
  padding: 0;
  background: var(--marketplace-accent);
}
.results-choice-person-heart:hover { background: var(--marketplace-accent-deep); }
.results-choice-person-heart img { width: 16px; height: 16px; object-fit: contain; }
.results-choice-person-placeholder { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: var(--marketplace-muted); background: var(--marketplace-soft); font-weight: 800; }
.results-choice-person.is-unavailable > p { grid-column: 1 / -1; margin: 0; color: var(--marketplace-muted); font-size: 10px; line-height: 1.35; }
.results-choice-actions { flex: 0 0 auto; border-top: 1px solid var(--marketplace-line); padding: 0 0 12px; background: var(--marketplace-paper); }
.results-choice .button { display: flex; margin: 10px 12px 0; justify-content: center; text-decoration: none; }

.catalog-empty-state { min-height: 300px; }
.catalog-empty-state h2 { margin: 0; color: var(--marketplace-ink); font-size: 21px; }
.catalog-empty-state p { max-width: 540px; margin: 0 auto; }
.catalog-empty-actions { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.results-safety { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 242px 0; border-radius: 8px; padding: 14px 16px; }
.results-safety p { margin: 0; }
.catalog-action-status { position: fixed; right: 18px; bottom: 18px; z-index: 120; border-radius: 8px; color: #fff; background: var(--marketplace-ink); font-size: 12px; }
.catalog-action-status:empty { display: none; }

.results-footer { align-items: flex-start; }
.results-footer > div { display: grid; gap: 4px; }
.results-footer > div strong { color: var(--marketplace-ink); }
.results-footer > div span { font-size: 11px; }
.results-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
.results-footer nav a,
.results-footer nav button { min-height: 32px; border: 0; padding: 5px 0; background: transparent; font-size: 12px; }

@media (max-width: 1180px) {
  .marketplace-results-page .marketplace-public-header {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 12px;
    padding-inline: 18px;
  }
  .marketplace-results-page .marketplace-public-header .brand { font-size: 16px; }
  .marketplace-results-page .results-login { width: 42px; min-height: 42px; padding: 0; }
  .marketplace-results-page .results-login span { display: none; }
  .results-layout { grid-template-columns: 218px minmax(520px, 1fr); }
  .results-choice { display: none; }
  .results-safety { margin-inline: 234px 0; }
}

@media (max-width: 920px) {
  .marketplace-results-page .marketplace-public-header { grid-template-columns: 178px minmax(0, 1fr) auto; }
  .results-search-form { grid-template-columns: repeat(var(--results-search-field-count), minmax(96px, 1fr)) auto; }
  .results-search-shell .marketplace-search-tabs a { padding-inline: 7px; font-size: 12px; }
  .results-search-shell .marketplace-search-tab-icon { width: 17px; height: 17px; }
  .results-main { width: calc(100% - 24px); }
  .results-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 12px; }
  .result-card { grid-template-columns: 132px minmax(0, 1fr) 122px; }
  .result-card-price { font-size: 16px; }
  .marketplace-results-page.catalog-view-grid .match-list { grid-template-columns: 1fr; }
  .results-safety { margin-inline: 212px 0; }
}

@media (max-width: 680px) {
  html,
  body.marketplace-results-page { max-width: 100%; overflow-x: clip; }
  html { scrollbar-width: none; }
  html::-webkit-scrollbar { width: 0; height: 0; }
  .marketplace-results-page { padding-bottom: 76px; }
  .marketplace-results-page .marketplace-public-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: 6px 10px;
    padding: 8px 12px 9px;
  }
  .marketplace-results-page .site-header .brand { min-height: 44px; font-size: 15px; }
  .marketplace-results-page .site-header .brand::before { width: 26px; height: 26px; flex-basis: 26px; }
  .marketplace-results-page .marketplace-header-tool { width: 44px; min-height: 44px; }
  .marketplace-results-page .results-login { width: 44px; min-height: 44px; padding: 0; }
  .marketplace-results-page .results-login span { display: none; }

  .results-search-shell {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border-top: 1px solid var(--marketplace-line);
    border-radius: 0;
    padding: 7px 0 0;
  }
  .results-search-shell .marketplace-search-tabs,
  .results-search-form { display: none; }
  .results-search-mobile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
  .results-search-mobile > span { display: grid; min-width: 0; gap: 1px; }
  .results-search-mobile small { color: var(--marketplace-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
  .results-search-mobile strong { overflow: hidden; color: var(--marketplace-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .results-search-mobile button { min-height: 44px; border: 1px solid var(--marketplace-line-strong); border-radius: 8px; padding: 8px 11px; color: var(--marketplace-accent-deep); background: #fff; font-size: 11px; font-weight: 760; }

  .results-main { margin-top: 16px; }
  .results-heading { align-items: flex-start; gap: 10px; margin-bottom: 10px; }
  .results-heading h1 { font-size: 22px; }
  .results-eyebrow { font-size: 10px; }
  .catalog-status { font-size: 12px; }
  .results-heading { display: grid; }
  .results-heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 7px; width: 100%; }
  .marketplace-results-page .catalog-mobile-filter-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--marketplace-line-strong);
    border-radius: 9px;
    padding: 8px 10px;
    color: var(--marketplace-accent-deep);
    background: #fff;
    font-size: 12px;
    font-weight: 760;
  }
  .catalog-mobile-filter-button b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #fff; background: var(--marketplace-accent); font-size: 10px; }
  .results-sort { min-width: 0; min-height: 44px; padding-left: 8px; }
  .results-sort span { display: none; }
  .results-sort select { width: 100%; min-height: 44px; padding-left: 4px; font-size: 11px; }
  .results-heading-actions .results-sort select { width: 100%; }
  .marketplace-results-page .catalog-view-switch { display: none; }

  .catalog-selected-summary { gap: 7px; margin-bottom: 8px; }
  .catalog-selected-filters button,
  .results-clear-all { min-height: 44px; }
  .results-clear-all { font-size: 11px; }
  .results-layout { display: block; }
  .marketplace-results-page .catalog-result-context { display: none; }
  .results-choice { display: none; }

  .results-filters {
    position: fixed;
    inset: auto 0 0;
    z-index: 120;
    width: 100%;
    max-width: 100%;
    max-height: min(88dvh, 780px);
    transform: translateY(104%);
    visibility: hidden;
    overflow: auto;
    border: 0;
    border-radius: 16px 16px 0 0;
    padding: 0 16px 92px;
    box-shadow: 0 -20px 60px rgba(18, 33, 29, 0.2);
    transition: transform 180ms ease, visibility 180ms ease;
  }
  .catalog-toolbar-sheet-head {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--marketplace-line);
    background: #fff;
  }
  .catalog-toolbar-sheet-head button { width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: var(--marketplace-soft); }
  body.catalog-filters-open { overflow: hidden; }
  body.catalog-filters-open .results-filters { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .catalog-filter-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 110; display: block; border: 0; background: rgba(18, 33, 29, 0.48); }
  .catalog-filter-sheet-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; display: block; border-top: 1px solid var(--marketplace-line); padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: #fff; }
  .catalog-filter-sheet-footer .button { width: 100%; min-height: 44px; }
  .catalog-search { margin-top: 12px; }
  .catalog-search-control input { min-height: 44px; }
  .catalog-search-control button { width: 44px; min-height: 44px; }
  .results-filter-section summary,
  .marketplace-results-page .results-filters .filter-chip,
  .results-filter-reset { min-height: 44px; }
  .marketplace-results-page .results-filters .filter-chip input { width: 20px; height: 20px; flex-basis: 20px; }

  .catalog-results .context-offer-inline {
    width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin: 0 0 9px;
    border-left-width: 4px;
    border-radius: 8px;
    padding: 11px 12px;
  }
  .catalog-results .context-offer-copy { gap: 3px; }
  .catalog-results .context-offer-label { font-size: 9px; }
  .catalog-results .context-offer-copy strong { font-size: 17px; line-height: 1.15; }
  .catalog-results .context-offer-copy span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 11px;
    line-height: 1.35;
  }
  .catalog-results .context-offer-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 6px; }
  .catalog-results .context-offer-actions :is(.button, .text-link) { display: inline-flex; min-width: 0; min-height: 44px; align-items: center; justify-content: center; margin: 0; padding: 7px 8px; font-size: 11px; line-height: 1.15; text-align: center; }

  .result-card,
  .marketplace-results-page.catalog-view-grid .result-card {
    grid-template-columns: clamp(116px, 32vw, 128px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    height: 192px;
    min-height: 192px;
  }
  .result-card-media { grid-row: 1 / 3; }
  .result-card-copy { grid-column: 2; grid-row: 1; padding: 9px 10px 4px; }
  .result-card h2 { display: -webkit-box; overflow: hidden; padding-right: 0; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 15px; line-height: 1.15; }
  .result-card-rating { margin-bottom: 3px; font-size: 10px; }
  .result-card-method { min-height: 0; margin: 3px 0 4px; -webkit-line-clamp: 2; font-size: 10px; line-height: 1.3; }
  .result-card-help { margin-bottom: 3px; font-size: 10px; line-height: 1.28; }
  .result-card-availability { overflow: hidden; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .result-card-tools { top: 6px; right: 6px; }
  .result-card-tool { width: 44px; min-height: 44px; }
  .result-card-commercial,
  .marketplace-results-page.catalog-view-grid .result-card-commercial {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 6px;
    border-top: 1px solid var(--marketplace-line);
    border-left: 0;
    padding: 7px 10px 8px;
    text-align: left;
  }
  .result-card-price,
  .marketplace-results-page.catalog-view-grid .result-card-price { font-size: 16px; white-space: nowrap; }
  .result-card-duration { margin-top: 0; font-size: 10px; white-space: nowrap; }
  .marketplace-results-page.catalog-view-grid .match-list { grid-template-columns: 1fr; }

  .results-safety { display: grid; margin: 20px 0 0; padding: 12px; font-size: 11px; }
  .results-footer { display: grid; margin-top: 36px; padding-inline: 0; }
  .results-footer nav { justify-content: flex-start; }
}

@media (max-width: 350px) {
  .results-main { width: calc(100% - 16px); }
  .results-heading { display: grid; }
  .results-heading-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .results-sort select { width: 100%; }
  .result-card,
  .marketplace-results-page.catalog-view-grid .result-card { grid-template-columns: 110px minmax(0, 1fr); height: 188px; min-height: 188px; }
  .result-card-copy { padding: 10px 8px; }
  .result-card h2 { font-size: 14px; }
  .catalog-results .context-offer-actions :is(.button, .text-link) { padding-inline: 5px; font-size: 10px; }
  .catalog-empty-actions { align-items: stretch; flex-direction: column; }
}

.marketplace-results-page :is(button, a, input, select):focus-visible {
  outline: 3px solid rgba(47, 111, 98, 0.34);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .result-card,
  .results-filters { transition: none; }
}
