/* ==========================================================
   TARG DS
   Header v1.0
   ========================================================== */

body.home .rh_header,
body.home .rh_header_var_1,
body.home .rh_header_advance,
body.home .rh_long_screen_header_temp {
    display: none !important;
}

.targ-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: 10;

    width: min(1320px, calc(100% - 64px));
    transform: translateX(-6px);
    height: 112px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
}

.targ-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.targ-header__logo img {
    display: block;
    max-height: 98px;
    width: auto;
}

.targ-header__nav {
    display: flex;
    align-items: center;
}

.targ-nav {
    display: flex;
    align-items: center;
    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.targ-nav li {
    position: relative;
    margin: 0;
}

.targ-nav a {
    color: rgba(255,255,255,.92);
    text-decoration: none;

    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;

    transition: color .2s ease;
}

.targ-nav a:hover {
    color: #fff;
}

.targ-header__actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.targ-header__phone {
    color: #fff;
    text-decoration: none;

    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.targ-header__icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    text-decoration: none;

    font-size: 32px;
    line-height: 1;
    font-weight: 300;
}

.targ-header__burger {
    width: 42px;
    height: 32px;

    padding: 0;
    border: 0;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    cursor: pointer;
}

.targ-header__burger span {
    display: block;
    height: 2px;
    width: 42px;

    background: #fff;
    border-radius: 999px;
}

@media (max-width: 1024px) {
    .targ-header__nav,
    .targ-header__phone {
        display: none;
    }
}

@media (max-width: 767px) {
    .targ-header {
        width: calc(100% - 40px);
        height: 96px;
    }

    .targ-header__logo img {
        max-height: 64px;
    }

    .targ-header__icon {
        display: none;
    }
}

.targ-nav .sub-menu {
    display: none !important;
}

@media (min-width: 1200px) {
    .targ-header__logo img {
        max-height: 88px;
    }
}

/* TARG Header dropdown */

.targ-nav .menu-item-has-children > a::after {
    content: "⌄";
    margin-left: 8px;
    font-size: 14px;
    opacity: .8;
}

.targ-nav .sub-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;

    min-width: 240px;
    padding: 14px;
    margin: 0;

    list-style: none;

    background: rgba(15, 23, 42, .92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    box-shadow: 0 24px 70px rgba(0,0,0,.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition: .2s ease;
}

.targ-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.targ-nav .sub-menu li {
    margin: 0;
}

.targ-nav .sub-menu a {
    display: block;
    padding: 10px 12px;

    color: rgba(255,255,255,.9);
    font-size: 15px;
    line-height: 1.35;

    border-radius: 10px;
}

.targ-nav .sub-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.targ-mobile-menu {
    position: absolute;
    top: 96px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    padding: 24px;
    background: rgba(15,23,42,.94);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .22s ease;
}

.targ-header.is-menu-open .targ-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.targ-mobile-menu__nav,
.targ-mobile-menu__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.targ-mobile-menu__nav a,
.targ-mobile-menu__links a {
    display: block;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 500;
}

.targ-mobile-menu__nav .sub-menu {
    padding-left: 16px;
    margin: 4px 0 10px;
}

.targ-mobile-menu__nav .sub-menu a {
    font-size: 15px;
    color: rgba(255,255,255,.72);
}

.targ-mobile-menu__links {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
}

