.one-click__dialog .modal-content.container-fluid {
    padding: 0;
}

.one-click__header {}
.one-click__header .close.one-click__close {
    /*width: 25px;
    height: 25px;
    background: #E7E7E7 url("data:image/svg+xml,%3Csvg width='8' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7.125.875-6.25 6.25m0-6.25 6.25 6.25' stroke='%23909090' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center center;
    opacity: 1;
    border-radius: 20px;*/
    top: 15px;
    right: 15px;
}

/*.one-click__header .close.one-click__close:hover {
    background-color: #cdcdcd;
}*/


.one-click__controls-label {
    color: #959595;
    font-size: 13px !important;
    margin-bottom: 0 !important;
}

.one-click__controls-title {
    margin-bottom: 0px;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F1F1F1;
    font-weight: 500;
}

.one-click__header {
    background-color: transparent !important;
    padding: 0 0 20px;
    border-bottom: none;
}

.on_article {
    font-size: 0.8em;
    font-weight: normal;
    color: #909090;
    margin-top: 5px;
}

.number.one-click__controls-number strong {
    display: block;
    font-size: 30px;
}

.one-click__header-name {
    font-size: 0.9em;
    font-weight: normal;
}

[id^="product-one-click-form"] .modal-footer {
    border-top: none;
    padding-top: 0;
}

[id^="product-one-click-form"] .modal-body.one-click__form {
    padding: 20px;
    background-color: #F1F1F1;
}

.one-click__dialog {
    max-width: 430px;
}

.one-click__dialog .modal-footer {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.one-click__dialog .modal-footer .btn.btn-red {
    border-radius: 6px;
    padding: 10px 35px !important;
}

.one-click__dialog .modal-footer .btn.btn-red img {
    display: none;
}

.oc_options {
    /* display: flex; */
    clear: both;
    justify-content: space-between;
    padding: 0;
    margin-top: 16px;
}

.one-click.modal.in {
    z-index: 99999;
}

.oc_options .form-group.painting .color-checker {
    min-width: 200px;
    position: relative;
    max-width: 100%;
}


.form-group.painting .checkBtn {
    flex-direction: column;
    background-color: transparent;
    color: black;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
}

.form-group.painting .color-checker .p-checkbox {
    padding: 0;
    font-size: 0.7em !important;
    color: #909090;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 4px;
    overflow: visible;
}

.form-group.painting .color-checker .p-checkbox .colorsCount {
    position: absolute;
    right: 0;
    /* font-size: 0.7em; */
    padding: 0px 5px 0px 5px;
    background-color: #fef4df;
    border-radius: 5px;
    color: #282828;
    margin-top: 0px;
    display: flex;
    top: 0;
    align-items: center;
}

.form-group.painting .color-checker .p-checkbox .colorsCount:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 11px;
    margin-right: 5px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4.999' cy='5.501' r='4.167' stroke='%23FFAC0C' stroke-width='.5'/%3E%3Cpath d='M5 3.416v2.5' stroke='%23FFAC0C' stroke-width='.5' stroke-linecap='round'/%3E%3Ccircle cx='4.999' cy='7.167' fill='%23FFAC0C' r='.417'/%3E%3C/svg%3E");
}

#modal-calc .form-group.painting .color-checker .p-checkbox {
    height: auto;
    padding: 0;
    align-items: flex-start;
    min-height: 0;
    line-height: 16px;
}

#modal-calc .form-group.painting .color-checker .p-checkbox .color-checker__label {
    margin-bottom: 5px;
    color: rgb(51, 51, 51);
}

.form-group.painting .color-selected {
    width: 100%;
    margin: 0;
}

.form-group.painting .checkBtn[data-selected="true"] .color-selected {
    background-size: 100% 100% !important;
}


.form-group.painting .actions {
    min-width: 144px;
}

.form-group.painting .color-checker {
    margin-top: 0;
    max-width: 150px;
}

.form-group.painting .checkBtn[data-selected="true"] + del {
    align-self: flex-end;
    position: absolute;
    right: 0;
    margin-right: 5px;
}

.form-group.painting .color-selected {
    height: 29px;
    border: 1px solid #ccc;
    border-radius: 7px;
}

.form-group.painting .checkBtn[data-selected="true"] .color-selected {
    width: calc(100% - 30px);
    align-self: baseline;
}

.form-group.painting .checkBtn .color-selected {
    -webkit-transition: border-color 0.3s ease-out;
    -moz-transition: border-color 0.3s ease-out;
    -o-transition: border-color 0.3s ease-out;
    transition: border-color 0.3s ease-out;
}

.form-group.painting .checkBtn .color-selected:hover {
    border-color: #308f00;
}

.oc_options .additional-info {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.oc_options .additional-info .form-group.painting {
    width: 100%;
}

.oc_options .ai_price_and_buy,
.oc_options .ai_buy {
    margin-top: 0;
    flex-direction: column;
}

.oc_options .ai_price_and_buy {
    flex-grow: 1;
}

.oc_options .ai_buy {
    gap: 10px;
    /* align-items: center; */
}

.oc_options .n_packages {
    margin-top: 2px;
}

.oc_options .ai_count_and_price  {
    margin-top: 15px;
}

.oc_options .additional-info:after {
    display: none;
}

@media (max-width: 480px) {
    .oc_options {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 30px;
    }

    .oc_options .form-group.painting {
        width: 100%;
        margin-top: 0;
        align-self: center;
        justify-self: center;
        /*margin-bottom: 0;*/
    }

    .form-group.painting .color-checker {
        max-width: 100%;
    }
}

.och_image {
    padding: 0;
    max-width: 110px;
    min-width: 110px;
}

.och_image img {
    display: block;
}

.och_image span {
    margin-top: 9px;
    display: block;
    color: #909090;
    font-size: 0.9em;
}


.och_name {
    padding-right: 0;
    width: 100%;
}

.och_name .one-click-price {
    margin-top: 10px;
}

.och_data {
    display: flex;
    gap: 15px;
    padding: 15px 20px 0;
}

.one-click__header:after {
    display: none;
}

@media(max-width: 495px) {
    .oc_options .additional-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .oc_options .ai_price_and_buy {
        width: 100%;
    }

    .oc_options .ai_price_and_buy .price {
        text-align: center;
    }

    .oc_options .ai_count_and_price {
    margin-top: 35px;
}
    .oc_options .ai_count_and_price .al_quantity {width: 100%;}
    .oc_options .ai_count_and_price .al_quantity label {
    display: block;
    text-align: center;
}

    .oc_options .form-group.painting {
        width: 100%;
        /*margin-top: 30px;*/
    }

    .oc_options .form-group.painting .color-checker {
        max-width: 100%;
    }

    .form-group.painting .checkBtn {
        align-items: center;
    }

    .oc_options .ai_buy {
        align-items: center;
    }


}

[id^="product-one-click-form"] .ai_price_and_buy {margin-top: 10px;}
[id^="product-one-click-form"] .ai_price_and_buy .price .price-value {font-weight: bold;font-size: 1.2em;}
[id^="product-one-click-form"] .ai_price_and_buy .price .price-value + .currency {font-weight: bold;font-size: 1.1em;}
[id^="product-one-click-form"] .ai_price_and_buy .price .price-value + .currency:before {content: 'c';font-weight: 400;}

[id^="product-one-click-form"] .ai_count_and_price {margin-top: 15px;position: relative;}
[id^="product-one-click-form"] .ai_count_and_price .al_quantity {width: 100%;/* max-width: 230px; */}
[id^="product-one-click-form"] .ai_count_and_price .al_quantity label {font-size: 0.7em;color: #909090;margin-bottom: 4px;}
[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number {width: 100%;border: none;}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .btn {width: 38px;height: 38px;border: 1px solid #F1F1F1;margin: 0;display: flex;align-items: center;justify-content: center;outline: none;
    background: none;
    box-shadow: none;}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .btn span { display: none; }

[id^="product-one-click-form"] .ai_count_and_price .notice.n_packages:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 11px;
    margin-right: 5px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4.999' cy='5.501' r='4.167' stroke='%23FFAC0C' stroke-width='.5'/%3E%3Cpath d='M5 3.416v2.5' stroke='%23FFAC0C' stroke-width='.5' stroke-linecap='round'/%3E%3Ccircle cx='4.999' cy='7.167' fill='%23FFAC0C' r='.417'/%3E%3C/svg%3E");
}

[id^="product-one-click-form"] .ai_count_and_price .notice.n_packages {
    position: absolute;
    right: 0;
    font-size: 0.7em;
    padding: 4px 5px 4px 5px;
    background-color: #fef4df;
    border-radius: 5px;
    color: #282828;
    margin-top: 0px;
    top: 0;
}

[id^="product-one-click-form"] .ai_count_and_price .notice.n_packages sup {
    font-size: 0.7em;
    /* vertical-align: top; */
    margin-right: 1px;
}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-number {height: 38px;border-top: 1px solid #f1f1f1;border-bottom: 1px solid #f1f1f1;}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:first-child .btn {
    border-radius: 5px 0 0 5px;
}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:first-child .btn:before {
    content: '';
    background-color: #282828;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='14' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.786 1.748H1.214a1.12 1.12 0 0 1-.682-.22.678.678 0 0 1-.282-.53c0-.199.102-.39.282-.53.181-.14.427-.22.682-.22h11.572c.255 0 .5.08.682.22.18.14.282.331.282.53s-.102.39-.282.53c-.181.141-.427.22-.682.22Z' fill='%23282828'/%3E%3C/svg%3E") center center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='14' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.786 1.748H1.214a1.12 1.12 0 0 1-.682-.22.678.678 0 0 1-.282-.53c0-.199.102-.39.282-.53.181-.14.427-.22.682-.22h11.572c.255 0 .5.08.682.22.18.14.282.331.282.53s-.102.39-.282.53c-.181.141-.427.22-.682.22Z' fill='%23282828'/%3E%3C/svg%3E") center center/contain no-repeat;
    display: block;
    width: 14px;
    height: 2px;
}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:first-child .btn:disabled:before {
    background-color: #b7b7b7 !important;
}


[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:last-child .btn {
    border-radius: 0 5px 5px 0;
}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:last-child .btn:before {
    content: '';
    background-color: #282828;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.031 8a.843.843 0 0 1-.844.844H8.845v5.344a.844.844 0 1 1-1.688 0V8.843H1.813a.844.844 0 0 1 0-1.688h5.343V1.813a.844.844 0 1 1 1.688 0v5.343h5.344A.844.844 0 0 1 15.03 8Z' fill='%23282828'/%3E%3C/svg%3E") center center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.031 8a.843.843 0 0 1-.844.844H8.845v5.344a.844.844 0 1 1-1.688 0V8.843H1.813a.844.844 0 0 1 0-1.688h5.343V1.813a.844.844 0 1 1 1.688 0v5.343h5.344A.844.844 0 0 1 15.03 8Z' fill='%23282828'/%3E%3C/svg%3E") center center/contain no-repeat;
    display: block;
    width: 16px;
    height: 16px;
}

[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:first-child .btn:hover:before,
[id^="product-one-click-form"] .ai_count_and_price .al_quantity .input-group-number .input-group-btn:last-child .btn:hover:before {
    background-color: #308f00;
}

[id^="product-one-click-form"] .modal-body.one-click__form input.form-control {
    padding: 13px 15px 11px 15px;
    height: auto;
    border-color: #C5C7D0;
    border-radius: 5px;
}

[id^="product-one-click-form"] .modal-body.one-click__form .btn-red {
    text-transform: none;
    background-color: var(--brand-color);
    letter-spacing: 0px;
    font-weight: normal;
    width: 100%;
    padding: 10px 12px 8px 12px;
    border-radius: 5px;
}

[id^="product-one-click-form"] .modal-body.one-click__form .btn-red:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath opacity='.5' d='M9.615 1.615 17 9l-7.385 7.384M15.975 9H1' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.one-click__header .ai_buy {
    justify-content: flex-start;
    gap: 10px;
    align-items: baseline;
    display: flex;
}

.one-click__header .ai_buy .price_nodiscount {
    color: #909090;
    font-size: 0.9em;
    position: relative;
}

.one-click__header .ai_buy .price_nodiscount:after {
    content: '';
    position: absolute;
    top: 3px;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    margin: auto;
    background-color: #909090;
}

.discount_inside .och_image {
    position: relative;
}
.discount_inside .och_image:before {
    content: attr(data-discount-title);
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ED2727;
    z-index: 10;
    color: white;
    padding: 3px 9px;
    font-size: 10px;
    border-radius: 10px;
}