/**
 * BCS DTF — Styles partagés (v8.0.1)
 * Baseline commune : reset léger, boutons, toast.
 * Chargé par tous les modes du customizer.
 */

.bcs-btn,
.bcs-btn-primary,
.bcs-btn-secondary,
.bcs-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, opacity .15s;
    text-decoration: none;
}
.bcs-btn-primary {
    background: #2271b1;
    color: #fff;
}
.bcs-btn-primary:hover:not(:disabled) { background: #135e96; }
.bcs-btn-secondary {
    background: #fff;
    color: #333;
    border-color: #ddd;
}
.bcs-btn-secondary:hover:not(:disabled) { background: #f5f5f5; }
.bcs-btn-cart {
    background: #0c8;
    color: #fff;
}
.bcs-btn-cart:hover:not(:disabled) { background: #0a6; }
.bcs-btn:disabled,
.bcs-btn-primary:disabled,
.bcs-btn-secondary:disabled,
.bcs-btn-cart:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ── Toast ─────────────────────────────────────────── */
.bcs-toast-host {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.bcs-toast {
    background: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    animation: bcs-toast-in .2s ease-out;
    max-width: 340px;
    pointer-events: auto;
}
.bcs-toast.bcs-toast-success { background: #0c8; }
.bcs-toast.bcs-toast-error   { background: #d63638; }
.bcs-toast.bcs-toast-info    { background: #2271b1; }
.bcs-toast.out { opacity: 0; transform: translateY(8px); transition: all .5s; }

@keyframes bcs-toast-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
