.hnb {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    text-align: right;
    font-family: yekan, "IRANYekan", Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.8;
    background: #f4f6f9;
    color: #3f4064;
}
.hnb :where(h1, h2, p, span, strong, b, a, button, label) {
    font-family: inherit;
    text-align: inherit;
}
.hnb [dir="ltr"],
.hnb .leaflet-control-attribution,
.hnb .leaflet-control-scale-line {
    direction: ltr;
    text-align: center;
    font-family: Tahoma, sans-serif;
}
.hnb .fa-light,
.hnb .fal {
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    line-height: 1;
    margin-inline-end: 0.45em;
}
.hnb .fa-arrow-right:before { content: "\f061"; }
.hnb .fa-store:before { content: "\f54e"; }
.hnb .fa-location-dot:before { content: "\f3c5"; }
.hnb .fa-location-crosshairs:before { content: "\f601"; }
.hnb .fa-circle-info:before { content: "\f05a"; }
.hnb .fa-city:before { content: "\f64f"; }
.hnb .fa-diamond-turn-right:before { content: "\e5b8"; }
.hnb .fa-map:before { content: "\f279"; }
.hnb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
}
.hnb-bar h1 {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #102033;
}
.hnb-bar__back,
.hnb-bar__mark {
    min-width: 72px;
    font-size: 12px;
    text-decoration: none;
    color: #2563eb;
}
.hnb-bar__back {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-align: right;
}
.hnb-bar__mark {
    text-align: center;
    color: #64748b;
    font-weight: 600;
}
.hnb-main {
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 16px 32px;
    text-align: right;
}
.hnb-gate {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 22px 20px;
    line-height: 1.9;
    text-align: right;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}
.hnb-gate p {
    margin: 0;
    color: #334155;
    font-size: 12px;
    text-align: right;
}
.hnb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    border: 0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}
.hnb-btn:hover {
    background: #1d4ed8;
}
.hnb-btn:disabled {
    opacity: 0.6;
    cursor: wait;
    box-shadow: none;
}
.hnb-hint {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 12px;
    text-align: right;
}
.hnb-map-wrap {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    height: 58vh;
    min-height: 340px;
    background: #eef2f7;
    border: 1px solid #e8edf4;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}
.hnb-map {
    height: 100%;
    width: 100%;
}
.hnb-card {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 18px 18px 8px;
    text-align: right;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.05);
}
.hnb-card h2 {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 16px;
    color: #102033;
    text-align: right;
}
.hnb-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #eef2f6;
    font-size: 12px;
    text-align: right;
}
.hnb-row span {
    color: #64748b;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    text-align: right;
}
.hnb-row strong,
.hnb-row b {
    color: #102033;
    font-weight: 700;
    text-align: right;
}
.hnb-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 10px;
}
.hnb-actions a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 12px 10px;
    font-weight: 700;
    font-size: 14px;
}
.hnb-actions a.primary {
    background: #2563eb;
    color: #fff;
}
.hnb-actions a.ghost {
    background: #f1f5f9;
    color: #1e3a8a;
}
.hnb-actions--soft a {
    font-weight: 600;
    font-size: 12px;
    padding: 10px;
}
.hnb-paths {
    margin: 8px 0 4px;
    padding-top: 8px;
    border-top: 1px solid #eef2f6;
}
.hnb-paths__title {
    margin: 0 0 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.hnb-path {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
}
.hnb-path__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}
.hnb-path strong {
    display: block;
    color: #102033;
    font-size: 14px;
}
.hnb-path em {
    display: block;
    font-style: normal;
    color: #64748b;
    font-size: 12px;
}
.hnb-pin--you {
    width: 30px;
    height: 30px;
    background: #0f766e;
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.35);
}
.hnb-card a {
    color: #2563eb;
}
.is-hidden {
    display: none !important;
}
.hnb-err {
    color: #b42318;
}
.leaflet-container {
    font-family: inherit;
    background: #e8eef3;
}
.hnb-pin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.hnb-pin .fa-light {
    margin: 0;
    font-size: 16px;
}
