.button {
    display: inline-block;
    width: 30px; 
    height: 30px; 
    line-height: 30px; 
    text-align: center; 
    border: 1px solid #ccc;
    border-radius: 4px; 
    cursor: pointer;
    background-color: #dddcdc;
    font-size: 16px; 
    color: #333; 
    user-select: none; 
}

.cart-button a{
    width: 95px !important;
}

.button:hover {
    background-color: #c3c2c2; 
}

/* Style for the quantity display */
.cart-qty {
    display: inline-block;
    width: 30px;
    height: 30px; 
    line-height: 30px;  
    text-align: center; 
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; 
    color: #333; 
    margin: 0 0px; 
}

.cart-stock{
    padding: 5px 30px;
}

span.qty-val {
    padding-right: 7px;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #ddd;
}

.cart-summary-item.total {
    border-bottom: none;
    padding-top: 10px;
    padding-bottom: 5px;
    /* border-top: 2px solid #000; */
}

.cart-total_label {
    font-weight: 600;
}

.cart-total_amount {
    font-weight: 500;
}

span.save-price {
    font-size: 13px;
    font-weight: 900;
    color: #2eb00e;
}

.attr-variant {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.moq-text {
    margin-left: auto;
}

/* Tabs Navigation */
.tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.tabs-nav li {
    margin-right: 10px;
    cursor: pointer;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 5px;
    font-size: large;
    border: 1px solid;
}

.tabs-nav li.active {
    color: #1a79b4;

}

/* Tab Content */
.tab-content-item {
    display: none;
}

.tab-content-item.active {
    display: block;
}

.offer-custom-modal .modal-dialog {
    height: 80vh; /* Adjust this height as needed */
    max-height: 80vh; /* Ensures the modal does not exceed the viewport height */
}

/* Modal content */
.offer-custom-modal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Modal body with scrollbar */
.offer-custom-modal .modal-body {
    overflow-y: auto; /* Adds scrollbar when content exceeds height */
    flex: 1; /* Ensures the body grows to fill the available space */
}

/* Ensure the footer stays at the bottom */
.offer-custom-modal .modal-footer {
    margin-top: auto; /* Pushes footer to the bottom */
}

.cart-name{
    width: 50%;
}

/*small phone*/
@media only screen and (max-width: 480px) {
    .cart-stock{
        padding: 5px;
    }

    span.save-price {
        font-size: 13px;
        font-weight: 900;
        color: #2eb00e;
    }

    .product-qty-list{
        width: 60% !important;
        margin-top: 10px;
    }

    .product-extra-link2 .cart-btn{
        height: 40px;
        width: 270px;

    }

    .cart-button a{
        width: 180px !important;
    }
}