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

.dbhotproducts {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    gap: 16px;
    margin-bottom: 48px;
}

#dbhotproducts-cabecera {
    display: flex;
    min-width: 328px;
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 8px;
    background: var(--Neutral-20, #EAECF0);
}

#dbhotproducts-cabecera .cab_izda {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
}

.cab_izda .title {
    color: var(--Neutral-70, #344054);
    font-family: "Be Vietnam Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 0px;
}

.cab_izda .description {
    color: var(--Neutral-70, #344054);
    font-family: "Be Vietnam Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 200;
    line-height: 24px;
}

#dbhotproducts-cabecera .cab_izda a {
    font-size: 16px;
}

#splide_dbhotproducts-list .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    margin-bottom: 0px;
}

.dbhotproducts-carrusel,
#splide_dbhotproducts,
#splide_dbhotproducts .splide__track {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

#splide_dbhotproducts .splide__slide {
    min-width: 180px;
    width: 238px;
    box-sizing: border-box;
    margin: 0 !important;
}

/* La lista de slides debe ser flex y no tener padding/margin extra */
#splide_dbhotproducts .splide__list {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    justify-content: flex-start !important;
}

/* Cada slide/producto debe tener un ancho fijo */
.dbhotproducts-product,
#splide_dbhotproducts .splide__slide {
    width: 238px !important;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
}

/* Flechas del splide */
#splide_dbhotproducts .splide__arrow {
    border-radius: 0;
    background-color: #F1F0F0;
    box-shadow: none;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
}

/* Separación lateral de las flechas */
#splide_dbhotproducts .splide__arrow--prev {
    left: 0px;
}

#splide_dbhotproducts .splide__arrow--next {
    right: 0px;
}

/* Responsive básico para cabecera en pantallas pequeñas */
@media (max-width: 1200px) {
    .dbhotproducts {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    #splide_dbhotproducts .splide__arrows {
        display: none !important;
    }

    .cab_izda .title {
        font-size: 20px;
    }
}

.dbhotproducts .product-miniature .product-title,
.dbhotproducts .product-miniature .product-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-clamp: 3 !important;
    max-height: calc(1.2em * 3) !important;
    line-height: 1.2em !important;
}