.masseur-search-page {
    --search-green: #17564d;
    --search-green-dark: #103d37;
    --search-mint: #dcece6;
    --search-cream: #f4f1ea;
    --search-yellow: #f2e85c;
    --search-line: #deddd6;
    min-height: 70vh;
    color: var(--portal-ink);
    background: #fdfdfb;
    font-family: var(--portal-font);
}

.masseur-search-page *,
.masseur-search-page *::before,
.masseur-search-page *::after {
    box-sizing: border-box;
}

.masseur-search-page section {
    margin-top: 0;
}

.search-page-shell,
.search-container {
    width: min(100% - 48px, 1440px);
    margin-right: auto;
    margin-left: auto;
}

.search-page-hero {
    margin: 0;
    padding: 22px 0 48px;
    background: #fff;
}

.search-page-hero .search-page-shell {
    padding: 54px 58px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 16%, rgba(242, 232, 92, 0.48), transparent 20%),
        var(--search-cream);
}

.search-page-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--search-green-dark);
    background: var(--search-mint);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-page-hero h1 {
    max-width: 800px;
    margin: 16px 0 13px;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.03 !important;
    font-weight: 400 !important;
    letter-spacing: -0.045em;
}

.search-page-hero p {
    margin: 0;
    color: var(--portal-muted);
    font-size: 17px;
    line-height: 1.6;
}

.search-container {
    padding-top: 56px;
    padding-bottom: 110px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
}

.search-filters-wrapper {
    position: sticky;
    top: 100px;
    padding: 26px;
    border: 1px solid var(--search-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 57, 50, 0.08);
}

.search-filters-header {
    margin-bottom: 23px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.search-filters-header span {
    color: var(--portal-muted);
    font-size: 10px;
    line-height: 1.3;
}

.search-filters-header h2 {
    margin: 3px 0 0;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 27px;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    letter-spacing: -0.025em;
}

#reset-filters-btn {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 24px !important;
    color: var(--search-green-dark);
    background-image: linear-gradient(105deg, var(--search-yellow) 0%, var(--search-yellow) 48%, #fff49a 52%, #fff49a 100%);
    background-position: 0 0;
    background-size: 200% 100%;
    box-shadow: 0 10px 22px rgba(23, 86, 77, 0.14);
    font-size: 14px;
    line-height: 1;
    font-weight: 750;
    cursor: pointer;
    transition: background-position 280ms ease, box-shadow 180ms ease;
}

#reset-filters-btn:hover,
#reset-filters-btn:focus-visible {
    background-position: 100% 0;
    box-shadow: 0 13px 26px rgba(23, 86, 77, 0.22);
}

.search-filter-actions {
    margin-top: 18px;
}

.filter-group {
    margin: 0;
    padding: 19px 0;
    border-top: 1px solid var(--search-line);
    border-bottom: 0;
}

.filter-group > label {
    margin: 0 0 10px;
    display: block;
    color: var(--portal-ink);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 750;
}

.fixed-location {
    min-height: 54px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid #c9ddd7;
    border-radius: 16px;
    background: #f2f8f5;
}

.fixed-location > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: var(--search-green-dark);
    background: var(--search-yellow);
    font-size: 13px;
    font-weight: 850;
}

.fixed-location strong,
.fixed-location small {
    display: block;
}

.location-search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 18px !important;
    border: 1px solid var(--search-line);
    border-radius: 24px !important;
    color: var(--portal-ink);
    background: #fff;
    font-family: var(--portal-font);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 650;
}

.location-search-input:focus {
    border-color: var(--search-green);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(23, 86, 77, 0.12);
}

.location-search-help {
    display: block;
    margin: 8px 0 0;
    color: var(--portal-muted);
    font-size: 10px;
    line-height: 1.5;
}

.filter-group--address {
    position: relative;
}

.address-autocomplete {
    width: 100%;
    position: relative;
}

.address-autocomplete > .location-search-input {
    width: 100%;
}

.search-near-me-button {
    width: 100%;
    min-height: 44px;
    margin: 0 0 14px;
    padding: 0 14px;
    border: 0;
    border-radius: 22px;
    color: var(--search-green-dark);
    background-image: linear-gradient(105deg, var(--search-yellow) 0%, var(--search-yellow) 48%, #fff49a 52%, #fff49a 100%);
    background-position: 0 0;
    background-size: 200% 100%;
    box-shadow: 0 8px 18px rgba(23, 86, 77, 0.13);
    font-family: var(--portal-font);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-position 280ms ease, box-shadow 180ms ease;
}

.search-near-me-button:hover,
.search-near-me-button:focus-visible {
    color: var(--search-green-dark);
    background-position: 100% 0;
    box-shadow: 0 11px 23px rgba(23, 86, 77, 0.2);
}

.search-near-me-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.address-suggestions {
    width: 100%;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 40;
    margin-top: 0;
    overflow: hidden;
    border: 1px solid var(--search-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 57, 50, 0.16);
    font-family: var(--portal-font);
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestions__item {
    width: 100%;
    min-height: 48px;
    padding: 9px 14px;
    display: block;
    border: 0;
    border-bottom: 1px solid #dfe7e2;
    border-radius: 0 !important;
    color: var(--portal-muted);
    background: #fff;
    font-family: var(--portal-font);
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.address-suggestions__item:last-of-type {
    border-bottom: 0;
}

.address-suggestions__item:hover,
.address-suggestions__item.is-highlighted {
    color: var(--portal-ink);
    background: #edf6f1;
}

.address-suggestions__source {
    padding: 8px 14px;
    display: block;
    border-top: 1px solid #edf1ee;
    color: var(--portal-muted);
    background: #fafbf9;
    font-size: 9px;
    line-height: 1.4;
    text-align: right;
}

#search-location-btn {
    width: 100%;
    min-height: 48px;
    margin: 12px 0 0;
    padding: 0 18px;
    border: 0;
    border-radius: 24px;
    color: var(--search-green-dark);
    background-image: linear-gradient(105deg, var(--search-yellow) 0%, var(--search-yellow) 48%, #fff49a 52%, #fff49a 100%);
    background-position: 0 0;
    background-size: 200% 100%;
    box-shadow: 0 10px 22px rgba(23, 86, 77, 0.14);
    font-family: var(--portal-font);
    font-size: 14px;
    line-height: 1;
    font-weight: 750;
    cursor: pointer;
    transition: background-position 280ms ease, box-shadow 180ms ease;
}

#search-location-btn:hover,
#search-location-btn:focus-visible {
    background-position: 100% 0;
    box-shadow: 0 13px 26px rgba(23, 86, 77, 0.22);
}

.search-location-status {
    min-height: 22px;
    margin: -4px 0 20px;
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.5;
}

.search-location-status.is-error {
    color: #a34a3c;
}

.fixed-location strong {
    color: var(--portal-ink);
    font-size: 11px;
    line-height: 1.3;
}

.fixed-location small {
    margin-top: 2px;
    color: var(--portal-muted);
    font-size: 10px;
    line-height: 1.3;
}

.filter-select {
    width: 100%;
    min-height: 46px;
    padding: 0 38px 0 12px;
    border: 1px solid var(--search-line);
    border-radius: 14px;
    color: var(--portal-ink);
    background-color: #fff;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

#distance-filter {
    border-radius: 24px !important;
}

.filter-select:focus {
    border-color: var(--search-green);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(23, 86, 77, 0.12);
}

.filter-group--switch {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.filter-group--switch input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--search-green);
    flex: 0 0 auto;
}

.filter-group--switch label {
    margin: 0;
    cursor: pointer;
}

.filter-group--switch label span,
.filter-group--switch label small {
    display: block;
}

.filter-group--switch label span {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 650;
}

.filter-group--switch label small {
    margin-top: 4px;
    color: var(--portal-muted);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}

.multiselect-dropdown.is-enhanced,
.filter-select.is-enhanced {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.filter-multiselect {
    position: relative;
}

.filter-multiselect__trigger {
    width: 100%;
    min-height: 50px;
    padding: 0 46px 0 14px;
    position: relative;
    border: 1px solid var(--search-line);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #757c8e;
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 57, 50, 0.03);
    font-family: var(--portal-font);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    text-align: left;
    text-transform: none !important;
    cursor: pointer;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.filter-multiselect__trigger:hover {
    border-color: #a8c8bf;
    background: #f9fcfb;
}

.filter-multiselect__trigger:focus-visible,
.filter-multiselect.is-open .filter-multiselect__trigger {
    border-color: var(--search-green);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(23, 86, 77, 0.11);
}

.filter-multiselect.has-selection .filter-multiselect__trigger {
    color: var(--portal-ink);
}

.filter-multiselect__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-multiselect__count {
    min-width: 24px;
    min-height: 24px;
    margin-left: auto;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--search-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
}

.filter-multiselect__count[hidden] {
    display: none;
}

.filter-multiselect__chevron {
    width: 7px;
    height: 7px;
    position: absolute;
    top: 50%;
    right: 18px;
    border-right: 2px solid var(--search-green);
    border-bottom: 2px solid var(--search-green);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 180ms ease;
}

.filter-multiselect.is-open .filter-multiselect__chevron {
    transform: translateY(-20%) rotate(225deg);
}

.filter-multiselect__panel {
    width: 100%;
    margin-top: 7px;
    padding: 7px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    border: 1px solid var(--search-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(23, 57, 50, 0.14);
}

.filter-multiselect__panel[hidden] {
    display: none;
}

.filter-single-select__panel {
    padding: 7px;
}

.filter-single-select__option {
    width: 100%;
    min-height: 42px;
    padding: 0 36px 0 12px;
    position: relative;
    border: 0;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    color: var(--portal-ink);
    background: transparent;
    font-family: var(--portal-font);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    text-align: left;
    text-transform: none !important;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
}

.filter-single-select__option:hover,
.filter-single-select__option:focus-visible {
    color: var(--search-green-dark);
    background: var(--search-mint);
    outline: 0;
}

.filter-single-select__option::after {
    content: "";
    width: 8px;
    height: 4px;
    position: absolute;
    top: 50%;
    right: 14px;
    border-left: 2px solid var(--search-green);
    border-bottom: 2px solid var(--search-green);
    opacity: 0;
    transform: translateY(-65%) rotate(-45deg);
}

.filter-single-select__option.is-selected {
    color: var(--search-green-dark);
    background: #f2f8f5;
    font-weight: 700;
}

.filter-single-select__option.is-selected::after {
    opacity: 1;
}

.filter-multiselect__search {
    padding: 3px 3px 7px;
}

.filter-multiselect__search input {
    width: 100%;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #e0e3eb;
    border-radius: 12px;
    outline: 0;
    color: var(--portal-ink);
    background: #f7faf8;
    font-family: var(--portal-font);
    font-size: 11px;
    font-weight: 500;
}

.filter-multiselect__search input:focus {
    border-color: var(--search-green);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(23, 86, 77, 0.1);
}

.filter-multiselect__options {
    max-height: 252px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-multiselect__option {
    min-height: 40px;
    margin: 0;
    padding: 7px 9px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--portal-ink);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease;
}

.filter-multiselect__option:hover {
    color: var(--search-green-dark);
    background: var(--search-mint);
}

.filter-multiselect__option[hidden] {
    display: none;
}

.filter-multiselect__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-multiselect__check {
    width: 19px;
    height: 19px;
    border: 1px solid #cfd3df;
    border-radius: 6px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #fff;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.filter-multiselect__check::after {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: translateY(-1px) rotate(-45deg);
}

.filter-multiselect__option input:checked + .filter-multiselect__check {
    border-color: var(--search-green);
    background: var(--search-green);
}

.filter-multiselect__option input:checked + .filter-multiselect__check::after {
    opacity: 1;
}

.filter-multiselect__option:has(input:focus-visible) {
    outline: 2px solid rgba(23, 86, 77, 0.3);
    outline-offset: -2px;
}

.filter-multiselect__empty {
    margin: 0;
    padding: 14px 10px;
    color: var(--portal-muted);
    font-size: 11px;
    text-align: center;
}

.filter-multiselect__empty[hidden] {
    display: none;
}

.selected-tags-container {
    margin: 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.selected-tags-container:empty {
    display: none;
}

.selected-tag {
    min-height: 29px;
    padding: 0 8px 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--search-green-dark);
    background: var(--search-mint);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.remove-tag {
    margin-left: 7px;
    padding: 0;
    border: 0;
    color: var(--search-green);
    background: transparent;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
}

.search-results-wrapper {
    min-width: 0;
}

.search-results-header {
    min-height: 58px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.search-results-header h2 {
    margin: 6px 0 0;
    color: var(--portal-ink);
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 38px;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: -0.035em;
}

#search-results-count {
    margin: 0;
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.4;
    text-align: right;
}

#masseur-results-list {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

#masseur-pagination:empty {
    display: none;
}

.masseur-pagination {
    margin-top: 38px;
    padding: 14px 18px;
    border: 1px solid var(--search-line);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(23, 57, 50, 0.07);
}

.masseur-pagination button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--search-green-dark);
    background: transparent;
    font-family: var(--portal-font);
    font-size: 14px;
    line-height: 1;
    font-weight: 750;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.masseur-pagination button:hover,
.masseur-pagination button:focus-visible {
    border-color: var(--search-green);
    color: #fff;
    background: var(--search-green);
    box-shadow: 0 8px 18px rgba(23, 86, 77, 0.2);
    outline: none;
}

.masseur-pagination button[aria-current="page"] {
    border-color: var(--search-yellow);
    color: var(--search-green-dark);
    background: var(--search-yellow);
    box-shadow: 0 8px 18px rgba(167, 155, 35, 0.2);
}

.masseur-pagination button:disabled {
    border-color: transparent;
    color: #a5aaa8;
    background: #f1f2ef;
    box-shadow: none;
    cursor: not-allowed;
}

.masseur-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.masseur-pagination__ellipsis {
    width: 24px;
    color: var(--portal-muted);
    text-align: center;
    font-size: 16px;
}

.masseur-pagination__summary {
    margin-left: 8px;
    color: var(--portal-muted);
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}

.masseur-card {
    min-height: 535px;
    min-width: 0;
    padding: 18px 18px 0;
    border: 1px solid var(--search-line);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 220ms ease;
}

.masseur-card:hover {
    box-shadow: 0 18px 38px rgba(23, 57, 50, 0.12);
}

.masseur-card-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 380px;
    position: relative;
    display: block;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: var(--search-cream);
}

.masseur-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 350ms ease;
}

.masseur-card:hover .masseur-card-image img {
    transform: scale(1.035);
}

.home-visit-badge {
    position: absolute;
    left: 14px;
    bottom: 24px;
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: #0d6652;
    background: rgba(231, 255, 248, 0.94);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.home-visit-badge.technician-badge {
    right: 14px;
    left: auto;
    bottom: 24px;
    color: #5d4b00;
    background: rgba(255, 246, 171, 0.96);
}

.masseur-card-content {
    min-height: 215px;
    padding: 22px 18px 24px;
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
}

.masseur-card-content::before {
    content: "";
    width: 88px;
    height: 48px;
    position: absolute;
    top: -48px;
    left: 50%;
    border-radius: 48px 48px 0 0;
    background: #fff;
    transform: translateX(-50%);
}

.masseur-card-icon {
    width: 44px;
    height: 44px;
    position: absolute;
    top: -39px;
    left: 50%;
    display: grid;
    place-items: center;
    color: var(--search-green) !important;
    transform: translateX(-50%);
}

.masseur-card-icon svg {
    width: 25px;
    height: 25px;
    display: block;
    fill: currentColor;
}

.masseur-card-location {
    margin-top: 4px;
    color: var(--search-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.masseur-card-content h3 {
    margin: 9px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--portal-ink);
    font-family: var(--portal-font) !important;
    font-size: 20px;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
}

.masseur-card-content h3::after {
    content: "";
    width: 40px;
    height: 1px;
    margin-top: 16px;
    background: var(--search-line);
}

.masseur-card-content h3 a {
    color: var(--portal-ink) !important;
}

.masseur-card-tags {
    min-height: 29px;
    margin: 14px 0 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.masseur-card-tags span {
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--search-green-dark);
    background: #eef6f2;
    font-size: 10px;
    line-height: 16px;
    font-weight: 650;
}

.masseur-card-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--search-line);
}

.masseur-card-footer > div strong,
.masseur-card-footer > div span {
    display: block;
}

.masseur-card-footer > div strong {
    color: var(--portal-ink);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}

.masseur-card-footer > div span {
    margin-top: 2px;
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.3;
}

.masseur-card-footer > a {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: var(--search-green-dark) !important;
    background-image: linear-gradient(105deg, var(--search-yellow) 0%, var(--search-yellow) 48%, #fff49a 52%, #fff49a 100%);
    background-position: 0 0;
    background-size: 200% 100%;
    font-size: 14px;
    line-height: 1;
    font-weight: 750 !important;
    text-transform: none !important;
    transition: background-position 280ms ease, box-shadow 180ms ease;
}

.masseur-card-footer > a:hover,
.masseur-card-footer > a:focus-visible {
    background-position: 100% 0;
    box-shadow: 0 9px 20px rgba(23, 86, 77, 0.2);
}

.loader-wrapper,
.search-empty-state {
    min-height: 360px;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loader {
    width: 42px;
    height: 42px;
    border: 4px solid var(--search-mint);
    border-top-color: var(--search-green);
    border-radius: 50%;
    animation: portal-spin 0.8s linear infinite;
}

.loader-wrapper p {
    margin: 14px 0 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.search-empty-state {
    padding: 48px 24px;
    border: 1px dashed #d8d9e3;
    border-radius: 24px;
    background: #fff;
}

.search-empty-state > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--search-green-dark);
    background: var(--search-yellow);
    font-size: 16px;
    font-weight: 800;
}

.search-empty-state h3 {
    margin: 17px 0 8px;
    color: var(--portal-ink);
    font-family: var(--portal-font) !important;
    font-size: 20px;
    font-weight: 800 !important;
}

.search-empty-state p {
    max-width: 470px;
    margin: 0;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

@keyframes portal-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1000px) {
    .search-container {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 24px;
    }

    #masseur-results-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {
    .search-page-shell,
    .search-container {
        width: min(100% - 28px, 1400px);
    }

    .search-page-hero {
        padding: 46px 0 38px;
    }

    .search-page-hero .search-page-shell {
        padding: 38px 28px;
        border-radius: 22px;
    }

    .search-container {
        padding-top: 28px;
        padding-bottom: 72px;
        grid-template-columns: 1fr;
    }

    .search-filters-wrapper {
        position: static;
    }

    .search-results-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    #search-results-count {
        text-align: left;
    }

    .masseur-pagination {
        margin-top: 28px;
        padding: 12px;
        border-radius: 18px;
        flex-wrap: wrap;
        gap: 7px;
    }

    .masseur-pagination button {
        width: 38px;
        height: 38px;
    }

    .masseur-pagination__summary {
        width: 100%;
        margin: 2px 0 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-page-hero .search-page-shell {
        padding: 32px 22px;
    }

    .search-filters-wrapper {
        padding: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .masseur-search-page *,
    .masseur-search-page *::before,
    .masseur-search-page *::after {
        transition-duration: 0.01ms !important;
    }
}
