/**
* 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.
*/
#categoriesslider{
    width: 34%;
}
#categoriesslider .cat_items{
    position: relative;
    cursor: pointer;
}
#categoriesslider .cat_items img{
    width: 100%;
    height: auto;
}

#categoriesslider .cat_items .info_category{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    color: #fff;
    padding: 15px 0;
    padding-left: 20px;
    width: 65%;
    overflow: hidden;
    transition: 0.3s;
}
#categoriesslider .cat_items .info_category h2{
    margin-bottom: 0;
    color: #fff;
}

#categoriesslider .cat_items .info_category .description {
    margin-top: 0;
    max-height: 0px;
    opacity: 0;
    
    transition: max-height 0.3s, opacity 0.1s ;
}
#categoriesslider .cat_items:hover .info_category .description {
    margin-top: .5rem;
    max-height: 90px;
    opacity: 1;
    transition: max-height 0.3s, opacity 0.3s 0.1s ;
}

#categoriesslider .cat_items .info_category p {
    margin: 0;
    color: #fff;
}
@media (max-width:980px){
    #slider_full{
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }
    #categoriesslider{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 20px;
        padding: 5%;
    }
    #categorieshome .cat_item .cat_info h2{
        font-size: 16px;
    }
    #categorieshome .cat_item .cat_info .description{
        display: none;
    }
}