:root {
    --black: #333;
    --orange: #EA7516;
    --cyan: #57ADD5;
}

::-webkit-scrollbar {
    width:30px;
}

.handicapped ::-webkit-scrollbar{
    width:50px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track-bg-color);
    padding:0;
    border-radius:15px;
}

.cst-productmenu-categories-container .cst-productmenu-categories::-webkit-scrollbar-track{
    border-top-left-radius:0;
    border-bottom-left-radius:0;
}

.rtl .cst-productmenu-categories-container .cst-productmenu-categories::-webkit-scrollbar-track {
    border-radius:15px;
    border-top-right-radius:0;
    border-bottom-right-radius:0;
}

/*
.handicapped ::-webkit-scrollbar-track{
    background-color: var(--scrollbar-track-bg-color-handicapped);
}*/

::-webkit-scrollbar-thumb {
    border:2px solid var(--scrollbar-track-bg-color);
    background: var(--scrollbar-thumb-bg-color);
    background-image: var(--bg-scroll-arrow-up), var(--bg-scroll-arrow-down);
    background-position: center 12px, center calc(100% - 12px);
    background-repeat: no-repeat;
    background-size: 60%;
    border-radius: 100px;
}

/*
.handicapped ::-webkit-scrollbar-thumb{
    border-color: var(--scrollbar-track-bg-color-handicapped);
    background-color: var(--scrollbar-thumb-bg-color-handicapped);
}*/

.product-customize {
    color: var(--product-customize-color);
}

.product-customize .step {
    position: relative;
    min-height: 100px;
    padding: 20px 0 20px 40px;
}

.product-customize .step.nonHorizontalStep{
    padding: 0 0 10px 100px;
}

.cst-subpopup.product-customize .step {
    padding: 0 10px 10px 10px;
    background-image: none;
}

.step_vline {
    position: absolute;
    top: 15px;
    bottom: 0;
    width: 5px;
    background-color: var(--step-line-color);
    left: 37px;
    z-index: -1;
}

html.rtl .step_vline {
    right: 37px;
    left: auto;
}

.product-customize .step:last-child .step_vline {
    display: none;
}

.product-customize .step_nr {
    border:4px solid var(--current-step-border-color);
    position: absolute;
    left: 4px;
    top: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--dialog-bg-color);
    color: var(--step-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

.step_title {
    font-size: 46px;
    font-weight: bold;
    margin-bottom: 20px;
}

.product-customize .step_title {
    font-family: var(--heading2-font), sans-serif;
    font-weight: bold;
    min-height: 80px;
    line-height: 1.2em;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    font-size: 34px;
    margin-bottom:0;
}

.product-customize .step_description {
    font-size: 26px;
    font-weight: normal;
    margin-top: 15px;
}

.product-customize .step_addons {
    column-count:2;
}

.product-customize .step_addon {
    position: relative;
    box-sizing: border-box;
    min-width:50%;
    font-size:26px;
    padding-right:10px;
    margin-bottom:5px;
    align-items:flex-start;
    break-inside:avoid-column;
}
.rtl .product-customize  .step_addon{
    padding-right:0;
    padding-left:10px;
}

.addon_photo_thumb {
    width: 80px;
    height: 80px;
    background: transparent none no-repeat center / contain;
    margin-right: 5px;
    position:absolute;
    top:calc(var(--addon-line-height)/2 - 2px - 40px); /*40 is height/2*/
}

.rtl .addon_photo_thumb {
    margin-right:40px;
}

:root {
    --padding-added:20px;
}

.step_addons.photo_and_text .step_addon,
.step_addons.photo .step_addon {
    background: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top:var(--padding-added);
}

.step_addons.photo_and_text .step_addon .checkmark,
.step_addons.photo .step_addon .checkmark{
    top:calc(var(--addon-line-height)/2 - 2px - 15px + var(--padding-added));
}

.step_addons.photo_and_text .step_addon .addon_photo_thumb,
.step_addons.photo .step_addon .addon_photo_thumb{
    top:calc(var(--addon-line-height)/2 - 2px - 40px + var(--padding-added));
}

.step_addons.photo_and_text .addon_price_wrp,
.step_addons.photo .addon_price_wrp{
    margin-left:90px;
}

.rtl .step_addons.photo_and_text .addon_price_wrp,
.rtl .step_addons.photo .addon_price_wrp{
    margin-left:0;
    margin-right:130px;
}

.step_addons.photo_and_text .step_addon img,
.step_addons.photo .step_addon img {
    height: 80px;
    margin-right: 10px;
}

html.rtl .step_addons.photo_and_text .step_addon img,
html.rtl .step_addons.photo .step_addon img {
    margin-left: 10px;
    margin-right: 0;
}

.step_addon .cst-addon-price{
    padding-left:5px;
    font-weight:bold;
}
.rtl .step_addon .cst-addon-price{
    padding-left:0;
    padding-right:5px;
}

.product-customize .step_nr.step-checked::after {
    padding: 12%;
}

.product-customize.has-scroll{
    padding-right:10px;
}
.rtl .product-customize.has-scroll{
    padding-right:0;
    padding-left:10px;
}

.remove-links.has-scroll{
    padding-inline-end:10px;
}

.step_addons .sub-checkmark {
    position: relative;
    box-sizing: border-box;
    border: 3px solid var(--checkbox-border-color);
    min-width:30px;
    max-width:30px;
    height:30px;
    margin:10px;
    margin-left:50px;
    border-radius: 200px;
}
.rtl .step_addons .sub-checkmark{
    margin-left:10px;
    margin-right:90px;
}

.opts {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 5px;
    margin-top: 10px;
    font-size: 90%;
}

.step_addons .opts .sub-checkmark {
    margin: 0;
    margin-right: 5px;
}

html.rtl .step_addons .opts .sub-checkmark {
    margin-right: 0;
    margin-left: 5px;
}

.opt {
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.for-extra{
    display:none;
}
.step_addon.checked + .for-extra{
    display:block;
}

/********** Cart **********/

.cc_cart_widget {
    position: absolute;
    bottom: 82px;
    left: 0;
    right: 0;
    z-index: 800;
}

/********** Product list **********/

.cc_btn_next,
.cc_btn_prev {
    width: 120px;
    height: 120px;
    border-radius: 500px;
    position: absolute;
    text-align: center;
    line-height: 1.3;
    top: 170px;
    z-index: 1000;
    right: 100px;
    background: var(--button-bg-color);
    color: var(--button-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.cc_btn_prev {
    right: auto;
    left: 100px;
}

/********** Payment **********/

.icon-pay-card,
.icon-pay-cibus,
.icon-pay-tenbis {
    background: transparent url(../img/cc/pay-icon-card.png?v=1) no-repeat center top;
    width: 250px;
    text-align: center;
    padding: 110px 15px 0;
}

.icon-pay-cibus{
    background-image: url(../img/cc/cibus.png?v=1);
    background-size:50% 50%;
}

.icon-pay-tenbis{
    background-image: url(../img/cc/tenbis.png?v=1);
    background-size:50% 40%;
}

.icon-pay-cash {
    background: transparent url(../img/cc/pay-icon-cash.png?v=1) no-repeat center top;
    width: 250px;
    text-align: center;
    padding: 110px 15px 0;
}

.icon-pay-card.inactive {
    pointer-events: none;
    opacity: .5;
}

@keyframes fade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

.cc_payment_processing {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    animation: fade 2s linear infinite;
}

[x-id="homeBtn"],
.errorBtn,
#homeBtn{
    min-width: 200px;
    padding:5px 20px;
    height: 50px;
    font-weight: bold;
    background: #a29061;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    border: 0;
    font-size: 32px;
}

html.rtl .order_item_line {
    text-align: right;
}

.cc_order_list,
.order_list_body,
.order_item_line{
    color:var(--secondary-text-color);
    font-size: 30px;
    line-height: 1.2;
}
.cc_order_list .header {
    background: #FFF;
    color: #333;
    padding: 5px 50px;
}

.cst-cart-folded .header{
    margin:-30px;
    margin-bottom:30px;
}
.cc_order_list .order_list_body {
    padding: 0 0 40px 0;
}

.tmp_rounded {
    display: inline-flex;
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius:50%;
    border:3px solid var(--secondary-text-color);
    font-size: 80%;
    font-weight: bold;
    margin: 0 10px;
}
.tmp_rounded.x{
    transform:rotate(90deg);
}
.cart_items_scrollable {
    overflow: auto;
    max-height: 600px;
}

.cc_order_list.widget .cart_items_scrollable {
    max-height: 1000px;
    overflow: auto;
}

.payment_btns {
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    font-size: 28px;
}

.payment_btns > * {
    float: right;
}

html.rtl .payment_btns > * {
    float: left;
}

.order_line_group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--secondary-text-color);;
}

.order_item_line:nth-child(1) {
    min-width: 58%;
    max-width: 58%;
}

.editable .order_item_line:nth-child(1) {
    min-width: 45%;
    max-width: 45%;
}

.order_item_line:nth-child(2) {
    min-width: 15%;
    max-width: 15%;
}

.editable .order_item_line:nth-child(2) {
    min-width: 20%;
    max-width: 20%;
}

.order_item_line:nth-child(3) {
    min-width: 15%;
    max-width: 15%;
}

.order_item_line:nth-child(4) {
    min-width: 12%;
    max-width: 12%;
}

.order_item_line:nth-child(5) {
    min-width: 8%;
    max-width: 8%;
}

.order_item_line.aligned{
    text-align:right;
}
.rtl .order_item_line.aligned{
    text-align:left;
}

.cst-amount{
    white-space:nowrap;
    text-align:center;
}

.cart-section {
    background: var(--cart-bg-color);
    color: var(--text-color);
    border: 1px solid var(--entity-border-color);
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    padding: 30px;
    border-radius: 20px;
    height:100%;
}

.cart-section.withsplits{
    padding:0;
}

.cart-section.side-by-side{
    padding-inline-end:0;
}

.squared,
.cst-choice-item.squared,
.cst-popup.squared,
.cst-thankyou.squared,
.cst-cart-frame.squared,
.cst-popup.squared .cst-preview-additional-section,
.cat-size-3 .cst-choice-cell-item.squared,
.cst-choice-cell-item.squared .cst-choice-cell-info,
.cst-choice-cell-item.squared,
.cst-product-selected.squared,
.cst-productmenu-product.squared,
.cst-choice-item.squared .choice-illustration.animatable,
.cst-choice-item.squared > div:first-of-type,
.cst-choice-item.squared > div:last-of-type,
.rtl .cst-choice-item.squared > div:first-of-type,
.rtl .cst-choice-item.squared > div:last-of-type,
.cart-section.squared {
    border-radius: 0;
}

.select-payment-method-title {
    padding: 20px;
    font-size: 34px;
    font-weight: bold;
    text-align:center;
}

.cst-productmenu-stretch.standalone .cst-productmenu-product,
.cst-productmenu-stretch.standalone .cst-product-block{
    background-color:var(--dialog-button-bg);
}

.extra-addon-disabled {
    opacity: .3;
    /*pointer-events: none;*/
}

.canEditOrder {
    text-align: right;
}

html.rtl .canEditOrder {
    text-align: left;
}

.disabled {
    opacity: .4;
    pointer-events: none;
}

.order_line_icon {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

html.rtl .order_line_icon {
    margin-right: 0;
    margin-left: 5px;
}

.preview-addons-section ~ .preview-addons-section {
    margin-top: 40px;
}

.upsale-item-cell.transparent,
.handicapped .mainsection.transparent,
.mainsection.transparent,
.cst-productmenu-product.transparent,
.two-columns .cst-productmenu-product.transparent,
.cst-product-selected.transparent,
.cst-thankyou.transparent,
.cst-product-block.transparent,
.two-columns .cst-product-block.transparent,
.cst-choice-cell-item.transparent,
.feedback_wrp.transparent,
.cst-preview-additional-section.transparent{
    background:transparent;
    border-color:transparent;
    box-shadow:none;
}

.two-columns .cst-productmenu-product-chosen,
.three-columns .cst-productmenu-product-chosen,
.four-columns .cst-productmenu-product-chosen,
.cst-productmenu-product-chosen{
    background:var(--focus-color);
}

.two-columns .cst-product-add,
.cst-product-block.transparent + .cst-product-add{
    display:none;
}
/*
.cst-choice-cell-item.transparent .choice-illustration{
    display:none;
}
*/

.two-columns .cst-productmenu-product.transparent .cst-product-add{
    display:none;
}

.two-columns .cst-productmenu-product.transparent .cst-product-block{
    height:80px;
}

.cst-productmenu-product.transparent .cst-product-list-picture{
    bottom:80px;
}
.cst-productmenu-product.transparent .cst-productmenu-product-name{
    text-align:center;
}

.upsale-item-cell.transparent,
.cst-choice-cell-item.transparent{
    flex-direction:column-reverse;
    align-items:center;
    padding:0;
    border-radius:0;
    text-align:center;
    height:auto;
    justify-content:flex-end;
}

.cst-choice-cell-item.transparent cst-choice-cell{
    padding:0;
}

.cst-choice-cell-item.transparent .choice-illustration{
    width:100%;
    padding:0;
}
.cst-choice-cell-item.transparent .cst-choice-cell-picture{
    position:initial;
    width:100%;
}

.cst-choice-cell-item.transparent .cst-choice-cell-title{
    margin:5px 0;
}

.three-columns.cst-choice-cells-scrollable,
.four-columns.cst-choice-cells-scrollable{
    padding-left:20px;
}
.rtl .three-columns.cst-choice-cells-scrollable,
.rtl .four-columns.cst-choice-cells-scrollable{
    padding-left:0;
    padding-right:20px;
}
