#buyoneclick_form_order {
    font-size: 13px;
    line-height: 1.4;
}
#buyoneclick_form_order .form-message-result:empty {
    padding: 0;
}
#buyoneclick_form_order .form-message-result {
    clear: both;
    margin: 5px 20px;
    padding: 1em 1.618em;
    border-left: .6180469716em solid rgba(0, 0, 0, .15);
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    background-color: #e2401c;
}
#buyoneclick_form_order .form-message-result.form-message-success {
    background-color: #3bb54a !important;
}
#buyoneclick_form_order form {
    margin-bottom: 0;
}
#buyoneclick_form_order .table-wrap {
    text-align: center;
    display: inline-block;
    background-color: #fff;
    color: #111;
    width: 100%;
    padding: 0 20px;
}

#buyoneclick_form_order .table-wrap table {
    border: 1px solid #d2d6dc;
    width: 100%;
    margin:0;
    padding:0;
    border-radius: 0;
    border-spacing: 0;
}

#buyoneclick_form_order .table-wrap table tr {
    border: 1px solid #ddd;
    padding: 5px;
}

#buyoneclick_form_order .table-wrap table th, #buyoneclick_form_order .table-wrap table td {
    font-size: 13px;
    padding: 5px;
}
#buyoneclick_form_order .table-wrap table th:not(:last-child), #buyoneclick_form_order .table-wrap table td:not(:last-child) {
    border-right: 1px solid #ddd;
}
#buyoneclick_form_order .table-wrap table th {
    border-bottom: 1px solid #ddd;
}

.submit-wrapper {
    padding: 0 20px;
    display: flex;
    column-gap: 40px;
    margin-top: 10px;
}

#formOrderOneClick>.overlay {
    display: block;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000%;
    background: rgba(0, 0, 0, .7);
    background: rgba(52, 53, 55, .4);
    content: "";
    cursor: pointer;
    transition: opacity .5s, visibility .5s;
}
#formOrderOneClick>.popup {
    overflow: hidden;
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    left: auto;
    width: 420px;
    height: 100%;
    background-color: #fff;
    transition: all .35s;
    outline: 0;
    overscroll-behavior: contain;
    transform: translateX(100%);
}
@media (max-width: 500px) {
    #formOrderOneClick>.popup {
        width: 100% !important;
    }
}
#formOrderOneClick>.popup.show {
    overflow: hidden;
    position: fixed;
    z-index: 999999999;
    top: 0;
    right: 0;
    left: auto;
    width: 420px;
    height: 100%;
    background-color: #fff;
    transition: all .35s;
    outline: 0;
    overscroll-behavior: contain;
    transform: translateX(0);
}
form#buyoneclick_form_order h2 {
    padding: 15px 20px;
    font-size: 17px;
    font-weight: 600;
    color: #111;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

#formOrderOneClick .popup .close_order {
    position: absolute;
    z-index: 99;
    top: 12.5px;
    right: 16px;
    width: 26px;
    height: 26px;
    color: transparent;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12'%3E%3C/path%3E%3C/svg%3E");
    padding: 0;
    border: none;
    transition: opacity .3s;
}

#formOrderOneClick input[type="email"], #buyoneclick_form_order input[type="tel"], #buyoneclick_form_order input[type="text"] {
    border-color: #d2d6dc;
    border-width: 1px;
    border-radius: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    font-size: 16px;

    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
    width: calc(100% - 40px);
}

#formOrderOneClick textarea{
    resize: none;
    padding-left: .7em;
    padding-right: .7em;
    padding-top: .5180469716em;
    padding-bottom: .5180469716em;
    width: calc(100% - 40px);
    height: 80px;
    color: #000;
    border: 1px solid #d2d6dc;
    border-radius: 0;
    background-color: #fff;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
    font-size: 16px;
}

#formOrderOneClick input[type="checkbox"] {
    float: left;
}
#formOrderOneClick .popup #buyoneclick_form_order {
    position: relative;
    border-radius: 0;
    background: none;
}

#formOrderOneClick .button:hover {

    text-decoration: none;
}
#formOrderOneClick .button:active, #buyoneclick_form_order input[type="submit"].button:disabled {
    opacity: 0.7;
    cursor: default;
}
#formOrderOneClick .phoneFormat {
    line-height: 12px;
    font-size: 12px;
    color: #cacaca;
    position: relative;
    z-index: 20;
    padding: 0;
    margin: 2px;
}

#formOrderOneClick th,td {
    font-weight: normal;
}
#formOrderOneClick .button{
    font-size: 15px;
    position: relative;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: all .3s;
    width: calc(100% - 40px);
    flex: 1;
}
#formOrderOneClick [name="quantity_product"] {
    width: 50px;
    height: 52px;
    padding: .5rem;
    border: 1px solid #e2e2e2;
    background: 0 0;
    background-color: #fff;
    box-shadow: none;
    outline-offset: -3px;
    font-size: 17px;
    font-weight: 400;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#formOrderOneClick span.quantity-button.quantity-down.minus {
    bottom: 0;
}
@media screen and (max-width: 600px) {
    #formOrderOneClick > .popup {
        min-width: 90%;
    }

    #buyoneclick_form_order .table-wrap table {
        border: 0;
    }
    #buyoneclick_form_order .table-wrap table thead {
        display: none;
    }
    #buyoneclick_form_order .table-wrap table tr {
        margin-bottom: 10px;
        display: block;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }
    #buyoneclick_form_order .table-wrap table td {
        display: flex;
        flex-direction: column;
        font-size: 13px;
        border-bottom: 1px dotted #d2d6dc;
        border-right: 1px solid transparent;
    }
    #buyoneclick_form_order .table-wrap table td:last-child {
        border-bottom: 0;
    }
    #buyoneclick_form_order .table-wrap  table td:before {
        content: attr(data-label);
        float: left;
        /* text-transform: uppercase; */
        font-weight: bold;
    }
}
