.wci-popup-content .woo-custom-installments-pix-section,
.wci-popup-content .woo-custom-installments-credit-card-section,
.wci-popup-content .woo-custom-installments-debit-card-section,
.wci-popup-content .woo-custom-installments-ticket-section {
    border-bottom: 1px solid #d4d7e5;
    margin-bottom: 2rem;
}

.wci-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 999999 !important;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    
}

.wci-popup-container.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.wci-popup-content {
    background-color: #fff;
    border-radius: 0.5rem;
    width: auto;
    height: auto;
    overflow: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translate(0, -50px);
    transition: transform .3s ease-out;
}

.wci-popup-container.show .wci-popup-content {
    transform: none;
}

@media screen and (min-width: 768px) {
    .wci-popup-content {
        width: 650px;
        height: fit-content;
        max-height: 75%;
    }
}

@media screen and (max-width: 767px) {
    .wci-popup-content {
        width: 95%;
        height: fit-content;
        max-height: 95%;
        position: absolute;
    }

    .wci-popup-container.show {
        position: fixed;
    }

    .woo-custom-installments-offer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
}

.wci-popup-content::-webkit-scrollbar, .credit-card-container-badges::-webkit-scrollbar, .debit-card-container-badges::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

@media screen and (max-width: 992px){
    .wci-popup-content::-webkit-scrollbar, .credit-card-container-badges::-webkit-scrollbar, .debit-card-container-badges::-webkit-scrollbar {
        height: 3px;
        width: 3px;
    }
}

.wci-popup-content::-webkit-scrollbar-track, .credit-card-container-badges::-webkit-scrollbar-track, .debit-card-container-badges::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 100%;
}

.wci-popup-content::-webkit-scrollbar-thumb, .credit-card-container-badges::-webkit-scrollbar-thumb, .debit-card-container-badges::-webkit-scrollbar-thumb {
    background-color: #CED4DA;
    border-radius: 50px;
}

.wci-popup-content::-webkit-scrollbar-thumb:hover, .credit-card-container-badges::-webkit-scrollbar-thumb:hover, .debit-card-container-badges::-webkit-scrollbar-thumb:hover {
    background-color: #212529;
}

button.wci-open-popup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1.6;
    color: #008aff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid #008aff;
    padding: 0.625rem 1.75rem;
    margin: 1rem 0 3rem 0;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    outline: none !important;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

button.wci-open-popup:hover {
    background-color: #008aff;
    color: #fff;
    
}

.wci-popup-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

#wci-popup-body {
    padding: 0rem 1.5rem 0rem 1.5rem;
}

.wci-popup-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: #212529;
    margin-bottom: 0;
}

button.wci-close-popup {
    width: 1rem;
    height: 1rem;
    color: #fff;
    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/0.925rem auto no-repeat !important;
    background-position: right;
    opacity: 0.35;
    border: none !important;
    outline: none !important;
}

button.wci-close-popup:hover {
    text-decoration: none;
    opacity: 0.75;
    cursor: pointer;
}