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

#cc_featured_categories-block.container{
    width: 80%;
    margin: auto;
    margin-bottom: 50px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
}

#cc_featured_categories-block .cc_featured_categories-item{
    width: 200px;
    margin: 0 15px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#cc_featured_categories-block .cc_featured_categories-item_img img{
    width: 100%;
    height: auto;
}

#cc_featured_categories-block .cc_featured_categories-item_buttons{
    width: 100%;
    margin-top: 15px;
}

#cc_featured_categories-block .cc_featured_categories-item_buttons .cc_dropdown{
    width: 100%;    
    position: relative;
}

#cc_featured_categories-block .cc_dropdown .cc_btn{
    width: 100%;
    height: 55px;
    padding: 8px 18px 8px 18px;
    color: black;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    
    background-color: #FFF;
    border: 1px solid #999B9D;
    border-radius: 4px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#cc_featured_categories-block .cc_dropdown-menu {
    width: 100%;
    padding: 8px 18px 8px 18px;
    
    color: black;
    font-weight: 600;
    font-size: 18px;
    
    background-color: #FFF;
    border: 1px solid #999B9D;
    border-radius: 4px;

    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;

    height: 0;
    display: none;
}

#cc_featured_categories-block .cc_dropdown-menu a:hover{
    font-weight: 600;
}

#cc_featured_categories-block .cc_dropdown-menu a{
    width: 100%;
    text-align: center;
    padding: 6px;
}

#cc_featured_categories-block .cc_dropdown.show .cc_btn i {
    rotate: 90deg;
}

#cc_featured_categories-block .cc_dropdown.show .cc_dropdown-menu {
    height: fit-content;
    display: inline-block;
}
