.av-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: var(--body-bg, #fff);
}

.av-header__top,
.av-header__nav {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(14px, 3vw, 44px);
}

.av-header__top {
    min-height: 78px;
    justify-content: space-between;
    gap: 18px;
}

.av-header__brand-wrap,
.av-header__actions,
.av-header__account-button,
.av-header__nav-link,
.av-header__contact,
.av-header__login,
.av-header__mobile-account,
.av-header__mobile-links a {
    display: inline-flex;
    align-items: center;
}

.av-header__brand-wrap {
    flex: 0 0 auto;
    gap: 10px;
}

.av-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.av-header__brand img,
.av-header__mobile-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.av-header__brand span {
    display: grid;
    gap: 2px;
}

.av-header__brand strong {
    font-size: 1rem;
    font-weight: 800;
}

.av-header__brand small {
    color: #78858b;
    font-size: .72rem;
}

.av-header__mobile-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: var(--main-color-one, #00808b);
    background: transparent;
    font-size: 1.55rem;
}

.av-header__search {
    position: relative;
    flex: 1 1 420px;
    max-width: 520px;
    min-width: 200px;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 6px;
    border: 1px solid #e2e8eb;
    border-radius: 14px;
    background: #fafcfc;
}

.av-header__suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: min(520px, 65vh);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e3eaec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 45, 54, .13);
    z-index: 1050;
}

.av-header__suggestions.is-visible {
    display: block;
}

.av-header__suggestions-title,
.av-header__suggestions-empty {
    padding: 7px 9px;
    color: #839197;
    font-size: .72rem;
}

.av-header__suggestion-group + .av-header__suggestion-group {
    margin-top: 7px;
    padding-top: 6px;
    border-top: 1px solid #edf2f3;
}

.av-header__suggestion-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
}

.av-header__suggestion-group > .av-header__suggestions-title,
.av-header__suggestion-group > .av-header__suggestions-section-empty {
    grid-column: 1 / -1;
}

@media (max-width: 575.98px) {
    .av-header__suggestion-group {
        grid-template-columns: minmax(0, 1fr);
    }
}

.av-header__suggestions-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #536a74;
    font-weight: 800;
}

.av-header__suggestions-title > i {
    display: inline-grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 7px;
    color: #00808b;
    background: #e5f5f6;
    font-size: .82rem;
}

.av-header__suggestions-count {
    margin-right: auto;
    font-size: .68rem;
    font-weight: 600;
}

.av-header__suggestions-section-empty {
    padding: 8px 12px;
    color: #87969c;
    font-size: .72rem;
}

.av-header__suggestions-empty {
    text-align: center;
}

.av-header__suggestions-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px;
    color: #839197;
    font-size: .72rem;
}

.av-header__search .av-header__suggestions-retry,
.av-header__suggestions-retry {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(0, 128, 139, .25);
    border-radius: 8px;
    color: var(--main-color-one, #00808b);
    background: #fff;
    font: inherit;
    font-weight: 700;
}

.av-header__suggestion-skeleton {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px;
}

.av-header__skeleton-icon,
.av-header__skeleton-title,
.av-header__skeleton-meta {
    display: block;
    background: linear-gradient(90deg, #edf2f3 25%, #f8fafb 50%, #edf2f3 75%);
    background-size: 200% 100%;
    animation: av-header-skeleton 1.2s ease-in-out infinite;
}

.av-header__skeleton-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
}

.av-header__skeleton-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.av-header__skeleton-title {
    width: 58%;
    height: 10px;
    border-radius: 999px;
}

.av-header__skeleton-meta {
    width: 38%;
    height: 8px;
    border-radius: 999px;
}

@keyframes av-header-skeleton {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .av-header__skeleton-icon,
    .av-header__skeleton-title,
    .av-header__skeleton-meta {
        animation: none;
    }
}

.av-header__suggestion {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 9px;
    padding: 9px;
    border-radius: 9px;
    color: #43555b;
    text-decoration: none;
}

.av-header__suggestion:hover,
.av-header__suggestion:focus-visible,
.av-search-suggestion:hover,
.av-search-suggestion:focus-visible {
    background: rgba(0, 128, 139, .07);
    color: #006b78;
    outline: 2px solid transparent;
}

.av-header__suggestion > i {
    width: 22px;
    color: var(--main-color-one, #00808b);
    text-align: center;
}

.av-header__suggestion > span,
.av-search-suggestion > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 1px;
}

.av-header__suggestion strong {
    font-size: .8rem;
}

.av-header__suggestion small {
    color: #87969c;
    font-size: .68rem;
}

.av-header__suggestion small,
.av-search-suggestion small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-header__suggestion strong,
.av-search-suggestion strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-header__suggestions-all {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 11px 9px;
    border-top: 1px solid #e9f0f1;
    border-radius: 8px;
    color: #007986;
    background: #f1f9fa;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 800;
}

.av-header__suggestions-all:hover,
.av-header__suggestions-all:focus-visible {
    color: #005c67;
    background: #e4f5f6;
}

.av-header__search > i,
.av-header__mobile-search > i {
    padding-inline: 7px;
    color: #87969c;
}

.av-header__search input,
.av-header__mobile-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .82rem;
}

.av-header__search button {
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--main-color-one, #00808b);
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
}

.av-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 1050;
    display: none;
    max-height: min(480px, 60vh);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e3eaec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 45, 54, .13);
}

.av-search-suggestions.is-visible {
    display: block;
}

.av-search-suggestion {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    padding: 9px;
    border-radius: 9px;
    color: #43555b;
    text-decoration: none;
    font-size: .8rem;
}

.av-search-suggestion small {
    color: #87969c;
    font-size: .68rem;
}

.av-search-suggestion > i {
    width: 22px;
    color: var(--main-color-one, #00808b);
    text-align: center;
}

.universal-search-content_option_searchbox_container .item .input-group > .av-search-field {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    min-width: 0;
    height: 100%;
    text-align: right;
}

.universal-search-content_option_searchbox_container .item .input-group > .av-search-field > .input-text {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #2b475a;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.universal-search-content_option_searchbox_container .item .input-group > .av-search-field > .input-text:focus-visible {
    outline: 2px solid #00808b;
    outline-offset: -3px;
    border-radius: 6px;
}

.universal-search-content_option_searchbox_container .av-search-field .av-search-suggestions {
    width: min(440px, calc(100vw - 32px));
    min-width: 100%;
    left: auto;
    box-sizing: border-box;
    text-align: right;
}

.universal-search-content_option_searchbox_container .item .input-group:focus-within {
    z-index: 20;
}

@media (max-width: 767.98px) {
    .universal-search-content_option_searchbox_container .av-search-field .av-search-suggestions {
        right: 0;
        left: auto;
    }
}

@media (max-width: 767.98px) {
    .av-header__mobile-search {
        max-width: none;
        min-width: 0;
        flex: none;
    }
}

.av-header__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
}

.av-header__contact,
.av-header__login,
.av-header__account-button {
    gap: 7px;
    min-height: 40px;
    padding: 7px 11px;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    font-size: .8rem;
    font-weight: 700;
}

.av-header__account-button {
    border: 2px solid #00808b;
    background: #fff;
}

.av-header__contact {
    color: #718087;
    direction: ltr;
}

.av-header__contact i,
.av-header__login i {
    color: var(--main-color-one, #00808b);
}

.av-header__icon-button {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #52646a;
    text-decoration: none;
    font-size: 1.1rem;
}

.av-header__icon-button:hover,
.av-header__account-button:hover,
.av-header__login:hover,
.av-header__contact:hover {
    color: var(--main-color-one, #00808b);
    background: rgba(0, 128, 139, .07);
}

.av-header__icon-button b {
    position: absolute;
    top: -2px;
    right: -3px;
    min-width: 17px;
    padding: 2px 4px;
    border: 2px solid var(--body-bg, #fff);
    border-radius: 999px;
    color: #fff;
    background: #db3f46;
    font-size: .58rem;
    line-height: 1.1;
    text-align: center;
}

.av-header__avatar {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--main-color-one, #00808b);
    background: rgba(0, 128, 139, .1);
}

.av-header__account-menu,
.av-header__category-menu {
    min-width: 230px;
    margin-top: 8px !important;
    padding: 8px;
    border: 1px solid #e4eaec;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(20, 45, 54, .12);
}

.av-header__account-menu.show,
.av-header__category-menu.show {
    display: block !important;
}

.av-header__account-menu > li,
.av-header__category-menu > li {
    display: block;
    width: 100%;
}

.av-header__account-menu {
    width: min(290px, calc(100vw - 24px));
}

.av-header__account-summary {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
}

.av-header__account-summary small {
    color: #839197;
    direction: ltr;
    text-align: right;
}

.av-header__account-menu .dropdown-item,
.av-header__category-menu .dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: .78rem;
    white-space: normal;
}

.av-header__account-menu .dropdown-item i,
.av-header__category-menu .dropdown-item i {
    width: 18px;
    color: var(--main-color-one, #00808b);
    text-align: center;
}

.av-header__account-menu .av-header__wallet {
    flex-wrap: wrap;
    color: var(--main-color-one, #00808b);
    background: rgba(0, 128, 139, .07);
}

.av-header__account-menu .av-header__wallet:hover,
.av-header__account-menu .av-header__wallet:focus-visible {
    background: rgba(0, 128, 139, .14);
}

.av-header__wallet-balance {
    margin-inline-start: auto;
    font-weight: 700;
    white-space: nowrap;
}

.av-header__nav-wrap {
    border-top: 1px solid rgba(0, 0, 0, .05);
    background: rgba(255, 255, 255, .74);
}

.av-header__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.av-header__nav-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 50px;
}

.av-header__nav-row--secondary {
    min-height: 42px;
    padding-block: 4px;
    border-top: 1px dashed rgba(0, 0, 0, .08);
}

.av-header__nav-link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 5px 12px;
    border: 0;
    border-radius: 9px;
    color: #596a70;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    font: inherit;
    font-size: .8rem;
}

.av-header__nav-link:hover,
.av-header__nav-link.is-active {
    color: var(--main-color-one, #00808b);
    background: rgba(0, 128, 139, .08);
}

.av-header__nav-row--main .av-header__nav-link {
    min-height: 42px;
    padding: 6px 14px;
    font-size: .84rem;
    font-weight: 700;
}

.av-header__nav-row--secondary .av-header__nav-link {
    min-height: 32px;
    gap: 6px;
    padding: 4px 11px;
    color: #66757c;
    font-size: .76rem;
    font-weight: 600;
}

.av-header__nav-row--secondary .av-header__nav-link > i {
    font-size: .95em;
}

.av-header__nav-link--muted {
    margin-right: auto;
}

@media (max-width: 1199.98px) {
    .av-header__nav-wrap {
        display: none;
    }
}

.av-header__offcanvas {
    width: min(90vw, 370px) !important;
}

.av-header__offcanvas .offcanvas-body {
    padding: 20px;
}

.av-header__mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.av-header__mobile-brand img {
    width: 48px;
    height: 48px;
}

.av-header__mobile-account {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 12px;
    color: #fff;
    background: var(--main-color-one, #00808b);
    text-decoration: none;
}

.av-header__mobile-account span {
    flex: 1;
    font-size: .85rem;
    font-weight: 700;
}

.av-header__mobile-search {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
    padding: 10px;
    border: 1px solid #e2e8eb;
    border-radius: 12px;
}

.av-header__mobile-links {
    display: grid;
    gap: 4px;
}

.av-header__mobile-links a {
    gap: 10px;
    padding: 11px 8px;
    border-bottom: 1px solid #eff2f3;
    color: #43555b;
    text-decoration: none;
    font-size: .84rem;
}

.av-header__mobile-links a i {
    width: 20px;
    color: var(--main-color-one, #00808b);
    text-align: center;
}

.av-header__mobile-categories {
    margin-top: 22px;
}

.av-header__mobile-categories h3 {
    margin-bottom: 8px;
    color: #52646a;
    font-size: .82rem;
    font-weight: 800;
}

@media (max-width: 767.98px) {
    .av-header__top {
        min-height: 68px;
        gap: 8px;
    }

    .av-header__brand img {
        width: 44px;
        height: 44px;
    }

    .av-header__brand strong {
        font-size: .88rem;
    }

    .av-header__brand small {
        font-size: .65rem;
    }

    .av-header__actions {
        margin-right: auto;
    }

    .av-header__login {
        padding-inline: 7px;
        font-size: .75rem;
    }
}

@media (max-width: 420px) {
    .av-header__brand small {
        display: none;
    }

    .av-header__login span {
        display: none;
    }
}
