.credit-button {
    background-color: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.credit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.credit-popup {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    max-width: 858px;
    position: relative;
}

.product-price {
	text-align: center;
}

.credit-popup .close-popup {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    line-height: 1;
    padding: 0px 14px;
    display: block;
    min-height: 32px;
}

.credit-container h2 {
    font-size: 14px;
}

.quantity-control .quantity-btn {
	background-color: #000;
    color: #fff;
    border-radius: 31px
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.credit-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #e7e7e7;
    border-radius: 5px;
    width: 60px;
    cursor: pointer;
    text-align: center;
    position: relative;
    border: 0;
    font-weight: 600;
    font-size: 16px;
}

.credit-form label {
    display: block;
    margin-bottom: 0;
}

.credit-form input[type="text"] {
    width: 100%;
    padding: 5px 19px;
    margin-bottom: 10px;
}

.credit-term > button {
	
}

#submit-credit {
    background-color: orange;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

#submit-credit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


.credit-container {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-info, .credit-options, .credit-form {
    flex: 1;
}

.credit-container-right {
    background-color: #fff;
    border-radius: 30px;
    padding: 17px;
    margin-left: 27px;
}

.credit-form .credit-btn {
    background-color: #e89e63;
    border-radius: 20px;
    color: #fff;
}

.product-prices {

}
.product-prices > div > p {
	margin: 0px;
}
.product-prices > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    background-color: #fff;
    border-radius: 30px;
    padding: 13px 15px;
}

.credit-container-left {
	
}

.product-info {
    background-color: #fff;
    border-radius: 30px;
    padding: 17px;
}

.product-info .price {
	visibility: visible;
}

.product-image {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    margin: 0 auto;
    display: block;
    margin-bottom: 21px;
}

h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    max-width: 178px;
    margin: 0 auto;
}

.quantity-btn {
    background-color: #ccc;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    text-align: center;
    margin: 0 5px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.credit-options h3, .credit-form h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.credit-terms {
    display: flex;
    justify-content: space-between;
}

.term-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #e7e7e7;
    border-radius: 5px;
    width: 40px;
    cursor: pointer;
    text-align: center;
}

.zero_percent {
    position: absolute;
    right: -7px;
    top: -9px;
    width: 19px;
    height: 20px;
    border: 1px solid green;
    display: block;
    font-size: 11px;
    border-radius: 50px;
    line-height: 1.6;
    font-weight: 600;
    background-color: #fff;
    color: #000;
}

.term-radio {
    display: none;
}

.term-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: #e7e7e7;
    border-radius: 5px;
    width: 60px;
    cursor: pointer;
    text-align: center;
    position: relative;
}

.term-label .zero_percent {
    font-size: 10px;
    position: absolute;
    top: 2px;
    right: 5px;
    color: #333; /* Adjust as needed */
}

.term-radio:checked + .term-label {
    background-color: #4caf50;
    color: white;
}

/* Directly target the term-label when the radio button is checked */
.term-label input[type="radio"]:checked ~ .term-label {
    background-color: #4caf50;
    color: white;
}

.term1 {
    display: flex;
    /* justify-content: space-between; */
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.term{
  display: none;
}
.term-inner {
    margin-right: 8px;
    margin-bottom: 8px;
}
.term1 input[type="radio"]:checked+label {
    background-color: #dda16c;
    color: #fff;
}



.term-list{
 border-style: solid;
    border-width: thin;
    margin: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.term-list:hover{
  background-color:#D6D5A8;
  color:black;
}


.monthly-payment {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 12px;
    color: #ff0000;
}

.credit-form .form-input {
    width: calc(33% - 10px);
    margin-right: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-input {
    margin-right: 5px;
}

.credit-btn {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.credit-btn:hover {
    background-color: #45a049;
}

.credit-button  {
    border-radius: var(--btn-accented-brd-radius) !important;
    color: var(--btn-accented-color) !important;
    box-shadow: var(--btn-accented-box-shadow) !important;
    background-color: var(--btn-accented-bgcolor) !important;
    text-transform: var(--btn-accented-transform, var(--btn-transform)) !important;
    font-weight: var(--btn-accented-font-weight, var(--btn-font-weight)) !important;
    font-family: var(--btn-accented-font-family, var(--btn-font-family)) !important;
    font-style: var(--btn-accented-font-style, var(--btn-font-style)) !important;
}

.credit-button:hover {
    color: var(--btn-accented-color-hover) !important;
    box-shadow: var(--btn-accented-box-shadow-hover) !important;
    background-color: var(--btn-accented-bgcolor-hover) !important;
}

.credit-container-success {
	font-size: 19px;
    text-align: center;
    width: 100%;
}

.close-popup:hover {
	background: transparent !important;
}

@media screen and (max-width: 992px) {
.credit-container {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.credit-container-right {
    background-color: #fff;
    border-radius: 30px;
    padding: 17px;
    margin-left: 0;
    margin-top: 17px;
}
    .credit-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        overflow-y: auto;
    }
.credit-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    background-color: #e7e7e7;
    border-radius: 5px;
    width: 41px;
    cursor: pointer;
    text-align: center;
    position: relative;
    border: 0;
    font-weight: 600;
    font-size: 16px;
    height: 39px;
}
.credit-form label {
    display: block;
    margin-bottom: 0;
    font-size: 13px;
    width: 100%;
    display: block;
    line-height: 1;
}
    .credit-popup {
        background-color: rgb(255, 255, 255);
        width: 100%;
        max-width: 858px;
        position: absolute;
        border-radius: 5px;
        top: 0;
    }
}