/* ==========================================================================
   Public business directory shell + directory page (bizd-*)
   ========================================================================== */

.saja-biz-public-body {
    --bizd-green: #1b6b42;
    --bizd-green-dark: #0d4a2d;
    --bizd-green-mid: #145533;
    --bizd-ink: #1d2b3a;
    --bizd-muted: #6b7785;
    --bizd-line: #e6ecea;
    --bizd-bg: #eef3ef;
    --bizd-gap: 10px;
    --bizd-radius: 16px;
    --bizd-shadow: 0 4px 16px rgba(13, 74, 45, 0.07);
    background: var(--bizd-bg);
    color: var(--bizd-ink);
    overflow-x: hidden;
}

html:has(.saja-biz-public-body) {
    overflow-x: hidden;
}

/* The Falcon theme pads every <section>; the directory controls its own rhythm. */
.bizd-page section,
.bizd-main section {
    padding-top: 0;
    padding-bottom: 0;
}

/* No bottom app nav is rendered by the shajareh shell on these pages. */
body.saja-biz-public-body .content,
body.saja-biz-public-body .saja-app-shell {
    padding-bottom: 0 !important;
}

.bizd-masthead {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 72%, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px),
        linear-gradient(165deg, var(--bizd-green-dark) 0%, var(--bizd-green) 52%, var(--bizd-green-mid) 100%);
    background-size: 26px 26px, 16px 16px, auto;
    color: #fff;
    padding: 0.7rem 1rem;
}

.bizd-masthead-inner {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
}

.bizd-masthead-inner > .bizd-icon-btn {
    grid-column: 1;
}

.bizd-lang-switch {
    grid-column: 3;
    justify-self: end;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    direction: ltr;
}

.bizd-lang-switch a {
    color: rgba(255, 255, 255, 0.88);
    min-width: 2.1rem;
    text-align: center;
    padding: 0.22rem 0.5rem;
}

.bizd-lang-switch a.is-active {
    background: #fff;
    color: var(--bizd-green-dark);
}

.saja-biz-public-body .bizd-lang-switch a:hover {
    color: #fff;
}

.saja-biz-public-body .bizd-lang-switch a.is-active:hover {
    color: var(--bizd-green-dark);
}

.bizd-icon-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    flex-shrink: 0;
}

.bizd-icon-btn:hover,
.bizd-icon-btn:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.bizd-icon-btn-dark {
    background: #eef3ef;
    color: var(--bizd-green-dark);
}

.bizd-icon-btn-dark:hover,
.bizd-icon-btn-dark:focus-visible {
    background: #dbe7e0;
    color: var(--bizd-green-dark);
}

.bizd-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    text-decoration: none;
    min-width: 0;
    justify-self: center;
    grid-column: 2;
}

.bizd-brand:hover {
    color: #fff;
}

.bizd-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    min-width: 0;
    text-align: start;
}

.bizd-brand-text small {
    font-size: 0.68rem;
    opacity: 0.82;
}

.bizd-brand-text strong {
    font-size: 1.02rem;
    font-weight: 800;
    white-space: nowrap;
}

.bizd-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bizd-brand-logo .saja-site-logo-svg {
    color: #fff;
}

.bizd-brand-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.bizd-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: #fff;
    border-bottom: 1px solid var(--bizd-line);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.bizd-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.55rem 0.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--bizd-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    text-align: center;
}

.bizd-tab i {
    font-size: 1.05rem;
}

.bizd-tab:hover {
    color: var(--bizd-green);
}

.bizd-tab.is-active {
    color: var(--bizd-green);
    border-bottom-color: var(--bizd-green);
}

.bizd-main {
    display: block;
}

/* Drawer + bottom sheet ---------------------------------------------------- */

.bizd-drawer,
.bizd-sheet {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.bizd-drawer[hidden],
.bizd-sheet[hidden] {
    display: none;
}

.bizd-drawer-backdrop,
.bizd-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 34, 24, 0.45);
}

.bizd-drawer-panel {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(300px, 84vw);
    background: #fff;
    box-shadow: 8px 0 28px rgba(13, 74, 45, 0.18);
    display: flex;
    flex-direction: column;
}

html[dir="rtl"] .bizd-drawer-panel {
    box-shadow: -8px 0 28px rgba(13, 74, 45, 0.18);
}

.bizd-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--bizd-line);
    font-weight: 800;
    color: var(--bizd-green-dark);
}

.bizd-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0.5rem;
    display: grid;
    gap: 2px;
    overflow-y: auto;
}

.bizd-drawer-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    color: var(--bizd-ink);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.bizd-drawer-list a:hover {
    background: #eef3ef;
    color: var(--bizd-green);
}

.bizd-drawer-list i {
    width: 1.2rem;
    text-align: center;
    color: var(--bizd-green);
}

.bizd-sheet-panel {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    width: min(760px, 100%);
    margin-inline: auto;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 0 1rem 1.25rem;
    max-height: 78vh;
    overflow-y: auto;
}

.bizd-sheet-head {
    position: sticky;
    top: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.9rem 0 0.7rem;
}

.bizd-sheet-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bizd-green-dark);
}

.bizd-sheet-body {
    font-size: 0.88rem;
    line-height: 1.85;
    color: #334155;
}

.bizd-sheet-body p {
    margin: 0 0 0.6rem;
}

.bizd-sheet-meta {
    color: var(--bizd-muted);
    font-size: 0.8rem;
}

.bizd-help-list {
    margin: 0;
    padding-inline-start: 1.15rem;
    display: grid;
    gap: 0.4rem;
}

/* Directory page ----------------------------------------------------------- */

.bizd-page {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: var(--bizd-gap) 1rem 0;
    display: grid;
    gap: var(--bizd-gap);
    box-sizing: border-box;
}

.bizd-page > * {
    min-width: 0;
    max-width: 100%;
}

.bizd-breadcrumb {
    font-size: 0.8rem;
    color: var(--bizd-muted);
}

.bizd-breadcrumb a {
    color: var(--bizd-green);
    text-decoration: none;
}

.bizd-card,
.bizd-section {
    background: #fff;
    border-radius: var(--bizd-radius);
    box-shadow: var(--bizd-shadow);
    padding: 0.85rem 0.9rem;
    min-width: 0;
    box-sizing: border-box;
}

.bizd-card-head,
.bizd-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.bizd-card-title,
.bizd-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--bizd-ink);
    min-width: 0;
}

.bizd-section-title {
    margin-bottom: 0.6rem;
}

.bizd-section-head .bizd-section-title {
    margin-bottom: 0;
}

.bizd-card-icon,
.bizd-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--bizd-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bizd-section-icon {
    background: #e8f5ec;
    color: var(--bizd-green);
}

.bizd-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bizd-muted);
    white-space: nowrap;
}

.bizd-count-pill b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--bizd-green);
    color: #fff;
    font-size: 0.72rem;
}

.bizd-count-pill.is-plain b {
    background: #eef3ef;
    color: var(--bizd-green-dark);
}

.bizd-card-lead {
    margin: -0.3rem 0 0.6rem;
    font-size: 0.8rem;
    color: var(--bizd-muted);
}

.bizd-map-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.saja-biz-public-body .bizd-map.saja-biz-map,
.saja-biz-public-body .bizd-map {
    height: min(38vh, 240px);
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid var(--bizd-line);
}

.saja-biz-public-body .bizd-map .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

.bizd-map-hint {
    position: absolute;
    inset-inline-start: 10px;
    bottom: 10px;
    z-index: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0.4rem 0.6rem;
    box-shadow: 0 4px 14px rgba(13, 74, 45, 0.14);
    pointer-events: none;
}

.bizd-map-hint i {
    color: var(--bizd-green);
}

.bizd-map-hint span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.bizd-map-hint strong {
    font-size: 0.74rem;
    font-weight: 700;
}

.bizd-map-hint small {
    font-size: 0.66rem;
    color: var(--bizd-muted);
}

/* Category chips */

.bizd-chip-row {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    cursor: grab;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    user-select: none;
}

.bizd-chip-row.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.bizd-chip-row.is-dragging .bizd-chip {
    pointer-events: none;
}

.bizd-chip-row.is-expanded {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    overflow: visible;
    cursor: default;
    touch-action: auto;
    user-select: auto;
}

.bizd-chip {
    position: relative;
    flex: 0 0 74px;
    width: 74px;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.5rem 0.25rem;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f6f8f7;
    color: var(--bizd-ink);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.bizd-chip-row.is-expanded .bizd-chip {
    flex: initial;
    width: auto;
}

.bizd-chip:hover {
    color: var(--bizd-ink);
}

.bizd-chip.is-extra {
    display: none;
}

.bizd-chip-row.is-expanded .bizd-chip.is-extra {
    display: flex;
}

.bizd-chip-icon {
    font-size: 1.05rem;
}

.bizd-chip-title {
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bizd-chip-count {
    position: absolute;
    top: 4px;
    inset-inline-start: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0 0.28rem;
}

.bizd-chip.is-active {
    border-color: currentColor;
    box-shadow: 0 2px 10px rgba(13, 74, 45, 0.1);
}

.bizd-chip-tone-0 { background: #e8f5ec; color: #1b6b42; }
.bizd-chip-tone-1 { background: #fdeaec; color: #d1435b; }
.bizd-chip-tone-2 { background: #f3ebfd; color: #7c4dcc; }
.bizd-chip-tone-3 { background: #fff1e2; color: #c9711c; }
.bizd-chip-tone-4 { background: #e6f1fd; color: #2467c4; }
.bizd-chip-tone-5 { background: #e5f6f4; color: #12796f; }
.bizd-chip-tone-6 { background: #fdf2dc; color: #a9821b; }
.bizd-chip-tone-7 { background: #eceef8; color: #4a55a8; }

.bizd-chip-more {
    background: #f1f3f4;
    color: var(--bizd-muted);
    border-color: var(--bizd-line);
}

/* Location filter */

.bizd-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
}

.bizd-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.bizd-field > span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bizd-muted);
}

.bizd-field .form-select {
    border-radius: 12px;
    border: 1px solid var(--bizd-line);
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    background-color: #fbfcfb;
    max-width: 100%;
    min-width: 0;
}

.bizd-filter-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 999px;
    padding: 0.32rem 0.8rem;
    background: var(--bizd-green);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.bizd-filter-apply:hover {
    background: var(--bizd-green-dark);
}

/* Search */

.bizd-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f6f8f7;
    border: 1px solid var(--bizd-line);
    border-radius: 14px;
    padding: 0.3rem 0.7rem;
    margin-bottom: var(--bizd-gap);
}

.bizd-search-icon {
    color: var(--bizd-muted);
    font-size: 0.85rem;
}

.bizd-search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 0.85rem;
    padding: 0.35rem 0;
    outline: none;
}

.bizd-search-btn {
    border: 0;
    border-radius: 10px;
    background: var(--bizd-green);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
}

/* Business cards */

.bizd-list {
    display: grid;
    gap: var(--bizd-gap);
}

.bizd-empty {
    margin: 0;
    padding: 1.1rem;
    text-align: center;
    color: var(--bizd-muted);
    background: #f6f8f7;
    border-radius: 12px;
    font-size: 0.85rem;
}

.bizd-biz-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    background: #fff;
    border: 1px solid var(--bizd-line);
    border-radius: 14px;
    padding: 0.75rem 0.8rem;
    min-width: 0;
}

.bizd-biz-body {
    min-width: 0;
}

.bizd-biz-name {
    margin: 0 0 0.3rem;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.bizd-biz-name a {
    color: var(--bizd-ink);
    text-decoration: none;
}

.bizd-biz-name a:hover {
    color: var(--bizd-green);
}

.bizd-biz-featured {
    font-size: 0.64rem;
    font-weight: 700;
    color: #a9821b;
    background: #fdf2dc;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.bizd-biz-cat,
.bizd-biz-line {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #334155;
}

.bizd-biz-cat {
    color: var(--bizd-green);
    font-weight: 700;
}

.bizd-biz-cat i,
.bizd-biz-line i {
    width: 1rem;
    text-align: center;
    color: var(--bizd-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.bizd-biz-line a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bizd-biz-line a:hover {
    color: var(--bizd-green);
}

.bizd-biz-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.75rem;
    min-width: 0;
}

.bizd-biz-address {
    color: var(--bizd-muted);
}

.bizd-biz-tagline {
    margin: 0 0 0.45rem;
    padding: 0.4rem 0.6rem;
    background: #f6f8f7;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.7;
    color: #55616e;
    overflow-wrap: anywhere;
}

.bizd-biz-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.bizd-biz-logo {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--bizd-line);
    background: #f6f8f7;
}

.bizd-biz-logo-ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9aa5b1;
    font-size: 1.6rem;
}

.bizd-biz-go {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f1f5f2;
    color: var(--bizd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
}

.bizd-biz-go:hover {
    background: var(--bizd-green);
    color: #fff;
}

.bizd-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: var(--bizd-gap);
}

.bizd-page-link {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f6f8f7;
    color: var(--bizd-ink);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.bizd-page-link.is-active {
    background: var(--bizd-green);
    color: #fff;
}

/* Footer + bottom nav */

.bizd-footer {
    max-width: 760px;
    margin: var(--bizd-gap) auto 0;
    padding: 0 1rem;
}

.bizd-footer-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--bizd-muted);
    padding: 0 0.25rem 0.4rem;
}

.bizd-footer-version {
    font-variant-numeric: tabular-nums;
}

.bizd-footer-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--bizd-green-dark);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 14px 14px 0 0;
    padding: 0.7rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.bizd-footer-back:hover {
    color: #fff;
}

.bizd-bottom-nav {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 0.15rem;
    background: #fff;
    border-top: 1px solid var(--bizd-line);
    box-shadow: 0 -4px 18px rgba(13, 74, 45, 0.08);
    padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
}

body.saja-biz-public-body .bizd-bottom-nav,
body.saja-biz-public-body .bizd-bottom-nav.is-profile {
    background: #fff;
}

body.saja-biz-public-body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

.bizd-bnav-item,
.bizd-bnav-fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    border: 0;
    background: transparent;
    color: var(--bizd-muted);
    font-size: 0.66rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.2rem 0;
    cursor: pointer;
}

.bizd-bnav-item i {
    font-size: 1.05rem;
}

.bizd-bnav-item:hover,
.bizd-bnav-fab:hover {
    color: var(--bizd-green);
}

.bizd-bnav-item.is-active {
    color: var(--bizd-green);
}

.bizd-bnav-fab-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bizd-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-top: -18px;
    box-shadow: 0 6px 16px rgba(27, 107, 66, 0.35);
}

.bizd-lang-switch-drawer {
    grid-column: auto;
    justify-self: end;
    border-color: var(--bizd-line);
    background: #fff;
}

.bizd-lang-switch-drawer a {
    color: var(--bizd-ink);
}

.bizd-lang-switch-drawer a.is-active,
.saja-biz-public-body .bizd-lang-switch-drawer a.is-active {
    background: var(--bizd-green);
    color: #fff;
}

.bizd-drawer-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
}

/* Profile page ------------------------------------------------------------- */

.saja-biz-profile-body {
    background: #f3f5f4;
}

.saja-biz-profile-body .bizd-page section,
.saja-biz-profile-body .bizp-page section,
.saja-biz-profile-body .bizd-main section {
    padding-top: 0;
    padding-bottom: 0;
}

/* Falcon zeros section padding; restore card padding so content is not flush/overlapping. */
.saja-biz-public-body .bizd-main .bizp-card,
.saja-biz-profile-body .bizp-page .bizp-card {
    padding: 0.95rem 1rem;
}

.bizp-toolbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    border-bottom: 1px solid var(--bizd-line);
}

.bizp-toolbar-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
}

.bizp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bizd-green);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    min-width: 0;
    flex: 1 1 auto;
}

.bizp-back:hover {
    color: var(--bizd-green-dark);
}

.bizp-back span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.bizp-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.bizp-lang-switch {
    grid-column: auto;
    justify-self: auto;
    border-color: #d5e0d9;
    background: #fff;
    direction: ltr;
}

.bizp-toolbar .bizp-lang-switch a,
.saja-biz-profile-body .bizp-lang-switch a {
    color: var(--bizd-ink);
    min-width: 1.85rem;
    padding: 0.18rem 0.42rem;
}

.bizp-toolbar .bizp-lang-switch a.is-active,
.saja-biz-profile-body .bizp-lang-switch a.is-active,
.saja-biz-public-body .bizp-lang-switch a.is-active:hover {
    background: var(--bizd-green);
    color: #fff;
}

.saja-biz-public-body .bizp-lang-switch a:hover {
    color: var(--bizd-green-dark);
}

.bizp-tool-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3ef;
    color: var(--bizd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bizp-page {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    padding: var(--bizd-gap) 1rem 0;
    display: grid;
    gap: var(--bizd-gap);
    box-sizing: border-box;
}

.bizp-page > * {
    min-width: 0;
    max-width: 100%;
}

.bizp-card {
    background: #fff;
    border-radius: var(--bizd-radius);
    box-shadow: var(--bizd-shadow);
    padding: 0.85rem 0.9rem;
    min-width: 0;
    box-sizing: border-box;
}

.bizp-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--bizd-ink);
}

.bizp-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #e8f5ec;
    color: var(--bizd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bizp-hero-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
}

.bizp-hero-copy {
    min-width: 0;
}

.bizp-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
    color: var(--bizd-ink);
}

.bizp-hero-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    margin-bottom: 0.4rem;
}

.bizp-plan {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--bizd-green);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.12rem 0.5rem;
}

.bizp-featured {
    font-size: 0.64rem;
    font-weight: 700;
    color: #a9821b;
    background: #fdf2dc;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
}

.bizp-meta {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--bizd-muted);
}

.bizp-meta:last-child {
    margin-bottom: 0;
}

.bizp-meta i {
    color: var(--bizd-green);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.bizp-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bizp-logo-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f6f8f7;
    border: 1px solid var(--bizd-line);
    box-shadow: 0 2px 10px rgba(13, 74, 45, 0.08);
}

.bizp-logo {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: #fff;
}

.bizp-logo-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa5b1;
    font-size: 1.7rem;
    background: #f6f8f7;
}

.bizp-promo {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.7rem 0 0;
    padding: 0.55rem 0.7rem;
    background: #eef6f1;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #334155;
}

.bizp-promo i {
    color: var(--bizd-green);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.bizp-about-text {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.9;
    color: #334155;
}

.bizp-about:not(.is-open) .bizp-about-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bizp-about-toggle {
    display: flex;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--bizd-green);
    justify-content: center;
    padding: 0.35rem 0 0;
    cursor: pointer;
}

.bizp-about.is-open .bizp-about-toggle i {
    transform: rotate(180deg);
}

.bizp-locked {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: var(--bizd-muted);
}

.bizp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.bizp-chip {
    background: #f6f8f7;
    border-radius: 999px;
    padding: 0.22rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.bizp-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bizp-contact-list li + li {
    border-top: 1px solid var(--bizd-line);
}

.bizp-contact-row {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.62rem 0;
    color: var(--bizd-ink);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.bizp-contact-row:hover {
    color: var(--bizd-green);
}

.bizp-contact-lead,
.bizp-contact-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e8f5ec;
    color: var(--bizd-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.bizp-contact-action {
    border-radius: 50%;
    font-size: 0.72rem;
}

.bizp-contact-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bizp-contact-row.is-instagram .bizp-contact-lead,
.bizp-contact-row.is-instagram .bizp-contact-action,
.bizp-contact-row.is-telegram .bizp-contact-lead,
.bizp-contact-row.is-telegram .bizp-contact-action,
.bizp-contact-row.is-whatsapp .bizp-contact-lead,
.bizp-contact-row.is-whatsapp .bizp-contact-action {
    color: var(--bizd-green);
}

.bizp-empty {
    margin: 0;
    color: var(--bizd-muted);
    font-size: 0.84rem;
}

.bizp-address {
    margin: 0 0 0.55rem;
    font-size: 0.84rem;
    color: #334155;
}

.saja-biz-profile-body .bizp-map.saja-biz-detail-map,
.bizp-map {
    height: 168px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--bizd-line);
    z-index: 1;
}

.bizp-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.7rem;
    width: 100%;
    border-radius: 12px;
    background: var(--bizd-green);
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    padding: 0.72rem 1rem;
}

.bizp-directions:hover {
    background: var(--bizd-green-dark);
    color: #fff;
}

.bizp-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
}

.bizp-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.bizp-toast {
    position: fixed;
    inset-inline: 1rem;
    bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    margin: 0 auto;
    max-width: 280px;
    text-align: center;
    background: var(--bizd-green-dark);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.saja-biz-bottom-nav.is-profile .bizd-bnav-fab-btn,
.bizd-bottom-nav.is-profile .bizd-bnav-fab-btn {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
}

html[dir="ltr"] .saja-biz-profile-body,
html[dir="ltr"] .bizp-page,
html[dir="ltr"] .bizp-toolbar,
html[dir="ltr"] .bizp-toolbar-inner,
html[dir="ltr"] .bizp-back,
html[dir="ltr"] .bizp-card,
html[dir="ltr"] .bizp-card-title,
html[dir="ltr"] .bizp-hero-top,
html[dir="ltr"] .bizp-hero-copy,
html[dir="ltr"] .bizp-hero-name-row,
html[dir="ltr"] .bizp-meta,
html[dir="ltr"] .bizp-promo,
html[dir="ltr"] .bizp-about-text,
html[dir="ltr"] .bizp-address,
html[dir="ltr"] .bizp-contact-row,
html[dir="ltr"] .bizp-directions,
html[dir="ltr"] .bizd-bottom-nav.is-profile {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .bizp-back span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

@media (max-width: 380px) {
    .bizd-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bizd-biz-logo {
        width: 66px;
        height: 66px;
    }

    .bizp-logo-wrap {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }
}

.saja-biz-page {
    max-width: 1400px;
    margin: 0 auto;
}

.saja-biz-map {
    height: min(520px, 70vh);
    border-radius: 12px;
    background: #eef2f7;
    z-index: 1;
}

.saja-biz-map-hero {
    height: min(46vh, 380px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(33, 50, 91, 0.08);
}

@media (min-width: 992px) {
    .saja-biz-map-hero {
        height: min(440px, 52vh);
    }
}

.saja-biz-dir-list-section {
    max-width: 900px;
}

.saja-biz-detail-map {
    height: 280px;
    border-radius: 0 0 12px 12px;
    z-index: 1;
}

.saja-biz-cover {
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #e9ecef;
}

.saja-biz-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.saja-biz-cluster-wrap { background: transparent; border: none; }
.saja-biz-cluster {
    background: var(--saja-accent);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.saja-biz-loc-icon { background: transparent; border: none; }

.saja-biz-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 1.5rem;
}

.saja-biz-list-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.saja-biz-list-logo-ph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #868e96;
}

.saja-biz-list-title {
    word-break: break-word;
}

.saja-biz-groups {
    margin-bottom: 0;
}

.saja-biz-group-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 118px;
    padding: 0.85rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.saja-biz-group-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--saja-accent-rgb), 0.12);
    border-color: color-mix(in srgb, var(--saja-accent) 35%, white);
    color: inherit;
}

.saja-biz-group-card.active {
    border-color: var(--saja-accent);
    background: color-mix(in srgb, var(--saja-accent) 6%, white);
    box-shadow: 0 4px 12px rgba(var(--saja-accent-rgb), 0.15);
}

.saja-biz-group-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--saja-accent) 10%, white);
    color: var(--saja-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.saja-biz-group-card.active .saja-biz-group-icon {
    background: var(--saja-accent);
    color: #fff;
}

.saja-biz-group-title {
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.saja-biz-group-count {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    background: #e9ecef;
    color: #495057;
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
    line-height: 1.4;
}

.saja-biz-group-card.active .saja-biz-group-count {
    background: var(--saja-accent);
    color: #fff;
}

.saja-biz-gallery-img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.saja-biz-marker-popup {
    min-width: 160px;
}

.saja-biz-marker-popup a {
    font-weight: 600;
}

.leaflet-container {
    font-family: inherit;
}

/* Standalone public shell (/business) */
.saja-biz-public-body {
    background: #f4f6f9;
    min-height: 100vh;
}

.saja-biz-public-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.saja-biz-public-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    flex-wrap: wrap;
}

.saja-biz-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 1.15rem;
}

.saja-biz-brand:hover {
    color: var(--saja-accent);
}

.saja-biz-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--saja-accent) 0%, var(--saja-accent-dark) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.saja-biz-brand-logo {
    width: auto;
    height: 36px;
    max-width: 140px;
    object-fit: contain;
    border-radius: 6px;
}

.saja-biz-avval-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow .15s ease;
}

.saja-biz-avval-card:hover {
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.1);
}

.saja-biz-avval-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
}

.saja-biz-avval-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.saja-biz-avval-head-text {
    flex: 1;
    min-width: 0;
}

.saja-biz-avval-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    line-height: 1.4;
}

.saja-biz-avval-title a {
    color: #1a1a2e;
    text-decoration: none;
}

.saja-biz-avval-title a:hover {
    color: var(--saja-accent);
}

.saja-biz-avval-badge {
    font-size: 0.7rem;
    vertical-align: middle;
}

.saja-biz-avval-tags {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.45;
}

.saja-biz-avval-desc {
    font-size: 0.88rem;
    color: #495057;
    line-height: 1.65;
    margin-bottom: 0.55rem;
}

.saja-biz-avval-phones,
.saja-biz-avval-email,
.saja-biz-avval-address {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    color: #343a40;
}

.saja-biz-avval-phones a,
.saja-biz-avval-email a {
    color: inherit;
    text-decoration: none;
}

.saja-biz-avval-phones a:hover,
.saja-biz-avval-email a:hover {
    color: var(--saja-accent);
}

.saja-biz-avval-address {
    color: #6c757d;
}

.saja-biz-avval-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.saja-biz-dir-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.saja-biz-dir-breadcrumb a {
    color: var(--saja-accent);
    text-decoration: none;
}

.saja-biz-dir-lead {
    font-size: 0.92rem;
    color: #6c757d;
}

.saja-biz-list-stack {
    display: flex;
    flex-direction: column;
}

.saja-biz-taxonomy-branch + .saja-biz-taxonomy-branch {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.saja-biz-public-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.saja-biz-nav-link {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
}

.saja-biz-nav-link:hover {
    background: #f1f3f5;
    color: var(--saja-accent);
}

.saja-biz-nav-link.active {
    background: var(--saja-accent-soft);
    color: var(--saja-accent);
    font-weight: 600;
}

.saja-biz-public-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.saja-biz-public-main {
    min-height: calc(100vh - 120px);
}

.saja-biz-public-footer {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 2rem;
}

.saja-biz-dashboard-kpi {
    text-align: center;
    padding: 1rem;
}

.saja-biz-dashboard-kpi strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
}

.saja-biz-dashboard-kpi span {
    font-size: 0.8rem;
    color: #6c757d;
}

.saja-biz-plan-banner {
    background: linear-gradient(135deg, #f8fafc 0%, var(--saja-accent-soft) 100%);
    border: 1px solid rgba(13, 110, 253, 0.12);
}

@media (max-width: 991.98px) {
    .saja-biz-map {
        height: 360px;
    }
}

@media (max-width: 575.98px) {
    .saja-biz-shajareh-link .me-1 {
        margin: 0 !important;
    }
}

.saja-biz-group-page-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 8px;
}

.saja-biz-group-page-icon-fallback {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--saja-accent-soft), #f8fafc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--saja-accent);
}

.saja-biz-group-taxonomy .saja-biz-branch-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    height: 100%;
}

.saja-biz-activity-list li + li {
    margin-top: 0.35rem;
}

.saja-biz-activity-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
}

.saja-biz-activity-link:hover {
    background: var(--saja-accent-soft);
    color: var(--saja-accent);
}

html[dir="ltr"] .saja-biz-public-body,
html[dir="ltr"] .saja-biz-profile-body,
html[dir="ltr"] .saja-biz-page,
html[dir="ltr"] .saja-biz-public-header,
html[dir="ltr"] .saja-biz-public-footer,
html[dir="ltr"] .bizd-page,
html[dir="ltr"] .bizd-masthead,
html[dir="ltr"] .bizd-tabs,
html[dir="ltr"] .bizd-main,
html[dir="ltr"] .bizd-drawer-panel,
html[dir="ltr"] .bizd-sheet-panel,
html[dir="ltr"] .bizd-footer,
html[dir="ltr"] .bizd-bottom-nav {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .saja-biz-public-header-inner,
html[dir="ltr"] .saja-biz-public-nav,
html[dir="ltr"] .saja-biz-groups,
html[dir="ltr"] .saja-biz-dir-breadcrumb,
html[dir="ltr"] .saja-biz-list-stack,
html[dir="ltr"] .bizd-card-head,
html[dir="ltr"] .bizd-section-head,
html[dir="ltr"] .bizd-card-title,
html[dir="ltr"] .bizd-section-title,
html[dir="ltr"] .bizd-chip-row,
html[dir="ltr"] .bizd-filter-grid,
html[dir="ltr"] .bizd-search,
html[dir="ltr"] .bizd-biz-card,
html[dir="ltr"] .bizd-biz-name,
html[dir="ltr"] .bizd-biz-cat,
html[dir="ltr"] .bizd-biz-line,
html[dir="ltr"] .breadcrumb {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .saja-biz-page .form-label,
html[dir="ltr"] .saja-biz-page .form-select,
html[dir="ltr"] .saja-biz-page .form-control,
html[dir="ltr"] .bizd-field .form-select,
html[dir="ltr"] .bizd-search-input {
    direction: ltr;
    text-align: left;
}

html[dir="ltr"] .bizd-brand-text {
    align-items: flex-start;
    text-align: left;
}

html[dir="ltr"] .bizd-help-list {
    padding-left: 1.15rem;
    padding-right: 0;
}

html[dir="ltr"] .bizd-biz-phones,
html[dir="ltr"] .bizd-biz-line a[href^="tel:"],
html[dir="ltr"] .bizd-biz-line a[href^="mailto:"] {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Layout lock: leftover .saja-biz-map rules and Leaflet inline sizes must not blow the grid. */
@media (max-width: 991.98px) {
    .saja-biz-public-body .bizd-map.saja-biz-map {
        height: min(38vh, 240px);
    }
}

.saja-biz-public-body .bizd-map.saja-biz-map {
    height: min(38vh, 240px);
    width: 100%;
    max-width: 100%;
}

/* Shared business edit form (admin + owner) */
.saja-biz-edit-form .saja-biz-edit-card .card-header {
    background: #f8fafc;
    border-bottom: 1px solid #eef2f6;
}

.saja-biz-upload-tile {
    border: 1px dashed #c5d0d8;
    border-radius: 12px;
    padding: .85rem;
    background: #fbfcfd;
}

.saja-loc-unified-row .form-select {
    min-height: 42px;
}

.saja-loc-unified .form-text {
    font-size: .8rem;
    color: #6b7280;
}


