html{
    overflow-x: hidden;
}

.opc-container [type="radio"]:checked + label:before, .opc-container [type="radio"]:not(:checked) + label:before{
    background: transparent;
}

#_desktop_cart .cart-preview-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

#_desktop_cart .cart-icon-btn{
    position: relative;
}

#_desktop_cart .cart-products-count{
    position: absolute;
    top: 0;
    left: 36px;
    font-size: 11px;
    color: #000;
    background: #fff;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    display: flex;
    text-align: center;
    justify-content: center;
    padding-bottom: 0;
    align-items: center;
}

#_desktop_cart .cart-image-icon{
    max-width: 32px !important;
    margin-right: 25px;
    margin-left: 6px;
    margin-top: 8px;
}

#_desktop_cart .cart-preview-drawer.active {
    transform: translateX(0);
    overflow: hidden;
}

.other-payment-methods a
{
    border: unset;
    background: unset;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #4DB849;
    padding-left: 0;
}

.other-payment-methods a:hover,
.other-payment-methods a:focus
{
    background: unset;
}

.ing-helper{
    font-size: 14px;
    opacity: 0.4;
    margin-bottom: 20px;
}

#module-ingwebpay-validation .footer_middle{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#module-ingwebpay-validation .checkout-back-button{
    margin-bottom: 40px;
    font-size: 12px;
    padding-top: 10px;
}

#module-ingwebpay-validation .ing-to-payment{
    border-radius: 5px;
    padding: 20px;
    font-size: 22px;
    color: #fff !important;
    background: #4DB849;
    font-weight: 700;
    text-transform: uppercase;
    animation: 4s infinite pulse-order-button;
    width: 100%;
}

#module-ingwebpay-validation .ing-to-payment:hover {
    background: #1E2C32;
    border-color: #1E2C32;
    transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

#module-ingwebpay-validation .header-top.top_bg,
#module-ingwebpay-validation #header .header-top .container-fluid > .row .col-center,
#module-ingwebpay-validation .header-bottom,
#module-ingwebpay-validation .footer_top,
#module-ingwebpay-validation .rootify-brands-slider,
#module-ingwebpay-validation .footer_topp{
    display: none;
}

#_desktop_cart .cart-preview-drawer.active {
    transform: translateX(0);
    overflow: hidden;
}

#cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

#cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-preview {
    cursor: pointer;
}

.cart-preview-drawer{
    background: #181A1B !important;
    color: #fff;
}

.cart-preview-drawer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.cart-preview-drawer .cart-item {
    padding: 12px 0;
    margin-bottom: 0;
}

.cart-preview-drawer .cart-total,
.cart-preview-drawer .cart-action {
    margin-top: 12px;
    text-align: right;
}

.cart-preview-drawer .cart-total .label{
    display: block !important;
}

.cart-preview-drawer .cart-action .btn-primary {
    width: 100%;
}

.cart-item-first-part {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-first-part img {
    border-radius: 5px;
}

.cart-preview-drawer .product-price {
    font-size: 14px;
    color: #fff;
}

.cart-preview-drawer-no-products .cart-preview-drawer-heading-empty{
    line-height: 1.2;
}

.cart-preview-drawer-no-products {
    display: flex;
    align-items: center;
    justify-content: center;
}

body #_desktop_cart .cart-preview-drawer-no-products .cart-preview-drawer-empty img {
    width: 280px;
    max-width: 280px !important;
    text-align: center;
    margin: 0 auto;
}

.cart-preview-drawer-empty{
    text-align: center;
}

.cart-preview-drawer-text {
    font-size: 13px;
    color: #fff;
    text-align: left;
}

.cart-preview-drawer-heading,
.cart-preview-drawer-heading-empty {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    margin-top: 1rem;
}

.cart-preview-close-drawer {
    position: absolute;
    top: 10px;
    right: 10px;
}

.cart-preview-close-drawer i {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.cart-preview-close-drawer:hover i {
    transform: scale(1.05);
    transition: color 0.3s ease-in-out;
}

.cart-preview-drawer-head {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #2D3C42;
    padding-top: 5px;
    padding-bottom: 15px;
    margin: -18px -20px 15px;
}

.cart-preview-drawer-head img {
    min-width: 50px;
}

.cart-preview-drawer .cart-total .label {
    font-size: 16px;
    font-weight: 100;
    opacity: 0.7;
    display: none;
}

.cart-preview-drawer .cart-subtotals .label {
    font-size: 18px;
    font-weight: 100;
    opacity: 0.7;
}

.cart-preview-drawer .cart-subtotals .discount {
    display: none;
}

.cart-preview-drawer .cart-subtotals .value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.cart-preview-drawer .cart-total .value {
    font-size: 24px;
    font-family: 'Source Sans 3', sans-serif;
    color: #fff;
}

.cart-preview-drawer .cart-checkout.btn.btn-primary {
    border-radius: 5px;
    padding: 20px;
    font-size: 22px;
    color: #fff !important;
    background: #4DB849;
    font-weight: 700;
    text-transform: uppercase;
    animation: 4s infinite pulse-order-button;
}

@keyframes pulse-order-button {
    0% {
        box-shadow: 0 0 0 0 rgba(77, 184, 73, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(77, 184, 73, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(77, 184, 73, 0);
    }
}

.cart-preview-drawer .cart-checkout.btn.btn-primary:hover {
    background: #3DA43B;
    animation: none;
}

.cart-preview-drawer .cart-item {
    position: relative;
}

.cart-preview-drawer .cart-item .remove-from-cart {
    position: absolute;
    top: 0;
    left: 0;
}

.cart-preview-drawer .cart-subtotals {
    margin-top: 20px;
    text-align: right;
    display: none;
}

.cart-preview-drawer .cart-item .remove-from-cart i {
    font-size: 20px;
    color: darkred;
    background: #fff;
    border-radius: 10px;
    border: 1px solid;
    padding: 3px 6px;
}

.cart-preview-products .product-name {
    font-size: 12px;
    color: #4DB849;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.cart-preview-products .product-quantity{
    font-size: 11px;
    color: #fff;
    line-height: 1.2;
    margin-top: 5px;
    opacity: 0.7;
}

.cart-preview-products {
    overflow-y: scroll;
    height: calc(100vh - 260px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cart-preview-products::-webkit-scrollbar {
    display: none;
}

#pos_search_top .form_search .form-control{
    font-size: 16px !important;
}

@media screen and (max-width: 767px){
    .cart-preview-drawer-empty {
        text-align: center;
    }

    .cart-preview-drawer-empty img {
        min-width: 200px !important;
    }
}

@media screen and (max-width: 455px){
    .col-md-6.col-xs-6.qty{
        width: 100% !important;
    }
}

@media screen and (max-width: 400px){
    .menu-phone{
        display: none !important;
    }

    .col-md-6.col-xs-6.qty{
        width: 100% !important;
    }
}

@media screen and (max-width: 991px){
    #header .header-top .container-fluid > .row{
        padding-top: 10px;
        padding-bottom: 10px;
        margin-bottom: 40px;
        justify-content: unset !important;
    }

    .header-top #_desktop_logo img{
        min-width: 140px;
        max-width: 140px;
    }

    .header-top .selector-block{
        padding-right: 15px;
    }

    .header-top .col-right{
        position: absolute !important;
        right: 0;
        padding: unset;
        text-align: right;
    }

    #header .header-top .container-fluid > .row .col-center{
        position: absolute;
        top: 60px;
        width: 100%;
        border-radius: 0;
    }

    #pos_search_top .form_search .form-control{
        border-radius: 0;
    }

    #pos_search_top .form_search .search_submit{
        border-radius: 0 !important;
    }

    .ion-android-menu:before{
        font-size: 35px;
        color: #fff;
    }

    #_desktop_logo{
        padding: unset;
    }

}