/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.ocpc_stage {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 99998;
    padding: 0.625rem 0.6875rem;
}

.btn.exclusive {
    padding: 0.8rem 1rem;
    width: 100%;
    max-width: 430px;
    margin: 0 47px 20px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    font-size: 20px;
}

.one_click_product_checkout {
    z-index: 99999;
    background-color: #fff;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    max-width: 900px;
    padding: 0 15px;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.one_click_product_checkout_columns {
    display: -ms-grid;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 45%;
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
}

.address_popup_form,
.one_click_product_checkout .form_content_grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 1fr) 15px minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
}

.address_popup_form>*:not(.postcode):not(.city),
.one_click_product_checkout .form_content_grid>*:not(.lastname):not(.firstname) {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1/3;
}

.one_click_product_checkout .cart_summary {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #f7f7f7;
    padding: 12px;
    border-radius: 20px;
}

.one_click_product_checkout .btn.exclusive {
    margin: 0 auto;
}

.one_click_product_checkout .cover_product input {
    background: transparent;
    width: 20px;
    pointer-events: none;
    position: absolute;
    right: -13px;
    background: #fcde33;
    height: 20px;
    padding: 2px 0 0;
    text-align: center;
    font-size: 10px;
    border-radius: 20px;
    top: -7px;
}

.one_click_product_checkout .cover_product img {
    max-width: 72px;
}

.one_click_product_checkout .cover_product {
    position: relative;
}

.one_click_product_checkout .product_info {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: calc(100vw - 25px);
    align-items: center;
    margin-top: 40px;
    column-gap: 25px;
}

.one_click_product_checkout .product_info .btn {
    padding: 5px 8px;
    display: none;
}

.one_click_product_checkout .description_short {
    font-weight: 600;
    margin-bottom: 5px;
    max-height: 2em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.one_click_product_checkout_column_right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 10px;
    padding-bottom: 10px;
}

.one_click_product_checkout_column_left {
    padding: 0 40px 40px;
    overflow-y: auto;
    max-height: 80vh;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
}

.one_click_product_checkout_close {
    font-size: 40px;
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 15px 15px 15px auto;
}

.one_click_product_checkout_columns legend {
    font-size: 15px;
    font-weight: 600;
}

.one_click_product_checkout_columns .form-control+legend {
    margin-top: 35px;
}

.form_content_grid~legend {
    margin-top: 35px;
    margin-bottom: 15px;
}

.one_click_product_checkout .list_payments img {
    max-width: 16px;
    margin-right: 5px;
}

.one_click_product_checkout .list_delivery img {
    max-width: 66px;
}

.one_click_product_checkout .list_delivery label,
.one_click_product_checkout .list_payments label {
    position: relative;
    margin-bottom: 15px;
    padding-left: 5px;
    font-size: 17px;
    cursor: pointer;
}

.one_click_product_checkout .list_delivery span::before,
.one_click_product_checkout .list_payments span::before {
    content: '';
    width: 18px;
    height: 18px;
    position: absolute;
    right: 100%;
    border-radius: 50%;
    outline: 1px solid #000;
}

.one_click_product_checkout .list_delivery span::before {
    right: calc(100% - 20px);
}

.one_click_product_checkout .list_delivery input:checked~span::before,
.one_click_product_checkout .list_payments input:checked~span::before {
    background: #000;
    border: 2px solid #fff;
}

.one_click_product_checkout .list_delivery li {
    padding-left: 25px;
    position: relative;
}

.one_click_product_checkout .list_payments li {
    padding-left: 18px;
}

.one_click_product_checkout .list_delivery,
.one_click_product_checkout .list_payments {
    margin-bottom: 15px;
}

/* Element | http://ma.myfinefood.local/fr/cafes/burundi-kayanza.html#/27-format-boite_7drips */

.one_click_product_checkout .address_popup {
    position: absolute;
    background: #00000024;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.one_click_product_checkout .address_popup_body {
    width: calc(50% - 10px);
    margin-left: auto;
    flex: 1;
    background-color: #fff;
    padding: 24px;
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
    transform: translate(0%);
}

.one_click_product_checkout .address_popup_close {
    margin-left: auto;
    display: block;
    cursor: pointer;
}

.one_click_product_checkout .address_popup_title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.selected_address {
    display: flex;
    margin-top: 25px;
    align-items: center;
    column-gap: 10px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 11px;
    font-size: 16px;
    cursor: pointer;
}

.selected_address:not(.active)+.address_popup {
    opacity: 0;
    pointer-events: none;
}

.selected_address:not(.active)+.address_popup .address_popup_body {
    transform: translate(100%);
}

.address_popup .btn {
    padding: 15px;
    width: 100%;
    margin-top: 25px;
    font-size: 20px;
}

.selected_address_value {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.selected_city_value {
    font-size: 13px;
}

.cart_summary_price .price_block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cart_summary_price {
    color: rgb(143, 143, 143);
    font-size: 15px;
}

.product_price_caption {
    font-size: 10px;
}

.cart_summary_price .price_block:last-child {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0 0;
}

.one_click_product_checkout .form-control input:focus~label,
.one_click_product_checkout .form-control input.not-empty~label {
    transform: translate(0, 10px) scale(0.7);
}

@media (max-width: 830px) {
    .one_click_product_checkout {
        height: 100vh;
        height: 100svh;
        height: 100dvh;
        padding: 0;
    }

    .one_click_product_checkout_columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .one_click_product_checkout_column_left {
        padding: 0 15px 100px;
        max-height: 90vh;
        max-height: 90svh;
        max-height: 90dvh;
    }

    .one_click_product_checkout_column_right {
        position: fixed;
        width: 100%;
        background: #f7f7f7;
        bottom: 0;
        padding-bottom: 0;
    }

    .one_click_product_checkout_column_right.active .btn.--black svg {
        transform: rotate(180deg);
    }

    .one_click_product_checkout_column_right .submit {
        padding: 0 15px 15px;
    }

    .one_click_product_checkout_column_right:not(.active) .alert,
    .one_click_product_checkout_column_right:not(.active) .submit,
    .one_click_product_checkout_column_right:not(.active) .cart_summary_price {
        display: none;
    }

    .one_click_product_checkout_column_right:not(.active) .product_info {
        margin-top: 0;
    }

    .one_click_product_checkout .product_info .btn {
        display: block;
    }

    .one_click_product_checkout .address_popup_body {
        width: 90%;
    }

    .exclusive-block .btn.exclusive {
        margin: 20px auto;
    }
}