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

.shttImageCategoryGrid .image {
    display: flex;
    justify-content: center;
    color: white;
    gap: 30px;
    opacity: 1;
    height: auto;
    pointer-events: all;
    transition: opacity 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shttImageCategoryGrid .image:not(.active) {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.shttImageCategoryGrid .image .title {
    font-family: 'new-spirit', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.shttImageCategoryGrid .image .title.has-description {
    cursor: pointer;
    text-decoration: underline;
}

.shttImageCategoryGrid .countdown-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shttImageCategoryGrid .description-wrapper {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgba(0 0 0 / 0.5);
    align-items: center;
    justify-content: center;
    gap: 30px 15px;
    display: none;
    width: 100%;
    height: 100%;
}

.shttImageCategoryGrid .description-wrapper.active {
    display: flex;
}

.shttImageCategoryGrid .description {
    width: 650px;
    max-width: 100%;
    height: auto;
    padding: 75px 50px;
    background-color: white;
    border-radius: 8px;
    position: relative;
}

.shttImageCategoryGrid .description .image-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .shtt-image-category-grid .image-mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .shtt-image-category-grid .image-pc {
        display: none;
    }

    .shtt-image-category-grid {
        grid-column: 1/-1;
    }
    .shtt-image-category-grid .image-mobile {
        display: block;
        margin-inline: auto;
    }
}