.custom-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    width: 50%;
    /* max-width: 500px; */
}

.custom-modal.active {
    display: block;
}

.custom-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.custom-modal-backdrop.active {
    display: block;
}

.custom-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}


.quantity-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
.quantity-wrapper {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}
.quantity-btn {
    background: #f8f8f8;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}
.quantity-btn:hover {
    background: #e0e0e0;
}
.quantity-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 16px;
}
.btn-modal-cart{
    width: 90% !important;
    height: 40px;
    border: 1px solid var(--c1) !important;
    color: var(--c1) !important;
}
.btn-modal-cart:hover{
    background-color: var(--c1) !important;
    color: #fff !important;
}
.btn-modal-buy{
    width: 90% !important;
    height: 40px;
    background-color: var(--c1) !important;
    color: #fff !important;
}
.modal-arow{
    width: 20px;
    transition: all .5s;
}
.modal-view-tx:hover .modal-arow{
    transform: translateX(5px);
    transition: all .5s;
}
.modal-pro-img{
    width: 100%;
}
@media screen and (max-width:920px) {
    .custom-modal{
        width: 90%;
        height: 90vh;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .modal-pro-img{
        height: 300px;
        object-fit: cover;
    }

}
