
.ai-chat-message-user {
    margin-left: auto;
    justify-content: flex-end;
}

.ai-chat-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #15534a;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    overflow: hidden;
}

.ai-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-chat-bubble {
    padding: 13px 14px;
    border-radius: 8px;
    background: #fff;
    color: #17332f;
    border: 1px solid rgba(21, 83, 74, 0.1);
    box-shadow: 0 12px 26px rgba(23, 54, 47, 0.07);
}

.ai-chat-message-assistant .ai-chat-bubble,
.ai-chat-message-assistant .ai-chat-bubble p {
    color: #223846;
}

.ai-chat-message-assistant .ai-chat-bubble strong,
.ai-chat-message-assistant .ai-chat-bubble b {
    color: #123d38;
    font-weight: 800;
}

.ai-chat-message-user .ai-chat-bubble {
    background: #15534a;
    color: #fff;
    border-color: #15534a;
}

.ai-chat-bubble strong,
.ai-chat-bubble b {
    display: block;
    margin-bottom: 5px;
    color: inherit;
}

.ai-chat-bubble p {
    margin: 0;
    line-height: 1.55;
}

.ai-chat-bubble p + p {
    margin-top: 8px;
}

.ai-chat-bubble p b,
.ai-chat-bubble p strong {
    display: inline;
    margin: 0;
    color: #123d38;
    font-weight: 800;
}

.ai-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ai-chat-actions .ai-btn {
    padding: 8px 14px;
    font-size: 0.86rem;
    border-radius: 8px;
}

.ai-chat-actions .ai-text-link {
    align-self: center;
}

.ai-chat-message-suggestion {
    max-width: min(760px, 96%);
}

.ai-chat-message-suggestion .ai-chat-bubble {
    width: 100%;
}


.ai-chat-product-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    width: min(620px, 100%);
}

.ai-chat-product-media {
    min-height: 112px;
    border-radius: 8px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(215, 180, 106, 0.2), transparent 48%),
        linear-gradient(145deg, rgba(21, 83, 74, 0.1), rgba(21, 83, 74, 0.04));
    color: #15534a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
}

.ai-chat-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-chat-product-body {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.ai-chat-product-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.ai-chat-product-title {
    margin: 0 0 4px;
    color: #173f39;
    font-size: 1rem;
    line-height: 1.25;
}

.ai-chat-product-subtitle {
    margin: 0;
    color: #a27522;
    font-size: 0.86rem;
    font-weight: 700;
}

.ai-chat-product-price {
    flex: 0 0 auto;
    min-width: 104px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(21, 83, 74, 0.06);
    text-align: right;
}

.ai-chat-product-price span,
.ai-chat-product-options-title,
.ai-chat-suggestion-summary span,
.ai-chat-qty-label {
    display: block;
    color: #728177;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ai-chat-product-price strong,
.ai-chat-suggestion-summary strong {
    color: #113f3b;
    font-size: 1rem;
}

.ai-chat-product-card .ai-field-chip strong {
    display: inline;
    margin: 0;
}

.ai-chat-product-options {
    display: grid;
    gap: 8px;
}
