header {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: linear-gradient(150deg, var(--main-white) 25%, var(--main-red) 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

nav {
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*border: 1px solid black;*/
    overflow: visible;
}

.logo {
    z-index: 9;
    width: 30%;
    height: 100%;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {

    height: 100px;
    object-fit: cover;
    margin-bottom: -50px;

}

.logo a {
    mix-blend-mode: difference;
    font-size: 2.2rem;
    color: var(--main-red);
    /*width: 100px;*/
    font-family: var(--logo-font);
    text-decoration: none;
}

.nav-menu {
    width: 70%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu ul li {
    list-style: none;
    margin: 0 20px;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--main-white);
    font-size: 1.5rem;
    font-weight: bold;
    user-select: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.cart {
    position: relative;
}

.cart-items {
    position: absolute;
    top: -9px;
    right: 13px;
    color: var(--main-white);
    font-size: 0.8rem;
}

#about-us-button, #contact-us-button {
    position: relative;
}

#about-us-button:after, #contact-us-button:after {
    content: "";
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--main-white);
    transform: rotate(-180deg) translateY(25%);
    transition: all 0.3s ease;
    right: -15px;
    top: 50%;
}

#about-us-button.active:after, #contact-us-button.active:after {
    transform: rotate(0deg);
}

.menu-list {
    position: fixed;
    top: 80px;
    background: var(--main-red);
    list-style: none;
    pointer-events: none;
    z-index: 998;
    transform: translateY(-200%);
    transition: all 0.3s ease;
}

.menu-list.active {
    pointer-events: unset;
    transform: translateY(0);
}

#contact-us {
    right: 190px;
}

#about-us {
    right: 360px;
}

.menu-list li {
    padding: 10px 20px;
    border-bottom: 1px solid var(--main-white);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li a {

    text-decoration: none;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

#cart-count {
    position: absolute;
    top: 20%;
    left: 50%;
    font-size: 12px;
}



#user{
    right: 20px;
}
#user li a{
    display: flex;
    align-items: center;

}
#user li a svg{
    width: 30px;
    height: 30px;
    margin-right: 0.7rem;
}



#cart-list {

    right: 0;
    top: 70px;
    padding: 10px 50px 10px 10px;
    background: white;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.cart-item-container{
    /*min-height: 300px;*/
    position: relative;
}
.cartButtons{
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid black;
}
.cartButtons>a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    background: var(--main-red);
    color: white;
    text-decoration: none;

}
#cart-cancel{
    background: #ADA2A4;
    cursor: pointer;
}
#cart-list>img{
    position: absolute;
}
#cartCat2{
    top: 0;
    right: 0;
}
#cartCat1{
top: 50%;
    right: 0;
}
.cart-item{
    display: flex;
    width: 100%;
    height: 120px;
    padding: 10px;
    border-bottom: 1px solid black;
}
.cart-item-image{
    width: 30%;
    height: 100%;
}
.cart-item-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cart-item-info{
    padding-left:10px ;
    width: 70%;
    height: 100%;
}
.cart-item-info p{
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cart-item-buttons{
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-item-buttons button{
    width: 25px;
    height: 25px;
    background: var(--main-red);
    border: none;
    color: white;
    cursor: pointer;
 }
.cart-item-buttons input{
    width: 25px;
    height: 25px;
    text-align: center;
}
.cart-item-buttons button:last-child {
    background-color: transparent;
    margin-left: auto;

}


/* Chrome, Safari, Edge, Opera */
.cart-item-buttons input[type=number]::-webkit-inner-spin-button,
.cart-item-buttons input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.cart-item-buttons input[type=number] {
    -moz-appearance: textfield;
}







#phone_nav_button {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--main-white);
    margin: 4px;
    transition: 0.4s;
}

.phone_nav {
    width: 100%;
    max-width: 500px;
    background-color: var(--main-red);
    position: fixed;
    top: 70px;
    right: 0;
    z-index: 998;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.phone_nav > li {
    width: 100%;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid var(--main-white);
    color: var(--main-white);
    font-size: 1.2rem;
}

.phone_nav li ul {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    list-style: disc;
    font-size: 0.9em;
    padding: 20px;
}

.phone_nav li details {
    width: 100%;

}

.phone_nav li details summary {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    /*padding: 10px 20px;*/

}

.phone_nav li details summary:before {
    content: "";
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--main-white);
    transform: rotate(180deg) translateY(50%);
    transition: all 0.3s ease;
    right: 5%;
    top: 50%;
}

.phone_nav li details[open] summary:before {

    transform: rotate(0deg);

}

#phone_nav_button {
    display: none;

}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--main-white);
    margin: 4px;
    transition: 0.4s;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 5px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;

}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: calc(50% - 5px);
}

.phone_nav li a {
    text-decoration: none;
    color: var(--main-white);
    font-weight: bold;
    cursor: pointer;
}

.phone_nav {
    display: none;
    transition: all 0.3s ease;
    transform: translateY(-200%);
}
.phone_nav svg{
    margin-right: 10px;
}
.phone_nav li a{
    display: flex;
    align-items: center;
}
.phone_logo {
    display: none;
    height: 100%;
}

.phone_logo img {

    height: 100px;
    object-fit: cover;
    margin-bottom: -50px;

}

@media screen and (max-width: 1050px) {
    .logo a {
        font-size: 1.8rem;
    }

    .menu-list {
        display: none;
    }

    #phone_nav_button {
        display: flex;
    }

    .nav-menu ul li {
        display: none;
    }

    .phone_nav {
        display: flex;
        transition: all 0.3s ease;
    }

    .phone_nav.active {
        transform: translateY(0);
    }


}

@media screen and (max-width: 650px) {
    .logo img {
        display: none;
    }

    .phone_logo {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .nav-menu {
        width: 30%;
    }
}

@media screen and (max-width: 1390px) {
    header {
        background: linear-gradient(150deg, var(--main-white) 30%, var(--main-red) 30%);
    }

}

@media screen and (max-width: 1100px) {
    header {
        background: linear-gradient(150deg, var(--main-white) 35%, var(--main-red) 35%);
    }

}