/**
* 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.
*/
#ecm_popupcart .modal-dialog {
    max-width: 1000px;
    width: calc(100% - 20px);
}

#ecm_popupcart .modal-dialog .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 0;
    height: max-content;
    width: inherit;
}

#ecm_popupcart .modal-body {
   display: flex;
    padding: 15px 0 15px 0;
}

#ecm_popupcart p.total_sp_modal {
    text-align: start;
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.modal-header {
    border: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 0 0 5px 0px;
}

#ecm_popupcart p.sp_modal.left {
    float: left;
}

#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;
}

#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
    font-size: 18px;
}

#ecm_popupcart p.sp_modal.right {
    text-align: end;
}

#ecm_popupcart div#order-detail-content {
    overflow-y: scroll;
    max-height: 345px;
    padding: 0 10px 0 10px;
    margin-right: 30px;
}

.else {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

button.btn.btn_sp_modal_primary,
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;
}

/*
#ecm_popupcart a.btn.btn_sp_modal_primary:hover {
    background: #237127;
    border: 1px solid #237127;
}
*/
#ecm_popupcart .item_image a img {
    /* border: 1px solid #DFDFDF;*/
    width: 100%;
    height: auto;
}
/*
button.btn.btn_sp_modal_primary:hover,
#ecm_popupcart a.btn.btn_sp_modal_primary:hover{
    background: #0C26B6;
}
*/
#ecm_popupcart a.cart_quantity_delete {
    padding: 0;
    border: 0;
    color: #000;
}
#ecm_popupcart a.cart_quantity_delete:hover {
    background: none;
    border: none;
}

#ecm_popupcart .item_image {
    padding-left: 0;
    text-align: start;
}

#ecm_popupcart .pad-rig-no {
    padding-right: 0;
    text-align: end;
}

#ecm_popupcart .pad-left-no {
    /*padding-left: 0;*/
}

#ecm_popupcart .cart_ref,
#ecm_popupcart .cart_block_product_name,
#ecm_popupcart .prod_name {
    text-align: start;
    color: #000;
}

#ecm_popupcart span.price.actual {
    font-size: 16px;
    text-align: end;
    float: none;
    color: #fff;
    background: #000;
    padding: 1px 6px 1px 6px;
}

#ecm_popupcart .cart_ref {
    font-size: 10px;
   padding-bottom: 15px;
}

#ecm_popupcart .cart_block_product_name {
    font-size: 14px;
}

#ecm_popupcart .prod_name {
    font-size: 12px;
    font-weight: 400;
    color: #6A6A6A;
}

#ecm_popupcart .prod_name small a {
    color: #000;
    font-size: 15px;
    font-weight: 300;
}

.modal.fade .modal-dialog {
    transform: translate(0);
}

#ecm_popupcart .cart_item {
    /*border-top: 1px solid #E3E3E3;*/
    padding: 15px 0 15px 0;
}

/*
#ecm_popupcart .cart_item.last_item.first_item,
#ecm_popupcart .cart_item.last_item {
    border-bottom: 1px solid #E3E3E3;
}
*/
#ecm_popupcart div#order-detail-content {
    max-height: 43vh;
    overflow-y: auto;
    overflow-x: hidden;
}

#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;
}
/*
#ecm_popupcart button.btn.btn_sp_modal_secondary:hover {
    color: #0C26B6;
}
*/
#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;
}

#ecm_popupcart .cart_quantity_up, #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;
}
#ecm_popupcart p.sp_modal.left, #ecm_popupcart p.sp_modal.right {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

#ecm_popupcart .total_price_sp_modal p.sp_modal.left {
    font-size: 24px;
    font-weight: 500;
}

#ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
    font-size: 20px;
    font-weight: 500;
}

/*
#ecm_popupcart .cart_quantity_up:hover, #ecm_popupcart .cart_quantity_down:hover{
    background: none;
    border: 0;
    color: #2c2c2c;
    padding: 0;
    margin-right: 2px;
}
*/
#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;
}

#ecm_popupcart input.popupcart_quantity_input {
    margin: 0 5px 0 5px;
}

button.close {
    font-size: 14px;
    color: #000;
    opacity: 1;
}

#ecm_popupcart #old_price {
    text-decoration: none;
    color: #000;
}

/*
#ecm_popupcart .quantity_price_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    float: left;
    width: 30%;
}
*/

#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;
}

#ecm_popupcart #old_price span.price.original {
    text-decoration: line-through;
    color: #7B8080;
    font-size: 13px;
}


#ecm_popupcart #old_price {
    padding-top: 30px;
}

#ecm_popupcart div#order-detail-content::-webkit-scrollbar {
    width: 5px;
    background: #F4F4F4;
    border-radius: 10px;
}

#ecm_popupcart div#order-detail-content::-webkit-scrollbar-thumb {
    background: #B3B3B3;
    border-radius: 5px;
}

.modal-header .close {
    margin-top: -5px;
    margin-right: 10px;
    position: absolute;
    right: 15px;
    background: none;
    border: 0;
    font-size: 20px;
}

#ecm_popupcart .quantity {
    text-align: start;
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    padding-right: 2px;
}

.modal_footer {
    /* padding-left: 55px; */
    padding-bottom: 0px;
    padding-top: 15px;
    display: flex;
    justify-content: center;
    line-height: 25px;
    margin-left: 40px;
}

#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;
}

#ecm_popupcart .cart_item:first-child {
    padding-top: 0;
}

.hidden-xs-up {
    display: none;
}

div#ecm_popupcart .modal-dialog {
    margin: 50px;
    transform: translate(45%, 0%);
}
div#ecm_popupcart .modal-dialog {
    max-width: 1000px;
    width: calc(100% - 20px);
    display: inline-flex;
}
div#ecm_popupcart .modal-header {
    border: 0;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 0 0 5px 0;
}
button.btn.btn_sp_modal_primary{
    margin-top: 0;
}
#ecm_popupcart_oneclick .modal-dialog {
    width: 450px;
    margin-top: auto;
    transform: translate(0%, 100%);
}
div#ecm_popupcart_oneclick .modal-header {
    color: #000;
    background: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    text-transform: inherit;
    padding: 25px 40px 10px 40px;
    white-space: nowrap;
    margin-top: 0;
    border: 0;
    border-radius: 4px;
}
div#ecm_popupcart_oneclick .modal-content{
    border-radius: 4px;
    border: 0;
    box-shadow: none;
}

.popup_form_content .form-group{
    height: 44px;
    box-sizing: border-box;
    border-radius: 0;

}
div#ecm_popupcart_oneclick .popup_form_content {
    padding: 0 75px 15px 75px;
}
.popup_form_content .form-group {
    margin-bottom: 30px;
}
div#ecm_popupcart_oneclick  .modal-header .close{
    position: absolute;
    right: 2px;
    top: 20px;
    background: none;
    color: #000;
    font-size: 20px;
}
@media (max-width: 768px) {
    div#ecm_popupcart .modal-dialog {
        margin: 0;
        transform: translate(0%);
    }
    #ecm_popupcart .modal-body {
        display: block;
        padding: 15px 0 15px 0;
    }
    #ecm_popupcart .cart_item:first-child {
        padding-top: 15px;
    }

    #ecm_popupcart .quantity {
        text-align: start;
        margin-top: 10px;
        display: flex;
    }

    #ecm_popupcart #old_price {
        padding-top: 15px;
    }

    #ecm_popupcart span.price.actual {
        font-size: 14px;
        text-align: end;
        float: none;
        color: #fff;
        background: #000;
        padding: 1px 6px 1px 6px;
    }

    #ecm_popupcart .cart_block_product_name {
        font-size: 14px;
        font-weight: 400;
    }

    #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;
    }

    #ecm_popupcart .cart_quantity_up, #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;
    }

    #ecm_popupcart .cart_ref {
        text-align: start;
        color: #000;
        font-size: 12px;
        font-weight: 300;
    }

    #ecm_popupcart .prod_name {
        font-size: 14px;
        font-weight: 300;
    }

    #ecm_popupcart .cart_block_product_name {
        font-size: 14px;
        font-weight: 400;
    }

    #ecm_popupcart .pad-no {
        padding: 0;
    }

    .hidden-xs-up {
        display: block;
    }

    #ecm_popupcart button.mob.btn.btn_sp_modal_secondary {
        width: 100%;
        display: block;
        margin-top: 10px;
    }

    #ecm_popupcart p.total_sp_modal {
        display: none;
    }

    #ecm_popupcart .item_image {
        padding-left: 0;
        text-align: start;
        padding-bottom: 15px;

    }

    #ecm_popupcart .p_modal_cart-content_oll {
        /*padding: 0;*/
    }

    #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;
    }

    #ecm_popupcart .cart_item {
        border: 0;
    }

    .else {
        font-size: 12px;
        font-weight: 400;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    div#ecm_popupcart_oneclick .modal-header {
        color: #000;
        background: #fff;
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        text-transform: inherit;
        padding: 27px 40px 10px 40px;
        white-space: nowrap;
        margin-top: 0;
    }
    div#ecm_popupcart_oneclick .popup_form_content {
        padding: 0 15px 15px 15px;
    }
    #ecm_popupcart_oneclick .modal-dialog{
        width: 91% !important;
        left: 2% !important;
        transition: opacity 0.1s cubic-bezier(0.645,0.045,0.355,1.000);
        transition-delay: 0.1s;
        opacity: 1 !important;
        margin-top: auto;
    }
    #ecm_popupcart_oneclick .modal-dialog {
        width: 366px;
        transform: translate(0%, 50%);
    }
    #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;
    }

    #ecm_popupcart #old_price span.price.original {
        text-decoration: line-through;
        margin-top: -10px;
        float: none;
        display: block;
        color: #7B8080;
        font-size: 13px;
    }

    #ecm_popupcart p.sp_modal.left,
    #ecm_popupcart p.sp_modal.right {
        font-size: 16px;
        font-weight: 400;
    }

    #ecm_popupcart .total_price_sp_modal p.sp_modal.left {
        font-size: 20px;
        font-weight: 500;
    }

    #ecm_popupcart a.btn.btn_sp_modal_primary {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    #ecm_popupcart #old_price {
        padding-top: 6px;
        text-align: end;
    }

    #ecm_popupcart .total_price_sp_modal p.sp_modal.right.line {
        font-size: 16px;
        font-weight: 500;
    }

    #ecm_popupcart .cart_item.last_item {
        border-bottom: 0px solid #E3E3E3;
    }

    #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;
    }

    #ecm_popupcart p.sp_modal.right.bot_line {
        border-bottom: 1px solid #000;
        padding-bottom: 20px;
    }

    #ecm_popupcart span.price.actual {
        font-size: 14px;
        text-align: end;
        float: none;
        color: #fff;
        background: #000;
        padding: 1px 6px 1px 6px;
    }

    #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;*/
    }

    #ecm_popupcart .mob_height {
        min-height: auto;
        padding-bottom: 5px;
        padding-left: 10px;
    }

    #ecm_popupcart .quantity {
        text-align: start;
        margin-top: 5px;
        display: flex;
        padding-left: 5px;
        justify-content: flex-start;
    }

    #ecm_popupcart .quantity_price_flex {
        display: contents;
        float: left;
        width: auto;
    }
    button.btn.btn_sp_modal_primary{
        color: #fff;
        background-color: #000;
       border-color: #000;
        border-radius: 0px;
        padding: 13px 29px;
        width: 100%;
        margin-top: 0px;
        font-size: 13px;
        font-weight: 500;
       height: 45px;
        }
    #ecm_popupcart .item_image a img {
        /*border: 0;*/
    }

    .modal-dialog {
        max-width: 1200px;
        width: calc(100%);
    }

    .modal-body {
        /* display: flex; */
        display: block;
        padding-top: 0;

    }

    #ecm_popupcart .cart_item.first_item {
        border-top: 0;
    }

    #ecm_popupcart button.desctop.btn.btn_sp_modal_secondary {
        /*display: none;*/
    }

    #ecm_popupcart .modal-dialog .modal-content {
        /*height: auto;*/
        padding: 0;
        margin: 10px;
    }

    #ecm_popupcart .quantity_price_flex .col-md-3.col-xs-5 {
        padding-left: 0;
    }

    .quantity_top_text {
        margin-left: 0;
    }

    .modal_footer {
        padding-left: 0;
        padding-bottom: 0px;
        padding-top: 0px;
        display: flex;
        justify-content: center;
        line-height: 25px;
        margin: 0 0 25px 0px;
    }

    .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 .modal-dialog {
        max-width: 1000px;
        width: calc(100% - 0px);
        display: inline-flex
    ;
    }
    button.close {
        font-size: 17px;
        color: #787878;
    }
    #ecm_popupcart div#order-detail-content {
        max-height: 25vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    #ecm_popupcart {
        overflow-y: hidden;
    }

    #ecm_popupcart div#order-detail-content {
       /* max-height: initial;
        overflow-y: auto;
        overflow-x: hidden;*/
    }

    #ecm_popupcart div#order-detail-content {
        padding: 0 25px 0 25px;
    }
    div#ecm_popupcart_oneclick .modal-header .close {
        position: absolute;
        right: -5px;
        top: 15px;
        background: none;
        color: #000;
        font-size: 20px;
    }
    .modal-header .close {
        margin-top: -4px;
        margin-right: 20px;
    }

    #ecm_popupcart .cart_quantity_up, #ecm_popupcart .cart_quantity_down {
        margin-top: 0;
    }

    div#ecm_popupcart .modal-header {
        padding: 10px 0 10px 30px;
        background-color: #fff;
        text-align: center;
        font-weight: 500;
        font-size: 16px;
    }
}

@media only screen and (min-width:1024px) and (max-width:1366px) {
    #ecm_popupcart .modal-dialog {
        max-width: 1000px;
        width: calc(100% - 50px);
    }

    .modal-header {
        background-color: #fff;
    }
}

@media only screen and (min-width:768px) and (max-width:1023px) {
    #ecm_popupcart .modal-dialog {
        max-width: 768px;
        width: calc(100%);
    }

    #ecm_popupcart div#order-detail-content {
        max-height: 43vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
}

@media (width:1366px) {
    #ecm_popupcart .modal-dialog {
        max-width: 1000px;
        width: calc(100% - 50px);
    }
}

@media (min-width:1024px) {
    section#product-accessories {
        margin-top: -45px;
    }

    section#product-accessories h3.page-product-heading {
        display: inline-block;
    }
}

button#quickorder_button {
  width: 100%;
  height: 44px;
  margin-top: 0;
  background: #000;
  border: 1px solid #000;
  border-radius: 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 0;
}



@media (min-width:1024px) and (max-width:1400){
div#ecm_popupcart .modal-dialog {
    margin: 50px;
    transform: translate(0%, 0%);
}
}
@media (min-width:1400px) and (max-width:1600){
    div#ecm_popupcart .modal-dialog {
        margin: 50px;
        transform: translate(25%, 0%);
    }
    }