@font-face {
    font-family: "HONOR Sans World";
    src: url("fonts/HONORSansWorld-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
}

@font-face {
    font-family: "HONOR Sans World";
    src: url("fonts/HONORSansWorld-Demibold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
}

.haci-page, .haci-shell {
    --haci-ink: #111319;
    --haci-muted: #515763;
    --haci-blue: #1248de;
    --haci-paper: #f4f6fa;
    --haci-line: #dce0e7;
    --haci-font: "HONOR Sans World", Arial, sans-serif;
    --haci-gutter: 20px;
    --haci-content: 1400px;
    --haci-header-height: 65px;
    --haci-admin-bar: 0px;
    color: var(--haci-ink);
    background: #fff;
    font: 400 14px/20px var(--haci-font);
    isolation: isolate;
}

.admin-bar :is(.haci-page, .haci-shell) { --haci-admin-bar: 32px; }
:is(.haci-page, .haci-shell) *, :is(.haci-page, .haci-shell) *::before, :is(.haci-page, .haci-shell) *::after { box-sizing: border-box; }
:is(.haci-page, .haci-shell) [hidden] { display: none !important; }
:is(.haci-page, .haci-shell) a { color: inherit; text-decoration: none; }
:is(.haci-page, .haci-shell) button { color: inherit; font: inherit; }
:is(.haci-page, .haci-shell) img { display: block; max-width: 100%; height: auto; }
:is(.haci-page, .haci-shell) h1, :is(.haci-page, .haci-shell) h2, :is(.haci-page, .haci-shell) h3, :is(.haci-page, .haci-shell) p { margin: 0; }
:is(.haci-page, .haci-shell) :where(h1, h2, h3, h4) { color: inherit; }
:is(.haci-page, .haci-shell) :where(h1, h2, h3, h4, p, a, summary, label, button, input) {
    font-family: var(--haci-font);
}
:is(.haci-page, .haci-shell) ul { margin: 0; padding: 0; list-style: none; }
:is(.haci-page, .haci-shell) :where(a, button, input, [tabindex]):focus-visible {
    outline: 3px solid #2363ff;
    outline-offset: 4px;
}

.haci-header {
    position: sticky;
    z-index: 40;
    top: var(--haci-admin-bar);
    background: #fff;
    box-shadow: inset 0 -1px #e9ebef;
}
.haci-nav-wrap {
    position: relative;
    display: flex;
    min-height: var(--haci-header-height);
    max-width: 1440px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 20px;
    margin: auto;
}
:is(.haci-page, .haci-shell) .haci-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    line-height: 1;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.055em;
}
.haci-brand img, .haci-brand svg {
    display: block;
    max-width: 115px;
    max-height: 32px;
    width: auto;
    height: auto;
}
.haci-header .haci-brand img {
    width: clamp(80px, 10vw, 100px);
    max-width: none;
    max-height: none;
}
.haci-nav, .haci-nav-list, .haci-header-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 32px);
}
.haci-nav-list > li > a, .haci-nav-trigger, .haci-header-actions a, .haci-header-search summary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.haci-nav a:hover, .haci-nav-trigger:hover, .haci-nav-trigger[aria-expanded="true"] { color: var(--haci-blue); }
.haci-shell .haci-nav-trigger, .haci-shell .haci-nav-back {
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}
.haci-nav-trigger svg { flex: none; }
.haci-nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.haci-nav-panel {
    position: absolute;
    z-index: 41;
    top: 100%;
    inset-inline: 20px;
    max-height: calc(100vh - var(--haci-header-height) - var(--haci-admin-bar) - 16px);
    max-height: calc(100dvh - var(--haci-header-height) - var(--haci-admin-bar) - 16px);
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--haci-line);
    border-radius: 0 0 18px 18px;
    background: #fff;
    box-shadow: 0 18px 36px #141a2429;
}
.haci-nav-back, .haci-nav-shop-mobile { display: none; }
.haci-nav-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.haci-nav-panel-heading h2 { font-size: 23px; line-height: 1.2; }
.haci-shell .haci-nav-selection {
    display: inline-flex;
    min-height: 44px;
    flex: none;
    align-items: center;
    gap: 2px;
    color: var(--haci-blue);
    font-weight: 600;
}
.haci-nav-selection svg { width: 18px; height: 18px; }
.haci-nav-products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.haci-shell .haci-nav-product {
    display: grid;
    height: 100%;
    align-content: start;
    justify-items: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 12px;
    background: var(--haci-paper);
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
}
.haci-nav-product img { width: 100%; height: 96px; object-fit: contain; }
.haci-header-actions { gap: 12px; }
.haci-header-actions :where(svg, img) { width: 24px; height: 24px; }
.haci-header-actions > a, .haci-header-search summary { min-width: 36px; justify-content: center; }
.haci-header-actions > .haci-header-shop {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--haci-ink);
    color: #fff;
}
.haci-header-actions > .haci-header-shop:hover { background: var(--haci-blue); }
.haci-header-search summary { list-style: none; cursor: pointer; }
.haci-header-search summary::-webkit-details-marker { display: none; }
.haci-header-search summary:focus-visible { outline: 3px solid #2363ff; outline-offset: 2px; }
.haci-search {
    position: absolute;
    z-index: 42;
    top: calc(100% + 6px);
    right: var(--haci-gutter);
    width: min(420px, calc(100% - var(--haci-gutter) * 2));
    padding: 16px;
    border: 1px solid var(--haci-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px #141a2429;
}
.haci-search label { display: block; margin-bottom: 8px; font-weight: 700; }
.haci-search > div { display: flex; gap: 8px; }
.haci-search input[type="search"] {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #a5afbf;
    border-radius: 10px;
    color: var(--haci-ink);
    background: #fff;
    font: inherit;
}
.haci-search button { cursor: pointer; }
.haci-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--haci-line);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.haci-menu-toggle svg { width: 20px; height: 20px; }

:is(.haci-page, .haci-shell) .haci-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 19px;
    border: 1px solid transparent;
    border-radius: 100px;
    background: var(--haci-blue);
    color: #fff;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background-color .2s ease, color .2s ease;
}
:is(.haci-page, .haci-shell) .haci-btn:hover { background: #0e36a5; }
:is(.haci-page, .haci-shell) .haci-btn--light { background: #fff; color: #151922; }
:is(.haci-page, .haci-shell) .haci-btn--light:hover { background: #e7ecf9; }
:is(.haci-page, .haci-shell) .haci-btn--secondary { border-color: currentColor; background: transparent; color: inherit; }
:is(.haci-page, .haci-shell) .haci-btn--secondary:hover { background: #747f941f; }

@media (max-width: 1199.98px) {
    .haci-page, .haci-shell { --haci-header-height: 50px; }
    .haci-nav-wrap { gap: 12px; flex-wrap: wrap; }
    .haci-header.haci-menu-ready .haci-menu-toggle { display: inline-flex; order: 3; }
    .haci-nav { width: 100%; justify-content: flex-start; order: 4; padding-bottom: 10px; }
    .haci-nav-list { flex-wrap: wrap; justify-content: flex-start; }
    .haci-header.haci-menu-ready .haci-nav {
        position: absolute;
        z-index: 41;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - var(--haci-header-height) - var(--haci-admin-bar));
        max-height: calc(100dvh - var(--haci-header-height) - var(--haci-admin-bar));
        align-items: stretch;
        padding: 7px var(--haci-gutter) 17px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-bottom: 1px solid #e5e8ee;
        background: #fff;
        box-shadow: 0 18px 30px #20293c1c;
    }
    .haci-header.haci-menu-ready .haci-nav.haci-nav-open { display: block; }
    .haci-header.haci-menu-ready .haci-nav-list { display: block; }
    .haci-nav-shop-mobile { display: block; }
    .haci-header.haci-menu-ready .haci-nav-list > li > a,
    .haci-shell .haci-nav-trigger {
        display: flex;
        width: 100%;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        text-align: left;
    }
    .haci-nav-list > li + li { border-top: 1px solid #edf0f5; }
    .haci-nav.haci-nav-in-panel .haci-nav-list > li:not(.haci-nav-item-open),
    .haci-nav.haci-nav-in-panel .haci-nav-trigger { display: none; }
    .haci-nav.haci-nav-in-panel .haci-nav-item-open { border-top: 0; }
    .haci-nav-panel {
        position: static;
        max-height: none;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .haci-shell .haci-nav-back {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
        color: var(--haci-muted);
    }
    .haci-nav-back svg { width: 18px; height: 18px; }
    .haci-nav-panel-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        margin: 4px 0 8px;
    }
    .haci-nav-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .haci-header-actions { margin-left: auto; }
    .haci-header-actions > .haci-header-shop { display: none; }
    .haci-header-actions .haci-btn { padding-inline: 12px; }
}

@media (max-width: 782px) { .admin-bar :is(.haci-page, .haci-shell) { --haci-admin-bar: 46px; } }

@media (max-width: 750px) { .haci-page, .haci-shell { --haci-gutter: 5.555556vw; } }

@media (max-width: 600px) { .admin-bar :is(.haci-page, .haci-shell) { --haci-admin-bar: 0px; } }

@media (max-width: 380px) { .haci-nav-wrap { gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
    :is(.haci-page, .haci-shell) *, :is(.haci-page, .haci-shell) *::before, :is(.haci-page, .haci-shell) *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
