#installments {
    position: absolute;
    margin-top: -5.3rem;
}

#btn-installments-modal {
    font-size: 0.9rem;
    color: #576071;
    cursor: pointer;
}

#btn-installments-modal:after {
    background-color: #576071;
}

.fs-lg {
    font-size: 1.125rem !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.35rem !important;
}

.fancy-link {
    display: inline-block;
    position: relative;
    color: #008aff;
    font-weight: 500;
    text-decoration: none;
}

.fancy-link::after {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: .0625rem;
    background-color: #008aff;
    content: '';
}

.fancy-link:hover {
    color: #008aff;
    text-decoration: none;
}

.fancy-link:hover::after {
    -webkit-animation: linkUnderline .6s ease-in-out;
    animation: linkUnderline .6s ease-in-out;
}

.fancy-link.text-light {
      color: #fff;
}
.fancy-link.text-light::after {
    background-color: #fff;
}

.fancy-link.text-light:hover {
    color: #fff;
}
  
@-webkit-keyframes linkUnderline {
0% {
    width: 100%; }
50% {
    width: 0; }
100% {
    left: 0;
    width: 100%; }
}

@keyframes linkUnderline {
0% {
    width: 100%; }
50% {
    width: 0; }
100% {
    left: 0;
    width: 100%; } 
}

.modal {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 1055;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    outline: 0;
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 60%);
}

#installmentsModal .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.5rem;
    outline: 0;
    z-index: 99999999 !important;
}

.modal.fade {
    transition: opacity 0.15s linear;
}

.modal.fade .modal-dialog {
    transition: transform 0.2s ease-out;
    transform: scale(0.9);
}

@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}

.modal.show .modal-dialog {
transform: none;
}

#installmentsModal .modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem;
    pointer-events: none;
}

#installmentsModal .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

#installmentsModal .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

#installmentsModal .modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (min-width: 576px) {
    #installmentsModal .modal-dialog {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 992px) {
    #installmentsModal .modal-dialog {
        width: 100%;
        margin: 0;
    }
}

#installmentsModal .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

#close-installment-modal {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
    outline: none;
}

#close-installment-modal:hover {
    opacity: 1;
}

.woo-custom-installments-info-container {
    display: block;
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.woo-custom-installments-details.best-value.fee-included {
    display: block;
}

.woo-custom-installments-offer {
    display: inherit;
    width: fit-content;
    font-size: 1rem;
    font-weight: 500;
    background-color: #e9f9ef;
    color: #22c55e;
    border: 1px solid #91e2af;
    padding: 0.5rem 1rem;
    border-radius: 0.35rem;
}

.woo-custom-installments-offer .amount {
    font-size: 1rem;
    color: #22c55e;
}

.archive .woo-custom-installments-offer, .related .woo-custom-installments-offer, .product-grid-item .woo-custom-installments-offer {
    font-size: 0.9rem;
    display: inline-block;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 0.35rem;
    text-align: center;
}

@media (max-width: 992px){
    .archive .woo-custom-installments-offer, .related .woo-custom-installments-offer {
        display: block;
    }
}

.woo-custom-installments-table {
    width: 100%;
    margin: 0;
}

.woo-custom-installments-table th, .woo-custom-installments-table tr:last-child{
    border: none;
}

.woo-custom-installments-table tr {
    border-bottom: 1px solid #e9e9f2;
    background-color: #fff;
}

.woo-custom-installments-table th, .woo-custom-installments-table th .amount {
    font-weight: 400;
}

.woo-custom-installments-table th.first-text {
    text-align: left;
}

.woo-custom-installments-table th.final-price {
    text-align: right;
}

table {
    caption-side: bottom;
    border-collapse: collapse;
}

#installments table tbody>tr:nth-child(odd)>td, #installments table tbody>tr:nth-child(odd)>th {
    background-color: #fff !important;
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: transparent;
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px transparent;
}

thead, tbody, tfoot, tr, td, th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.single-product div.product p.price, .single-product div.product span.price {
    margin-bottom: 2rem;
}

.woo-custom-installments-cart .final-price {
    float: right;
}

.woo-custom-installments-value-details {
    font-size: .9rem;
    font-weight: 400;
}


/*Custom CSS for Woodmart theme*/

.product-grid-item .woo-custom-installments-info-container, .product-grid-item .woo-custom-installments-info-container .amount, .product-grid-item .woo-custom-installments-offer,  .product-grid-item .woo-custom-installments-offer .amount,  .single-product-page .woo-custom-installments-offer {
	font-size: .9rem;
}

.single-product-page .woo-custom-installments-offer .amount , .product-grid-item .woo-custom-installments-offer .amount {
    color: #22c55e;
}

.single-product-page .woo-custom-installments-offer {
	display: flex;
	align-items: center;
	width: fit-content;
}

.product-grid-item .woo-custom-installments-offer {
	margin: 0 auto;
}

.product-grid-item .woo-custom-installments-details {
	display: block !important;
	margin: 0 !important;
}

.theme-woodmart .woo-custom-installments-offer .amount {
	margin-right: .3rem;
	font-size: .9rem !important
}

.single-product-page .woo-custom-installments-details {
	display: flex;
	margin-top: 1rem;
}

.product-grid-item .woo-custom-installments-details .amount, 
.single-product-page .woo-custom-installments-details .amount {
	font-size: 1rem !important;
	margin-left: .3rem;
	margin-right: .3rem;
}

/*End custom CSS for Woodmart theme*/

.theme-hello-elementor #installments {
    margin-top: -13rem;
}