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

#promo-grid{
    background: #F5F5F5;
}
#promo-grid .grid-items-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -ms-flex-pack: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#promo-grid .grid-items-wrapper .grid-item {
    position: relative;
    height: 580px;
    overflow: hidden;
    margin-bottom: 10px;
}
#promo-grid .grid-items-wrapper .grid-item:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}
#promo-grid .grid-items-wrapper .grid-item.has-image:first-child .content-wrapper {
    max-width: 100%;
    top: unset;
    left: 0;
    bottom: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}
#promo-grid .grid-items-wrapper .grid-item:first-child {
    background-color: #000;
}
#promo-grid .grid-items-wrapper .grid-item:first-child .content-wrapper {
    width: 100%;
    max-width: 65%;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#promo-grid .grid-items-wrapper .grid-item.has-categories {
    background-color: #000;
}
#promo-grid .grid-items-wrapper .grid-item.has-categories .content-wrapper {
    padding: 0 2rem;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-pack: center;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}
#promo-grid .grid-items-wrapper .grid-item.has-categories strong {
    margin-bottom: 3rem;
}
#promo-grid .grid-items-wrapper .grid-item img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 580px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#promo-grid .grid-items-wrapper .imagewrapper {
    width: 100%;
}
#promo-grid .grid-item.has-image .content-wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -ms-flex-pack: flex-end;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 100%;
    height: 100px;
    padding: 14px 40px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(transparent));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.5), transparent);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
}
#promo-grid .content-wrapper {
    top: unset;
}
#promo-grid p,
#promo-grid strong {
    color: #fff;
}
#promo-grid strong {
    font-size: 21px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}
#promo-grid p {
    margin: 2rem 0;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    line-height: 30px;
}
@media screen and (max-width: 1024px) {
    #promo-grid {
        padding: 0;
    }
    #promo-grid h3 {
        padding-left: 1rem;
        font-size: 2.8rem;
    }
    #promo-grid .grid-item {
        width: 50%;
    }
    #promo-grid .grid-item:nth-child(3),
    #promo-grid .grid-item.has-categories {
        width: 100%;
    }
    #promo-grid .grid-items-wrapper .grid-item {
        border-bottom: 0;
        margin-bottom: 1rem;
        height: 300px;
    }
    #promo-grid .grid-items-wrapper .grid-item:first-child .content-wrapper {
        max-width: 100%;
        padding: 0 2rem;
    }
    #promo-grid .grid-items-wrapper .grid-item.has-categories .content-wrapper {
        height: 250px;
    }
    #promo-grid .grid-items-wrapper .grid-item img {
        height: 100%;
        position: absolute;
    }
    #promo-grid p {
        font-size: 1.3rem;
        line-height: 20px;
    }
    #promo-grid strong {
        font-size:16px;
        padding: 10px 0;
    }
}
@media screen and (max-width: 640px) {
    #promo-grid.slider .grid-items-wrapper {
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    #promo-grid.slider .grid-items-wrapper .grid-item {
        width: 250px;
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        border: 0;
        margin: 0 0.7rem;
        border-radius: 10px;
    }
    #promo-grid.slider .grid-items-wrapper .grid-item.has-categories {
        display: none;
    }
    #promo-grid.slider .grid-items-wrapper .grid-item img {
        position: absolute;
    }
}


@media screen and (min-width: 641px) {
    #promo-grid .grid-items-wrapper .grid-item {
        width: 49.2%;
        margin: 0.3%;
    }

}
@media screen and (min-width: 1025px) {
    #promo-grid .grid-items-wrapper .grid-item {
        width: 24.4%;
        margin: 0%;
    }

}
