
/* Header contact topbar */
.hg-header {
    --ap-header-topbar-height: 32px;
}
.ap-header-contact-topbar {
    width: 100%;
    min-height: var(--ap-header-topbar-height);
    border-bottom: 1px solid rgba(255,255,255,.055);
    background:
        radial-gradient(circle at 18% 0%, rgba(35,224,184,.075), transparent 32%),
        rgba(7,9,24,.56);
    backdrop-filter: blur(16px);
}
.ap-header-contact-topbar-inner {
    width: min(100% - 48px, 1680px);
    min-height: var(--ap-header-topbar-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.ap-header-contact-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    min-width: 0;
    width: 100%;
    color: #aeb5d0;
    font-size: 12px;
    line-height: 1;
}
.ap-header-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #aeb5d0 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.ap-header-contact-item i {
    color: var(--hg-accent-2);
    font-size: 12px;
    line-height: 1;
}
.ap-header-contact-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.ap-header-contact-item:hover {
    color: #fff !important;
}
.ap-header-contact-address {
    max-width: min(42vw, 680px);
}
.hg-header .header-five-wrapper {
    min-height: calc(var(--proledger-header-height, 72px) - var(--ap-header-topbar-height));
}
@media (max-width: 1180px) {
    .ap-header-contact-topbar-inner {
        width: min(100% - 32px, 1680px);
    }
    .ap-header-contact-line {
        justify-content: center;
        gap: 12px;
        font-size: 11px;
    }
    .ap-header-contact-address {
        max-width: 42vw;
    }
}
@media (max-width: 860px) {
    .ap-header-contact-address {
        display: none;
    }
}
@media (max-width: 640px) {
    .ap-header-contact-topbar {
        display: none;
    }
    .hg-header {
        --ap-header-topbar-height: 0px;
    }
}


/* Header topbar compact layout fix */
:root {
    --ap-header-topbar-height: 28px;
    --ap-header-main-height: 76px;
}
.hg-header {
    --ap-header-topbar-height: 28px;
    --ap-header-main-height: 76px;
    min-height: calc(var(--ap-header-topbar-height) + var(--ap-header-main-height)) !important;
}
.ap-header-contact-topbar {
    min-height: var(--ap-header-topbar-height) !important;
    height: var(--ap-header-topbar-height) !important;
    display: flex !important;
    align-items: center !important;
}
.ap-header-contact-topbar-inner {
    width: min(100% - 48px, 1680px) !important;
    min-height: var(--ap-header-topbar-height) !important;
    height: var(--ap-header-topbar-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    margin: 0 auto !important;
}
.ap-header-contact-line {
    width: 100% !important;
    min-height: var(--ap-header-topbar-height) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}
.ap-header-contact-item {
    flex: 0 1 auto !important;
    min-width: 0 !important;
}
.ap-header-contact-item:nth-child(1) {
    justify-content: flex-start;
}
.ap-header-contact-item:nth-child(2) {
    justify-content: center;
}
.ap-header-contact-item:nth-child(3) {
    justify-content: flex-end;
}
.ap-header-contact-address {
    max-width: 48vw !important;
}
.hg-header .header-five-wrapper,
.rts-header-area-five.header--sticky.hg-header .header-five-wrapper {
    min-height: var(--ap-header-main-height) !important;
    height: var(--ap-header-main-height) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}
.hg-header .hg-logo,
.hg-header .hg-nav,
.hg-header .hg-actions,
.hg-header .hg-actions-with-cart {
    align-items: center !important;
}
.hg-header .hg-logo {
    max-width: 260px;
}
.hg-header .hg-nav-link,
.hg-header .hg-cart-action,
.hg-header .hg-actions .hg-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hg-header .hg-actions .hg-btn {
    min-height: 52px !important;
    height: 52px !important;
    line-height: 1.1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.hg-header .hg-cart-action {
    min-height: 52px !important;
    height: 52px !important;
}
@media (max-width: 1280px) {
    .ap-header-contact-line {
        gap: 14px !important;
        font-size: 11px !important;
    }
    .ap-header-contact-address {
        max-width: 42vw !important;
    }
}
@media (max-width: 980px) {
    .ap-header-contact-line {
        justify-content: center !important;
    }
    .ap-header-contact-address {
        display: none !important;
    }
}
@media (max-width: 640px) {
    :root {
        --ap-header-topbar-height: 0px;
        --ap-header-main-height: 72px;
    }
    .hg-header {
        min-height: var(--ap-header-main-height) !important;
    }
    .ap-header-contact-topbar {
        display: none !important;
    }
    .hg-header .header-five-wrapper {
        height: var(--ap-header-main-height) !important;
        min-height: var(--ap-header-main-height) !important;
    }
}
