#ss-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #c9a84c;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s;
    animation: ss-pop-in 0.4s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
#ss-chat-bubble:hover { transform: scale(1.1); }
#ss-chat-bubble svg { width: 26px; height: 26px; fill: #000000; }

#ss-chat-window {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: ss-slide-up 0.3s ease both;
}
#ss-chat-window.open { display: flex; }

#ss-chat-header {
    background: #000000;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#ss-chat-header .ss-title { color: #c9a84c; font-weight: 700; font-size: 0.95rem; }
#ss-chat-header .ss-sub { color: #aaa; font-size: 0.75rem; margin-top: 2px; }
#ss-chat-close { color: #aaa; cursor: pointer; font-size: 1.2rem; line-height: 1; background: none; border: none; padding: 0; }
#ss-chat-close:hover { color: #fff; }

#ss-chat-messages {
    padding: 16px;
    flex: 1;
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ss-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: 1.5;
}
.ss-msg.bot {
    background: #f1f3f5;
    color: #222;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.ss-msg.user {
    background: #000000;
    color: #c9a84c;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ss-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ss-choice-btn {
    background: #fff;
    border: 2px solid #c9a84c;
    color: #000000;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.ss-choice-btn:hover { background: #c9a84c; }

#ss-chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid #eee;
    display: none;
    gap: 8px;
}
#ss-chat-input-area.visible { display: flex; }
#ss-chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.875rem;
    outline: none;
}
#ss-chat-input:focus { border-color: #c9a84c; }
#ss-chat-send {
    background: #c9a84c;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
#ss-chat-send:hover { opacity: 0.85; }

@keyframes ss-pop-in {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
@keyframes ss-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
