/*
 * Styling for the Maxwel Site Q&A Rich plugin chat widget.
 *
 * Provides a simple chat layout and styles the product card with
 * thumbnail, info, colours and features list. Colours and sizes can
 * be adjusted to match your site design.
 */
.msfaq-widget {
    border: 1px solid #ddd;
    max-width: 640px;
    font-family: sans-serif;
}

.msfaq-header {
    background: #08156a;
    color: #fff;
    padding: 8px 12px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.msfaq-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.msfaq-log .msg {
    margin-bottom: 10px;
}

.msfaq-log .user {
    text-align: right;
}

.msfaq-log .bot {
    text-align: left;
}

.msfaq-input {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.msfaq-input input {
    flex: 1;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.msfaq-input button {
    padding: 6px 12px;
    background: #08156a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.msfaq-foot {
    font-size: 12px;
    color: #666;
    padding: 4px 8px;
    border-top: 1px solid #ccc;
}

/* Product card styling */
.msfaq-product-card {
    display: flex;
    border: 1px solid #e5e5e5;
    padding: 8px;
    border-radius: 4px;
    gap: 12px;
    background: #f9f9f9;
}

.msfaq-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.msfaq-info {
    flex: 1;
}

.msfaq-name {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 16px;
}

.msfaq-price {
    color: #d00000;
    margin-bottom: 4px;
    font-size: 14px;
}

.msfaq-colors {
    margin-bottom: 4px;
    font-size: 14px;
}

.msfaq-features {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.msfaq-features li {
    list-style-type: disc;
    margin-bottom: 2px;
}

.msfaq-actions {
    margin-top: 6px;
}

.msfaq-buy {
    background: #0066cc;
    color: #fff;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}