/**
* 2007-2026 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-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

/* Container principal */
.fa-banner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    width: 100%;
}

/* Items de bannière */
.fa-banner-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation décalée pour le second item */
.fa-banner-item-2 {
    transition-delay: 0.15s;
}

/* État visible (activé par JS) */
.fa-banner-item.fa-banner-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lien de bannière */ 
.fa-banner-link {
    display: block;
    position: relative;
    overflow: hidden;
}

/* Image de bannière */
.fa-banner-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet au survol */
.fa-banner-link:hover .fa-banner-img {
    transform: scale(1.03);
}

/* Overlay subtil au survol */
.fa-banner-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.fa-banner-link:hover::after {
    opacity: 1;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .fa-banner-container {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }

    .fa-banner-item {
        flex: 1 1 100%;
    }

    .fa-banner-item-1 {
        transform: translateX(-30px);
        opacity: 0;
    }

    .fa-banner-item-2 {
        transform: translateX(30px);
        opacity: 0;
    }

    .fa-banner-item.fa-banner-visible {
        transform: translateX(0);
        opacity: 1;
    }
}
