.loading-spinner {
    display: flex;
    justify-content: left;
    align-items: center;
    height: 30px;
}

.dot1, .dot2, .dot3 {
    width: 5px;
    height: 5px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 5px;
    animation: bounce 1.4s infinite ease-in-out;
}

.dot2 {
    animation-delay: 0.2s;
}

.dot3 {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.chat-button {
    position: fixed;
    bottom: 65px;
    right: 10px;
    background-color: #2dbaa8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 20%);
    z-index: 100;
}

.chat-button:hover {
    box-shadow: 0px 2px 4px rgb(0 0 0 / 50%);
    color: #fff;
}

.chatWindow {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 350px;
    background-color: #DFF7F5;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 1001;
    overflow: hidden; 
}

.chatWindow-wrap{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.chatWindow .chatHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 10px;
}

.chatHeader h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.closeButton img {
    width: 22px;
    border-radius: 50%;
    opacity: 0.6;
    padding: 2px;
    cursor: pointer;
}

.chatbody {
    flex: 1;
    display: flex;
    flex-flow: column;
    background: #fff;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    padding: 15px 10px;
}

.chatWindow .chatInput {
    display: flex;
    flex-flow: column;
    row-gap: 8px;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    overflow: hidden;
}

.chatWindow .chatInput input {
    width: 100%;
    padding: 10px;
    border: 0;
    line-height: 20px;
}

.chatWindow .chatInput .sendButton {
    padding: 6px 12px;
    background-color: #2dbaa8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    width: fit-content;
    margin: 0 10px 10px auto;
    opacity: 0.7;
}

.chatWindow .chatInput .sendButton:hover {
    opacity: 1;
}

.chatWindow .chatContent {
    flex: 1;
    padding: 0 5px 0 35px;
    overflow-y: auto;
    position: relative;
    margin-top: 10px;
    max-height: 300px;
    min-height: 200px;
}

.chatWindow .message {
    padding: 12px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 16px;
    border: 1px solid #D8DEE6;
    margin-bottom: 5px;
    position: relative;
}

h2.chat-messaage-title {
    font-size: 16px;
    margin: 5px 0 10px;
} 

.message-system-block:before,
.chatWindow .message.system::before,
.chatWindow .message.user:before {
    content: "";
    position: absolute;
    top: 3px;
    left: -35px;
    background-image: url(https://community.kindlife.in/uploads/users/avatar/21446/fd9349cd3eb0bf81c81fa957a1359144_tmp.png);
    background-size: 25px;
    height: 25px;
    width: 25px;
}

.chatWindow .message.user:before {
    background-image: url(https://cdn.kindlife.in/images/user_icon.png);
}

.message-system-block .message.system:before {
    display: none;
}

.message-system-block {
    background: #E6FAF8;
    padding: 0;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #D8DEE6;
    position: relative;
}

.message-system-block .message.system {
    padding: 10px 12px 15px;
    background: #fff;
    border: 0;
    margin-bottom: 5px;
}

#chatWindow.chatWindow .message.system {
    background: #E6FAF8;
}

.message-system-block .message.system:last-child {
    margin: 0;
}

.chatWindow .message pre {
    margin: 0;
    font-family: unset;
    line-height: 20px;
    color: #101010;
}

.chat-messaage-suggest-product {
    display: flex;
    column-gap: 10px;
    overflow: auto;
}

.chatWindow .bk-product-list_img {
    border: 1px solid #D8DEE6;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.chatWindow figure.bk-product-list_img img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.chatWindow .bk-product-list_content > div,.bk-product-list_content > button {
    display: none;
}

.chatWindow .bk-product-list_content .bk-product-list_item-name {
    display: block;
    margin-top: 5px;
}

.chatWindow .bk_product_list_block {
    flex: 0 0 100px;
    text-align: center;
    padding: 0;
}

.chatWindow .bk-product-list_item-name a {
    font-size: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #000;
    text-align: left;
    line-height: initial;
}

.chatWindow .bk_kiki_suggest-video__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.bk_kiki_suggest-video__list .bk_kiki_suggest-video {
    background-color: #fff;
    border-radius: 6px;
    padding-bottom: 6px;
}

.bk_kiki_suggest-video__list .bk_video_cover div img {
    width: 100%;
    aspect-ratio: 1/1.3;
    object-fit: cover;
    border-radius: 12px 12px 0px 0px;
}

.bk_kiki_suggest-video__list figure {
    position: relative;
    margin-bottom: 6px;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_user {
    position: absolute;
    bottom: 5px;
    left: 5px;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_user img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #fff;
    aspect-ratio: 1;
    object-fit: cover;
}

.bk_kiki_suggest-video__list .bk_vid_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.bk_kiki_suggest-video__list .bk_kiki_vid_title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 18px;
    padding: 0 6px;
    min-height: 36px;
}

.loader {
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chatWindow .sendButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.order_info_header {
    padding-top: 20px;
    border-top: 1px solid #BAE3DF;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
}

.order_info_header span {
    font-weight: 300;
}

.order_info_header h2 {
    font-size: 18px;
    font-weight: 500;
    color: #101010;
    margin: 0 0 12px;
    display: inline-block;
}

.shipment_info_header ul li h3 {
    font-size: 16px;
    color: #101010;
    font-weight: 500;
    margin: 0;
}

.shipment_info_header .shipment_detl {
    color: #101010;
    line-height: 20px;
}

.shipment_info_header .shipment_detl span {
    color: #562E90;
    font-weight: 500;
    margin-left: 2px;
}

.shipment_info_header .shipment_trackBtn {
    display: inline-block;
    line-height: 24px;
    border: 1px solid #8037A7;
    border-radius: 22px;
    padding: 0 10px;
    color: #562E90;
    background: #fff;
    font-weight: 500;
}

.shipment_info_header .shipment_img_list > ul > li.shipment {
    list-style: auto;
    margin-left: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.shipment_info_header .shipment_img_list > ul ul {
    display: flex;
    gap: 10px;
    overflow: auto;
    margin-top: 10px;
}

.shipment_info_header li.product {
    flex: 0 0 98px;
    margin: 0;
}

.shipment_info_header li.product img {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #D8DEE6;
    margin-bottom: 5px;
    aspect-ratio: 1;
}

.shipment_info_header li.product .product_name {
    font-size: 11px;
    color: #1B1C1E;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

p.unshipped_status {
    font-size: 16px;
    line-height: 20px;
    color: #101010;
    margin: 15px 0;
    padding: 0px;
}

p.unshipped_status span {
    color: #EF574B;
    font-weight: 500;
}

@media (max-width: 480px) {
    .chatWindow {
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .chatWindow .chatContent::-webkit-scrollbar{
        display: block;
    }
    .chatWindow .chatContent{
        max-height: unset;
    }
    h2.chat-messaage-title{
        font-size: 14px;
    }
}