.bk-header {
    --bk-header-red: #ad2027;
    --bk-header-red-hover: #c32932;
    --bk-header-ink: #251515;
    --bk-header-text: #fffafa;
    --bk-header-muted: #e2d3d4;
    --bk-header-border: #ffffff29;
    position: absolute;
    inset: 22px 0 auto;
    z-index: 11;
    color: var(--bk-header-text);
    text-align: start;
}

.bk-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2.15vw, 32px);
    width: min(1320px, calc(100% - 48px));
    min-height: 76px;
    margin-inline: auto;
    padding: 8px clamp(12px, 1.6vw, 24px);
    background: var(--bk-header-ink);
    border: 1px solid var(--bk-header-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px #20070745;
}

.bk-header__brand {
    flex: 0 0 auto;
}

.bk-header__brand img {
    display: block;
    width: clamp(96px, 9vw, 124px);
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.bk-header__contact,
.bk-header__actions,
.bk-header__primary,
.bk-header__numbers {
    display: flex;
    align-items: center;
}

.bk-header__contact {
    gap: 10px;
    font-size: .875rem;
    line-height: 1.6;
}

.bk-header__address {
    flex: 0 1 310px;
    color: var(--bk-header-muted);
}

.bk-header__call {
    flex: 0 0 auto;
}

.bk-header__icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff12;
    color: var(--bk-header-text);
    font-size: .95rem;
}

.bk-header__primary {
    gap: .65em;
    white-space: nowrap;
}

.bk-header__primary span {
    color: var(--bk-header-muted);
}

.bk-header__primary a {
    color: var(--bk-header-text);
    font-family: iranyekan-bold, sans-serif;
}

.bk-header__numbers {
    flex-wrap: wrap;
    column-gap: 12px;
}

.bk-header__numbers a,
.bk-header__details a {
    color: var(--bk-header-text);
    white-space: nowrap;
}

.bk-header__primary a:hover,
.bk-header__numbers a:hover,
.bk-header__details a:hover {
    color: var(--bk-header-text);
    text-decoration: underline;
    text-underline-offset: .22em;
}

.bk-header__actions {
    flex: 0 0 auto;
    gap: 10px;
}

.bk-header__portal,
.bk-header__toggle,
.bk-header__close,
.bk-header__social a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    font: .875rem iranyekan-bold, sans-serif;
    white-space: nowrap;
}

.bk-header__portal,
.bk-header__toggle,
.bk-header__close,
.bk-header__social a {
    min-width: 44px;
    color: var(--bk-header-text);
    background: var(--bk-header-red);
}

.bk-header__portal:hover,
.bk-header__toggle:hover,
.bk-header__close:hover,
.bk-header__social a:hover {
    background: var(--bk-header-red-hover);
    color: var(--bk-header-text);
}

.bk-header__toggle i,
.bk-header__close i {
    font-size: 1.15rem;
}

.bk-header :focus-visible {
    outline: 2px solid var(--bk-header-text);
    outline-offset: 3px;
}

.bk-header__drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(100%, 392px);
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-inline-end: 1px solid var(--bk-header-border);
    background: var(--bk-header-ink);
    color: var(--bk-header-text);
    box-shadow: -16px 0 48px #19090955;
}

.bk-header__drawer::backdrop {
    background: #180809a6;
}

html:has(.bk-header__drawer[open]) {
    overflow: hidden;
}

.bk-header__drawer-content {
    padding: 0 24px 24px;
}

.bk-header__drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 16px;
    border-bottom: 1px solid var(--bk-header-border);
    background: var(--bk-header-ink);
}

.bk-header__drawer-head h2 {
    color: inherit;
    font: 1.15rem iranyekan-bold, sans-serif;
}

.bk-header__nav {
    padding-block: 8px 14px;
}

.bk-header__nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-inline: 12px;
    border-radius: 8px;
    color: var(--bk-header-text);
    font-size: .9375rem;
}

.bk-header__nav a:hover,
.bk-header__nav a[aria-current="page"] {
    background: #ad20274d;
    color: var(--bk-header-text);
}

.bk-header__nav i {
    font-size: .75rem;
    color: var(--bk-header-muted);
}

.bk-header__drawer .bk-header__portal {
    width: 100%;
}

.bk-header__details {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--bk-header-border);
    color: var(--bk-header-muted);
}

.bk-header__details .bk-header__numbers a:first-child {
    font-family: iranyekan-bold, sans-serif;
}

.bk-header__details .bk-header__numbers a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
}

.bk-header__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1050px) {
    .bk-header__address {
        display: none;
    }
}

@media (max-width: 720px) {
    .bk-header {
        inset-block-start: 14px;
    }

    .bk-header__bar {
        width: calc(100% - 24px);
        min-height: 66px;
    }

    .bk-header__actions .bk-header__portal {
        display: none;
    }
}

@media (max-width: 540px) {
    .bk-header__bar {
        gap: 8px;
    }

    .bk-header__brand img {
        width: clamp(74px, 23vw, 96px);
    }

    .bk-header__call {
        gap: 5px;
    }

    .bk-header__call .bk-header__icon {
        flex-basis: 24px;
        height: 24px;
        background: none;
        font-size: .8125rem;
    }

    .bk-header__primary a {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }

    .bk-header__primary span,
    .bk-header__bar .bk-header__numbers,
    .bk-header__toggle span {
        display: none;
    }
}
