/**
* 2007-2023 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-2023 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.
*/

.sticky-m-l {
    margin-left: 5px;
}

.sticky-add-to-cart {
    height: 100%;
    background: white;
    position: fixed;
    top: 0;
    right: -650px;
    transition: 1s ease;
    z-index: 15;
    box-shadow: 1px 1px 30px 1px rgba(0, 0, 0, 0.42);
}

.sticky-add-to-cart-holder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-add-to-cart-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.sticky-add-to-cart-header i {
    font-size: 20px;
}

.sticky-add-to-body {
    background: white;
    height: 100%;
    max-width: 42vw;
}

.sticky-badge {
    width: 20px;
    height: 20px;
    background-color: #e75f33;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 10px;
    display: inline-flex;
}

.sticky-add-to-cart-active::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: .5;
    z-index: -1;
}

.sticky-add-to-cart-active {
    right: 0;
}

.sticky-badge-button {
    position: absolute;
    right: -4px;
    top: 0;
}

.sticky-add-to-cart-button {
    cursor: pointer;
    width: 52px;
    height: 52px;
    background-color: rgb(243, 186, 0);
    color: rgb(0, 0, 0);
    padding: 6px;
    border-radius: 50%;
    border: 1px solid #ddd;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, .12), 0 4px 4px rgba(0, 0, 0, .08);
}

.sticky-add-to-cart-position {
    position: fixed;
    z-index: 1;
}

.sticky-top-center {
    left: 50%;
    top: 0;
    margin-top: 30px;
}

.sticky-bottom-center {
    left: 50%;
    bottom: 0;
    margin-bottom: 30px;
}

.sticky-right-center {
    right: 0;
    top: 50%;
    margin-right: 30px;
}

.sticky-left-center {
    left: 0;
    top: 50%;
    margin-left: 30px;
}

.sticky-add-to-cart-button:focus {
    outline: none;
}

.sticky-side-bar-control {
    cursor: pointer;
}

.go-to-order {
    color: #fff !important;
    background-color: #2fb5d2;
    border-color: transparent;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, .2);
    text-transform: uppercase;
    font-weight: 600;
    padding: .5rem 1.25rem;
}

.sticky-scroll {
    height: 80vh;
    overflow-y: scroll;
    margin-bottom: 15px;
}

.sticky-empty {
    text-align: center;
    font-weight: bolder;
}

.sticky-add-to-cart-products #order-detail-content {
    width: 40vw;
}

.cart_quantity_delete_sticky {
    font-size: 18px;
}

/*Sticky product*/
.sticky-product-page {
    background: white;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 10px;
    box-shadow: 2px 2px 11px 0 rgba(0, 0, 0, .3);
}

.sticky-product-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-product-image-holder {
    display: flex;
    align-items: flex-end;
}

.sticky-product-image-holder img {
    width: 80px;
    margin-right: 15px;
}

.add-to-cart-custom {
    margin-left: 30px;
}

.sticky-button-holder {
    padding: 15px;
}

.sticky-button-holder .sticky-view-bag-button a {
    background: white !important;
    border-color: #2fb5d2;
    margin-bottom: 10px;
}

.sticky-drop-down {
    position: fixed;
    right: 40px;
    top: 50px;
    max-width: 571px;
    z-index: 8;
}

.sticky-drop-down-details {
    background: white;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .11);
    /*border-radius: 7px;*/
}

.sticky-drop-down .sticky-blockcart {
    width: 100%;
    background: #2fb5d2;
    height: 3rem;
    padding: .75rem;
    margin-left: auto;
    text-align: center;
    white-space: nowrap;
}

/*.sticky-product-page {*/
/*display: none;*/
/*}*/

@media screen and (max-width: 426px) {
    .sticky-mobile-ready {
        display: flex !important;
        align-items: flex-start;
        color: black;
    }

    .sticky-desktop-ready {
        display: none !important;
    }

    .sticky-mobile-ready .sticky-product-image-holder {
        flex: 80px 0 0;
        margin-right: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-mobile-ready .sticky-product-right {
        flex: 1 1;
    }

    .sticky-mobile-ready .product-info-holder {
        display: flex;
        flex-wrap: wrap;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .sticky-mobile-ready .sticky-product-name {
        font-weight: bolder;
        color: black;
        margin-right: 5px;
        /*flex: 62% 0 0;*/
    }

    .sticky-mobile-ready .sticky-product-prices {
        flex: 1 1;
        font-size: 18px;
        text-align: right;
    }

    .sticky-mobile-ready .sticky-product-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .sticky-mobile-ready .sticky-product-bottom .qty {
        margin-right: 5px;
    }

    .sticky-mobile-ready .add-to-cart-custom {
        font-size: 13px !important;
        flex: 1 1;
        padding: 8px;
        margin-left: 30px;
    }

    .sticky-mobile-ready .add-to-cart-custom i {
        font-size: 20px !important;
    }
}