.site-header {
    background: var(--white);
    position: relative;
    padding: var(--spacing-xxs) 0;
    border-bottom: 1px solid var(--gray);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-button {
    display: inline-block;
    margin-right: var(--spacing-xxs);
    border: 2px solid var(--black);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--white);
    text-decoration: none;
    border-radius: 100px;
    background: var(--black);
    box-shadow: var(--buttonShadow);
    transition: .3s all;
}

.header-button:hover {
    transform: scale(1.05);
}

.header_top_info {
    background: var(--black);
    color: var(--white);
    padding: calc(var(--spacing-xxs) / 2) var(--spacing-xxs);
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    font-size: var(--font-size-small);
    font-weight: 400;
    align-items: center;
    line-height: var(--font-size-small);
}

.site-branding img {
    width: calc(var(--spacing-lg) * 2);
}

@media screen and (max-width: 799px) {
    .site-header .menu-toggle {
        border: none;
        background: transparent;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: var(--spacing-xs);
    }

    .site-header .menu-toggle svg {
        width: 24px;
        height: 24px;
    }

    .main-navigation {
        background: var(--color);
        position: fixed;
        margin: 0;
        top: 0;
        left: 100%;
        right: 0;
        /* width: 100vw; */
        height: 100vh;
        transition: .3s all;
        z-index: 99;
        padding: var(--spacing-xl);

        display: flex;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
        flex-wrap: wrap;
        flex-direction: column;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation div {
        /* flex-basis: 100%; */
    }

    .main-navigation ul {
        display: block;
    }

    .main-navigation ul li {
        padding-bottom: var(--spacing-xs);
        text-align: center;
    }

    .main-navigation ul li a {
        color: var(--white);
        text-decoration: none;
        font-size: var(--font-size-big);
        font-weight: 600;
    }

    .main-navigation .offer-nav ul li {
        display: block;
        border: 2px solid var(--white);
        padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }

    .menu-close-btn svg {
        width: 24px;
        height: 24px;
        position: absolute;
        top: var(--spacing-xl);
        right: var(--spacing-xl);
    }

    .menu-close-btn svg path {
        fill: var(--white);
    }

}

@media screen and (min-width: 800px) {

    .menu-close-btn {
        display: none;
    }

    .site-header .main-nav {
        height: 100%;
    }

    .site-header .main-nav ul {
        height: 100%;
        display: flex;
        gap: var(--spacing-xs);
    }

    .site-header .main-nav ul li a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        color: var(--black);
        padding: 0 10px;
        font-size: var(--font-size-small);
        font-weight: 400;
        letter-spacing: 0.42px;
    }

    .site-header ul li.nav-button {
        display: flex;
        align-items: center;
    }

    .site-header ul li.nav-button a {
        padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
        padding-left: calc(var(--spacing-xs) * 2 + 10px);
        background: var(--black);
        color: var(--white);
        display: inline-block;
        font-weight: 500;
        height: auto;
    }

    .site-header ul li.nav-button a::before {
        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15" fill="none"><path d="M5.41671 13C5.73887 13 6.00004 12.7388 6.00004 12.4166C6.00004 12.0945 5.73887 11.8333 5.41671 11.8333C5.09454 11.8333 4.83337 12.0945 4.83337 12.4166C4.83337 12.7388 5.09454 13 5.41671 13Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.8333 13C12.1555 13 12.4167 12.7388 12.4167 12.4166C12.4167 12.0945 12.1555 11.8333 11.8333 11.8333C11.5112 11.8333 11.25 12.0945 11.25 12.4166C11.25 12.7388 11.5112 13 11.8333 13Z" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M0.75 0.75H3.08333L4.64667 8.56083C4.70001 8.8294 4.84611 9.07064 5.0594 9.24234C5.27269 9.41404 5.53957 9.50525 5.81333 9.5H11.4833C11.7571 9.50525 12.024 9.41404 12.2373 9.24234C12.4506 9.07064 12.5967 8.8294 12.65 8.56083L13.5833 3.66667H3.66667" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        position: absolute;
        top: 50%;
        left: var(--spacing-xs);
        transform: translateY(-40%);
    }

    .site-header .main-nav ul li.current_page_item a {
        border-bottom: 3px solid var(--color);
    }

    .site-header .offer-nav {
        position: absolute;
        z-index: 99;
        bottom: 0;
        right: 0;
        transform: translateY(100%);
        padding: var(--spacing-xs);
        padding-right: var(--spacing-sm);
    }

    .site-header .offer-nav ul {
        display: flex;
        gap: var(--spacing-xs);
    }

    .site-header .offer-nav li a {
        text-decoration: none;
        font-size: var(--font-size-small);
        color: var(--white);
        background: var(--color);
        padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
    }
}


.site-header {
    position: relative;
    width: 100%;
    transition: top 0.3s ease;
    z-index: 99;
    background: var(--white);
}

.site-header.fixed {
    position: fixed;
    top: -100%;
    /* ukryty nad ekranem */
    left: 0;
    width: 100%;
}

.site-header.fixed.visible {
    top: 0;
    /* pokazany */
}

.header-placeholder {
    display: none;
}

.header-placeholder.active {
    display: block;
}

.pop-up {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    display: none;
    transition: .3s all;
}

.pop-up_over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, .33);
}

.pop-up.active {
    display: flex;
}

.pop-up.show {
    opacity: 1;
}

.pop-up_content {
    padding: var(--spacing-sm);
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    position: relative;
    z-index: 99;
    max-width: 600px;
}

.pop-up_close {
    text-align: right;
}

.pop-up_close svg {
    width: var(--spacing-xs);
    height: var(--spacing-xs);
    object-fit: cover;
    cursor: pointer;
}

.pop-up_title {
    font-size: var(--font-size-h3);
    font-weight: 500;
    letter-spacing: -1.05px;
    padding-bottom: var(--spacing-xs);
    margin: 0;
}

.pop-up_title span {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    color: var(--color);
    background: var(--white);
    padding: calc(var(--spacing-xs) / 2) var(--spacing-xs);
}