/* Directory product shell — Phase 1 */
.bd-body {
    margin: 0;
    background: #060a10;
    color: #e2e8f0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.bd-main { flex: 1 0 auto; }

/* ── Directory header ── */
.bd-shell-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 10, 16, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bd-shell-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
}
.bd-shell-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    font-size: 0.78rem;
}
.bd-shell-top-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bd-shell-top-link:hover { color: #7dd3fc; }
.bd-shell-top-muted { color: rgba(255, 255, 255, 0.45); }
.bd-shell-top-brand { font-weight: 600; }

.bd-shell-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.bd-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}
.bd-shell-logo {
    height: 34px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}
.bd-shell-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.bd-shell-wordmark-title {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.bd-shell-wordmark-sub {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 500;
}
.bd-shell-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bd-shell-nav-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
}
.bd-shell-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.bd-shell-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0094EC;
    color: #fff !important;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    white-space: nowrap;
}
.bd-shell-cta:hover { background: #0284c7; color: #fff; }
.bd-shell-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1.35rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.bd-shell-drawer {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bd-shell-drawer[hidden] { display: none !important; }
.bd-shell-drawer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
}
.bd-shell-drawer-link:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.bd-shell-drawer-cta {
    margin-top: 4px;
    text-align: center;
    background: #0094EC;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

/* ── Directory footer ── */
.bd-shell-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: #05080d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.62);
}
.bd-shell-footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 28px;
    padding: 36px 0 28px;
}
.bd-shell-footer-brand strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}
.bd-shell-footer-brand p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 360px;
}
.bd-shell-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bd-shell-footer-nav a,
.bd-shell-footer-contact a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.88rem;
}
.bd-shell-footer-nav a:hover,
.bd-shell-footer-contact a:hover { color: #7dd3fc; }
.bd-shell-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    text-align: right;
}
.bd-shell-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Legacy marketing-shell safety (if old layout ever wraps .bd-page) */
body:has(.bd-page):not(.bd-body),
body:has(.bd-page):not(.bd-body) .aiz-main-wrapper {
    background: #060a10 !important;
}
body:has(.bd-page):not(.bd-body) .top-navbar,
body:has(.bd-page):not(.bd-body) header.sticky-top,
body:has(.bd-page):not(.bd-body) header.middle-background-color-visibility {
    background-color: rgba(6, 10, 16, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body:has(.bd-page):not(.bd-body) .mn-link,
body:has(.bd-page):not(.bd-body) .custom-menu-link,
body:has(.bd-page):not(.bd-body) .custom-user-name,
body:has(.bd-page):not(.bd-body) .header_menu_links,
body:has(.bd-page):not(.bd-body) .top-text-color-visibility,
body:has(.bd-page):not(.bd-body) .top-text-color-visibility a {
    color: #ffffff !important;
    text-shadow: none !important;
}

.bd-page { background: #060a10; min-height: 50vh; color: #e2e8f0; }

.bd-hero {
    padding: 28px 0 18px;
    text-align: left;
    background: linear-gradient(180deg, #0a121c 0%, #060a10 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.bd-hero-compact .bd-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.bd-hero-copy { min-width: 0; flex: 1; }
.bd-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.75rem;
}
.bd-hero h1 {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(1.55rem, 3.5vw, 2.1rem);
    color: #fff;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.bd-hero h1 span { color: #38bdf8; }
.bd-lead {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    line-height: 1.55;
}
.bd-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bd-filters { padding: 0 0 24px; }
.bd-sticky-bar {
    position: sticky;
    top: 88px;
    z-index: 40;
    margin: 0 -4px;
    padding: 10px 4px 12px;
    background: rgba(6, 10, 16, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bd-filter-form { margin: 0; }
.bd-search-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 12px;
}
.bd-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
}
.bd-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    pointer-events: none;
}
.bd-search-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 2.25rem 0.75rem 2.4rem;
    font-size: 0.95rem;
    min-height: 44px;
}
.bd-search-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.bd-search-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.bd-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
}
.bd-search-clear:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.bd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.bd-filter-sheet-open {
    display: none;
    flex-shrink: 0;
    min-height: 44px;
    white-space: nowrap;
}
.bd-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #0284c7;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}
.bd-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 0;
}
.bd-filter-field label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.35rem;
}
.bd-select {
    min-width: 200px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    min-height: 44px;
}
.bd-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.bd-geo-msg {
    margin: 10px 0 0;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
    font-size: 0.86rem;
    line-height: 1.45;
}
.bd-geo-msg[hidden] { display: none !important; }

.bd-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 14px 0 4px;
}
.bd-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 36px;
}
.bd-active-chip span { opacity: 0.75; font-size: 1.05rem; line-height: 1; }
.bd-active-chip:hover { background: rgba(56, 189, 248, 0.22); color: #fff; }
.bd-clear-all {
    color: #7dd3fc;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.35rem 0.25rem;
}
.bd-clear-all:hover { text-decoration: underline; color: #fff; }

.bd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.bd-chips-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
    margin-right: -12px;
    padding-right: 12px;
}
.bd-chips-scroll .bd-chip { flex: 0 0 auto; }
.bd-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    min-height: 36px;
}
.bd-chip:hover,
.bd-chip.is-active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff;
}

/* Mobile filter sheet */
.bd-sheet {
    position: fixed;
    inset: 0;
    z-index: 1100;
}
.bd-sheet[hidden] { display: none !important; }
.bd-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}
.bd-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(88vh, 640px);
    display: flex;
    flex-direction: column;
    background: #0b1220;
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    padding: env(safe-area-inset-bottom, 0) 0 0;
}
.bd-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bd-sheet-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.bd-sheet-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}
.bd-sheet-body {
    padding: 16px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bd-sheet-body .bd-select { width: 100%; min-width: 0; }
.bd-sheet-near { width: 100%; justify-content: center; min-height: 44px; }
.bd-sheet-foot {
    display: flex;
    gap: 10px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bd-sheet-foot .bd-btn { flex: 1; justify-content: center; min-height: 44px; }
body.bd-sheet-open { overflow: hidden; }

.bd-list { padding: 8px 0 72px; }
.bd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    align-items: stretch;
    justify-content: start;
}
@media (min-width: 1100px) {
    .bd-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 639px) {
    .bd-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.bd-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    min-height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* Stretched overlay — must stay inside .bd-card (never a .bd-grid child). */
.bd-card-link {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    text-decoration: none;
    color: inherit;
}
.bd-card-clickable:hover,
.bd-card:has(.bd-card-link:focus-visible) {
    border-color: rgba(56, 189, 248, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.bd-card-top { display: flex; gap: 12px; align-items: flex-start; position: relative; flex: 1 1 auto; min-height: 0; }
.bd-card-chevron {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1.2rem;
    line-height: 1;
    padding-top: 4px;
    flex-shrink: 0;
}
.bd-card-detail-hint { pointer-events: none; opacity: 0.72; font-weight: 500; }
.bd-card-head { flex: 1; min-width: 0; }
.bd-logo-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}
.bd-logo-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}
.bd-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.06);
}
.bd-card-head h2 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bd-location,
.bd-distance {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}
.bd-distance { color: #38bdf8; font-weight: 600; }

.bd-badges { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.bd-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #e0f2fe;
    line-height: 1.2;
}

.bd-desc {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 1 auto;
}

.bd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}
.bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    min-height: 44px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.bd-btn:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}
.bd-btn-primary { background: #0284c7; color: #fff; flex: 1 1 auto; }
.bd-btn-primary:hover { background: #0369a1; color: #fff; }
.bd-btn-wa { background: #16a34a; color: #fff; flex: 1 1 auto; }
.bd-btn-wa:hover { background: #15803d; color: #fff; }
.bd-btn-ghost {
    background: rgba(56, 189, 248, 0.12);
    color: #e0f2fe;
    border: 1px solid rgba(56, 189, 248, 0.35);
}
.bd-btn-muted {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 639px) {
    .bd-actions .bd-btn-primary,
    .bd-actions .bd-btn-wa {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
    }
    .bd-actions .bd-card-detail-hint {
        flex: 1 1 100%;
        justify-content: center;
        min-height: 36px;
    }
}

.bd-empty {
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.02);
}
.bd-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bd-empty-icon i { font-size: 1.8rem; color: #38bdf8; }
.bd-empty h2 { color: #fff; font-size: 1.25rem; margin: 0 0 10px; font-weight: 700; }
.bd-empty p { max-width: 480px; margin: 0 auto 14px; line-height: 1.6; }
.bd-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 18px 0 8px;
}
.bd-empty-actions .bd-btn { min-width: 180px; }
.bd-empty-hint { font-size: 0.85rem; color: rgba(255, 255, 255, 0.45) !important; margin-top: 16px !important; }
.bd-empty-link { color: #38bdf8; text-decoration: underline; }

.bd-breadcrumb-compact {
    margin-bottom: 10px;
    font-size: 0.76rem;
}
.bd-breadcrumb-compact a { color: rgba(125, 211, 252, 0.85); }
.bd-breadcrumb-compact span:last-child { color: rgba(255, 255, 255, 0.55); }

.bd-preview-banner { padding: 0 0 8px; }
.bd-preview-banner-inner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #e0f2fe;
    font-size: 0.88rem;
    line-height: 1.5;
}
.bd-preview-banner-inner i { font-size: 1.35rem; color: #38bdf8; flex-shrink: 0; margin-top: 2px; }
.bd-preview-banner-inner strong { color: #fff; }

.bd-card-preview {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.15);
}
.bd-preview-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.18);
    color: #7dd3fc;
    align-self: flex-start;
}

.bd-pagination { margin-top: 28px; }
.bd-pagination .pagination { justify-content: center; }
.bd-pagination .page-link {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}
.bd-pagination .page-item.active .page-link {
    background: #0284c7;
    border-color: #0284c7;
}

@media (max-width: 900px) {
    .bd-shell-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .bd-shell-footer-contact {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

@media (max-width: 768px) {
    .bd-shell-cta {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    .bd-shell-footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 0 22px;
    }
}

@media (max-width: 640px) {
    .bd-sticky-bar { top: 76px; }
    .bd-filter-desktop { display: none; }
    .bd-filter-sheet-open { display: inline-flex; }
    .bd-filter-row { flex-direction: column; align-items: stretch; }
    .bd-select { width: 100%; }
    .bd-hero-compact .bd-hero-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .bd-shell-top-inner { font-size: 0.72rem; }
}

@media (min-width: 641px) {
    .bd-chips-scroll {
        flex-wrap: wrap;
        overflow: visible;
        margin-right: 0;
        padding-right: 0;
    }
}

/* ── Detay sayfası ── */
.bd-detail-page .bd-detail-hero { padding: 24px 0 28px; }
.bd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}
.bd-breadcrumb a { color: #7dd3fc; text-decoration: none; }
.bd-breadcrumb a:hover { text-decoration: underline; }
.bd-detail-preview-note { margin-bottom: 20px; }
.bd-detail-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.bd-detail-logo.bd-logo-box {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    padding: 8px;
}
.bd-detail-head-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.25;
}
.bd-detail-desc {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 720px;
}
.bd-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bd-btn-lg { padding: 0.7rem 1.1rem; font-size: 0.88rem; }
.bd-detail-map,
.bd-detail-address,
.bd-detail-hours,
.bd-detail-services,
.bd-detail-back {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.bd-detail-map h2,
.bd-detail-address h2,
.bd-detail-hours h2,
.bd-detail-services h2 {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 14px;
}
.bd-map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.03);
}
.bd-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.bd-map-link { margin-top: 10px; font-size: 0.85rem; }
.bd-map-link a { color: #7dd3fc; }
.bd-hours-table {
    width: 100%;
    max-width: 420px;
    border-collapse: collapse;
}
.bd-hours-table th,
.bd-hours-table td {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    font-size: 0.88rem;
}
.bd-hours-table th { color: rgba(255, 255, 255, 0.55); font-weight: 600; width: 42%; }
.bd-hours-table td { color: #e2e8f0; }
.bd-hours-table tr.is-closed td { color: rgba(255, 255, 255, 0.4); }
.bd-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bd-service-list li {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.82);
}
.bd-detail-back { padding-bottom: 72px; }

@media (max-width: 640px) {
    .bd-detail-head { flex-direction: column; }
    .bd-detail-logo.bd-logo-box { width: 72px; height: 72px; }
    .bd-detail-page { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0)); }
}

/* ── Phase 4: Paylaş, detay cilası ── */
.bd-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.bd-detail-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.bd-detail-title-row h1 { margin: 0; }
.bd-open-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.bd-open-badge.is-open {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.bd-open-badge.is-closed {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.28);
}
.bd-detail-contact {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}
.bd-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.bd-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.5;
}
.bd-contact-list i {
    color: #7dd3fc;
    font-size: 1.15rem;
    line-height: 1.35;
    flex-shrink: 0;
}
.bd-contact-list a {
    color: #e2e8f0;
    text-decoration: none;
}
.bd-contact-list a:hover { color: #7dd3fc; text-decoration: underline; }
.bd-detail-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: none;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0));
    background: rgba(15, 23, 42, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
.bd-detail-sticky .bd-btn {
    flex: 1;
    justify-content: center;
    min-height: 48px;
}
@media (max-width: 768px) {
    .bd-detail-sticky { display: flex; }
    .bd-detail-actions .bd-btn-primary,
    .bd-detail-actions .bd-btn-wa { display: none; }
}
.bd-share {
    position: relative;
    z-index: 2;
}
.bd-card > .bd-share {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}
.bd-share-compact .bd-share-trigger {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}
.bd-share-compact .bd-share-trigger:hover,
.bd-share-compact .bd-share-trigger:focus-visible {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.45);
    color: #fff;
}
.bd-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bd-share-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 190px;
    padding: 6px;
    border-radius: 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 50;
}
.bd-card > .bd-share .bd-share-menu {
    top: calc(100% + 4px);
}
.bd-share-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #e2e8f0;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    min-height: 44px;
    box-sizing: border-box;
}
.bd-share-item:hover,
.bd-share-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
}
.bd-share-item i { font-size: 1.1rem; }
.bd-share-toast {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.92);
    color: #052e16;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 60;
    pointer-events: none;
}
.bd-detail-actions .bd-share .bd-share-menu { left: 0; right: auto; }
@media (min-width: 769px) {
    .bd-detail-actions .bd-share .bd-share-menu { left: auto; right: 0; }
}
