.boxbot-message-list {
    background: #f5f7f8;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: min(62vh, 650px);
    min-height: 420px;
    overflow-y: auto;
    padding: 28px;
}

.boxbot-message {
    align-self: flex-start;
    max-width: 75%;
}

.boxbot-greeting-questions {
    align-self: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 85%;
}

.boxbot-greeting-question {
    background: #fff;
    border: 1px solid #25b9d7;
    border-radius: 18px;
    color: #247b8c;
    cursor: pointer;
    font: inherit;
    padding: 8px 14px;
    text-align: left;
    transition: background-color .15s, box-shadow .15s;
}

.boxbot-greeting-question:hover,
.boxbot-greeting-question:focus-visible {
    background: #e7f8fc;
    box-shadow: 0 0 0 3px rgba(37, 185, 215, .15);
    outline: none;
}

.boxbot-greeting-question:disabled {
    cursor: default;
    opacity: .6;
}

.boxbot-message--customer {
    align-self: flex-end;
}

.boxbot-message--product-recommendation {
    max-width: 92%;
    width: 100%;
}

.boxbot-message-author {
    color: #6c868e;
    font-size: 12px;
    font-weight: 600;
    margin: 0 8px 5px;
}

.boxbot-message--customer .boxbot-message-author {
    text-align: right;
}

.boxbot-message-bubble {
    background: #fff;
    border: 1px solid #d8e3e6;
    border-radius: 15px 15px 15px 3px;
    color: #363a41;
    font-size: 14px;
    line-height: 1.55;
    padding: 13px 16px;
    white-space: normal;
}

.boxbot-message--customer .boxbot-message-bubble {
    background: #25b9d7;
    border-color: #25b9d7;
    border-radius: 15px 15px 3px 15px;
    color: #fff;
}

.boxbot-message-paragraph + .boxbot-message-paragraph {
    margin-top: .55em;
}

.boxbot-message--system .boxbot-message-bubble {
    background: #fff7d6;
    border-color: #f0d979;
}

.boxbot-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.boxbot-link-card {
    align-items: center;
    background: #f7fafb;
    border: 1px solid #d8e3e6;
    border-radius: 7px;
    color: #363a41;
    display: inline-flex;
    gap: 10px;
    justify-content: space-between;
    max-width: 100%;
    padding: 9px 12px;
    text-decoration: none;
}

.boxbot-link-card:hover {
    border-color: #25b9d7;
    color: #1f7f93;
    text-decoration: none;
}

.boxbot-link-card span {
    overflow-wrap: anywhere;
}

.boxbot-category-links {
    margin-top: 14px;
    overflow-wrap: anywhere;
}

.boxbot-category-links p {
    margin: 0;
}

.boxbot-category-links a {
    font-weight: 600;
    text-decoration: underline;
}

.boxbot-product-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
}

.boxbot-product-card {
    align-items: stretch;
    background: #f7fafb;
    border: 1px solid #d8e3e6;
    border-radius: 8px;
    color: #363a41;
    display: flex;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    text-decoration: none;
}

.boxbot-product-card:hover {
    border-color: #25b9d7;
    color: #1f7f93;
    text-decoration: none;
}

.boxbot-product-card__image {
    background: #fff;
    border-radius: 5px;
    flex: 0 0 86px;
    height: 86px;
    object-fit: cover;
    width: 86px;
}

.boxbot-product-card__image--empty {
    align-items: center;
    color: #a6b5ba;
    display: flex;
    font-size: 24px;
    justify-content: center;
}

.boxbot-product-card__details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.boxbot-product-card__details strong {
    line-height: 1.35;
}

.boxbot-product-card__details small {
    color: #7a8f96;
}

.boxbot-product-card__footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 7px;
}

.boxbot-product-price {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.boxbot-product-price small {
    color: #6c868e;
    font-size: 10px;
}

.boxbot-product-availability {
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
}

.boxbot-product-availability--in-stock {
    background: #dff5e6;
    color: #287d3c;
}

.boxbot-product-availability--available-on-order {
    background: #996F00;
    color: #fff;
}

.boxbot-product-availability--out-of-stock {
    background: #222;
    color: #fff;
}

.boxbot-message--processing .boxbot-message-bubble {
    align-items: center;
    display: flex;
    gap: 10px;
}

.boxbot-processing-dots {
    display: inline-flex;
    gap: 4px;
}

.boxbot-processing-dots i {
    animation: boxbot-pulse 1.2s infinite ease-in-out;
    background: #8b9ca1;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.boxbot-processing-dots i:nth-child(2) {
    animation-delay: .15s;
}

.boxbot-processing-dots i:nth-child(3) {
    animation-delay: .3s;
}

@keyframes boxbot-pulse {
    0%, 60%, 100% {
        opacity: .35;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

