
.ai-chat-product-details {
    display: none;
    border-top: 1px solid rgba(21, 83, 74, 0.12);
    padding-top: 9px;
}

.ai-chat-product-details.is-open {
    display: block;
}

.ai-chat-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ai-chat-suggestion-summary {
    display: grid;
    gap: 10px;
    width: min(620px, 100%);
}

.ai-chat-summary-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ai-chat-summary-metric {
    padding: 11px 12px;
    border-radius: 8px;
    background: rgba(21, 83, 74, 0.06);
}

.ai-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ai-chat-options-hint {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f4f8f5;
    border: 1px solid rgba(21, 83, 74, 0.1);
    color: #40534d;
    font-size: 0.86rem;
    line-height: 1.45;
}

.ai-chat-options-hint span {
    display: block;
    margin-bottom: 6px;
    color: #60716a;
}

.ai-chat-options-hint ul {
    margin: 0;
    padding-left: 18px;
}

.ai-chat-options-hint li + li {
    margin-top: 4px;
}

.ai-chat-options-hint strong {
    display: inline;
    margin: 0;
}

.ai-chat-chip {
    appearance: none;
    border: 1px solid rgba(21, 83, 74, 0.18);
    background: #fff;
    color: #15534a;
    border-radius: 14px;
    padding: 8px 12px;
    font: inherit;
    font-size: 0.85rem;
    line-height: 1.25;
    cursor: pointer;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
    text-align: left;
}

.ai-chip-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.ai-chat-chip:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(21, 83, 74, 0.16);
    background: #f3faf7;
}

.ai-chat-chip small {
    color: rgba(21, 83, 74, 0.7);
    font-size: 0.74rem;
    line-height: 1.1;
}

.ai-chat-chip-recommended {
    border-color: #15534a;
    background: linear-gradient(180deg, #ffffff 0%, #f3faf7 100%);
    box-shadow: 0 0 0 2px rgba(21, 83, 74, 0.12);
}

.ai-chip-badge {
    display: inline-block;
    background: #d4a657;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 6px;
    margin-bottom: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
}

.ai-chat-chip-selected {
    background: #15534a !important;
    color: #fff !important;
    border-color: #15534a !important;
}

.ai-chat-chip-selected small {
    color: rgba(255, 255, 255, 0.78) !important;
}

.ai-chat-chip:disabled {
    cursor: default;
    opacity: 0.7;
}

.ai-chat-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ai-chat-bubble .ai-clarification-chip {
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    border-color: rgba(21, 83, 74, 0.18);
    background: #f8fbf8;
    color: #15534a;
    box-shadow: none;
    font-size: 0.9rem;
    font-weight: 700;
}
