nav {
    position: sticky;
    top: 0;
    width: 100%;
    right: 0;
    z-index: 2;
    padding: 10px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all .6s ease;
    border-bottom: 1px solid var(--grayThree);
}

.logo svg {
    width: 3rem;
    height: 3rem;
}

.rightContent {
    display: flex;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    margin-left: 35px;
}

.menu li a {
    display: inline-block;
    color: var(--black);
    transition: all .6s ease;
    font-size: 1rem;
}

.menu li a:hover {
    color: var(--gold);
}

.navBtn {
    padding: 5px 10px;
    background-color: var(--blue);
    border: 2px solid transparent;
    border-radius: 20px;
    color: var(--white) !important;
    transition: all .6s ease;
}

.navBtn:hover {
    transform: translateY(-5px);
    background-color: var(--gold);
    color: var(--black) !important;
}

.bag {
    position: relative;
    transition: all .6s ease;
    cursor: pointer;
}

.bag:hover {
    transform: translateY(-5px);
}

.bag img {
    max-height: 1.5rem;
    transition: all o.2s ease;
}

.bag span {
    background-color: var(--blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: absolute;
    top: -5px;
    left: 70%;
    padding: 3px 8px;
    font-size: 0.7rem;
}

.rightContent svg {
    width: 2rem;
    height: 2rem;
    z-index: 10001;
    cursor: pointer;
    margin-left: 25px;
    display: none;
}

@media (max-width: 950px) {

    .rightContent svg {
        display: block;
    }

    .bag {
        transform: translateY(25%);
    }

    .menu {
        position: absolute;
        width: 150px;
        height: 100vh;
        padding-top: 100px;
        align-items: center;
        top: 0;
        bottom: 0;
        left: 100%;
        display: none;
        flex-direction: column;
        gap: 25px;
        background-color: var(--grayOne);
        transition: all .6s ease-in-out;
        border-left: 2px solid var(--grayThree);
    }

    .menu li {
        margin-left: 0;
    }

    .menu li a {
        display: block;
        margin: 0;
        font-size: var(--pFont);
    }

    .menu.open {
        left: calc(100% - 150px);
    }

    .navBtn {
        padding: 5px 10px !important;
    }
}

@media (max-width: 768px){
    .logo svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .bag img{
        max-height: 1.2rem;
    }

    .bag span{
        font-size: 0.5rem;
        padding: 2px 6px;
    }
}

@media (max-width: 425px){
    .logo svg {
        width: 2rem;
        height: 2rem;
    }

    .bag img{
        max-height: 1rem;
    }

    .bag span{
        font-size: 0.5rem;
    }

    .rightContent svg {
        width: 1.6rem;
        height: 1.6rem;
    }

    .menu{
        padding-top: 80px;
        gap: 15px;
    }
}

