.store-assist {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
}

.store-assist-launch {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.1rem;
    background: linear-gradient(135deg, #101828, #1d4ed8);
    color: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .28);
}

.store-assist-launch-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.store-assist-launch-copy small {
    opacity: .82;
}

.store-assist-launch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.store-assist-panel {
    width: min(56rem, calc(100vw - 1.5rem));
    margin-top: .75rem;
    margin-left: auto;
    background: #fff;
    border: 1px solid #dbe4f0;
    border-radius: 1.25rem;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .24);
    overflow: hidden;
}

.store-assist-panel .chatcontainer {
    position: relative;
    display: block !important;
    flex: none !important;
    justify-content: initial !important;
    height: 32rem;
    min-height: 32rem;
    max-height: 32rem;
    padding: 1rem 1rem 4.5rem;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: auto !important;
}

.store-assist-panel #chatMessages {
    display: block !important;
    min-height: 0 !important;
    padding-bottom: 1rem;
}

.store-assist-panel .chat-loader-wrap {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    min-width: 132px;
    min-height: 104px;
    pointer-events: none;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    padding: .8rem .9rem;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}

.store-assist-panel .chat-loader-wrap .loader {
    display: block;
    width: 52px;
    height: 52px;
    border-width: 10px;
}

.store-assist-panel .chat-loader-label {
    font-size: .82rem;
    font-weight: 700;
    color: #102033;
    text-align: center;
}

.store-assist-legacy-header {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
}

.store-assist-legacy-header .icblack32 {
    color: #fff;
}

.store-assist-reset-btn,
.store-assist-close-btn {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    width: 42px;
    height: 42px;
}

.store-assist-input-shell {
    padding: .75rem 1rem 1rem;
}

.store-assist-input-shell .tabla {
    width: 100%;
}

.store-assist-input-shell .tabla td.tabla {
    width: 100%;
}

.store-assist-input-shell .chatinputfloat {
    width: 100%;
    min-height: 118px;
    height: 118px;
    font-size: 1rem;
    padding: .9rem 1rem;
    display: block;
}

.store-assist-header-count {
    color: rgba(255, 255, 255, 0.88);
    font-size: .95rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.store-assist-header-limit {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

.store-assist-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem .75rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.store-assist-head h3 {
    margin: .2rem 0;
    font-size: 1.05rem;
}

.store-assist-head p,
.store-assist-note {
    margin: 0;
    color: #475467;
    font-size: .9rem;
}

.store-assist-eyebrow {
    display: inline-block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #1d4ed8;
    font-weight: 800;
}

.store-assist-close,
.store-assist-reset,
.store-assist-send,
.store-assist-chip {
    border: 0;
}

.store-assist-close {
    align-self: flex-start;
    background: transparent;
    color: #344054;
}

.store-assist-note,
.store-assist-chips,
.store-assist-footer,
.store-assist-input,
.store-assist-suggestions {
    padding-left: 1rem;
    padding-right: 1rem;
}

.store-assist-note {
    padding-top: .85rem;
}

.store-assist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: .85rem;
}

.store-assist-chip {
    border-radius: 999px;
    padding: .45rem .8rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .82rem;
}

.store-assist-messages {
    max-height: 19rem;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.store-assist-message {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .8rem .9rem;
    border-radius: 1rem;
    font-size: .92rem;
}

.store-assist-message strong {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.store-assist-message-bot {
    background: #f5f8ff;
    color: #0f172a;
}

.store-assist-message-user {
    background: #101828;
    color: #fff;
}

.store-assist-group {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-top: .85rem;
}

.store-assist-group strong {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #667085;
}

.store-assist-group a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    color: #101828;
    background: #f8fafc;
    border-radius: .8rem;
    padding: .65rem .75rem;
}

.store-assist-group a small {
    color: #1d4ed8;
}

.store-assist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .9rem;
}

.store-assist-counter {
    color: #667085;
    font-size: .82rem;
}

.store-assist-reset {
    background: transparent;
    color: #1d4ed8;
    font-weight: 700;
}

.store-assist-input {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    padding-top: .9rem;
    padding-bottom: 1rem;
}

.store-assist-input textarea {
    resize: none;
    border: 1px solid #d0d5dd;
    border-radius: .9rem;
    padding: .8rem .9rem;
    min-height: 5.25rem;
}

.store-assist-send {
    align-self: end;
    border-radius: .9rem;
    padding: .8rem 1rem;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 640px) {
    .store-assist {
        left: .75rem;
        right: .75rem;
        bottom: .75rem;
    }

    .store-assist-launch {
        width: 100%;
        justify-content: center;
    }

    .store-assist-panel {
        width: 100%;
    }

    .store-assist-input {
        grid-template-columns: 1fr;
    }
}
