/* Bandeau flash info – défilement horizontal continu */
.flash-info-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    padding: 0.5rem 0;
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    z-index: 200;
    white-space: nowrap;
    height: 38px;
    display: flex;
    align-items: center;
}

.flash-info-track {
    display: inline-flex;
    animation: flash-info-scroll 20s linear infinite;
    will-change: transform;
}

.flash-info-track:hover {
    animation-play-state: paused;
}

.flash-info-segment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2.5rem;
}

.flash-info-segment .flash-info-icon {
    color: #ff6f00;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.flash-info-segment .flash-info-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff6f00;
    flex-shrink: 0;
    opacity: 0.7;
}

.flash-info-segment .flash-info-text {
    letter-spacing: 0.03em;
}

@keyframes flash-info-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Quand le bandeau est présent, décaler la navbar fixe et le contenu */
body.has-flash-info .navbar {
    top: 38px !important;
}

body.has-flash-info {
    padding-top: 123px;
}

@media (max-width: 576px) {
    .flash-info-banner {
        font-size: 0.82rem;
        padding: 0.4rem 0;
        height: 34px;
    }
    body.has-flash-info .navbar {
        top: 34px !important;
    }
    body.has-flash-info {
        padding-top: 119px;
    }
}

/* ── Badges / bandeaux sur les cartes produit ── */
.product .filtr-item .content {
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: -2px;
    padding: 4px 14px 4px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    z-index: 5;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    line-height: 1.3;
    white-space: nowrap;
}

.product-badge--promo {
    background: linear-gradient(135deg, #e53935, #ff1744);
}
.product-badge--stock {
    background: linear-gradient(135deg, #ff6f00, #ffa000);
}
.product-badge--new {
    background: linear-gradient(135deg, #00c853, #69f0ae);
    color: #1a1a2e;
}
.product-badge--custom {
    background: linear-gradient(135deg, #6200ea, #b388ff);
}
.product-badge--info {
    background: linear-gradient(135deg, #0288d1, #4fc3f7);
}

@media (max-width: 575px) {
    .product-badge {
        font-size: 0.62rem;
        padding: 3px 10px 3px 8px;
        top: 8px;
    }
}
