/**
 * Biolume Test Locator — prototype-aligned (white minimal).
 */

.bl-directory {
    --bl-site-header: 100px;
    --bl-bg: #ffffff;
    --bl-surface: #fafafa;
    --bl-border: #eeeeee;
    --bl-border-soft: #e0e0e0;
    --bl-text: #1a1a1a;
    --bl-text-muted: #888888;
    --bl-text-soft: #555555;
    --bl-crimson: #9b2335;
    --bl-green-bg: #e8f4ed;
    --bl-green-text: #2a7a4b;
    --bl-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bl-font-heading: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --bl-radius: 12px;
    --bl-radius-pill: 999px;
}

body.bl-directory-page .page-main {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body.bl-directory-page .column.main {
    padding: 0;
    width: 100%;
}

body.bl-directory-page .breadcrumbs {
    max-width: 100%;
    margin: 0;
    padding: 16px 28px 0;
    box-sizing: border-box;
}

body.bl-directory-page.bl-clinic-page .breadcrumbs {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 24px 0;
}

.bl-directory {
    font-family: var(--bl-font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--bl-text);
    background: var(--bl-bg);
    margin: 0;
    width: 100%;
}

.bl-directory h1,
.bl-directory h2,
.bl-directory h3 {
    font-family: var(--bl-font-heading);
    font-weight: 400;
    color: var(--bl-text);
}

.bl-directory button,
.bl-directory input,
.bl-directory select {
    font-family: var(--bl-font-body);
}

.bl-directory button {
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bl-hidden {
    display: none !important;
}

/* Shell: sidebar + main */
.bl-shell {
    display: flex;
    min-height: 100vh;
    background: var(--bl-bg);
    position: relative;
}

.bl-content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Sidebar — sticky in page flow; body scrolls independently */
.bl-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--bl-surface);
    border-right: 1px solid var(--bl-border);
    display: flex;
    flex-direction: column;
    z-index: 10;
    overflow: hidden;
    align-self: flex-start;
}

.bl-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bl-border);
    flex-shrink: 0;
}

.bl-sidebar-brand strong {
    display: block;
    font-family: var(--bl-font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.bl-sidebar-brand span {
    display: block;
    font-family: var(--bl-font-heading);
    font-size: 12px;
    color: var(--bl-crimson);
    font-weight: 500;
}

.bl-sidebar-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
}

.bl-sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--bl-border);
    flex-shrink: 0;
}

.bl-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--bl-text-muted);
    margin: 0 0 8px;
}

.bl-sidebar-body > .bl-label {
    margin-top: 20px;
    margin-bottom: 8px;
}

.bl-sidebar-body > .bl-label:first-child {
    margin-top: 0;
}

.bl-search-wrap + .bl-label {
    margin-top: 20px;
}

.bl-filter-row + .bl-label,
.bl-sort-grid + .bl-label,
.bl-price-slider-wrap + .bl-label {
    margin-top: 20px;
}

.bl-sidebar .bl-input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid var(--bl-border);
    border-radius: 8px;
    font-size: 12px !important;
    color: var(--bl-text) !important;
    background: #f8f8f8 !important;
    box-sizing: border-box;
    height: 32px;
    line-height: 1.35;
    font-weight: 400 !important;
    font-family: var(--bl-font-body) !important;
    font-style: normal !important;
    box-shadow: none !important;
}

.bl-sidebar .bl-input::placeholder {
    color: #bbb !important;
    font-family: var(--bl-font-body) !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    opacity: 1;
}

.bl-sidebar .bl-input:focus {
    outline: none;
    border-color: var(--bl-text) !important;
    box-shadow: none !important;
}

.bl-sidebar select.bl-input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    cursor: pointer;
    font-size: 12px !important;
    font-family: var(--bl-font-body) !important;
    font-style: normal !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 12px !important;
    background-color: #f8f8f8 !important;
}

.bl-sidebar select.bl-input option {
    color: var(--bl-text);
    background: #fff;
    font-size: 12px;
    font-family: var(--bl-font-body);
}

.bl-search-wrap {
    position: relative;
}

.bl-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.bl-filter-row-label {
    margin: 0;
}

.bl-toggle {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: var(--bl-radius-pill);
    border: 1px solid var(--bl-border-soft);
    background: #fff;
    color: var(--bl-text-muted);
}

.bl-toggle.is-on {
    background: var(--bl-text);
    color: #fff;
    border-color: var(--bl-text);
}

.bl-price-slider-wrap {
    margin-top: 8px;
    transition: opacity 0.2s ease;
}

.bl-price-slider-wrap.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

#bl-price-range {
    width: 100%;
    accent-color: var(--bl-text);
}

.bl-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--bl-text-muted);
    margin-top: 6px;
}

.bl-price-labels #bl-price-value {
    font-weight: 600;
    color: var(--bl-text);
}

.bl-sort-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.bl-sidebar .bl-sort-btn,
.bl-sidebar .bl-filter-btn,
.bl-sidebar .bl-toggle,
.bl-sidebar .bl-clear-btn {
    font-family: var(--bl-font-body) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    text-align: left;
}

.bl-sidebar .bl-sort-btn {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--bl-border-soft) !important;
    background: #fff !important;
    color: var(--bl-text-soft) !important;
}

.bl-sidebar .bl-sort-btn:hover {
    border-color: var(--bl-text) !important;
    color: var(--bl-text) !important;
    background: #fff !important;
}

.bl-sidebar .bl-sort-btn.is-active {
    background: var(--bl-text) !important;
    color: #fff !important;
    border-color: var(--bl-text) !important;
    font-weight: 500 !important;
}

.bl-tag-filters {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bl-sidebar .bl-filter-btn {
    display: block;
    width: 100%;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #555 !important;
}

.bl-sidebar .bl-filter-btn:hover {
    background: #f5f5f5 !important;
    color: var(--bl-text) !important;
    border-color: transparent !important;
}

.bl-sidebar .bl-filter-btn.is-active {
    background: var(--bl-text) !important;
    color: #fff !important;
    border-color: var(--bl-text) !important;
    font-weight: 500 !important;
}

.bl-clear-btn {
    width: 100%;
    font-size: 12px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid var(--bl-border-soft);
    background: #fff;
    color: var(--bl-text-soft);
}

.bl-clear-btn:hover {
    border-color: var(--bl-text);
    color: var(--bl-text);
}

/* Top bar */
.bl-topbar {
    position: sticky;
    top: var(--bl-site-header);
    z-index: 20;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-bottom: 1px solid var(--bl-border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

.bl-topbar-spacer {
    flex: 1;
}

.bl-topbar-count {
    margin: 0;
    font-size: 12px;
    color: var(--bl-text-muted);
}

.bl-mobile-filters {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--bl-text-muted);
    background: none;
    border: none;
    padding: 0;
}

.bl-filter-badge {
    background: var(--bl-text);
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero */
.bl-hero {
    background-size: cover;
    background-position: center 40%;
    min-height: 460px;
    position: relative;
}

.bl-hero-overlay {
    min-height: 460px;
    background: rgba(10, 8, 6, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    text-align: center;
}

.bl-hero-inner {
    max-width: 768px;
    width: 100%;
}

.bl-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 0 0 32px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.bl-hero-title em {
    font-style: italic;
}

.bl-hero-title-muted {
    color: rgba(255, 255, 255, 0.6);
}

.bl-hero-search {
    max-width: 576px;
    margin: 0 auto 16px;
}

.bl-hero-search input {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--bl-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.bl-hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bl-hero-search input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
}

.bl-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.bl-hero-pill {
    font-size: 12px;
    padding: 6px 16px;
    border-radius: var(--bl-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
}

.bl-hero-pill:hover,
.bl-hero-pill.is-active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Stats */
.bl-stats {
    display: flex;
    border-bottom: 1px solid var(--bl-border);
    background: #fff;
}

.bl-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-right: 1px solid var(--bl-border);
    gap: 4px;
}

.bl-stat:last-child {
    border-right: 0;
}

.bl-stat-value {
    font-family: var(--bl-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1;
    color: var(--bl-text);
}

.bl-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
}

/* Problem section */
.bl-problem {
    padding: 64px 24px;
    border-bottom: 1px solid var(--bl-border);
    background: #fff;
}

.bl-problem-inner,
.bl-results-inner,
.bl-browse-inner {
    max-width: 1024px;
    margin: 0 auto;
}

.bl-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bl-text-muted);
}

.bl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bl-crimson);
    flex-shrink: 0;
}

.bl-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    margin-top: 32px;
}

.bl-problem-headline {
    font-family: var(--bl-font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
    color: var(--bl-text);
}

.bl-problem-lead {
    font-size: 16px;
    color: var(--bl-text-muted);
    line-height: 1.65;
    margin: 0;
}

.bl-problem-point {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.bl-problem-point::before {
    content: '';
    width: 1px;
    background: var(--bl-border-soft);
    flex-shrink: 0;
}

.bl-problem-point h3 {
    font-family: var(--bl-font-body);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.bl-problem-point p {
    font-size: 14px;
    color: var(--bl-text-muted);
    line-height: 1.6;
    margin: 0;
}

.bl-problem-footer {
    font-size: 14px;
    font-weight: 600;
    color: var(--bl-text);
    padding-top: 8px;
    border-top: 1px solid var(--bl-border);
    margin: 0;
}

/* Browse section */
.bl-browse-section {
    border-bottom: 1px solid var(--bl-border);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.bl-browse-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #4a3728;
    background-image: var(--bl-browse-bg);
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
}

.bl-browse-overlay {
    position: relative;
    z-index: 1;
    background: rgba(10, 8, 6, 0.3);
    padding: 64px 24px 0;
}

.bl-browse-section .bl-browse-title,
.bl-browse-section .bl-browse-group-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    font-family: var(--bl-font-heading);
}

.bl-browse-section .bl-browse-group-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-top: 0;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.bl-browse-section .bl-browse-sub,
.bl-browse-section .bl-browse-group-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 0 40px;
    font-family: var(--bl-font-body);
}

.bl-browse-section .bl-browse-group-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 0 16px;
}

.bl-browse-grid-secondary {
    margin-bottom: 32px;
}

.bl-browse-divider {
    margin: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bl-browse-grid {
    display: grid;
    gap: 12px;
}

.bl-browse-grid-lg {
    grid-template-columns: repeat(6, 1fr);
}

.bl-browse-grid-sm {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.bl-browse-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff !important;
    font-family: var(--bl-font-body) !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bl-browse-tile:hover,
.bl-browse-tile.is-active {
    background: rgba(0, 0, 0, 0.85) !important;
    border-color: rgba(0, 0, 0, 0.9) !important;
    color: #fff !important;
}

.bl-browse-tile-sm {
    padding: 12px;
    border-radius: 12px;
}

.bl-browse-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bl-browse-icon-sm {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.bl-browse-icon-svg {
    display: block;
    flex-shrink: 0;
}

.bl-browse-cat {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2px;
}

.bl-browse-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.bl-browse-tile-sm .bl-browse-label {
    font-size: 12px;
    font-weight: 500;
}

.bl-browse-cta {
    display: flex;
    justify-content: center;
    padding: 32px 0 64px;
}

.bl-browse-see-all {
    padding: 10px 24px;
    border-radius: var(--bl-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.bl-browse-see-all:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Results */
.bl-results {
    padding: 40px 24px;
    border-bottom: 1px solid var(--bl-border);
    background: #fff;
}

.bl-results-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 24px;
}

.bl-provider-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bl-provider-list.bl-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* Provider cards */
.provider-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--bl-border);
    border-radius: var(--bl-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.provider-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.provider-img-placeholder {
    width: 140px;
    min-width: 140px;
    min-height: 180px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
}

.bl-building-icon-svg {
    display: block;
    opacity: 0.35;
    flex-shrink: 0;
}

.bl-featured-badge {
    font-size: 10px;
    background: var(--bl-text);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--bl-radius-pill);
    font-weight: 500;
}

.bl-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.bl-card-title {
    font-family: var(--bl-font-body);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.bl-card-address {
    font-size: 12px;
    color: var(--bl-text-muted);
    margin: 0;
}

.bl-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bl-pill {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: var(--bl-radius-pill);
    font-weight: 500;
}

.bl-pill-brand {
    background: rgba(155, 35, 53, 0.1);
    color: var(--bl-crimson);
}

.bl-pill-green {
    background: var(--bl-green-bg);
    color: var(--bl-green-text);
}

.bl-card-price .bl-from {
    font-size: 12px;
    color: var(--bl-text-muted);
    margin-right: 4px;
}

.bl-card-price .bl-amount {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.bl-card-desc {
    font-size: 12px;
    color: var(--bl-text-soft);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bl-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f0f0f0;
    color: #444;
}

.bl-tag.tag-discount {
    background: rgba(155, 35, 53, 0.1);
    color: var(--bl-crimson);
}

.bl-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
}

.bl-card-footer a:not(.bl-btn-view) {
    color: var(--bl-text-muted);
    text-decoration: none;
}

.bl-card-footer a:not(.bl-btn-view):hover {
    color: var(--bl-text);
}

.bl-btn-view {
    margin-left: auto;
    background: var(--bl-text);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: var(--bl-radius-pill);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border: none;
    white-space: nowrap;
}

.bl-btn-view:hover {
    background: #333;
    color: #fff !important;
}

/* Empty state */
.bl-empty {
    text-align: center;
    padding: 80px 24px;
    color: var(--bl-text-muted);
}

.bl-empty-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    opacity: 0.2;
    border: 3px solid currentColor;
    border-radius: 50% 50% 0 0;
}

.bl-empty-title {
    font-family: var(--bl-font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--bl-text);
    margin: 0 0 4px;
}

.bl-empty-sub {
    font-size: 14px;
    margin: 0 0 16px;
}

.bl-empty-btn {
    padding: 8px 20px;
    border-radius: var(--bl-radius-pill);
    border: 1px solid var(--bl-text);
    background: #fff;
    color: var(--bl-text);
    font-size: 12px;
}

.bl-empty-btn:hover {
    background: var(--bl-text);
    color: #fff;
}

/* Login wall */
.bl-login-wall {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 8, 6, 0.45);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-login-box {
    text-align: center;
    padding: 48px 40px;
    max-width: 420px;
    width: 90%;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    border: 1px solid rgba(155, 35, 53, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.bl-login-logo {
    margin: 0 auto 20px;
    display: block;
}

.bl-login-box h2 {
    font-family: var(--bl-font-heading);
    font-size: 24px;
    margin: 0 0 10px;
}

.bl-login-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 28px;
}

.bl-btn-primary {
    display: inline-block;
    background: var(--bl-crimson);
    color: #fff;
    padding: 13px 32px;
    border-radius: var(--bl-radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 0;
}

.bl-btn-primary:hover {
    background: #7d1c2a;
    color: #fff;
}

.bl-disclaimer {
    padding: 16px 24px;
    text-align: center;
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid var(--bl-border);
}

.bl-mobile-only {
    display: none;
}

.bl-sidebar-backdrop {
    display: none !important;
    pointer-events: none;
    visibility: hidden;
}

.bl-sidebar-backdrop.is-open {
    display: block !important;
    pointer-events: auto;
    visibility: visible;
}

.bl-sidebar-close {
    display: none;
    margin-left: auto;
    width: 32px;
    height: 32px;
    border: 1px solid var(--bl-border-soft) !important;
    border-radius: 8px;
    background: #fff !important;
    color: var(--bl-text-muted) !important;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.bl-filters-open {
    overflow: hidden;
}

/* Clinic detail (unchanged structure, updated tokens) */
.bl-clinic-view {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.bl-back {
    color: var(--bl-text-muted);
    text-decoration: none;
    font-size: 14px;
}

.bl-clinic-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 12px 0;
}

.bl-clinic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bl-clinic-panel {
    background: #fff;
    border: 1px solid var(--bl-border);
    border-radius: var(--bl-radius);
    padding: 24px;
}

.bl-service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bl-service-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bl-border);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bl-browse-grid-lg {
        grid-template-columns: repeat(4, 1fr);
    }

    .bl-browse-grid-sm {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1025px) {
    .bl-directory .bl-sidebar {
        position: sticky;
        top: var(--bl-site-header);
        height: calc(100vh - var(--bl-site-header));
        max-height: calc(100vh - var(--bl-site-header));
    }
}

@media (max-width: 1024px) {
    .bl-shell {
        flex-direction: column;
    }

    .bl-content-col {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .bl-directory .bl-sidebar {
        position: fixed;
        left: 0;
        top: var(--bl-site-header);
        bottom: auto;
        width: min(300px, 88vw);
        height: calc(100vh - var(--bl-site-header));
        height: calc(100dvh - var(--bl-site-header));
        z-index: 90;
        transform: translateX(-100%);
        transition: transform 0.3s ease, visibility 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
        pointer-events: none;
        visibility: hidden;
    }

    .bl-directory .bl-sidebar.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .bl-sidebar-backdrop {
        position: fixed;
        top: var(--bl-site-header);
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 85;
    }

    .bl-sidebar-brand {
        position: relative;
    }

    .bl-sidebar-close.bl-mobile-only {
        display: inline-flex;
    }

    .bl-mobile-only,
    .bl-mobile-filters {
        display: inline-flex;
    }

    .bl-topbar {
        top: 0;
    }

    .bl-problem-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bl-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bl-stat {
        flex: unset;
        padding: 16px 12px;
        border-right: 1px solid var(--bl-border);
        border-bottom: 1px solid var(--bl-border);
    }

    .bl-stat:nth-child(2n) {
        border-right: none;
    }

    .bl-stat:nth-child(n + 3) {
        border-bottom: none;
    }

    .bl-browse-grid-lg {
        grid-template-columns: repeat(3, 1fr);
    }

    .bl-browse-grid-sm {
        grid-template-columns: repeat(3, 1fr);
    }

    .provider-card {
        flex-direction: column;
    }

    .provider-img-placeholder {
        width: 100%;
        min-height: 72px;
        flex-direction: row;
        justify-content: center;
    }

    .bl-btn-view {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .bl-browse-grid-lg,
    .bl-browse-grid-sm {
        grid-template-columns: repeat(2, 1fr);
    }

    .bl-stat {
        padding: 14px 8px;
    }

    .bl-stat-label {
        font-size: 9px;
        letter-spacing: 0.08em;
    }
}
