
.nav-contact-us {
    overflow: hidden; /* اضافه شد → برای جلوگیری از بیرون زدن محتوا */
    height: 0; /* تغییر کرد → پیش‌فرض بسته باشه */
}

/* حالت open فقط کلاس کمکیه، height توسط JS ست میشه */
.nav-contact-us.open {
    /* خالی می‌مونه، چون height رو با jQuery تنظیم می‌کنیم */
}

@media (max-width: 1240px) {
    .nav-contact-us {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        background-color: #ffffff;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0 10px; /* padding بالا رو صفر کردم چون می‌خوایم height انیمیت شه */
        width: 93%;
        margin: auto;
        border-top: 1px solid #f0f0f1;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        flex-direction: column;

        overflow: hidden; /* برای اینکه محتوای اضافی دیده نشه */
        height: 0; /* پیشفرض بسته */
        max-height: 450px;
        overflow-y: auto;
    }

    .nav-contact-us a {
        border-radius: 10px 10px 0 0;
    }

    .nav-contact-us .box-row-nav-contact-us {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 10px 5px;
        color: #565657;
    }

    .nav-contact-us .box-row-nav-contact-us .icon-nav-contact-us {
        width: 35px;
        height: 35px;
        background-color: #1faf29;
        border-radius: 50%;
        font-size: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-contact-us .box-row-nav-contact-us .icon-nav-contact-us i {
        color: white;
    }

    .nav-contact-us .box-row-nav-contact-us .title-nav-contact-us {
        font-size: 13px;
        padding: 3px 0;
        display: flex;
        align-items: center;
        font-weight: bold;
    }

}


