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

.dbtopdiscount {
    position: relative;
    display: block;
    background-color: #FFF;
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 24px;
}
.dbtopdiscount .h3.title {
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    margin: 0;
    text-align: center;
}
.dbtopdiscount .discount_text {
    text-align: center;
    margin-bottom: 1.5rem;
}

.dbtopdiscount .discount_text .ahorro {
    margin-bottom: 0;
    color: var(--color_font);
    margin-top: 4px;
    margin-bottom: 32px;
}

.dbtopdiscount_product {
    height: 100%;
    display: flex;
}

.dbtopdiscount_miniproduct {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #FFF;
    margin: 5px;
    padding: 10px;
    position: relative;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-img {
    width: 80px;
    height: auto;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-img img {
    width: 100%;
    height: auto;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-content {
    width: calc(100% - 85px);
    margin-left: 5px;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-content .product-title {
    color: #232323;
    font-size: 14px;
    line-height: 1.35;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-content .outstanding_feature {
    color: grey;
    font-size: 13px;
    line-height: 1.3;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-content .price {
    color: #232323;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.dbtopdiscount_miniproduct .dbtopdiscount_miniproduct-content .regular-price {
    color: #adada9;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: line-through;
}

.dbtopdiscount_miniproduct .flag_discount {
    background-color: transparent;
    border-color: #29c4a9 transparent transparent;
    border-style: solid;
    border-width: 35px 35px 0 0;
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    padding: 0;
}
.dbtopdiscount_miniproduct .flag_discount > i {
    position: absolute;
    text-align: center;
    color: #FFF;
    top: -33px;
    left: 3px;
    font-size: 1rem;
}

.dbtopdiscount_miniproduct .dbproductcomments_product_centercolumn .num_comments {
    color: grey;
}

.dbtopdiscount .splide__slide .product-miniature .thumbnail-container {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .dbtopdiscount {
        margin-left: -15px;
        margin-right: -15px;
    }
}