body{
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Advent Pro', sans-serif;
}

html body .hidden{
    display: none;
}

.cart{
    position: fixed;
    height: 600px;
    width: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 16px;
    box-sizing: border-box;
    z-index: 5;
}

.cart-form-delivery{
    margin: 12px 0;
}

.delivery-chose{
    display: flex;
    justify-content: space-around;
}

.overlay{
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: #000000a1;
    z-index: 4;
}

.cart-title{
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.cart-products{
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 50%;
    overflow-y: scroll;
}

.cart-product{
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    padding: 10px 0;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.cart-product .cart-product-image{
    align-self: center;
    height: 100%;
}

.cart-product .cart-product-name{
    margin: 0;
    text-align: center;
    width: 40%;
}

.cart-product-counter{
    width: 15%;
    display: flex;
}

.cart-product-counter-control{
    display: flex;
    flex-direction: column;
}

.cart-product-counter-control p{
    margin: 0;
    cursor: pointer;
    transition: 0.3s;
}

.cart-product-tip{
    position: absolute;
    bottom: 2px;
    left: 50%;
    margin: 0;
    font-size: 13px;
    color: green;
}

.cart-product-counter-control .cart-product-counter-control-plus:hover{
    transform: scale(1.5);
    color: green;
}

.cart-product-counter-control .cart-product-counter-control-minus:hover{
    transform: scale(1.5);
    color: red;
}

.cart-product-counter input{
    width: 100%;
    font-size: 1em;
    border-radius: 5px;
    padding: 5px;
    box-sizing: border-box;
    outline: none;
    border: 1px solid #ddd;
    margin: 0 6px;
}

.cart-product-counter input:focus{
    outline: none;
}

.cart-product-total{
    display: flex;
    align-items: center;
}

.cart-product-total p{
    margin: 0 4px 0 0;
}

.cart-product-delete-btn{
    align-self: center;
    height: 60%;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.cart-product-delete-btn:hover{
    transform: scale(1.2);
}

.cart-total{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0 0;
    box-sizing: border-box;
}

.cart-total-right{
    display: flex;
    align-items: center;

}

.cart-total-left label{
    font-weight: 900;
    color: #f13a3a;
    letter-spacing: 2px;
}

.cart-total h4{
    margin: 0;
    margin-right: 10px;
}

.cart-total p{
    margin: 0;
    margin-right: 4px;
}

.cart-total span{
    margin-right: 10px;
}

.cart-form{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cart-form input{
    outline: none;
    border: none;
    border-bottom: 1px solid black;
    padding: 10px;
    box-sizing: border-box;
    font-size: 1em;
}

.cart-options{
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.cart-options p{
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid #000;
    cursor: pointer;
    transition: 0.3s;
}


.cart-options p:hover{
    color: #fff;
    background-color: #000;
}

.language-select{
    display: flex;
    height: 100%;
    align-items: center;
    margin-right: 40px;
}

.language-select span{
    color: #838383;
    font-size: 1.2em;
    font-weight: 900;
    margin: 0 20px;
}

.language-select a{
    color: #838383;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 900;
    text-align: center;
    transition: 0.3s;
}


.language-select a:hover{
    color: gold;
}

.language-select a.language-select-active{
    color: #fff;
}


header{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    box-sizing: border-box;
    background-color: #000;
    height: 90px;
    font-family: 'Advent Pro', sans-serif;
    position: fixed;
    top: 0;
    z-index: 10;
}

header .logo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

header .logo img{
    align-self: center;
    height: 100%;
}

header .header-nav{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

header .header-nav .header-nav-item{
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
    font-weight: 900;
    font-size: 1.5em;
    letter-spacing: 1px;
    transition: 0.3s;
}

header .header-nav .header-nav-item:hover{
    color: gold;
}

header .header-order{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
}

.header-block{
    display: flex;
    height: 100%;
}

header .header-order .header-order-btn{
    text-align: center;
    /* border: 1px solid gold; */
    color: gold;
    cursor: pointer;
    padding: 10px 20px;
    transition: 0.3s;
    border-radius: 10px;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header .header-order .header-order-btn img{
    align-self: center;
    height: 80%;
    transition: 0.2s;
}

header .header-order .header-order-btn img:hover{
    transform: scale(1.4);
}

.header-cart-counter{
    position: absolute;
    height: 16px;
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    right: 0;
    font-size: 1em;
    color: #000;
    background-color: gold;
    text-align: center;
    border-radius: 50%;
    font-weight: 900;
}

footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2% 6%;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    background-color: #000;
}

.footer-logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img{
    align-self: center;
    width: 120px;
}

.footer-nav{
    display: flex;
}

.footer-nav a{
    color: #fff;
    text-decoration: none;
    line-height: 2;
    font-weight: 900;
    font-size: 1.2;
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-nav a:hover{
    color: gold;
}

.footer-nav-column{
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.footer-contacts{
    display: flex;
}

.footer-contacts-column{
    display: flex;
    flex-direction: column;
}

.footer-contacts-column h3{
    margin: 20px 0 6px 0;
}

.footer-contacts-column p{
    margin: 4px 0 10px 0;
}

.footer-contacts-column a{
    text-decoration: none;
    color: #fff;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.thanks{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 10px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.callback{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 10px;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.header-right{
    align-items: center;
}

html body .invalid{
    border-color: red;
}

.close-callback-btn,
.close-thanks-btn{
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
    transition: 0.3s;
}

.close-callback-btn:hover{
    transform: scale(1.2);
}

.callback-title{
    font-size: 1.5em;
    margin: 0 0 10px 0;
}

.callback input{
    margin: 12px 0;
    outline: none;
    font-size: 1.2em;
    width: 100%;
    padding: 6px 12px;
    border: none;
    border-bottom: 1px solid #b4b1b1;
    border-radius: 0;
}

.callback input:focus{
    outline: none;
}

.callback-submit-btn{
    padding: 12px 20px;
    font-size: 1.2em;
    border: 1px solid #000;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
    margin: 15px 0 0 0;
}

.callback-submit-btn:hover{
    background-color: #000;
    color: #fff;
}

.callback-wrap{
    border: 1px solid gold;
    color: gold;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    cursor: pointer;
    padding: 0 50px;
    transition: 0.3s;
    text-transform: uppercase;
}


.callback-wrap:hover{
    background-color: gold;
    color: #000;
}

.back-to-top-btn{
    position: fixed;
    bottom: 5%;
    right: 4%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: 40px;
    cursor: pointer;
    transition: 0.3s;
}


.back-to-top-btn:hover{
    transform: scale(1.3);
}

.back-to-top-btn img{
    align-self: center;
    height: 100%;
}


.ss_input {
  position: absolute;
  background-color: transparent;
  width: 100%;
  border: 0;
}

.select-search {
  /* max-width: 200px; */
  position: relative;
  z-index: 2;
}

.select-search > select {
  width: 100%;
  position: relative;
  z-index: -1;
}


@media (max-width: 500px){
    header{
        padding: 10px 15px;
    }

    header .header-nav{
        display: none;
    }

    header .header-order .header-order-btn{
        font-size: 0.7em;
    }

    footer{
        flex-direction: column;
    }

    .footer-logo img{
        /* width: 80px; */
        margin: 30px 0;
    }

    .footer-nav a{
        font-size: 1em;
        text-align: center;
    }

    .footer-nav{
        flex-direction: column;
    }

    .footer-nav-column{
        margin: 0;
    }

    .footer-contacts{
        flex-direction: column;
    }

    .footer-contacts-column{
        text-align: center;
    }

    .cart{
        width: 95%;
        height: 70%;
    }

    .cart-title{
        font-size: 1em;
    }

    .cart-product,
    .cart-options{
        font-size: 0.7em;
    }

    .callback-wrap{
        display: none;
    }

    .cart-product .cart-product-name{
        width: 25%;
    }
}