/**
* 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: 1000px;
    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;
   padding: 15px 0 15px 0;
}
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 #000;
    /* border-bottom: 1px solid #000; */
    padding: 20px 0px 20px 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 10px 0 10px;
    margin-right: 30px;
}
div#ecm_popupcart a.btn.btn_sp_modal_primary {
    color: #fff;
    background-color: #000;
    border-color: #000;
    border-radius: 0px;
    padding: 9px 29px;
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}
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 #DFDFDF;*/
    width: 100%;
    height: auto;
}
div#ecm_popupcart a.cart_quantity_delete {
    padding: 0 ;
    border: 0;
    color: #000;
    font-style: 12px;
}
div#ecm_popupcart a.cart_quantity_delete:hover{
    background: none;
    border: none;
}
div#ecm_popupcart .item_image {
    padding-left: 0;
    text-align: start;
}
div#ecm_popupcart .pad-rig-no {
    padding-right: 0;
    text-align: end;
}
div#ecm_popupcart .pad-left-no{
    /*padding-left: 0;*/
}
div#ecm_popupcart .cart_ref,
div#ecm_popupcart .cart_block_product_name,
div#ecm_popupcart .prod_name {
    text-align: start;
    color: #000;
}
div#ecm_popupcart span.price.actual {
    font-size: 16px;
    text-align: end;
    float: none;
    color: #fff;
    background: #000;
    padding: 1px 6px 1px 6px;
}

div#ecm_popupcart .cart_ref{
    font-size: 15px;
    font-weight: 300;
}
div#ecm_popupcart .cart_block_product_name{
    font-size: 16px;
    font-weight: 600;
}
div#ecm_popupcart .prod_name{
    font-size: 12px;
    font-weight: 400;
    color: #6A6A6A;
}
div#ecm_popupcart .prod_name small a {
    color: #000;
    font-size: 15px;
    font-weight: 300;
}
div#ecm_popupcart .modal.fade .modal-dialog {
    transform: translate(0);
}
div#ecm_popupcart .modal-dialog{
    margin: 50px;
    transform: translate(25%, 0%);
}
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: #fff;
    border: 1px solid #fff; 
    border-radius: 4px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    padding: 0px 10px;
    text-decoration: underline;
}
div#ecm_popupcart button.btn.btn_sp_modal_secondary:hover{
   
}
div#ecm_popupcart input.popupcart_quantity_input {
    margin: -1px 3px;
    border-radius: 2px;
    width: 34px;
    height: 37px;
    font-size: 13px;
    border: 1px solid #dbdbdb;
    line-height: 30px;
    padding: 8px 1px 9px 1px;
    margin: 0px 8px;
    background: #fff;
    text-align: center;
}

div#ecm_popupcart .cart_quantity_up, div#ecm_popupcart .cart_quantity_down {
    margin: 0px 0px 0px 0px;
    background: #fff;
    padding: 3px 1px 0 0;
    border: 1px solid #dbdbdb;
    width: 34px;
    height: 37px;
    line-height: 28px;
    border-radius: 2px;
}
div#ecm_popupcart p.sp_modal.left, div#ecm_popupcart p.sp_modal.right {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}
div#ecm_popupcart .total_price_sp_modal p.sp_modal.left {
    font-size: 24px;
    font-weight: 500;
}
div#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
    font-size: 20px;
    font-weight: 500;
}
div#ecm_popupcart .cart_quantity_up:hover, div#ecm_popupcart .cart_quantity_down:hover{
    /*background: none;
    border: 0;
    color: #2c2c2c;
    padding: 0;
    margin-right: 2px;*/
}
div#ecm_popupcart .sp_modal_cart-content {
    padding: 25px 25px 25px;
    border: 1px solid #F0F0F0;
    /* position: sticky; */
    /* bottom: -46vh; */
    display: block;
    background: #F0F0F0;
    margin-left: 40px;
    margin-right: 0px;
}
div#ecm_popupcart input.popupcart_quantity_input {
    margin: 0 5px 0 5px;
}
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 .mob_height {
    min-height: 65px;
}
.quantity_top_text,
.old_price_top_text {
    font-size: 10px;
    line-height: 5px;
}
.quantity_top_text {
    margin-left: -20px;
}
div#ecm_popupcart #old_price span.price.original{
text-decoration: line-through;
color: #7B8080;
font-size: 13px;
}


div#ecm_popupcart #old_price {
    padding-top: 30px;
}
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;
    justify-content: flex-end;
    padding-right: 2px;
}

div#ecm_popupcart .modal_footer {
    /* padding-left: 55px; */
    padding-bottom: 0px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    line-height: 25px;
    margin-left: 40px;
}
div#ecm_popupcart button.mob.btn.btn_sp_modal_secondary{
    display: none;
}
a.a_modal_footer {
    color: #222;
    text-transform: uppercase;
    line-height: 25px;
    font-size: 12px;
}
button.desctop.but_modal_footer {
    text-transform: uppercase;
    padding: 0;
    background: none;
    border: 0;
    font-size: 12px;
}
div#ecm_popupcart .cart_item:first-child{
    padding-top: 0;
}
.hidden-xs-up{display: none;}
@media (max-width: 768px){
   
    div#ecm_popupcart .cart_item:first-child{
        padding-top: 15px;
    }
    div#ecm_popupcart .quantity {
        text-align: start;
        margin-top: 10px;
        display: flex;
    }
    div#ecm_popupcart #old_price{
        padding-top: 15px;
        }
    div#ecm_popupcart span.price.actual {
        font-size: 14px;
        text-align: end;
        float: none;
        color: #fff;
        background: #000;
        padding: 1px 6px 1px 6px;
    }
    div#ecm_popupcart .cart_block_product_name{
        font-size: 14px;
        font-weight: 400;
    }
    div#ecm_popupcart input.popupcart_quantity_input
 {
    /*width: 49px;
    height: 32px;
    text-align: center;
    border: 2px solid #DBDBDB;
    border-radius: 4px;
    line-height: 33px;*/
    margin: -1px 3px;
        border-radius: 2px;
        width: 22px;
        height: 22px;
        font-size: 11px;
        border: 1px solid #dbdbdb;
    line-height: 20px;
    padding: 8px 1px 9px 1px;
    margin: 0px 8px;
    background: #fff;
    text-align: center;
}
    div#ecm_popupcart .cart_quantity_up, div#ecm_popupcart .cart_quantity_down {
        margin: 0px 0px 0px 0px;
        background: #fff;
        padding: 3px 1px 0 0;
        border: 1px solid #dbdbdb;
        width: 22px;
        height: 22px;
        line-height: 14px;
        border-radius: 2px;
    }
    div#ecm_popupcart .cart_ref {
        text-align: start;
        color: #000;
        font-size: 12px;
        font-weight: 300;
    }
    div#ecm_popupcart .prod_name{
        font-size: 14px;
        font-weight: 300;
    }
    div#ecm_popupcart .cart_block_product_name{
        font-size: 14px;
        font-weight: 400;
    }
    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;
        padding-bottom: 5px;
       
    }
    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: 15px 0px 30px 0px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    div#ecm_popupcart .cart_item{
        border: 0;
    }
    span.else {
        font-size: 12px;
        font-weight: 400;
    }
    div#ecm_popupcart a.btn.btn_sp_modal_primary {
        color: #fff;
        background-color: #000;
        border-color: #000;
        border-radius: 0px;
        padding: 13px 29px;
        width: 100%;
        margin-top: 20px;
        font-size: 13px;
        font-weight: 500;
        height: 45px;
    }
    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: 16px;
        font-weight: 400;
    }
    div#ecm_popupcart .total_price_sp_modal p.sp_modal.left{
        font-size: 20px;
        font-weight: 500;
    }
    div#ecm_popupcart a.btn.btn_sp_modal_primary {
        margin-top: 0px;
        margin-bottom: 0px;
    }
    div#ecm_popupcart #old_price {
        padding-top: 6px;
        text-align: end;
    }
    div#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
        font-size: 16px;
        font-weight: 500;
    }
  div#ecm_popupcart .cart_item.last_item {
        border-bottom: 0px solid #E3E3E3;
    }
    div#ecm_popupcart button.btn.btn_sp_modal_secondary {
        background: #fff;
        /* border: 1px solid #3DAD43; */
        border-radius: 4px;
        color: #000;
        font-size: 13px;
        font-weight: 400;
        padding: 0px 10px;
        text-decoration: underline;
    }
    div#ecm_popupcart p.sp_modal.right.bot_line {
        border-bottom: 1px solid #000;
        padding-bottom: 20px;
    }
    div#ecm_popupcart span.price.actual {
        font-size: 14px;
        text-align: end;
        float: none;
        color: #fff;
        background: #000;
        padding: 1px 6px 1px 6px;
    }
    div#ecm_popupcart .sp_modal_cart-content {
        padding: 25px 25px 25px;
        border: 0px solid #E8E8E8;
        /* position: sticky; */
        /* bottom: -46vh; */
        display: block;
        background: #fff;
        margin-left: 0;
        margin-right: 0;
       /* margin-bottom: 20px;*/
    }
    div#ecm_popupcart .mob_height {
        min-height: auto;
        padding-bottom: 5px;
        padding-left: 10px;
    }
    div#ecm_popupcart .quantity {
        text-align: start;
        margin-top: 5px;
        display: flex;
        padding-left: 5px;
        justify-content: flex-start;
    }
    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;
    overflow-y: auto;
}
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;
    margin: 10px;
}
div#ecm_popupcart .quantity_price_flex .col-md-3.col-xs-5 {
    padding-left: 0;
}
.quantity_top_text{
    margin-left: 0;
}
div#ecm_popupcart .modal_footer {
    padding-left: 0;
    padding-bottom: 0px;
    padding-top: 0px;
    display: flex;
    justify-content: center;
    line-height: 25px;
    margin: 0 0 25px 0px;
}
div#ecm_popupcart .modal-header {
    padding: 10px 0px 10px 30px;
    background-color: #fff;
    /*  border-bottom: 1px solid #DFDFDF;*/
    text-align: center;
    font-weight: 500;
    font-size: 16px;
}
div#ecm_popupcart button.close {
    font-size: 17px;
    color: #787878;
}
div#ecm_popupcart{
    overflow-y: hidden;
}
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 25px 0 25px;
}
div#ecm_popupcart .modal-header .close {
    margin-top: -4px;
    margin-right: 20px;
}
div#ecm_popupcart .cart_quantity_up, div#ecm_popupcart .cart_quantity_down{
    margin-top: 0;
}
}
@media only screen and (min-width:1024px) and (max-width:1366px){
div#ecm_popupcart .modal-dialog {
    max-width: 1000px;
    width: calc(100% - 50px);
    display: inline-flex;
    transform: inherit;
}
.modal-header{
    background-color: #fff;
}
}
@media only screen and (min-width:768px) and (max-width:1023px){
div#ecm_popupcart .modal-dialog {
    max-width: 768px;
    width: calc(100%);
    display: inline-flex;
    transform: inherit;
    overflow-y: auto;
}
div#ecm_popupcart div#order-detail-content {
    max-height: 43vh;
    overflow-y: auto;
    overflow-x: hidden;
}
}
@media (width:1366px){
    div#ecm_popupcart .modal-dialog {
        max-width: 1000px;
        width: calc(100% - 50px);
        display: inline-flex;
        /*transform: inherit;*/
        transform: translate(15%, 0%);
    }
}
@media (min-width:1024px){
section#product-accessories {
    margin-top: -45px;
}
section#product-accessories h3.page-product-heading {
    display: inline-block;
}
}