/**
* 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.
*/

#subcategory {
  --f-carousel-spacing: 8px;
  --f-carousel-slides-per-page: 4;
  --f-carousel-slide-width: calc(100% - 30px);
  padding: 0 !important;
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
}
#subcategory .f-carousel__track {
  height: 56px !important;
}
#subcategory .item-subcategory a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1.5rem;
  background-color: #f3f3f3;
  height: 100%;
}
#subcategory .item-subcategory .name-subcategory {
  color: #232323;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-align: center;
}
@media (min-width: 992px) {
  #subcategory {
    --f-carousel-slide-width: calc((100% / 3 - 30px));
  }
}
@media (min-width: 1200px) {
  #subcategory {
    --f-carousel-slide-width: calc(
        (100% - ((var(--f-carousel-slides-per-page) - 1) * var(--f-carousel-spacing))) /
            var(--f-carousel-slides-per-page)
    );
  }
}
@media (max-width: 991px) {
  #subcategory {
    --f-carousel-slide-width: calc((100% / 2 - 30px));
    padding: 1rem 0 1rem 0;
  }
  #subcategory .item-subcategory .name-subcategory {
    font-size: 12px;
  }
}