/* Popup box BEGIN */
.payment_method_wocommerce_yape_peru img {
    max-height: 60px !important;
    margin-top: 15px;
    float: none !important;
}

.popup-wrapper {
    background: rgba(17, 24, 39, .5);
    backdrop-filter: blur(1.5px);
    /*cursor:pointer;*/
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.popup-wrapper,
.popup-wrapper * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, "Lato", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.popup-wrapper .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.popup-wrapper>div {
    background-color: #fff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15) !important;
    display: inline-block !important;
    height: auto !important;
    max-width: 520px !important;
    min-height: 100px !important;
    vertical-align: middle !important;
    width: 90% !important;
    position: relative !important;
    border-radius: 12px !important;
    padding: 24px !important;
    text-align: left !important;
}

.popup-main-wrapper {
    padding-bottom: 28px;
}

.popup-wrapper .first-step img {
    margin-bottom: 16px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    display: block !important;
}

.popup-wrapper .first-step .popup-qr {
    display: block;
    margin: 0 auto 16px;
    width: 100%;
    max-width: 320px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}

.popup-wrapper .first-step p {
    font-size: 16px !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    margin: 6px 0 0 !important;
}

.popup-wrapper .first-step .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 8px 0 20px !important;
    color: #0f766e !important;
    line-height: 1.4 !important;
    background: #f0fbfb !important;
    border: 1px solid #01b2b2 !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
}

.popup-wrapper .first-step .price .woocommerce-Price-amount {
    color: #0f766e !important;
    font-weight: 700 !important;
    font-size: inherit !important;
}

.popup-wrapper .first-step .price .woocommerce-Price-currencySymbol {
    font-size: inherit !important;
}

.popup-wrapper .first-step .amount {
    font-size: 40px;
    display: block;
}

.popup-wrapper .error {
    width: 100%;
    padding: 7px;
    border: 1px solid #ff0000;
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.popup-wrapper .loader {
    display: none;
    width: 25px;
    height: auto;
    margin: 0 auto;
    position: absolute;
    right: 60px;
    bottom: 23px;
}

.popupCloseButton {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 26px !important;
    height: 26px !important;
    line-height: 26px !important;
    border-radius: 50% !important;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08) !important;
    text-align: center !important;
    cursor: pointer !important;
    z-index: 10002 !important;
}

.popupCloseButton:hover {
    background-color: #f9fafb !important;
    color: #000000 !important;
}

.popup-wrapper .btn_submit {
    background-color: #01b2b2 !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08) !important;
    transition: background-color .2s ease, box-shadow .2s ease !important;
    display: block !important;
    margin: 12px auto 10px !important;
}

.popup-wrapper .btn_submit:hover,
.popup-wrapper .btn_submit:focus {
    background-color: #019696;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    outline: 2px solid rgba(1, 178, 178, .25);
    outline-offset: 2px;
}

.first-step .btn_submit {
    width: 100% !important;
    max-width: 280px !important;
    letter-spacing: .2px !important;
}

.second-step .btn_submit {
    width: 100% !important;
    max-width: 320px !important;
}

/* Popup box BEGIN */

.box-ms {
    font-size: 1rem;
    background-color: #f8fafc;
    position: relative;
    padding: 24px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.box.has-advanced-upload {
    outline: 2px dashed #92b0b3;
    outline-offset: -8px;
    border-radius: 8px;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.box.is-dragover {
    outline-offset: -20px;
    outline-color: #c8dadf;
    background-color: #fff;
}

.box__dragndrop,
.box__icon {
    display: none;
}

.box.has-advanced-upload .box__dragndrop {
    display: inline;
}

.box.has-advanced-upload .box__icon {
    width: 100%;
    height: 80px;
    fill: #92b0b3;
    display: block;
    margin-bottom: 40px;
}

.box.is-uploading .box__input,
.box.is-success .box__input,
.box.is-error .box__input {
    visibility: hidden;
}

.box__input {
    text-align: center !important;
}
.box__input label {
    color: #4b5563 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto 6px !important;
}

.box__uploading,
.box__success,
.box__error {
    display: none;
}

.box.is-uploading .box__uploading,
.box.is-success .box__success,
.box.is-error .box__error {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;

    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box__uploading {
    font-style: italic;
}

.box__success {
    -webkit-animation: appear-from-inside .25s ease-in-out;
    animation: appear-from-inside .25s ease-in-out;
}

@-webkit-keyframes appear-from-inside {
    from {
        -webkit-transform: translateY(-50%) scale(0);
    }

    75% {
        -webkit-transform: translateY(-50%) scale(1.1);
    }

    to {
        -webkit-transform: translateY(-50%) scale(1);
    }
}

@keyframes appear-from-inside {
    from {
        transform: translateY(-50%) scale(0);
    }

    75% {
        transform: translateY(-50%) scale(1.1);
    }

    to {
        transform: translateY(-50%) scale(1);
    }
}

.box__restart {
    font-weight: 700;
}

.box__restart:focus,
.box__restart:hover {
    color: #39bfd3;
}

.box .box__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.box .box__file+label {
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.box .box__file+label:hover strong,
.box__file:focus+label strong,
.box__file.has-focus+label strong {
    color: #39bfd3;
}

.box .box__file:focus+label,
.box .box__file.has-focus+label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.box .box__file+label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.no-js .box__file+label {
    display: none;
}

.no-js .box__button {
    display: block;
}

.box__button {
    background-color: transparent !important;
    color: #01b2b2 !important;
    border: 1px solid #01b2b2 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    text-transform: capitalize !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    margin: 16px auto 0 !important;
    display: block !important;
    max-width: 280px !important;
}

.box__button:hover,
.box__button:focus {
    text-decoration: none;
}

.second-step,
.popup-price-wrapper {
    display: none;
}


.kwp-woo-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px !important;
    width: 100px;
}


@media screen and (max-width: 480px) {
    .popup-wrapper>div {
        width: 86%;
    }
}

.popup-wrapper .first-step .telephone-number {
    display: block;
    color: #000;
    font-size: 18px;
}

.popup-wrapper .first-step .telephone-number a {
    display: block;
    border-radius: 8px;
    border: dashed 1px #96588a;
    background: #ccc;
    font-weight: bold;
    padding: 10px;
    outline: none !important;
    text-decoration: none
}

.popup-wrapper .first-step .message-limit-amount {
    color: #e2401c;
    display: none;
}

@media screen and (max-width: 480px) {
    .popup-wrapper>div {
        width: 86%;
    }
}