/**
* 2007-2024 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2024 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
div#ecm_popupcart .modal-dialog {
    max-width: 1200px;
    width: calc(100% - 20px);
    display: inline-flex;
    transform: inherit;
}
div#ecm_popupcart .modal-dialog .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 0;
    height: max-content;
   /* overflow: hidden;*/
   width: inherit;
}
div#ecm_popupcart .modal-body{
   display: flex;
}
div#ecm_popupcart p.total_sp_modal {
    text-align: start;
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}
div#ecm_popupcart .modal-header{
    border: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 0 0 5px 0px;
}
div#ecm_popupcart p.sp_modal.left {
    float: left;
}
div#ecm_popupcart .total_price_sp_modal {
    border-top: 1px solid #DCDCDC;
    border-bottom: 1px solid #DCDCDC;
    padding: 15px 0px 5px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
    font-size: 18px;
}
div#ecm_popupcart p.sp_modal.right {
    text-align: end;
}
div#ecm_popupcart div#order-detail-content {
    overflow-y: scroll;
    max-height: 345px;
    padding: 0 40px 0 40px;
}
div#ecm_popupcart a.btn.btn_sp_modal_primary {
    color: #fff;
    background-color: #2A7D2E;
    border-color: #2A7D2E;
    border-radius: 5px;
    padding: 9px 29px;
    width: 100%;
    margin-top: 20px;
}
div#ecm_popupcart a.btn.btn_sp_modal_primary:hover {
    background: #237127;
    border: 1px solid #237127;
}
div#ecm_popupcart .item_image a img {
    border: 1px solid #E3E3E3;
}
div#ecm_popupcart a.cart_quantity_delete {
    padding: 0 ;
    border: 0;
    font-size: 14px;
}
div#ecm_popupcart a.cart_quantity_delete:hover{
    background: none;
    border: none;
}
div#ecm_popupcart .item_image {
    padding-left: 0;
    text-align: start;
    padding-bottom: 15px;
}
div#ecm_popupcart .pad-rig-no {
    padding-right: 0;
    text-align: end;
}
div#ecm_popupcart .pad-left-no{
    padding-left: 10px;
}
div#ecm_popupcart .cart_ref,
div#ecm_popupcart .cart_block_product_name,
div#ecm_popupcart .prod_name {
    text-align: start;
    color: #060606;
}
div#ecm_popupcart .modal.fade .modal-dialog {
    transform: translate(0);
}
div#ecm_popupcart .modal-dialog{
    margin: 50px;
}
div#ecm_popupcart .cart_item {
    border-top: 1px solid #E3E3E3;
    padding: 15px 0 15px 0;
}
div#ecm_popupcart .cart_item.last_item.first_item,
div#ecm_popupcart .cart_item.last_item {
    border-bottom: 1px solid #E3E3E3;
}
div#ecm_popupcart div#order-detail-content {
    max-height: 43vh;
    overflow-y: auto;
    overflow-x: hidden;
}
div#ecm_popupcart button.btn.btn_sp_modal_secondary {
    background: #EDF8EA;
    border: 1px solid #3DAD43;
    border-radius: 4px;
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 29px;
}
div#ecm_popupcart input.popupcart_quantity_input,
div#ecm_popupcart .cart_quantity_up,
div#ecm_popupcart .cart_quantity_down {
    width: 36px;
    height: 36px;
    text-align: center;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    line-height: 33px;
}
div#ecm_popupcart .sp_modal_cart-content {
    padding: 25px 25px 25px;
    border: 1px solid #E8E8E8;
    /* position: sticky; */
    /* bottom: -46vh; */
    display: block;
    background: #F5F5F5;
    margin-left: 30px;
    margin-right: 30px;
}
div#ecm_popupcart input.popupcart_quantity_input {
    margin: 0 10px 0 10px;
}
div#ecm_popupcart button.close {
    font-size: 14px;
    color: #000;
    opacity: 1;
}
div#ecm_popupcart #old_price{
    text-decoration: none;
    color: #000;
}
div#ecm_popupcart .quantity_price_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    float: left;
    width: 30%;
}
div#ecm_popupcart #old_price span.price.original{
text-decoration: line-through;
color: #7B8080;
font-size: 13px;
}
div#ecm_popupcart #old_price{
padding-top: 10px;
}
div#ecm_popupcart div#order-detail-content::-webkit-scrollbar {
    width: 5px;
    background: #F4F4F4;
    border-radius: 10px;
}
div#ecm_popupcart div#order-detail-content::-webkit-scrollbar-thumb {
    background: #B3B3B3;
    border-radius: 5px;
}
div#ecm_popupcart .modal-header .close {
    margin-top: -5px;
    margin-right: 10px;
}
div#ecm_popupcart .quantity {
    text-align: start;
    margin-top: 10px;
    display: flex;
}
div#ecm_popupcart .modal_footer {
    padding-left: 55px;
    padding-bottom: 20px;
}
div#ecm_popupcart button.mob.btn.btn_sp_modal_secondary{
    display: none;
}
.hidden-xs-up{display: none;}
@media (max-width: 768px){
    div#ecm_popupcart .pad-no{
        padding: 0;
    }
    .hidden-xs-up{display: block;}
    div#ecm_popupcart button.mob.btn.btn_sp_modal_secondary {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    div#ecm_popupcart p.total_sp_modal{
        display: none;
    }
    div#ecm_popupcart .item_image {
        padding-left: 0;
        text-align: start;
       
    }
    div#ecm_popupcart .p_modal_cart-content_oll {
        padding: 0;
    }
    div#ecm_popupcart .total_price_sp_modal {
        border-top: 0px solid #DCDCDC;
        border-bottom: 0px solid #DCDCDC;
        padding: 0px 0px 0px 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    div#ecm_popupcart #old_price span.price.original {
        text-decoration: line-through;
        margin-top: -10px;
        float: none;
        display: block;
        color: #7B8080;
        font-size: 13px;
    }
    div#ecm_popupcart p.sp_modal.left,
    div#ecm_popupcart p.sp_modal.right {
        font-size: 14px;
    }
    div#ecm_popupcart a.btn.btn_sp_modal_primary {
        margin-top: 0px;
    }
    div#ecm_popupcart #old_price {
        padding-top: 10px;
        text-align: end;
    }
    div#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
        font-size: 14px;
        font-weight: 700;
    }
  div#ecm_popupcart .cart_item.last_item {
        border-bottom: 0px solid #E3E3E3;
    }
    div#ecm_popupcart span.price.actual {
        font-size: 18px;
    text-align: end;
    float: none;
    }
    div#ecm_popupcart .sp_modal_cart-content {
        padding: 25px 25px 25px;
        border: 1px solid #E8E8E8;
        /* position: sticky; */
        /* bottom: -46vh; */
        display: block;
        background: #F5F5F5;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }
    div#ecm_popupcart .mob_height{
        min-height: 95px;
    }
    div#ecm_popupcart .quantity {
        text-align: start;
        margin-top: 5px;
        display: flex;
    }
    div#ecm_popupcart .quantity_price_flex {
        display: contents;
        float: left;
        width: auto;
    }
    div#ecm_popupcart .item_image a img {
        border: 0;
    }
div#ecm_popupcart .modal-dialog {
    margin: 0px;
}
div#ecm_popupcart .modal-dialog {
    max-width: 1200px;
    width: calc(100%);
    display: inline-flex;
    transform: inherit;
}
div#ecm_popupcart .modal-body {
    /* display: flex; */
    display: block;
    padding-top: 0;
   
}
div#ecm_popupcart .cart_item.first_item {
    border-top: 0;
}
div#ecm_popupcart button.desctop.btn.btn_sp_modal_secondary{
    display: none;
}
div#ecm_popupcart .modal-dialog .modal-content{
    height: auto;
    padding: 0;
    overflow-x: hidden;
}
div#ecm_popupcart .modal-header {
    padding: 15px 0 15px 0px;
}
div#ecm_popupcart button.close {
    font-size: 17px;
    opacity: .3;
}
div#ecm_popupcart div#order-detail-content {
    max-height: initial;
    overflow-y: auto;
    overflow-x: hidden;
}
div#ecm_popupcart div#order-detail-content{
    padding: 0;
}
}