*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

#ssc-chat-widget{
    font-family:Arial,sans-serif;
}

/* Chat Position */

.ssc-position-right #ssc-chat-button,
.ssc-position-right #ssc-chat-box{
    right:25px;
    left:auto;
}

.ssc-position-left #ssc-chat-button,
.ssc-position-left #ssc-chat-box{
    left:25px;
    right:auto;
}

#ssc-chat-button{
    position:fixed;
    bottom:25px;
    width:72px;
    height:72px;
    border:none;
    border-radius:50%;
    background:#ED1C24;
    color:#fff;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
    z-index:999999;
}

#ssc-chat-box{
    position:fixed;

    right:25px;
    bottom:110px;

    width:420px;

    height:calc(100vh - 170px);
    max-height:700px;
    min-height:500px;

    background:#fff;

    border-radius:24px;

    display:none;
    flex-direction:column;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

    z-index:999999;
}

.ssc-body{
    flex:1;
    overflow-y:auto;
    padding:22px;
    background:#fafafa;
}

.ssc-header{
    background:#171717;
    color:#fff;
    padding:24px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
}

.ssc-logo{
    font-size:22px;
    font-weight:bold;
}

.ssc-logo img{
    width:100px;
}

.ssc-logo span{
    color:#ED1C24;
}

.ssc-tagline{
    margin-top:8px;
    color:#bbb;
    font-size:14px;
    line-height:1.5;
}

#ssc-close{
    background:none;
    border:none;
    color:#fff;
    font-size:40px;
    cursor:pointer;
}

.ssc-body{
    flex:1;
    background:#fafafa;
    padding:22px;
    overflow:auto;
}

#ssc-messages{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.ssc-footer{
    padding:16px;
    border-top:1px solid #eee;
    display:flex;
    gap:12px;
    background:#fff;
}

#ssc-input{
    flex:1;
    height:56px;
    border:1px solid #ddd;
    border-radius:14px;
    padding:0 16px;
    font-size:16px;
}

#ssc-send{
    width:58px;
    height:56px;
    border:none;
    border-radius:14px;
    background:#ED1C24;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

@media(max-width:768px){

#ssc-chat-box{

left:10px;
right:10px;

width:auto;

bottom:90px;

height:calc(100vh - 110px);

max-height:none;

border-radius:18px;

}

#ssc-chat-button{

right:20px;
bottom:20px;

}

}


.ssc-product-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin:15px 0;
}

.ssc-product-btn{
    width:100%;
    border:1px solid #ddd;
    background:#fff;
    border-radius:12px;
    padding:14px 16px;
    text-align:left;
    cursor:pointer;
    transition:.3s;
}

.ssc-product-btn:hover{
    background:#ED1C24;
    color:#fff;
    border-color:#ED1C24;
}

.ssc-bot{
    max-width:80%;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:14px;
    margin-bottom:12px;
}

.ssc-user{
    max-width:80%;
    margin-left:auto;
    background:#ED1C24;
    color:#fff;
    border-radius:16px;
    padding:14px;
    margin-bottom:12px;
}

/* =========================================
   SHYAM SMART CHAT PRO - FAQ OPEN BUTTON
   ========================================= */

.ssc-faq-entry {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin: 8px 0 22px;
}

.ssc-faq-open-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;
    padding: 10px 16px !important;

    background: #ffffff !important;
    color: #ed1c24 !important;

    border: 1px solid #ed1c24 !important;
    border-radius: 8px !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-align: center !important;
    text-decoration: none !important;

    cursor: pointer !important;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

.ssc-faq-open-btn:hover {
    background: #ed1c24 !important;
    color: #ffffff !important;
    border-color: #ed1c24 !important;
}

.ssc-faq-open-btn:focus,
.ssc-faq-open-btn:active {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15) !important;
}


/* =========================================
   FAQ VIEW
   ========================================= */

#ssc-faq-view {
    position: absolute;
    inset: 0;
    z-index: 20;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    overflow-y: auto;
}


/* FAQ TOP BAR */

.ssc-faq-topbar {
    position: sticky;
    top: 0;
    z-index: 5;

    padding: 12px 16px;

    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.ssc-faq-back {
    border: 0 !important;
    background: transparent !important;

    color: #ed1c24 !important;

    padding: 6px 0 !important;
    margin: 0 !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    cursor: pointer !important;
}


/* FAQ TITLE */

.ssc-faq-title {
    padding: 20px 20px 10px;
}

.ssc-faq-title h3 {
    margin: 0 0 6px !important;

    color: #222222 !important;

    font-size: 22px !important;
    font-weight: 700 !important;
}

.ssc-faq-title p {
    margin: 0 !important;

    color: #777777 !important;

    font-size: 14px !important;
}


/* FAQ LIST */

.ssc-faq-list {
    padding: 10px 16px 30px;
}


/* FAQ ITEM */

.ssc-faq-item {
    margin-bottom: 10px;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    overflow: hidden;

    background: #ffffff;
}


/* QUESTION */

.ssc-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;

    padding: 15px 16px !important;

    margin: 0 !important;

    background: #ffffff !important;

    border: 0 !important;

    color: #333333 !important;

    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;

    text-align: left !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;
}

.ssc-faq-question:hover {
    background: #fff7f7 !important;
}

.ssc-faq-question span:first-child {
    flex: 1;
    padding-right: 10px;
}


/* PLUS / MINUS ICON */

.ssc-faq-icon {
    flex: 0 0 auto;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ed1c24;

    font-size: 20px;
    font-weight: 600;
}


/* ANSWER */

.ssc-faq-answer {
    display: none;

    padding: 0 16px 16px;

    color: #666666;

    font-size: 14px;
    line-height: 1.6;
}


/* LOADING / EMPTY */

.ssc-faq-loading,
.ssc-faq-empty {
    padding: 30px 15px;

    color: #777777;

    font-size: 14px;

    text-align: center;
}


/* MOBILE */

@media (max-width: 480px) {

    .ssc-faq-open-btn {
        font-size: 14px !important;
        padding: 9px 13px !important;
    }

    .ssc-faq-title {
        padding: 16px 15px 8px;
    }

    .ssc-faq-title h3 {
        font-size: 19px !important;
    }

    .ssc-faq-list {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ssc-faq-question {
        padding: 14px 13px !important;
        font-size: 14px !important;
    }

}