.header.site-header {
    position: static;
    background: transparent;
    font-family: Raleway, sans-serif;
}

.site-header__fixed {
    position: relative;
    z-index: 7;
    background: #fff;
    max-width: 1192px;
    margin: 0 auto;
    width: 100%;
}

.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding-top: 10px;
}

.site-header__top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-header__chat.msg__el {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__chat img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.site-header__chat-icon {
    display: none;
}

.site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    padding: 12px 0 10px;
}

.site-header__left,
.site-header__right {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.site-header__right {
    justify-content: flex-end;
}



.site-header__city {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6f1b2d;
    font-size: 16px;
    white-space: nowrap;
}

.site-header__city img,
.site-header__action img {
    width: 30px;
    height: 30px;
    object-fit: contain;

    transition: .3s;
}

.site-header__links {
    display: flex;
    gap: 22px;
}

.site-header__links a {
    color: #3a3a3a;
    font-size: 16px;
    white-space: nowrap;
}

.site-header__links a:hover {
    color: #6f1b2d;
}

.site-header__logo img {
    height: 52px;
    width: auto;
}

.site-header__phones {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header__phones a {
    font-weight: 500;
    color: #000;
    font-size: 17px;
    white-space: nowrap;
    
}

.site-header__actions {
    display: flex;
    justify-self: end;
    gap: 22px;
}

.site-header__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 400;
    font-size: 12px;
    color: #272727;
    line-height: 1.1;
    transition: .3s;


    span{
      opacity: 0.5;
      transition: .3s;
    }

    &:hover{
        color: #6f1b2d;

        span{
          opacity: 1;
        }

        img{

        }
    }
}

.site-header__search.block_search {
    left: auto;
    right: 20px;
    top: calc(100% + 8px);
    transform: none;
    max-width: 420px;
}

.site-header__search.block_search_active {
    transform: none;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 6;
    width: 100%;
    background: #6f1b2d;
}

.site-nav__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1192px;
    margin: 0 auto;
}

.site-nav__item {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    width: auto;
    padding: 16px 18px;
    color: #fff;
    font-family: Century, "Times New Roman", serif;
    font-size: 18px;
    white-space: nowrap;
}

.site-nav__item a {
    color: #fff;
}

.site-nav__item:first-child {
    padding-left: 0;
    justify-content: flex-start;
}

.site-nav__item:last-child {
    padding-right: 0;
    justify-content: flex-end;
}

.site-nav__item + .site-nav__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.site-nav__item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.site-nav__arrow{
    transition:.3s;
    display:flex;
    align-items:center;
    justify-content: center;


}

.site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    text-align: left;
}

.site-nav__drop:hover .site-nav__menu {
    display: block;
}

.site-nav__drop:hover .site-nav__arrow{
    transform : rotate(180deg);
}

.site-nav__menu a {
    display: block;
    padding: 10px 16px;
    color: #222;
    font-family: Raleway, sans-serif;
    font-size: 15px;
    white-space: normal;
}

.site-nav__menu a:hover {
    background: #f2d8d9;
    color: #6f1b2d;
}

.site-header .bgMobileMenu {
    display: none;
}

.site-header__mob {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-header__mob a,
.site-header__mob p {
    padding: 12px 16px;
    color: #3a3a3a;
    font-size: 16px;
    border-bottom: 1px solid rgba(186, 148, 148, 0.37);
}

.container_top_margin {
    margin-top: 0;
}

.logo__company_mobile{
    display: none;
}

@media (max-width: 1192px) {
    .header.site-header {
        background: transparent;
    }

    .site-header__burger.mobile_menu {
        background: transparent;
        display: none;
    }

    .site-header__bar {
        gap: 12px;
        padding: 10px 14px;
    }
    .site-header__top{
        padding: 10px 14px;
    }

    .site-header__left,
    .site-header__right {
        gap: 14px;
    }

    .logo__company {
        display: block;
    }

    .logo__company_mobile {
        display: none;
    }

    .site-header__actions {
        gap: 14px;
    }

    .site-header__search.block_search {
        left: 14px;
        right: 14px;
        width: auto;
        max-width: none;
    }

  

    .site-nav__item {
        padding: 10px 16px;
        font-size: 16px;
    }

    .site-nav__item:first-child {
        padding-left: 10px;
        justify-content:center;
    }
    
    .site-nav__item:last-child {
        padding-right: 10px;
        justify-content:center;

    }

    .site-header .bgMobileMenu.bgMobileMenu_active {
        display: block;
    }

    .container_top_margin {
        margin-top: 0;
    }
}
@media (max-width: 1024px) {
    .header.site-header {
        position: sticky;
        top: 0;
        z-index: 7;
    }

    .site-header__top,
    .site-nav,
    .site-header__links,
    .site-header__action span {
        display: none;
    }

    .site-header__fixed {
        max-width: none;
        background: #6f1b2d;
    }

    .site-header__bar {
        display: flex;
        justify-content: space-between;
        position: relative;
        padding: 12px 16px;
    }

    .site-header__logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .site-header__burger.mobile_menu {
        display: flex;
    }

    .site-header__burger span,
    .site-header__burger::before,
    .site-header__burger::after {
        background: #fff;
    }

    .logo__company {
        display: none;
    }

    .logo__company_mobile {
        display: block;
    }

    .site-header__logo img {
        height: 35px;
    }

    .site-header__actions {
        gap: 14px;
        margin-left: auto;
    }

    .site-header__action img {
        width: 22px;
        height: 22px;
        filter: brightness(0) invert(1);
    }
}

@media (max-width: 500px) {
    .site-header__actions {
        display: none;
    }

    .site-header__top {
        display: block;
        position: absolute;
        right: 16px;
        top: 50%;
        width: auto;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
        z-index: 2;
    }

    .site-header__city,
    .site-header__phones {
        display: none;
    }

    .site-header__chat img {
        display: none;
    }

    .site-header__chat-icon {
        display: block;
        width: 24px;
        height: 23px;
    }
}