/* Popup box BEGIN */
.payment_method_plenishop_movil_qr img {
    max-height: 60px !important;
    margin-top: 15px;
    float: none !important;
}
.popup-wrapper{
    background:rgba(0,0,0,.4);
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    left:0;
    width:100%;
    z-index:9999999;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 24px 12px;
    box-sizing: border-box;
}
.popup-wrapper .helper{
    display:none;
}
.popup-wrapper > div,
.popup-wrapper .popup-main-wrapper {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: block;
    height: auto;
    max-width: 360px;
    max-height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 100px;
    width: min(92vw, 360px);
    position: relative;
    border-radius: 8px;
    padding: 28px 14px 16px;
    margin: 0 auto 24px;
    box-sizing: border-box;
}
.popup-wrapper .first-step,
.popup-wrapper .first-step * {
    max-width: 100%;
    box-sizing: border-box;
}
.popup-wrapper .first-step img.popup-qr {
    display: block;
    width: 160px !important;
    max-width: 160px !important;
    height: auto !important;
    margin: 0 auto 12px !important;
}
.popup-wrapper .first-step img.popup-logo {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain;
    margin: 0 auto 10px !important;
    display: block;
}
.popup-account-details {
    text-align: center;
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px dashed #96588a;
    border-radius: 8px;
    color: #000;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}
.popup-account-details p {
    margin: 4px 0 !important;
}
.popup-wrapper .first-step p {
    font-size: 14px;
}
.popup-wrapper .first-step .price {
    font-size: 18px;
    display: block;
    margin: 0 0 12px 0;
    color: #000;
    line-height: 1.3;
}
.popup-wrapper .first-step .amount{
    font-size: 28px;
    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 {
    background-color: #fff;
    border: 2px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    font-size: 18px;
    line-height: 28px;
    width: 32px;
    height: 32px;
    text-align: center;
    box-sizing: border-box;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
.popup-wrapper .btn_submit,
.popup-wrapper .finalized_order,
.popup-wrapper button.finalized_order {
    width: 100%;
    max-width: 100%;
    background-color: #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.popup-wrapper .btn_submit:hover,
.popup-wrapper .finalized_order:hover,
.popup-wrapper button.finalized_order:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.popup-wrapper .finalized_order:disabled,
.popup-wrapper button.finalized_order:disabled,
.popup-wrapper .btn_submit:disabled {
    background-color: #9a9a9a !important;
    color: #ffffff !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
}

/* Popup box BEGIN */

.box{
    font-size: 1rem;
    background-color: #f1f1f1;
    position: relative;
    padding: 16px 12px;
    margin-bottom: 12px;
    max-width: 100%;
    overflow: hidden;
}
.box.has-advanced-upload{
    outline: 2px dashed #92b0b3;
    outline-offset: -6px;
    -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: -10px;
    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: auto;
    height: auto;
    font-size: 28px;
    line-height: 1;
    color: #92b0b3;
    fill: #92b0b3;
    display: block;
    margin: 0 auto 10px;
    pointer-events: none;
    user-select: none;
}
.box.has-advanced-upload .box__icon * {
    pointer-events: none;
}

.box.is-uploading .box__input,
.box.is-success .box__input,
.box.is-error .box__input {
    visibility: hidden;
}

.box__input {
    display: block;
    cursor: pointer;
    width: 100%;
    margin: 0;
    padding: 0;
}

.box__input label,
.plenishop-proof-upload label.box__input {
    color: #333;
    font-size: 15px;
    cursor: pointer;
    display: block;
    width: 100%;
}

.box__action {
    display: block;
    margin-bottom: 6px;
}

.box__action-touch {
    display: none;
}

.box__action-desktop {
    display: block;
}

/* Touch / mobile: tap to upload, hide drag copy */
@media (hover: none), (pointer: coarse) {
    .box__action-touch {
        display: block !important;
    }
    .box__action-desktop,
    .box__dragndrop {
        display: none !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 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.box .box__file + label,
.plenishop-proof-upload label.box__input {
    max-width: 100%;
    cursor: pointer;
    display: block;
    overflow: hidden;
}
.box .box__file + label:hover strong,
.box__file:focus + label strong,
.box__file.has-focus + label strong,
.plenishop-proof-upload label.box__input:hover strong {
    color: #01b2b2;
}
.box .box__file:focus + label,
.box .box__file.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.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;
    font-size: 14px;
    padding: 15px;
    text-decoration: none;
    text-transform: capitalize;
    border-radius: 5px;
    padding: 8px 16px;
    margin: 25px auto 0;
    display: block;
}
.box__button:hover,
.box__button:focus {
    text-decoration: none;
}

.second-step, .popup-price-wrapper {
    display: none;
}

.telephone-number {
    display: block;
    color: #000;
    font-size: 18px;
    margin-top: 5px;
}

.telephone-number a{
    display: block;
    border-radius: 8px;
    border: dashed 1px #96588a;
    font-weight: bold;
    padding: 5px;
    outline: none !important;
    text-decoration: none;
}

.popup-wrapper .first-step .message-limit-amount {
    color: #e2401c;
    display: none;
}

.plenishop-parts-hint {
    color: #b32d2e;
    font-weight: 600;
    font-size: 14px;
    margin: 8px 0 12px;
}

.plenishop-proof-upload {
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(1, 178, 178, 0.15);
}

.plenishop-proof-help {
    display: block;
    font-size: 12px !important;
    margin: 8px 0 0 !important;
    color: #555;
    white-space: normal;
}

.plenishop-proof-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.plenishop-proof-item {
    width: 84px;
    position: relative;
}

.plenishop-proof-item img {
    width: 84px !important;
    height: 84px !important;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin: 0 !important;
    display: block;
}

.plenishop-proof-remove {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 6px !important;
    cursor: pointer;
    background-color: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #666666 !important;
    border-radius: 4px !important;
    text-shadow: none !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
}

.plenishop-proof-remove:hover {
    background-color: #f3f3f3 !important;
    color: #111111 !important;
}

.plenishop-proof-status {
    font-size: 13px;
    margin: 8px 0 0;
    color: #1e1e1e;
}

.popup-wrapper .finalized_order:disabled {
    opacity: 1 !important;
}

@media screen and (max-width: 480px) {
    .popup-wrapper > div,
    .popup-wrapper .popup-main-wrapper {
        width: min(94vw, 360px);
        padding: 28px 12px 14px;
    }
    .popup-wrapper .first-step img.popup-qr {
        width: 140px !important;
        max-width: 140px !important;
    }
}

/* HIDE RADIO */
.app_selector {
    display: inline-grid;
    max-width: 70px;
    margin-right: 5px;
    text-align: center;
    font-weight: 700;
}
.app_selector [type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* IMAGE STYLES */
.app_selector [type=radio] + img {
    cursor: pointer;
    border: 1px solid #ccc;
  }
  
  /* CHECKED STYLES */
.app_selector [type=radio]:checked + img {
    outline: 3px solid #E30054;
}

