/* Buyer-seller messaging UX enhancements */
.msg-ask-seller-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #b10e28;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid rgba(200, 16, 46, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
    box-shadow: 0 3px 10px rgba(200, 16, 46, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.msg-ask-seller-link:hover {
    color: #8B0000;
    border-color: rgba(200, 16, 46, 0.45);
    box-shadow: 0 6px 14px rgba(200, 16, 46, 0.16);
    transform: translateY(-1px);
    text-decoration: none;
}

.home-shop-tile-grid__cell--stack {
    flex-direction: column;
    align-items: stretch;
}

.home-shop-tile-grid__cell--stack .tigule-shop-tile {
    width: 100%;
}

.shop-tile-ask-wrap {
    margin-top: 0.4rem;
    display: flex;
    justify-content: center;
}

.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;
}
