.post-type-archive-project #header,
.post-type-archive-product #header,
.post-type-archive-solution #header,
#header.header-home {
    padding-block: 20px;
    .custom-header {
        padding-inline: 56px;
    }
}
.header-bottom {
    background: var(--color1);
    padding-block: 14px;
    .header-menu-center {
        & > li > a {
            color: white;
        }
    }
    .header-search {
        width: 52px;
        height: 52px;
        flex: 0 0 52px;
        color: white;
        background: #FFFFFF33;
        border-radius: 12px;
        cursor: pointer;
    }
    .header-left-bottom {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
        align-items: center;
        .btn-1 {
            i:nth-child(1) {
                background: none;
                color: var(--color1);
                font-size: 22px;
            }
            &:hover {
                background: var(--color2);
                color: white;
                i:nth-child(1) {
                    color: white;
                }
            }
        }
    }
    .header-mm.d-flex {
        width: 52px !important;
        height: 52px !important;
        color: white;
        background: #FFFFFF33;
        border-radius: 12px;
        cursor: pointer;
    }
    .row {
        position: relative;
        .col-12.col-md-6.col-xl-8 {
            position: initial;
        }
    }
}
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    img {
        max-width: 218px;
    }
}
.custom-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 16px;
    .socials_footer {
        margin: 0;
        a {
            background: var(--nature);
        }
    }
    .call-header {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--black);
        text-align: left;
        direction: ltr;
        transition: 0.4s;
        i {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color2);
            color: white;
            font-size: 22px;
            border-radius: 8px;
            transition: 0.4s;
        }
        p {
            display: flex;
            flex-direction: column;
            line-height: 20px;
            font-size: 16px;
            font-family: var(--Medium);
            span {
                color: var(--gray);
                font-size: 12px;
                font-family: var(--Regular);
            }
        }
        &:hover {
            color: var(--color1);
            i {
                background: var(--color1);
            }
        }
    }
}
.header-menu-center {
    gap: clamp(12px, 2vw, 24px);
    & > li > a {
        padding-block: 12px !important;
        transition: 0.4s;
        position: relative;
        font-family: var(--Medium) !important;
        display: inline-block;
        font-size: 16px !important;
        color: var(--black);
        &:hover {
            color: var(--color1);
        }
    }
}
.custom-header-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: clamp(6px, 1vw, 15px);
}
.header-search,
.header-mm {
    width: 32px;
    height: 32px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color1);
}
@media only screen and (max-width: 768px) {
    #header {
        padding: 24px 12px;
    }
}
.search-by-json .input input {
    min-width: 260px;
    border-radius: 100px;
}
.menu-mobile {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    & .header-mm {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        width: 32px;
        height: 32px;
        color: var(--white);
    }
    & .header-search {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        width: 32px;
        height: 32px;
        color: var(--white);
    }
}
@media only screen and (max-width: 768px) {
    #header {
        background: white;
        padding: 8px 12px 8px;
    }
    .header-search {
        color: var(--color1) !important;
    }
}
@media screen and (min-width: 992px) {
    .search-by-json .body {
        left: 0;
        /*width: clamp(320px, 68vw, 1016px) !important;*/
        border-radius: 24px;
    }
}
#header_top {
    padding-block: 12px;
}
/******************************************/
.left-header {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
/***/
.head_lang {
    position: relative;
    cursor: pointer;
    padding: 10px;
    display: flex;
    background: #051D3D;
    color: white;
    border-radius: 12px;
    .lang-btn {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 1rem;
        transition: 0.4s;
        gap: 5px;
        .icon-bottom {
            font-size: 10px;
            padding-top: 2px;
        }
        img {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
}
.lang-btn span {
    font-size: 14px;
    user-select: none;
}
.lang-content {
    opacity: 0;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-align: center;
    transition: 0.3s;
    width: 70px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.head_lang .current-lng {
    display: inline-block;
    margin: 0 7px 0 5px;
}
.lang-content a {
    color: var(--black);
    padding: 8px 8px 4px;
    text-decoration: none;
    display: flex;
    line-height: 1.1;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    gap: 5px;
}
.head_lang:hover .lang-content {
    opacity: 1;
    transition: 0.3s;
}
.head_lang:hover .lang-arrow:before {
    border-color: var(--color1);
}
.head_lang a:hover {
    color: var(--color1);
}
.head_lang i.lang-arrow {
    font-size: 12px;
    transition: 0.3s;
}
.lang-btn i.icon-global {
    font-size: 20px;
    color: #495965;
}
.lang-arrow:before {
    content: "";
    border: solid #777777;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
/**********/
.wrap-header {
    width: 100%;
}
/* --------------------
    Search Popup
-------------------- */
.bottom-head-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.header-search > span {
    margin-left: 5px;
    display: none
}
.search-pup-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    color: white;
    overflow: hidden;
    overflow-y: visible;
    display: none;
    background: #00000033;
    backdrop-filter: blur(12px);
}
.search-pup-inner {
    height: 100%;
    max-height: 100%;
}
.search-pup-up #fast-search-input:focus {
    border-color: var(--color1);
}
.search-pup-up #fast-search-input {
    width: 100%;
    text-align: right;
    border: none;
    background: #F7F7F7;
    color: #313233;
    font-size: 14px;
    padding: 16px 48px;
    border-radius: 12px;
    border: 1px solid #F7F7F7;
    transition: 0.4s;
}
.search-pup-up #fast-search-input::placeholder {
    color: #313233;
}
#search-text {
    padding-right: 3rem;
}
.search-pup-up .search-form:after {
    content: "\e90b";
    font-family: 'icomoon';
    font-size: 24px;
    position: absolute;
    right: 1rem;
    display: block;
    top: 0px;
    color: var(--black);
    transform: rotateY(180deg);
}
.search-pup-up .search-results-box {
    background: unset;
    position: relative;
    top: unset;
    overflow: auto;
}
.fd-outer {
    width: 30px;
    cursor: pointer;
    position: absolute;
    top: 26px;
    right: 50%;
    z-index: 10;
    transform: translateX(50%);
}
.fd-inner {
    width: 30px;
    text-align: center;
}
.fd-inner:before,
.fd-inner:after {
    position: absolute;
    content: '';
    height: 2px;
    width: inherit;
    background: white;
    right: 0;
    transition: all .3s ease-in;
}
.fd-inner:after {
    bottom: 48%;
    transform: rotate(-45deg);
}
.fd-inner:before {
    top: 48%;
    transform: rotate(45deg);
}
.fd-outer label {
    font-size: .8em;
    line-height: 3em;
    text-transform: uppercase;
    color: #000;
    transition: all .3s ease-in;
    opacity: 0;
    cursor: pointer;
}
.fd-outer:hover .fd-inner:before,
.fd-outer:hover .fd-inner:after {
    transform: rotate(0);
    background: var(--color1);
}
.fd-outer:hover .fd-inner:before {
    top: 0;
}
.fd-outer:hover .fd-inner:after {
    bottom: 0;
}
.fd-outer:hover label {
    opacity: 1;
}
.search-pup-up .search-form {
    transform: scale(0);
    opacity: 0;
    transition-duration: .6s;
    transition-delay: .5s;
    display: flex;
}
.search-pup-up.popup-search-active .search-form {
    transform: scale(1);
    opacity: 1;
}
.search-results-box .button {
    width: 100%;
}
.search-pup-up .empty .icon-close {
    color: white;
    transition: 0.4s ease;
    cursor: pointer;
    font-size: 15px;
}
.search-pup-up .empty .icon-close:hover {
    color: darkred;
}
.search-pup-up .empty {
    position: absolute;
    top: 50% !important;
    left: 1rem !important;
    background: var(--danger);
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border-radius: 4px;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-title > .title-single {
    text-align: center;
    font-size: 28px;
    margin-bottom: 24px;
    line-height: normal;
}
.search-pup-inner .form-wrap {
    padding-top: 100px !important;
}
.search-by-json .body .is-search .list-products .item .on-sale {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: auto;
    transform: unset;
    width: 36px;
    height: 16px;
    font-size: 11px;
}
.search-by-json .body .is-search .list-products .item .on-sale:before {
    content: none;
}
.search-by-json .body .is-search .list-products .item {
    position: relative;
    min-height: 120px;
}
.search-by-json .body .is-search .list-products .item .price {
    margin-top: 2rem;
    flex-direction: column;
    align-items: end;
    padding-left: 8px;
}
.search-by-json .body .is-search .list-products .item .price ins {
    padding-left: 22px;
}
.search-by-json .body .is-search .list-products .item .img {
    min-width: 100px;
    min-height: 100px;
    background: white;
    border-radius: 12px;
}
.search-by-json .body .is-search .list-products .item .img img {
    width: 84px !important;
    border-radius: 4px;
}
.site-header {
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
    will-change: background-color, box-shadow, backdrop-filter;
}
.header-inner {
    background: #fff;
}
.header-home {
    background: transparent;
}
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.admin-bar .site-header {
    top: 32px;
}
@media only screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}
.header-sticky {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
}
.header-sticky.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.admin-bar .header-sticky {
    top: 32px;
}
@media only screen and (max-width: 782px) {
    .admin-bar .header-sticky {
        top: 46px;
    }
}
#header.site-header {
    /*position: relative;*/
    z-index: 999;
}
.header-home .header-sticky-content {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, box-shadow .25s ease;
}
.header-home .header-sticky-content.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.header-inner .header-sticky-content {
    background: #fff;
    transition: box-shadow .25s ease;
}
.header-inner .header-sticky-content.is-active {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.admin-bar .header-home .header-sticky-content,
.admin-bar .header-inner .header-sticky-content.is-active {
    top: 32px;
}
#header.header-home .header-sticky-content.js-header-sticky-content.is-active .custom-header {
    padding-inline: 0px;
}
@media only screen and (max-width: 782px) {
    .admin-bar .header-home .header-sticky-content,
    .admin-bar .header-inner .header-sticky-content.is-active {
        top: 46px;
    }
}
@media only screen and (max-width: 992px) {
    .custom-header {
        justify-content: center;
        .col-12.col-lg-5 {
            display: none;
        }
    }
}
@media only screen and (max-width: 992px) {
    .wrap-menu {
        display: none;
    }
}