/* LoyaltyHub — front-boosts.css
   Fiche produit et panier (boosts.tpl, product_points.tpl, cart_estimate.tpl).
   Genere depuis front.css — ne pas editer a la main. */
.lh-boosts-bar {
    margin: 14px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    position: relative;
}
.lh-boosts-bar__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.lh-boosts-bar__track::-webkit-scrollbar {
    display: none;
}
.lh-boosts-bar__item {
    --lh-boost-accent: #6366f1;
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #0f172a;
    background: color-mix(in srgb, var(--lh-boost-accent) 6%, #ffffff);
    border-left: 3px solid var(--lh-boost-accent);
    min-width: 0;
}
.lh-boosts-bar__item.is-upcoming {
    opacity: 0.85;
}
.lh-boosts-bar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--lh-boost-accent) 14%, #ffffff);
    color: var(--lh-boost-accent);
    flex-shrink: 0;
}
.lh-boosts-bar__icon svg {
    width: 16px;
    height: 16px;
}
.lh-boosts-bar__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: lh-boost-pulse 1.6s infinite;
    flex-shrink: 0;
    margin-left: -4px;
}
.lh-boosts-bar__text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}
.lh-boosts-bar__title {
    font-size: 0.85rem;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lh-boosts-bar__title::after {
    content: '·';
    margin-left: 6px;
    color: #cbd5e1;
    font-weight: 400;
}
.lh-boosts-bar__reward {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--lh-boost-accent);
    flex-shrink: 0;
}
.lh-boosts-bar__countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lh-boost-accent);
    flex-shrink: 0;
    white-space: nowrap;
}
.lh-boosts-bar__countdown--upcoming {
    color: #4338ca;
}
.lh-boosts-bar__countdown svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.lh-boosts-bar__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 0 8px;
    background: #fafafa;
}
.lh-boosts-bar__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d1d5db;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
}
.lh-boosts-bar__dot:hover {
    background: #9ca3af;
}
.lh-boosts-bar__dot.is-active {
    background: #1f2937;
    transform: scale(1.4);
}

@media (max-width: 600px) {
.lh-boosts-bar__title {
        display: none;
    }
.lh-boosts-bar__item {
        padding: 10px 12px;
        gap: 8px;
    }
.lh-boosts-bar__icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }
.lh-boosts-bar__icon svg {
        width: 14px;
        height: 14px;
    }
.lh-boosts-bar__reward {
        font-size: 0.85rem;
    }
.lh-boosts-bar__countdown {
        font-size: 0.74rem;
    }
}
