.support-btn {
    position: fixed;
    left: 25px;
    bottom: 33px;
    z-index: 101;
    background: transparent;
    border: 0;
    padding: 0;
}

.support-btn .i-close {
    display: none;
}

.support-btn.open .i-support {
    display: none;
}

.support-btn.open .i-close {
    display: block;
}

.support-box {
    left: 60px;
    bottom: 125px;
    z-index: 101;
    position: fixed;
    background: #fff;
    max-width: 360px;
    border: 1px solid #fdd579;
    border-radius: 16px;
    direction: rtl;
    display: none;
}

.support-head {
    background: #fdd579;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 16px 16px 0 0;
    color: #000;
}

.support-head-title {
    font-size: 20px;
    font-weight: 600;
    color: #00144c;
}

.support-head-back {
    padding: 0;
    background: transparent;
    border: 0;
    width: 22px;
    height: 22px;
}

.support-body {
    /*padding: 15px;*/
    overflow: auto;
    max-height: 350px;
    font-size: 15px;
    font-weight: 600;
    color: #00144c;
}

.support-col {
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-top: 15px;
    user-select: none;
}

.support-col-box {
    font-size: 14px;
    color: #2e2e2e;
    padding: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: none;
}

.support-col-btn {
    font-weight: bold;
    color: #000;
    cursor: pointer;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-col-btn::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.707 9.29l-1.414 1.414 5 5a1 1 0 001.414 0l5-5-1.414-1.414L12 13.583 7.707 9.29z' fill='currentColor'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    transition: unset;
}

.support-col-btn.open::after {
    transform: rotate(180deg);
}

.support-btn-link {
    display: flex;
    align-items: center;
    height: 48px;
    background: #fdd579;
    justify-content: center;
    font-size: 16px;
    color: #00144c;
    gap: 5px;
    width: max-content;
    margin: auto;
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 25px;
    margin-bottom: 10px;
    transition: 0.3s;
    border: 1px solid #fdd579;
    white-space: nowrap;
}

.support-btn-link svg {
    width: 22px;
}

a#scrollUp {
    display: none !important;
}

@media (max-width:767px) {
    .support-btn {
        left: 20px;
        bottom: 20px;
        width: 75px;
    }

    .support-box {
        left: 20px;
        bottom: 80px;
        max-width: 260px;
    }

    .support-head-title {
        font-size: 16px;
    }


    .support-body {
        /*padding: 10px;*/
        max-height: 285px;
        font-size: 13px;
    }

    .support-text{
        line-height: 2;
    }

    .support-col-box {
        font-size: 12px;
    }

    .support-btn-link {
        height: 40px;
        font-size: 14px;
        margin-top: 20px;
    }

    .support-col-btn {
        padding: 10px;
    }
}

/* ===== Widget Base ===== */
.contact-widget {
    position: fixed;
    bottom: 85px;
    right: 15px;
    z-index: 9999;
    font-family: inherit;
}

/* ===== دکمه اصلی ===== */
.contact-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #E97502;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(233,117,2,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* متن */
.contact-label {
    position: absolute;
    bottom: -28px;
    width: max-content;
    font-size: 12px;
    font-weight: 600;
    color: #E97502;
}

/* ===== پالس ===== */
.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(233,117,2,.35);
    border-radius: 50%;
    animation: pulse 2.5s infinite;
}

.pulse:nth-child(2) {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== آیکن‌های چرخشی ===== */
.icon-rotator {
    width: 34px;
    height: 34px;
    position: relative;
}

.icon-rotator img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
}

.icon-rotator img.active {
    opacity: 1;
}

/* ===== گزینه‌ها ===== */
.contact-options {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
}

.contact-widget.open .contact-options {
    display: flex;
    animation: fadeUp .3s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-item {
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    transition: .25s;
}

.contact-item:hover {
    transform: translateX(-6px);
}

.contact-item img {
    width: 22px;
}

/* رنگ‌ها */
.telegram { border-right: 4px solid #20AFDE; }
.eitaa   { border-right: 4px solid #FF9E20; }
.whatsapp{ border-right: 4px solid #1EBEA5; }
