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

/*** TYPE TOP ***/
.dbcategorytree {
    margin-bottom: 20px;
}
.dbcategorytree.without_splide {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -8px;
    margin-right: -8px;
}
.dbcategorytree .subcategory-name {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    color: var(--primary_color);
    background-color: #FFF;
    border: 1px solid #FFF;
    height: 100%;
}
.dbcategorytree .subcategory-name:hover {
    border-color: var(--primary_color);
}
.dbcategorytree .subcategory-name img {
    max-width: 100%;
    margin-bottom: 8px;
}
.dbcategorytree.without_splide .subcategory-name {
    margin: 8px;
    width: calc(25% - 16px);
}

.dbcategorytree.splide .splide__track {
    margin-left: 30px;
    margin-right: 32px;
}

@media (max-width: 1200px) {
    .dbcategorytree.splide .splide__track {
        margin-left: 0;
        margin-right: 0;
    }
}

/*** TYPE BOTTOM ***/
.dbcategorytree_bottom .categories_list {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.dbcategorytree_bottom .categories_list .cat_list {
    width: 25%;
}
.dbcategorytree_bottom .categories_list .cat_home {
    width: 100%;
    margin: 8px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--color_font);
}
.dbcategorytree_bottom .categories_list .cat_home:hover {
    color: var(--primary_color);
}
.dbcategorytree_bottom .cat_home .name {
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
}
.dbcategorytree_bottom .dbcategorytree.splide .splide__track {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.dbcategorytree_bottom .dbcategorytree.without_splide .subcategory-name {
    width: calc(20% - 16px);
}
@media (max-width: 991px) {
    .dbcategorytree_bottom .categories_list .cat_list {
        width: 50%;
    }
}