/**
 * Bandeau cookies brutaliste PUNCH.
 * Fixe en bas, fond noir, texte blanc, boutons rouge / contour blanc.
 */

.punch-cookie-banner {
    position    : fixed;
    bottom      : 0;
    left        : 0;
    right       : 0;
    z-index     : 99998;
    background  : #1A1A1A;
    color       : #fff;
    border-top  : 4px solid #EB242D;
    padding     : 18px 24px;
    transform   : translateY(110%);
    transition  : transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow  : 0 -6px 24px rgba(0, 0, 0, 0.18);
}
.punch-cookie-banner.is-visible {
    transform: translateY(0);
}
.punch-cookie-banner__inner {
    max-width    : 1200px;
    margin       : 0 auto;
    display      : flex;
    gap          : 24px;
    align-items  : center;
    flex-wrap    : wrap;
}
.punch-cookie-banner__text {
    flex: 1 1 320px;
}
.punch-cookie-banner__title {
    font-family   : var(--punch-font-display, 'Aldo', sans-serif);
    font-size     : 22px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color         : #EB242D;
    margin        : 0 0 4px;
    line-height   : 1;
}
.punch-cookie-banner__text p {
    margin     : 0;
    font-size  : 13.5px;
    line-height: 1.55;
    color      : rgba(255, 255, 255, 0.88);
}
.punch-cookie-banner__text p a {
    color           : #fff;
    text-decoration : underline;
    text-underline-offset: 3px;
}
.punch-cookie-banner__text p a:hover {
    color: #EB242D;
}
.punch-cookie-banner__actions {
    display       : flex;
    gap           : 10px;
    flex-shrink   : 0;
}
.punch-cookie-banner__btn {
    font-family    : inherit;
    font-size      : 13px;
    font-weight    : 700;
    letter-spacing : 0.08em;
    text-transform : uppercase;
    padding        : 12px 22px;
    border         : 0;
    cursor         : pointer;
    line-height    : 1;
    transition     : background 0.15s, color 0.15s;
}
.punch-cookie-banner__btn--reject {
    background   : transparent;
    color        : #fff;
    border       : 2px solid #fff;
}
.punch-cookie-banner__btn--reject:hover {
    background : #fff;
    color      : #1A1A1A;
}
.punch-cookie-banner__btn--accept {
    background : #EB242D;
    color      : #fff;
}
.punch-cookie-banner__btn--accept:hover {
    background : #fff;
    color      : #EB242D;
}

/* Mobile : actions full-width sur 2 colonnes */
@media (max-width: 640px) {
    .punch-cookie-banner {
        padding: 16px 18px;
    }
    .punch-cookie-banner__inner {
        gap: 14px;
    }
    .punch-cookie-banner__actions {
        width: 100%;
    }
    .punch-cookie-banner__btn {
        flex     : 1;
        padding  : 12px 8px;
        font-size: 12px;
    }
}

/* Bouton "Modifier mes préférences" sur la page Cookies */
#punch-cookie-reset {
    display       : inline-block;
    padding       : 10px 16px;
    background    : #EB242D;
    color         : #fff !important;
    font-weight   : 700;
    font-size     : 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    margin-top    : 12px;
}
#punch-cookie-reset:hover {
    background: #1A1A1A;
    color     : #fff !important;
}
