.modal{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 10svh;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    z-index: -10;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal.active{
    opacity: 1;
    z-index: 10;
    transform: scale(1);
}

.sepet{
    width: 96%;
    height: 100%;
    margin-left: 4%;
    background-color: rgb(228, 228, 228);
}

.sepet-title{
    width: 100%;
    height: auto;
    text-align: center;
    font-size: 2.2svh;
    font-weight: 500;
    padding: 3svh;
    border-bottom: 1px solid gray;
}

.bag-item-list{
    width: 92%;
    height: 65svh;
    max-height: 60svh;
    overflow-y: scroll;
    margin-left: 4%;
    border-bottom: 1px solid gray;
}

.bag-item-list p{
    text-align: center;
    font-size: 2svh;
    margin-top: 10svh;
}

.bag-item{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4svh 0;
    border-bottom: 1px solid gray;
}

.item-image{
    width: 35%;
    height: 16svh;
    margin-right: 5%;
    border: 1px solid rgb(185, 185, 185);
    border-radius: 2svh;
    background: linear-gradient(rgb(206, 206, 206), rgb(223, 223, 223), rgb(201, 201, 201));
    cursor: pointer;
}

.item-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-details{
    width: 60%;
    height: auto;
}

.item-name{
    width: 100%;
    height: auto;
    font-size: 2svh;
    font-weight: 500;
    margin-bottom: 2svh;
}

.adet-ct-trash{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.item-adet-kontrol{
    width: 60%;
    height: auto;
    margin-right: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(224, 224, 224);
    border: 2px solid rgb(199, 199, 199);
    border-radius: 2svh;
    margin-bottom: 2svh;
}

.item-adet-kontrol button{
    width: 30%;
    height: 4.5svh;
    border: none;
    border-radius: 2svh;
    background-color: rgb(224, 224, 224);
    font-size: 2.6svh;
    cursor: pointer;
}

.item-adet-kontrol input{
    width: 40%;
    height: 4.5svh;
    font-size: 2.1svh;
    text-align: center;
    background-color: rgb(224, 224, 224);
    border: none;
    outline: none;
}

.delete-item{
    width: 30%;
    height: 4.5svh;
    text-align: center;
    cursor: pointer;
}

.delete-item i{
    font-size: 3svh;
}

.item-price{
    width: auto;
    height: auto;
    color: rgb(255, 115, 0);
    font-size: 2svh;
    font-weight: 600;
}

.item-price span{
    font-size: 2svh;
    font-weight: 500;
    color: rgb(20, 20, 20);
}

.sepet-toplam{
    width: 92%;
    height: auto;
    margin-left: 4%;
    margin-top: 3svh;
    color: rgb(12, 12, 12);
    font-size: 2.2svh;
    font-weight: 600;
    margin-bottom: 3svh;
}

.sepet-toplam span{
    color: rgb(29, 29, 29);
    font-size: 2.2svh;
    font-weight: 500;
}

.go-summary{
    width: 92%;
    height: auto;
    margin-left: 4%;
    font-size: 2.3svh;
    font-weight: bold;
    background-color: black;
    color: white;
    text-align: center;
    padding: 2svh;
    border-radius: 2svh;
}

.go-summary a{
    text-decoration: none;
    color: white;
    display: block;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 800px) {
    .modal{
        top: 8vh;
    }

    .sepet{
        width: 30%;
        margin-left: 70%;
    }

    .sepet-title{
        font-size: 2vh;
    }

    .bag-item-list p{
        font-size: 1.8vh;
    }

    .item-name{
        font-size: 1.7vh;
    }

    .item-adet-kontrol button{
        height: 4vh;
    }

    .item-adet-kontrol input{
        height: 4vh;
        font-size: 1.8vh;
    }

    .delete-item{
        height: 4vh;
    }

    .delete-item i{
        font-size: 2.5vh;
    }

    .item-price{
        font-size: 1.7vh;
    }

    .item-price span{
        font-size: 1.7vh;
    }

    .sepet-toplam{
        font-size: 1.7vh;
    }

    .sepet-toplam span{
        font-size: 1.7vh;
    }

    .go-summary{
        font-size: 1.8vh;
        padding: 1.5vh;
    }
}