﻿@media (max-width: 768px) {
    .xdk-iframe {
        bottom: 35px !important;
    }
}

.commerce-plus-app .navigate-bar {
    top: 0px;
}

.minimized-view {
    border-radius: 50px;
}

.minimized-view-icon {
    padding-left: 9px;
}

.minimized-view-text {
    padding-right: 9px;
}

.minimized-view span {
    font-family: Poppins;
}

.composerv2-icon svg path {
    fill: #003642;
}

.hsl-bubble-text {
    padding: 14px 15px 14px 15px;
    background-color: #f0f2f7;
    border: none;
    line-height: 20px;
    border-radius: 20px;
}

.extended-view {
    border-radius: 25px;
}

.header-v2-top-left-image {
    background-color: #003642;
}

.header-v2-top-left-text-title {
    font-family: 'Poppins', 'Noto Sans Tamil', 'Noto Sans', sans-serif !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    color: white;
    word-wrap: break-word;
    width: 65px;
}

    .header-v2-top-left-text-title::before {
        content: 'Chat with ';
    }

.header-v2 {
    background-color: #fff;
    border-bottom: none;
}

.header-v2-wrapper {
    width: 100%;
    height: 64px;
    z-index: 20;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 50' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,30 C-50,83 400,0 500,44 L500,0 L0,0 Z' fill='%23fff' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 89px;
    background-color: transparent;
    position: absolute;
    top: 0px;
}

.message-section-area {
    padding-top: 78px;
}

.testbanner {
    display: none;
}

.header-v2-top {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 50' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,30 C-50,83 400,0 500,44 L500,0 L0,0 Z' fill='%23003642' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    height: 80px;
}

.composerv2-branding {
    display: none;
}

.composerv2.v2 {
    margin-bottom: 13px;
    margin-top: -2px;
    border: none !important;
    background-color: transparent !important;
}

    .composerv2.v2:hover {
        border: none !important;
        background-color: transparent !important;
    }

.carousel-comm-plus-item {
    box-shadow: none;
    box-sizing: inherit;
    height: 210px;
}

.carousel-comm-plus-item-price-section-price {
    color: #cc0c39;
    font-size: 13px;
}

.carousel-comm-plus-item-price-section {
    gap: 0px;
}

.carousel-comm-plus-item-price-section-mrp {
    font-weight: 400;
    color: #003642;
}

.carousel-comm-plus-item-section-bottom {
    padding: 8px 0px 0px 8px !important;
}

.carousel-comm-plus-item-title {
    font-family: "Poppins", "Noto Sans Tamil", "Noto Sans", sans-serif;
    letter-spacing: 0.1px;
    -webkit-line-clamp: 2;
    font-weight: 500;
    line-height: 14px;
    margin-bottom: 6px;
}

.carousel-comm-plus-item-description {
    margin-bottom: 6px;
}

.carousel-comm-plus:after {
    background: none;
}

.quick-reply-option {
    border-radius: 20px;
    transition: 0.2s ease-out;
    margin-right: 10px;
    padding: 6px 10px;
}

.message-section-area {
    background-image: none;
}

.minimized-view {
    letter-spacing: 0.5px;
    line-height: 10px;
    padding: 20px;
}

.composerv2-icon {
    height: 40px !important;
    width: 40px !important;
}

    .composerv2-icon:hover {
        background-color: rgba(0, 54, 66, 0.1);
        border-radius: 50%;
    }

    .composerv2-icon.right {
        margin-left: 0px;
    }

.typing-indicator .typing-indicator-loader {
    margin-bottom: 6px;
}

.typing-indicator-text {
    font-family: 'Poppins';
}

.header-v2-top-right-cross {
    margin-bottom: 28px;
}

.commerce-plus-app {
    padding-top: 12px;
    height: calc(100vh - 90px);
}

.quick-reply-option-text {
    padding: 2px 3px;
    font-size: 13px;
}

.message-section-area:after {
    padding-bottom: 15px;
}

.carousel-comm-plus-item-description:after {
    content: ' CTW';
}

.carousel-comm-plus-item-rating-block {
    display: none;
}

.comm-plp-continue-chat button {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    background: var(--primary-color);
    font-family: 'Manrope', sans-serif;
}

.message-section-message-row.from-business {
    display: flex;
    flex-direction: column; /* vertical */
    align-items: flex-start; /* left like incoming */
    gap: 10px;
}

.fixed-bottom-area.v2.taskbox-hidden {
    bottom: 70px;
}

/* Haptik wraps the widget in an iframe with this wrapper */
.xdk-iframe,
.xdk-iframe iframe {
    touch-action: none; /* prevent page panning on touch/drag */
    -ms-touch-action: none;
}

.xdk-iframe {
    overscroll-behavior: contain; /* stop scroll chaining to the page */
    user-select: none; /* avoid accidental text selection */
}

/* botstyle.css (injected into XDK) */
.minimized-view,
.extended-view,
.taskbox-body {
    touch-action: none !important;
    -ms-touch-action: none !important;
}

/* Freeze the page while bot is open */
body.haptik-lock {
    position: fixed;
    width: 100%;
    overflow: hidden;
    inset: 0; /* prevents iOS bounce */
}

.composerv2-text-area.v2 {
    height: 47px;
    cursor: text;
}
