/* Copyright © 2026 diaspora.ro — Toate drepturile rezervate. */
.homepage-hero-copy { display: flex; flex-direction: column; gap: 6px; }
.homepage-local-services { display: none; }

@media (max-width: 900px) {
  .homepage-hero-copy { display: none; }

  .hero.hero-compact .hero-compact-txt-wrap {
    width: calc(100% + 28px);
    max-width: none;
    min-width: 0;
    margin-inline: -14px;
  }

  .homepage-local-services,
  .homepage-local-services * {
    box-sizing: border-box;
  }

  .homepage-local-services {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--mobile-shell-line, #dbe3ee);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .08);
    color: var(--dpr-type-ink, #1c1e21);
    font-family: var(--home-mobile-type-family, var(--dpr-type-font-family, system-ui, sans-serif));
  }

  .home-local-services__header { display: grid; gap: 0; min-width: 0; }
  .home-local-services__eyebrow {
    color: #7c3aed;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.35;
  }
  .home-local-services__title {
    margin: 0;
    color: var(--dpr-type-ink, #1c1e21);
    font-size: clamp(20px, 5.6vw, 23px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -.025em;
  }

  .home-local-services__location-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
  }
  .home-local-services__gps-button,
  .home-local-services__manual-link,
  .home-local-services__result-link,
  .home-local-services__page-button {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #7c3aed;
    border-radius: 14px;
    background: #7c3aed;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    overflow-wrap: anywhere;
  }
  .home-local-services__gps-button svg { flex: 0 0 20px; }
  .home-local-services__gps-button:hover,
  .home-local-services__result-link:hover { border-color: #6d28d9; background: #6d28d9; }
  .home-local-services__gps-button[aria-pressed="true"] {
    border-color: #16733f;
    background: #19884b;
    color: #fff;
  }
  .home-local-services__gps-button[aria-pressed="true"]:hover {
    border-color: #125f34;
    background: #146f3d;
  }
  .home-local-services__gps-button:disabled { cursor: wait; opacity: .72; }
  .home-local-services__manual-link,
  .home-local-services__page-button {
    border-color: #e3d7fb;
    background: #f8f5ff;
    color: #5b21b6;
  }
  .home-local-services__manual-link:hover {
    border-color: #c4b5fd;
    background: #f1eafe;
    color: #4c1d95;
  }
  .home-local-services__gps-button:focus-visible,
  .home-local-services__manual-link:focus-visible,
  .home-local-services__result-link:focus-visible,
  .home-local-services__radius-step:focus-visible,
  .home-local-services__radius-range:focus-visible {
    outline: 3px solid rgba(124, 58, 237, .38);
    outline-offset: 2px;
  }

  .home-local-services__status {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid #8b5cf6;
    border-radius: 10px;
    background: #f8f5ff;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.45;
  }
  .home-local-services__status[hidden] { display: none; }

  .home-local-services__radius {
    display: grid;
    gap: 0;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e9e2f7;
    border-radius: 14px;
    background: #fcfbff;
  }
  .home-local-services__radius[hidden] { display: none; }
  .home-local-services__radius-value {
    justify-self: end;
    margin-left: 2px;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    white-space: nowrap;
  }
  .home-local-services__radius-controls {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px auto;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .home-local-services__radius-step {
    display: inline-grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid #ded2f5;
    border-radius: 11px;
    background: #fff;
    color: #6d28d9;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .home-local-services__radius-step:disabled { cursor: not-allowed; opacity: .45; }
  .home-local-services__radius-range {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    accent-color: #7c3aed;
    cursor: ew-resize;
    touch-action: pan-x;
  }

  .home-local-services__results {
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }
  .home-local-services__results-summary {
    margin: 0;
    color: #273449;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
  }
  .home-local-services__category-heading {
    display: grid;
    grid-template-rows: 14px 22px 14px;
    align-content: space-between;
    gap: 4px;
    width: 100%;
    height: 84px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e4def0;
    border-radius: 13px;
    background: #fbfaff;
  }
  .home-local-services__category-title {
    min-width: 0;
    margin: 0;
    color: #273449;
    font-size: 17px;
    font-weight: 850;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-local-services__category-count {
    overflow: hidden;
    color: #5b6472;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-local-services__loading {
    display: flex;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #5b21b6;
    font-size: 14px;
    font-weight: 750;
  }
  .home-local-services__spinner {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 3px solid #e7dcf7;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: home-local-services-spin .7s linear infinite;
  }
  @keyframes home-local-services-spin { to { transform: rotate(360deg); } }
  .home-local-services__result-card {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--mobile-shell-line, #dbe3ee);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .055);
  }
  .home-local-services__result-card--marco-laurel { position: relative; }
  .home-local-services__marco-laurel {
    position: absolute;
    z-index: 3;
    top: 7px;
    right: 9px;
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
  }
  .home-local-services__result-card--marco-laurel .home-local-services__result-eyebrow { padding-right: 28px; }

  .home-local-services__result-card--compact {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 12px 34px 14px 14px;
    align-content: space-between;
    align-items: center;
    gap: 0 8px;
    width: 100%;
    height: 108px;
    min-height: 108px;
    max-height: 108px;
    padding: 9px 11px;
    border-radius: 12px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .045);
  }
  .home-local-services__result-eyebrow {
    color: #6d28d9;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .065em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  .home-local-services__result-card--compact .home-local-services__result-eyebrow {
    grid-column: 1 / -1;
    grid-row: 1;
    overflow: hidden;
    font-size: 9px;
    line-height: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-local-services__result-title {
    margin: 0;
    color: var(--dpr-type-ink, #1c1e21);
    font-size: 17px;
    font-weight: 820;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .home-local-services__result-card--compact .home-local-services__result-title {
    grid-column: 1;
    grid-row: 2;
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 17px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .home-local-services__result-place,
  .home-local-services__result-copy,
  .home-local-services__result-distance,
  .home-local-services__empty,
  .home-local-services__more-hint,
  .home-local-services__data-note,
  .home-local-services__attribution {
    margin: 0;
    color: #505866;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }
  .home-local-services__result-distance {
    color: #5b21b6;
    font-weight: 800;
  }
  .home-local-services__result-card--compact .home-local-services__result-place {
    grid-column: 1;
    grid-row: 3;
    overflow: hidden;
    font-size: 11px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-local-services__result-card--compact .home-local-services__result-distance {
    grid-column: 1;
    grid-row: 4;
    overflow: hidden;
    font-size: 11px;
    line-height: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .home-local-services__result-badge {
    justify-self: start;
    padding: 4px 8px;
    border-radius: 99px;
    background: #e8f6ee;
    color: #187241;
    font-size: 11px;
    font-weight: 800;
  }
  .home-local-services__result-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-self: start;
    margin-top: 1px;
    padding: 8px 12px;
    border: 1px solid #7c3aed;
    border-radius: 12px;
    background: #7c3aed;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }
  .home-local-services__result-card--compact .home-local-services__result-link {
    grid-column: 2;
    grid-row: 2 / span 3;
    min-height: 36px;
    align-self: center;
    margin: 0;
    padding: 6px 9px;
    border-radius: 10px;
    font-size: 12px;
  }
  .home-local-services__empty {
    padding: 11px 12px;
    border-radius: 11px;
    background: #f8f5ff;
  }
  .home-local-services__category-link-row {
    display: flex;
    width: 100%;
    height: 38px;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
  }
  .home-local-services__category-link {
    display: inline-flex;
    max-width: 100%;
    min-height: 34px;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    color: #5b21b6;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
  }
  .home-local-services__category-link:focus-visible {
    outline: 3px solid rgba(124, 58, 237, .38);
    outline-offset: 2px;
  }
}

@media (max-width: 360px) {
  .home-local-services__result-card { padding: 13px; }
}


/* NEARBY RESULTS — SHARED DESKTOP AND MOBILE */
.home-local-services__summary {
  margin: 0;
  color: #16733f;
  font-weight: 850;
  line-height: 1.35;
}
.home-local-services__category-summary {
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.home-local-services__preview-names {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.home-local-services__preview-names[hidden] { display: none; }
.home-local-services__preview-name {
  display: inline-flex;
  min-width: 0;
  align-items: baseline;
  gap: 5px;
  padding: 7px 10px;
  border: 1px solid #d7eadc;
  border-radius: 999px;
  background: #f5fbf6;
  color: #17442a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}
.home-local-services__preview-name:hover { border-color: #8fc7a0; background: #eef8f0; }
.home-local-services__preview-category { color: #52715b; font-size: 10px; font-weight: 650; }
.home-local-services__location-actions { min-width: 0; }
.home-local-services__gps-button,
.home-local-services__open-results {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #176d3c;
  border-radius: 13px;
  background: #19884b;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.home-local-services__open-results { border-color: #6d28d9; background: #6d28d9; }
.home-local-services__open-results:hover { border-color: #5b21b6; background: #5b21b6; color: #fff; }
.home-local-services__gps-button[aria-pressed="true"] { border-color: #176d3c; background: #19884b; }
.home-local-services__gps-button:focus-visible,
.home-local-services__open-results:focus-visible,
.home-local-services__suggest-button:focus-visible,
.home-local-services__suggestion-dialog button:focus-visible,
.home-local-services__suggestion-dialog input:focus-visible,
.home-local-services__suggestion-dialog textarea:focus-visible {
  outline: 3px solid rgba(25, 136, 75, .32);
  outline-offset: 2px;
}
.home-local-services__manual-row { min-width: 0; }
.home-local-services__manual-link { color: #5b21b6; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.home-local-services__results[hidden] { display: none !important; }
.home-local-services__results-summary { margin: 0; color: #16733f; font-weight: 800; }
.home-local-services__empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d9e6dc;
  border-radius: 14px;
  background: #f4faf5;
  color: #355b40;
  font-size: 14px;
  line-height: 1.5;
}
.home-local-services__category-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dfe6e2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .06);
}
.home-local-services__category-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.home-local-services__category-card .home-local-services__category-title {
  min-width: 0;
  margin: 0;
  color: #182b3b;
  font-size: 17px;
  font-weight: 820;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.home-local-services__category-card .home-local-services__category-count {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff8f1;
  color: #176d3c;
  font-size: 11px;
  font-weight: 800;
}
.home-local-services__category-results,
.home-local-services__more-results-list { display: grid; gap: 10px; min-width: 0; }
.home-local-services__category-card .home-local-services__result-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e3e9e5;
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}
.home-local-services__category-card .home-local-services__result-title {
  margin: 0;
  color: #1c2937;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.home-local-services__result-place,
.home-local-services__result-distance,
.home-local-services__result-copy { margin: 0; color: #536171; font-size: 12px; line-height: 1.45; }
.home-local-services__result-distance { color: #176d3c; font-weight: 750; }
.home-local-services__category-card .home-local-services__result-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-self: start;
  padding: 7px 11px;
  border: 1px solid #6d28d9;
  border-radius: 10px;
  background: #6d28d9;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.home-local-services__more-results {
  border: 1px solid #d9e6dc;
  border-radius: 12px;
  background: #f8fbf8;
}
.home-local-services__more-results-summary {
  padding: 11px 12px;
  color: #176d3c;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.home-local-services__more-results-list { padding: 0 9px 9px; }
.home-local-services__category-empty { margin: 0; color: #667085; font-size: 13px; line-height: 1.5; }
.home-local-services__suggest-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 7px;
  padding: 9px 13px;
  border: 1px dashed #76a984;
  border-radius: 12px;
  background: #f2faf4;
  color: #176d3c;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.home-local-services__suggest-button:hover { border-style: solid; background: #e9f6ec; }
.home-local-services__category-link {
  justify-self: start;
  color: #5b21b6;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nearby-results-page__main { max-width: 1420px; margin: 0 auto; padding: 32px 26px 48px; }
.nearby-results-page__intro { max-width: 880px; margin: 0 auto 22px; }
.nearby-results-page__eyebrow { margin: 0 0 7px; color: #176d3c; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.nearby-results-page__intro h1 { margin: 0 0 9px; color: #172b3b; font-size: clamp(28px, 3vw, 42px); font-weight: 850; line-height: 1.1; letter-spacing: -.025em; }
.nearby-results-page__intro > p:last-child { margin: 0; color: #536171; font-size: 16px; line-height: 1.55; }
.nearby-results-page .homepage-local-services { max-width: 1320px; margin: 0 auto; }
.nearby-results-page .home-local-services__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-local-services__suggestion-dialog {
  width: min(680px, calc(100vw - 24px));
  max-width: none;
  max-height: min(92dvh, 850px);
  padding: 0;
  overflow: auto;
  border: 1px solid #d7e2da;
  border-radius: 20px;
  background: #fff;
  color: #172b3b;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
}
.home-local-services__suggestion-dialog::backdrop { background: rgba(13, 28, 42, .58); backdrop-filter: blur(2px); }
.home-local-services__suggestion-panel { display: grid; gap: 16px; padding: 22px; }
.home-local-services__suggestion-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.home-local-services__suggestion-heading-copy h2 { margin: 0; color: #172b3b; font-size: 24px; font-weight: 850; line-height: 1.15; }
.home-local-services__suggestion-category { margin: 6px 0 0; color: #176d3c; font-size: 13px; font-weight: 800; }
.home-local-services__suggestion-close,
.home-local-services__suggestion-cancel,
.home-local-services__suggestion-submit {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d5dce2;
  border-radius: 11px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.home-local-services__suggestion-close { flex: 0 0 auto; }
.home-local-services__suggestion-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.home-local-services__field { display: grid; gap: 6px; min-width: 0; color: #344054; font-size: 13px; font-weight: 750; }
.home-local-services__field-label { display: block; }
.home-local-services__field input,
.home-local-services__field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid #cfd8d2;
  border-radius: 10px;
  background: #fff;
  color: #172b3b;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}
.home-local-services__field textarea { min-height: 110px; resize: vertical; }
.home-local-services__field--wide,
.home-local-services__consent,
.home-local-services__draft-status,
.home-local-services__suggestion-status,
.home-local-services__suggestion-actions { grid-column: 1 / -1; }
.home-local-services__consent { display: flex; align-items: flex-start; gap: 9px; color: #475467; font-size: 12px; line-height: 1.5; }
.home-local-services__consent input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #19884b; }
.home-local-services__draft-status,
.home-local-services__suggestion-status { margin: 0; color: #536171; font-size: 12px; line-height: 1.45; }
.home-local-services__suggestion-status { padding: 10px 12px; border-radius: 10px; background: #f3faf4; color: #176d3c; }
.home-local-services__suggestion-status[hidden] { display: none; }
.home-local-services__suggestion-actions { display: flex; justify-content: flex-end; gap: 9px; }
.home-local-services__suggestion-submit { border-color: #176d3c; background: #19884b; color: #fff; }
.home-local-services__suggestion-submit:disabled { cursor: wait; opacity: .7; }

@media (min-width: 901px) {
  .nearby-results-page .homepage-local-services {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 1320px;
    min-width: 0;
    margin: 18px auto 0;
    padding: 20px;
    border: 1px solid #e0e8e2;
    border-radius: 20px;
    background: #fff;
    color: #172b3b;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  }
  .nearby-results-page .home-local-services__header { display: grid; gap: 4px; min-width: 0; }
  .nearby-results-page .home-local-services__eyebrow { color: #176d3c; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
  .nearby-results-page .home-local-services__title { margin: 0; color: #172b3b; font-size: 24px; font-weight: 850; line-height: 1.2; }
  .nearby-results-page .home-local-services__summary { margin: 0; font-size: 16px; }
  .nearby-results-page .home-local-services__location-actions { display: flex; flex-wrap: wrap; gap: 9px; }
  .nearby-results-page .home-local-services__radius { display: grid; gap: 8px; }
  .nearby-results-page .home-local-services__radius-controls { display: grid; grid-template-columns: 40px minmax(120px, 1fr) 40px auto; align-items: center; gap: 8px; }
  .nearby-results-page .home-local-services__radius-step { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid #d7e1da; border-radius: 10px; background: #fff; color: #176d3c; font-size: 22px; font-weight: 800; cursor: pointer; }
  .nearby-results-page .home-local-services__radius-step:disabled { opacity: .45; cursor: not-allowed; }
  .nearby-results-page .home-local-services__radius-range { width: 100%; accent-color: #19884b; }
  .nearby-results-page .home-local-services__radius-value { color: #176d3c; font-size: 13px; font-weight: 850; }
  .nearby-results-page .home-local-services__status { margin: 0; padding: 10px 12px; border-left: 3px solid #19884b; border-radius: 9px; background: #f3faf4; color: #475467; font-size: 12px; line-height: 1.45; }
  .nearby-results-page .home-local-services__status[hidden] { display: none; }

  #homepage-local-services-desktop { display: none; }
}

@media (max-width: 900px) {
  .home-local-services__summary { color: #176d3c; font-size: 14px; font-weight: 850; line-height: 1.4; }
  .home-local-services__category-summary { font-size: 11px; line-height: 1.4; }
  .home-local-services__preview-names { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .home-local-services__preview-name { justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 10px; font-size: 11px; }
  .home-local-services__preview-category { font-size: 10px; text-align: right; }
  .home-local-services__open-results {
    display: inline-flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border: 1px solid #6d28d9;
    border-radius: 14px;
    background: #6d28d9;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }
  .home-local-services__manual-row { font-size: 12px; }
  .nearby-results-page__main { padding: 18px 14px 36px; }
  .nearby-results-page__intro { margin: 0 0 14px; }
  .nearby-results-page__eyebrow { margin-bottom: 6px; font-size: 10px; }
  .nearby-results-page__intro h1 { margin: 0 0 7px; font-size: clamp(24px, 7vw, 31px); line-height: 1.1; }
  .nearby-results-page__intro > p:last-child { font-size: 14px; line-height: 1.45; }
  .nearby-results-page .homepage-local-services { gap: 10px; padding: 10px; border-radius: 17px; }
  .nearby-results-page .home-local-services__results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nearby-results-page .home-local-services__category-card { gap: 10px; padding: 12px; border-radius: 15px; }
  .nearby-results-page .home-local-services__category-card .home-local-services__category-title { font-size: 15px; }
  .nearby-results-page .home-local-services__category-card .home-local-services__result-card { padding: 10px; }
  .home-local-services__suggestion-panel { gap: 13px; padding: 16px 14px; }
  .home-local-services__suggestion-heading-copy h2 { font-size: 21px; }
  .home-local-services__suggestion-form { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-local-services__suggestion-form > * { grid-column: 1; }
  .home-local-services__suggestion-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .home-local-services__suggestion-submit,
  .home-local-services__suggestion-cancel { width: 100%; }
}

/* Shared location-aware suggestions for the desktop and mobile homepage search. */
.home-local-services__search-panel {
  position: fixed;
  z-index: 10020;
  display: grid;
  gap: 8px;
  max-height: min(62vh, 480px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid #d9e3ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18, 44, 78, .20);
  color: #172033;
  font: 500 14px/1.4 var(--font, "Plus Jakarta Sans", system-ui, sans-serif);
}
.home-local-services__search-panel[hidden] { display: none; }
.home-local-services__search-header { display: grid; gap: 2px; padding: 3px 4px 6px; }
.home-local-services__search-header strong { color: #17643d; font-size: 13px; font-weight: 800; }
.home-local-services__search-header span { color: #607087; font-size: 12px; }
.home-local-services__search-list { display: grid; gap: 4px; }
.home-local-services__search-result {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #172033;
  text-decoration: none;
}
.home-local-services__search-result:hover,
.home-local-services__search-result:focus-visible { border-color: #d7e6f8; background: #f3f8ff; outline: 2px solid rgba(37, 99, 183, .22); outline-offset: 1px; }
.home-local-services__search-result strong { overflow: hidden; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.home-local-services__search-result small { color: #627187; font-size: 11px; line-height: 1.35; }
.home-local-services__search-empty { margin: 2px 4px; color: #596a80; font-size: 13px; }
.home-local-services__search-all { display: flex; min-height: 38px; align-items: center; justify-content: center; padding: 7px 10px; border-top: 1px solid #e7edf5; color: #2457a6; font-size: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.home-local-services__search-all:hover,
.home-local-services__search-all:focus-visible { color: #174782; text-decoration: underline; outline: 2px solid rgba(37, 99, 183, .22); outline-offset: 1px; }
body.homepage-body .homepage-mobile-search:focus-within {
  border-color: #4388d3;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 183, .18), 0 9px 26px rgba(3, 25, 55, .18);
}
body.homepage-body .homepage-mobile-search input:focus { outline: none; box-shadow: none; }

@media (min-width: 901px) {
  .home-local-services__search-panel[data-layout="desktop"] {
    gap: 8px;
    max-width: min(620px, calc(100vw - 24px));
    padding: 14px;
    border-color: #d6e1ed;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(18, 44, 78, .2);
    color: #172b3b;
    font: 500 14px/1.45 "Google Sans", "Google Sans Text", Arial, sans-serif;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-header {
    gap: 3px;
    padding: 0 2px 5px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-header strong {
    color: #16834a;
    font-size: 15px;
    line-height: 1.35;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-header span {
    color: #5b6878;
    font-size: 12px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-list {
    gap: 2px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-result {
    gap: 3px;
    padding: 8px 9px;
    border-bottom: 1px solid #edf1f5;
    border-radius: 8px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-result strong {
    display: -webkit-box;
    overflow: hidden;
    color: #183b67;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-result small {
    color: #5f6e80;
    font-size: 11px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 3px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-action {
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid #1d5fae;
    border-radius: 10px;
    background: #1d5fae;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-action:hover {
    border-color: #174d8e;
    background: #174d8e;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-action:focus-visible,
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-manual:focus-visible {
    outline: 3px solid rgba(29, 95, 174, .22);
    outline-offset: 2px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-action svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-gps[aria-pressed="true"] {
    border-color: #16834a;
    background: #16834a;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-gps:disabled {
    cursor: wait;
    opacity: .75;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-open {
    border-color: #d3e0f0;
    background: #f4f8fd;
    color: #194b83;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-open:hover {
    border-color: #abc6e7;
    background: #eaf2fb;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-manual {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e7edf4;
    color: #2457a6;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-manual:hover {
    color: #174782;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__search-status {
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff8e8;
    color: #67501c;
    font-size: 12px;
    line-height: 1.4;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__radius {
    display: grid;
    gap: 6px;
    padding: 8px 9px;
    border-color: #e0e8f0;
    border-radius: 10px;
    background: #f8fafd;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__radius[hidden] {
    display: none;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__radius-controls {
    grid-template-columns: 30px minmax(0, 1fr) 30px auto;
    gap: 7px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__radius-step {
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    border-color: #d3dfec;
    border-radius: 8px;
    color: #2457a6;
    font-size: 18px;
  }
  .home-local-services__search-panel[data-layout="desktop"] .home-local-services__radius-value {
    color: #2457a6;
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .home-local-services__search-panel { gap: 6px; max-height: 55vh; padding: 8px; border-radius: 14px; }
  .home-local-services__search-result { padding: 8px; }
}

