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

.related-category-container a {
    align-items: center;
    gap: 0px 5px;
    padding: 7px 10px;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#category-related-search .related-category-container .related-category-name {
    max-width: 200px;
    width: max-content;
    line-height: 17px;
}
.related-category-container img {
    width: 23px;
    height: auto;
}
#category-related-search p{
    grid-area: a1;
    text-align: center;
    font-size: 22px;
    color: black;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
div#category-related-search {
    margin-top: 85px !important;
}
#category-related-search .related-category-container{
    display: flex;
    border-radius: 3px;
    justify-content: center;
    align-items: center;
    background: #f2f2f2;
    transition: 300ms;
}
.list-related-category {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start !important;
    overflow-y: scroll;
    scrollbar-width: none;
    flex-direction: row;
    user-select: none;
    max-width: 1000px;
}
#category-related-search .related-category-container:hover {
    background: #e0e0e0;
}
@media(max-width: 991px) {
    #category-related-search .related-category-container .related-category-name {
        font-size: 12px;
    }
    .related-category-container img {
        width: 100%;
        max-width: 30px;
        height: auto;
    }
}