.cart-body div:first-of-type div img{
    max-width: 120px;
    height: 120px;
    flex-grow: 1;
}
.cart-body > div:first-of-type{
    width: 50%;
}
.cart-body div:last-of-type{
    width: 30%;
    height:fit-content;
    position: sticky;
    top: 130px;
}
.cart-body .container-btn button{
    font-size: 14px;
    padding: 5px 7px;
    border-radius: 5px;
    min-width: fit-content;
}
.cart-body .container-btn button:first-of-type{
    background-color: transparent;
    border: 1px solid var(--black-color);
    
}
.cart-body .container-btn button:first-of-type i{
    transition: .5s;
}
.cart-body .container-btn button:first-of-type:hover i{
    color: #FF0000;
}
.cart-body .container-btn button:first-of-type:hover{
    color: white;
    background-color: black;
}
.cart-body .container-btn button:last-of-type{
    background-color: rgb(190, 3, 3);
    color: white;
    cursor: pointer;
    transition: .5s;
}
.cart-body .container-btn button:last-of-type:hover{
    background-color: red;
}
.cart-body div:last-of-type .confirm{
    width: 100%;
    background-color: var(--black-color);
    padding: 10px ;
    border-radius: 10px;
    color: var(--main-color);
    transition: .5s;
}
.cart-body div:last-of-type .confirm:hover{
    background-color: rgb(51, 51, 51);
}
main .quantity{
    border: 1.5px solid var(--main-color);
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    max-width: 150px;
}
main .quantity button, main .quantity div{
    padding: 5px 10px;
    text-align: center;
    font-size: 15px;
    border: 1px solid var(--main-color);
    flex-grow: 1;
    transition: .5s;
}
main .quantity button:hover{
    background-color: var(--main-color);
    color: var(--black-color);
}
main .content-container .container-choose{
    min-width: 100%;
}
.size-selector {
    min-width: 100px;
}
.container-choose{
    text-align: left;
}

.size-selector select {
    border: 2px solid black;
    border-radius: 8px;
  font-size: 16px;
  padding: 8px 12px;
  cursor: pointer;
  color: black;
  background-color: #fff;
  transition: all 0.3s ease;
}

.size-selector select option{
    color: var(--black-color);
}
.size-selector select:focus {
  border-color: var(--black-color);
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
}

.size-selector option[disabled] {
  color: #999; /* رمادي للمقاسات الغير متاحة */
}
.payment-section{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    background-color: var(--main-color);
    padding: 20px;
    margin-bottom: 40px;
}
.payment-section img{
    width: 80px;
}

@media (max-width:800px) {
    .cart-body > div:first-of-type{
        width: 80%;
        margin: auto;
    }
    .cart-body div:last-of-type{
        width: 80%;
        margin: auto;
    }
    .cart-body div:last-of-type .confirm{
        font-size: 18px;
    }
    .cart-body div:last-of-type{
        position: relative;
        top: 0px;
    }
    .payment-section img{
        width: 60px;
    }
    .size-selector select {
        font-size: 14px;
        padding: 4px 6px;
    }
    .add-fav.active i {
        color: red;
    }

}