#estensia-chat-button {

    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: none;

    cursor: pointer;

    overflow: hidden;

    z-index: 99999;

    box-shadow: 0 4px 15px rgba(0,0,0,.25);

    background: white;
}

#estensia-chat-button img {

    width: 100%;
    height: 100%;
    object-fit: cover;
}

#estensia-chat-window {

    position: fixed;

    bottom: 100px;
    right: 20px;

    width: 380px;
    height: 650px;

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,.2);

    display: none;

    flex-direction: column;

    z-index: 99999;
}

#estensia-header {

    background: #f8f3ef;

    padding: 15px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #eee;
}

#estensia-header-left {

    display: flex;

    align-items: center;

    gap: 10px;
}

#estensia-avatar {

    width: 55px;
    height: 55px;

    border-radius: 50%;

    object-fit: cover;
}

#estensia-name {

    font-weight: bold;

    font-size: 16px;
}

#estensia-role {

    font-size: 12px;

    color: #777;
}

#estensia-controls {

    display: flex;

    gap: 10px;
}

.estensia-control {

    cursor: pointer;

    font-size: 20px;

    color: #666;
}

#estensia-welcome {

    padding: 15px;

    background: #fff8f6;

    border-bottom: 1px solid #eee;
}

#estensia-quick {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 10px;
}

.estensia-quick-btn {

    border: none;

    border-radius: 20px;

    padding: 8px 12px;

    cursor: pointer;

    background: #d4af37;

    color: white;

    font-size: 13px;
}

#estensia-messages {

    flex: 1;

    overflow-y: auto;

    padding: 15px;

    background: #fafafa;
}

.estensia-user {

    text-align: right;

    margin-bottom: 12px;
}

.estensia-user span {

    display: inline-block;

    background: #d4af37;

    color: white;

    padding: 10px 14px;

    border-radius: 15px;
}

.estensia-bot {

    margin-bottom: 12px;
}

.estensia-bot span {

    display: inline-block;

    background: white;

    border: 1px solid #eee;

    padding: 10px 14px;

    border-radius: 15px;

    max-width: 90%;
}

#estensia-input-area {

    display: flex;

    border-top: 1px solid #eee;

    background: white;
}

#estensia-input {

    flex: 1;

    border: none;

    padding: 15px;

    outline: none;
}

#estensia-send {

    border: none;

    background: #d4af37;

    color: white;

    width: 60px;

    cursor: pointer;
}

.estensia-product-link {

    display: inline-block;

    margin-top: 8px;

    color: #d4af37;

    font-weight: bold;

    text-decoration: none;
}