/* =========================================================
   age_bandeau_shop.css
   Bandeau promotionnel — AGE Burlat
   ========================================================= */

.age-bandeau-shop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: stretch;
    background-color: #b0cfc7;
    padding: 16px 48px 14px 16px;
    box-sizing: border-box;
    position: fixed;
    z-index: 10;
}

.age-bandeau-shop__text {
    font-family: 'Arvo', sans-serif;
    font-size: 18px;
    color: #3A5B5E;
    text-align: center;
    line-height: 1.4;
}

.age-bandeau-shop__ctas {
    display: flex;
    gap: 10px;
    align-items: center;
}

.age-bandeau-shop__cta {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #3A5B5E;
    border-radius: 4px;
    text-decoration: none;
    color: #3A5B5E;
    background: rgba(255, 255, 255, 0.35);
    font-family: 'Arvo', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.age-bandeau-shop__cta:hover,
.age-bandeau-shop__cta:focus {
    background-color: #3A5B5E;
    color: #b0cfc7;
}

.age-bandeau-shop__close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #3A5B5E;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.age-bandeau-shop__close:hover,
.age-bandeau-shop__close:focus {
    opacity: 1;
    outline: none;
}

/* Animation d'entrée */
.age-bandeau-shop {
    animation: absFadeIn 0.35s ease both;
}

@keyframes absFadeIn {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État masqué */
.age-bandeau-shop--hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .age-bandeau-shop {
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 44px 12px 12px;
        margin-top: 10px;
    }

    .age-bandeau-shop__text {
        font-size: 15px;
    }

    .age-bandeau-shop__ctas {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
