/**
* 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.
*/
#most-bought-products>h2 {
    font-size: 28px;
    font-weight: 400;
    font-family: 'Archivo';
    margin-bottom: 0px;
    margin-top: 0px;
    cursor: pointer;
    padding-left: 26px;
    padding-right: 26px;
    display: flex;
    justify-content: space-between;
}

#most-bought-products>h2 i {
    font-size: 30px;
}

#most-bought-products {
    border: 1px solid #ebebeb;
    padding: 21px 0px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 10px;
    margin-left: 15px;
    margin-right: 15px;
    overflow: hidden;
    border: 1px solid #C6C6C6;
}

#most-bought-products .marquee {
    line-height: 50px;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

#most-bought-products .marquee .most-bought-product-grid {
    animation: marquee 20s linear infinite;
}

#most-bought-products .marquee:hover .most-bought-product-grid {
    animation-play-state: paused;
}

#most-bought-products .products-grid {
    display: block;
}

.most-bought-product-grid.swiper-wrapper {
    flex-direction: unset;
    padding-bottom: 55px;
    padding-top: 10px;
}

#most-bought-products .swiper-button-next {
    bottom: 0px;
    top: inherit;
    right: 15px;
    border-radius: 50px;
    max-height: 53px;
    font-weight: 400;
    opacity: 1;
    color: #222630;
    background: #f2f2f2;
}

#most-bought-products .swiper-button-prev {
    bottom: 0px;
    top: inherit;
    left: inherit;
    right: 80px;
    border-radius: 50px;
    max-height: 53px;
    font-weight: 400;
    opacity: 1;
    color: #222630;
    background: #f2f2f2;
}

#most-bought-products .swiper-button-prev::after {
    content: "\F060";
    font-size: 24px;
    font-weight: 400;
    padding: 16px 5px;
}

#most-bought-products .swiper-button-next::after {
    content: "\F061";
    font-size: 24px;
    font-weight: 400;
    padding: 16px 5px;
}

/* Miniatura producto */
#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .h3.product-title {
    justify-content: inherit;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0px;
    gap: 6px;
}

#most-bought-products .col-prod-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#most-bought-products .col-prod-info .input-group-add-cart {
    
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .h3.product-title a {
    width: 100%;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .per-reduction-container {
    margin-bottom: 10px;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .per-reduction-container .per-reduction{
    padding: 1px 6px;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-price-and-shipping {
    margin-bottom: 3px;
    margin-top: 10px;
    padding-bottom: 50px;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-add-cart {
    width: 100%;
    position: absolute;
    width: 100%;
    bottom: 0;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-add-cart .input-group-add-cart .input-group {
    justify-content: inherit;
    width: auto;
}

#most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-reference {
    display: block !important;
    margin: inherit;
}

#most-bought-products .product-miniature-list.js-product-miniature .product-thumbnail {
    min-width: 125px;
    max-width: 125px;
}

#most-bought-products .product-miniature-list.js-product-miniature .thumbnail-container {
    max-width: inherit;
}

@media (max-width: 991px) {
    #most-bought-products>h2 {
        font-size: 16px;
        text-align: center;
    }

    #most-bought-products>h2 i {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    #most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-add-cart .input-group-add-cart {
        /* max-width: inherit; */
    }

    #most-bought-products .product-miniature-list.js-product-miniature .col-prod-info .product-add-cart .input-group-add-cart .input-group {
        width: 100%;
    }

    #most-bought-products .product-miniature-list.js-product-miniature .thumbnail-container {
        padding: 0px;
    }

    #most-bought-products .products-grid .js-product-miniature-wrapper:nth-child(odd) {
        padding: 12px !important;
        padding-left: 12px !important;
    }

    #most-bought-products .product-miniature-list.js-product-miniature .product-thumbnail {
        min-width: 116px;
        max-width: 116px;
    }
}