/* Buyer-seller messaging UX enhancements */
.msg-ask-seller-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #C8102E;
    text-decoration: none;
    white-space: nowrap;
}
.msg-ask-seller-link:hover {
    color: #8B0000;
    text-decoration: underline;
}

.conversation-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.conversation-quick-reply {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.conversation-quick-reply:hover {
    border-color: #C8102E;
    color: #C8102E;
    background: #fff5f6;
}

.message-before-buy-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.message-before-buy-backdrop.is-open { display: flex; }
.message-before-buy-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.message-before-buy-modal h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.message-before-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
