/* ───────────────────────────────────────────
 *  Page Bons plans
 *
 *  Le fond, la typo, les cartes et les boutons viennent des classes .prem-*
 *  de la home (CSS global Divi). Ce fichier n'ajoute que ce qui est propre
 *  aux offres : prix, badge de remise, filtres, votes. Les variables
 *  --p-gold / --p-grey / --p-card-bg sont déclarées sur .prem-breakout-wrapper.
 * ─────────────────────────────────────────── */

.acp-bp-wrapper {
    font-family: 'Inter', sans-serif;
}

.acp-bp-compteur {
    color: #888;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 12px;
}

.acp-bp-compteur .acp-bp-total {
    color: var(--p-gold);
    font-weight: 700;
}

/* ── Filtres ─────────────────────────────── */
.acp-bp-filtres {
    margin-bottom: 35px;
}

.acp-bp-groupe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.acp-bp-filtre {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ccc;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 16px;
    cursor: pointer;
    transition: 0.25s;
}

.acp-bp-filtre:hover {
    border-color: var(--p-gold);
    color: #fff;
}

.acp-bp-filtre.est-actif {
    border-color: var(--p-gold);
    background: var(--p-gold);
    color: #050505;
}

.acp-bp-filtre .acp-bp-n {
    opacity: 0.6;
    font-size: 0.65rem;
    margin-left: 4px;
}

.acp-bp-barre {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.acp-bp-select {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.acp-bp-select span {
    color: #777;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.acp-bp-select select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #eee;
    font-family: inherit;
    font-size: 0.85rem;
    padding: 8px 12px;
    min-width: 180px;
    cursor: pointer;
}

/* ── Carte ───────────────────────────────── */
.acp-bp-card {
    cursor: default;
}

.acp-bp-card .acp-bp-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    transition: 0.4s;
}

.acp-bp-card:hover .acp-bp-img img {
    transform: scale(1.04);
}

.acp-bp-remise {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--p-gold);
    color: #050505;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    z-index: 5;
}

.acp-bp-marchand {
    display: block;
    color: var(--p-gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.acp-bp-marchand a {
    color: inherit;
    text-decoration: none;
}

.acp-bp-marchand a:hover {
    text-decoration: underline;
}

.acp-bp-card .prem-card-title {
    font-size: 1rem;
    min-height: 2.8em;
}

.acp-bp-prix {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.acp-bp-prix-actuel {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.acp-bp-prix-barre {
    color: #777;
    font-size: 0.9rem;
    text-decoration: line-through;
}

.acp-bp-economie {
    flex-basis: 100%;
    color: #6ec07a;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.acp-bp-avis {
    background: rgba(212, 175, 55, 0.06);
    border-left: 2px solid var(--p-gold);
    color: #aaa;
    font-size: 0.82rem;
    line-height: 1.55;
    padding: 10px 12px;
    margin: 0 0 18px;
}

.acp-bp-avis strong {
    color: #ddd;
}

.acp-bp-cta {
    margin-top: auto;
}

.acp-bp-cta:hover {
    background: var(--p-gold);
    color: #050505;
}

/* ── Pied de carte : votes + date de relevé ── */
.acp-bp-pied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.acp-bp-votes {
    display: flex;
    gap: 6px;
}

.acp-bp-vote {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #999;
    font-family: inherit;
    font-size: 0.72rem;
    padding: 4px 9px;
    cursor: pointer;
    transition: 0.2s;
}

.acp-bp-vote:hover {
    border-color: var(--p-gold);
    color: #fff;
}

.acp-bp-vote.a-vote {
    border-color: var(--p-gold);
    color: var(--p-gold);
    cursor: default;
}

.acp-bp-vote[disabled] {
    opacity: 0.55;
    cursor: default;
}

.acp-bp-releve {
    color: #666;
    font-size: 0.7rem;
    text-align: right;
}

/* ── Chargement / vide ───────────────────── */
.acp-bp-grille.est-en-chargement {
    opacity: 0.45;
    transition: opacity 0.2s;
}

.acp-bp-vide {
    color: #888;
    text-align: center;
    padding: 40px 0;
}

.acp-bp-plus-zone {
    text-align: center;
    margin-top: 40px;
}

.acp-bp-plus:hover {
    background: var(--p-gold);
    color: #050505;
}

.acp-bp-disclaimer {
    line-height: 1.6;
}

@media (max-width: 767px) {
    .acp-bp-barre {
        flex-direction: column;
        align-items: stretch;
    }

    .acp-bp-select select {
        width: 100%;
    }

    .acp-bp-card .prem-card-title {
        min-height: 0;
    }
}
