/* TC Mon Voyage — button.css (sitewide, léger) */

.tcmv-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #C9973A;
    color: #8B3A1A;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s, color .15s, transform .15s, border-color .15s;
    /* position+z-index obligatoires : beaucoup de cards du site utilisent un
       lien "stretché" (::after en position:absolute couvrant toute la card,
       z-index 0 ou 1) pour rendre la card entière cliquable — sans ceci, le
       clic sur le "+" est intercepté par ce lien invisible et navigue vers
       la fiche au lieu d'ajouter au carnet. */
    position: relative;
    z-index: 2;
}
.tcmv-add-btn:hover { background: #8B3A1A; border-color: #8B3A1A; color: #fff; transform: scale(1.08); }
.tcmv-add-btn.is-added { background: #2D4A2D; border-color: #2D4A2D; color: #fff; cursor: default; transform: none; }
.tcmv-add-btn:disabled { opacity: .7; cursor: wait; }

/* ── Variante avec texte — cards spacieuses et fiches complètes ── */
.tcmv-add-btn--label {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 8px 16px;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.tcmv-add-btn--label .tcmv-add-btn-icon { font-size: 15px; line-height: 1; }
.tcmv-add-btn--label:hover { transform: none; }

/* ── Bulle d'indice — première visite uniquement (voir button.js) ── */
.tcmv-hint-bubble {
    position: absolute;
    z-index: 99998;
    background: #1A1612;
    color: #F2EDE4;
    padding: 9px 15px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 230px;
    box-shadow: 0 8px 22px rgba(0,0,0,.32);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.tcmv-hint-bubble.is-visible { opacity: 1; transform: translateY(0); }
.tcmv-hint-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 28px;
    width: 12px;
    height: 12px;
    background: #1A1612;
    transform: rotate(45deg);
}

.tcmv-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 16px);
    background: #1A1612;
    color: #F2EDE4;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    z-index: 99999;
    opacity: 0;
    max-width: 90vw;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}
.tcmv-toast a { color: #E3BB6C; font-weight: 700; text-decoration: none; margin-left: 4px; pointer-events: auto; }
.tcmv-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
