/* ======================================= */
/* HEADER */
/* ======================================= */
.header{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    
    transition: transform 0.15s ease-in-out;
    
    background-color: rgba(23, 23, 23, 0.8);
    
    z-index: 10;
}

.scroll-up .header{
    transform: translateY(0);
}

.scroll-down .header{
    transform: translateY(-100%);
}

.admin-bar .header{
    top: 32px;
}

@media screen and (max-width: 782px){
    .admin-bar .header{
        top: 46px;
    }
}

.header-inside{
    display: flex;
    align-items: center;
    
    padding: 8px 0;
}

.logo-container{
    display: flex;
    align-items: center;
    margin-right: auto;
}

.logo-text{
    position: relative;
    
    color: var(--light);
    font-size: 15px;
    line-height: 1.4;
    text-transform: uppercase;
    
    margin-left: 25px;
    padding-left: 25px;
}

.logo-text:before{
    content: "";
    
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -20px;
    
    height: 40px;
    
    border-left: 1px solid rgba(255,255,255,0.1);
}

.logo-text strong{
    color: var(--warning);
    font-size: 18px;
}

.logo{
    display: block;
    
    width: 194px;
    
    /*background: url("../images/logo.svg") center center / 100% no-repeat;*/
    background: url("../images/logo-upd.svg") center center / 100% no-repeat;
}

.logo:before{
    content: "";
    
    display: block;
    /*padding-top: 36.08247422680412%;*/
    padding-top: 36.39803947719392%;
}

.nav-menu{
    display: flex;
}

.nav-menu > .menu-item{
    padding: 0 16px;
}

.nav-menu > .menu-item > a{
    display: block;
    
    color: var(--light);
    font: 400 16px/1.375 var(--font);
    text-transform: uppercase;
    white-space: nowrap;
    
    padding: 5px;
}

.nav-menu > .menu-item.accent > a{
    color: var(--warning);
    font-weight: 700;
}

.menu-btn{
    padding: 18px 10px;
    margin-left: 12px;
    
    cursor: pointer;
    user-select: none;
}

.menu-btn__row{
    position: relative;
    
    width: 32px;
    height: 1px;
    
    margin-top: 6px;
    
    background-color: var(--light);
}

.menu-btn__row:first-child{
    margin: 0;
}

.menu-btn:active .menu-btn__row:first-child{
    top: 1px;
}

.menu-btn:active .menu-btn__row:last-child{
    top: -1px;
}

@media screen and (min-width: 1025px){
    .nav-menu > .menu-item > a{
        transition: color var(--dur) ease-in-out;
    }
    
    .nav-menu > .menu-item > a:hover,
    .nav-menu > .menu-item.accent > a:hover{
        color: var(--primary);
    }
    
    .menu-btn__row{
        transition: background-color var(--dur) ease-in-out;
    }
    
    .menu-btn:hover .menu-btn__row{
        background-color: var(--primary);
    }
}

.modal-menu{
    display: none;
    
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    
    width: 100%;
    max-width: 645px;
    
    padding-top: 78px;
    
    color: var(--light);
    
    background-color: var(--common);
    
    box-sizing: border-box;
    
    transition: all 0.3s ease-in-out;
    
    
    transform: translateX(100%);
    opacity: 0;
    
    z-index: 11;
}

.modal-menu.active{
    display: block;
}

.modal-menu.visible{
    transform: translateX(0);
    opacity: 1;
}


.admin-bar .modal-menu{
    top: 32px;
}

@media screen and (max-width: 782px){
    .admin-bar .modal-menu{
        top: 46px;
    }
}

.modal-menu__head{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    
    display: flex;
    justify-content: flex-end;
    
    padding: 22px 75px 16px;
}

.close-modal-menu{
    padding: 10px;
    margin-right: -10px;
    
    user-select: none;
    cursor: pointer;
}

.close-modal-menu:active{
    transform: scale(0.96);
}

.close-modal-icon{
    width: 20px;
    height: 20px;
}

.close-modal-icon.line{
    fill: var(--light);
}

.modal-menu__body{
    display: flex;
    flex-direction: column;
    
    height: 100%;
    
    padding: 0 75px;
    
    overflow: auto;
}

.additional-menu{
    font-size: 0;
    line-height: 0;
}

.additional-menu .menu-item{
    padding: 6px 0 4px;
    
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.additional-menu .menu-item:first-child{
    padding-top: 0;
}

.additional-menu a{
    display: inline-block;
    
    color: var(--light);
    font: 400 20px/1.3 var(--font);
    text-transform: uppercase;
    
    padding: 6px 20px 6px 0;
}

.additional-menu > .menu-item.accent > a{
    color: var(--warning);
    font-weight: 700;
}

@media screen and (min-width: 1025px){
    .additional-menu a{
        transition: color var(--dur) ease-in-out;
    }
    
    .additional-menu a:hover,
    .additional-menu > .menu-item.accent > a:hover{
        color: var(--primary);
    }
    
    .close-modal-icon.line{
        transition: all var(--dur) ease-in-out;
    }
    
    .close-modal-menu:hover .close-modal-icon.line{
        fill: var(--primary); 
    }
}

.collection-link-container{
    padding: 40px 0;
    margin-top: auto;
}

.collection-link{
    display: block;
    
    color: var(--light);
    font-size: 20px;
    line-height: 1.5;
    text-transform: uppercase;
}

.collection-link__title{
    display: block;
    
    padding-bottom: 22px;
}

.collection-link__picture{
    display: block;    
}

/* head contacts */
@media screen and (min-width: 841px){
    .head-contacts.desktop{
        display: flex;
        align-items: center;
        
        padding-right: 20px;    
    }   
    
    .head-contacts.mobile,
    .modal-menu__contacts{
        display: none;
    } 
}

.head-phones{
    line-height: 0;
    white-space: nowrap;
    
    padding-right: 30px;
}

.head-phone-row:not(:first-child){
    margin-top: 8px;
}

.head-phone{
    display: inline-flex;
    align-items: center;
    
    color: var(--light);
    font: 400 15px/1.362 var(--font);
}

.head-phone__icon{
    margin-right: 4px;
}

.head-phone-icon{
    width: 22px;
    height: 22px;
}

.head-phone-icon.outline{
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.2381;
    stroke-miterlimit: 10;
}

.head-whatsapp-container{
    display: flex;
    align-items: center;
}

.whatsapp-label{
    position: relative;
    
    color: var(--light);
    font: 400 16px/1.362 var(--font);
    
    margin-right: 15px;
}

.whatsapp-label:before{
    content: "";
    
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    
    border-top: 1px dashed var(--light);
}

.head-whatsapp{
    display: block;
    
    width: 32px;
    height: 32px;
    
    border-radius: 5px;
    background: url("../images/icons/wp.svg") center center / 100% no-repeat;
}

@media screen and (min-width: 1025px){
    .collection-link,
    .head-phone,
    .whatsapp-label{
        transition: color var(--dur) ease-in-out;
    }
    
    .collection-link:hover,
    .head-phone:hover,
    .whatsapp-label:hover{
        color: var(--primary);
    }
    
    .whatsapp-label:before{
        transition: border var(--dur) ease-in-out;
    }
    
    .whatsapp-label:hover:before{
        border-top-color: var(--primary);
    }
    
    .head-whatsapp{
        transition: opacity var(--dur) ease-in-out;
    }
    
    .head-whatsapp:hover{
        opacity: 0.8;  
    }
}

@media screen and (min-width: 841px) and (max-width: 1740px){
    .whatsapp-label{
        display: none;
    }
}

@media screen and (max-width: 1650px){
    .nav-menu > .menu-item > a,
    .logo-text{
        font-size: 14px;
    }
    
    .logo-text{
        margin-left: 10px;
        padding-left: 10px;
    }
    
    .logo-text strong{
        font-size: 16px;
    }
    
    .nav-menu > .menu-item{
        padding: 0 10px;
    }
}

@media screen and (max-width: 1380px){
    .nav-menu > .menu-item > a,
    .head-phone{
        font-size: 13px;
    }
    
    .logo-text{
        font-size: 12px;
    }
    
    .nav-menu > .menu-item{
        padding: 0 5px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1379px){
    .logo-text{
        max-width: 250px;
    }
}

@media screen and (max-width: 1024px){
    .header-inside{
        padding: 4px 0;
    }
    
    .nav-menu{
        display: none;
    }
    
    .menu-btn{
        margin-right: -10px;
    }
    
    .logo{
        width: 130px;
    }
    
    .modal-menu{
        padding-top: 60px;
        max-width: 535px;
    }
    
    .modal-menu__head{
        padding: 10px 20px;
    }
    
    .modal-menu__body{
        padding: 0 20px;
    }
    
    .additional-menu a,
    .collection-link{
        font-size: 16px;
    }
    
    .collection-link__title{
        padding-bottom: 10px;
    }
    
    .collection-link-container {
        padding: 32px 0;
    }
}

@media screen and (max-width: 840px){
    .head-contacts{
        padding-left: 10px;
    }
    
    .head-contacts.desktop{
        display: none;
    }
    
    .head-phone{
        position: relative;
        top: 2px;
    }
    
    .head-phone__icon{
        margin: 0;
    }
    
    .head-phone-icon{
        width: 26px;
        height: 26px;
    }
    
    .menu-btn{
        margin-left: 4px;
    }
    
    .modal-menu__contacts{
        padding-bottom: 12px;
    }
}

@media screen and (max-width: 767px){
    .logo-text{
        font-size: 10px;
    }
    
    .logo-text strong{
        font-size: 12px;
    }
}