a{
    text-decoration: none !important;
}
.ltr,input[type=number] {
    direction: ltr !important;
}
.main-color{
    background-color: #e6b325 !important;
}

.promo-bar {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    overflow: hidden;
    border-bottom: 2px solid #fff3f3;
}

.promo-slider div {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

body {
    /*font-family: 'IRANSansWeb_FaNum', sans-serif;*/
    font-family: 'Dana', 'IRANSansWeb_FaNum' !important;
    /*background-color: #f9fff9;*/
    overflow-x: hidden;
    overflow-y: auto; /* به‌طور صریح اسکرول عمودی فعال */
    direction: rtl;
}

.select2-search__field{
    font-size: 14px !important;
    font-family: 'Dana', 'IRANSansWeb_FaNum' !important;
}

.margin-top-container{
    margin-top: 100px !important;
}

.navbar {
    background-color: #69BE59;
    transition: all 0.3s;
}

.navbar a {
    /*color: #fff !important;*/
    font-weight: 500;
}

.navbar a:hover {
    opacity: 0.85;
}

.btn-green {
    background-color: #69BE59;
    color: #fff;
    transition: all .3s;
}

.btn-green:hover {
    background-color: #59ac4f;
    transform: scale(1.05);
}

.product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    line-height: 2;
    min-height: 360px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.product-card img {
    height: 220px;
    object-fit: contain;
    border-radius: 4px 4px 0 0;
}


/* فلش‌های Slick */
.slick-prev, .slick-next {
    background: #fff;
    border: none;
    color: #333;
    font-size: 22px;
    padding: 10px 15px;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #69BE59;
    color: #fff;
}

.slick-prev:before, .slick-next:before {
    color: black !important;
}

/* جهت‌دهی راست‌به‌چپ */
.slick-prev {
    right: -20px;
}

/* چون rtl هست، فلش قبلی سمت راست قرار میگیره */
.slick-next {
    left: -20px;
}

/* فلش بعدی سمت چپ قرار میگیره */

/* توی موبایل جای فلش‌ها کمی بالا‌تر بیاد */
@media (max-width: 576px) {
    .slick-prev, .slick-next {
        top: 40%;
    }
}

.navbar .btn {
    transition: all 0.25s ease;
    white-space: nowrap;
}

.navbar .btn:hover {
    transform: translateY(-2px);
}

.navbar .btn-green:hover {
    background-color: #5ca94d !important;
}

@media (max-width: 768px) {
    .navbar .d-flex {
        margin-top: 10px;
        justify-content: center;
    }
}

/* فوتر موبایل سبز برند */
.mobile-footer-nav {
    display: none;
    background-color: #69BE59;
    z-index: 1000;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

#cartCountBadgeMobile {
    transform: translate(-40%, -30%);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    top: -2px;
    right: -6px;
    font-size: 0.7rem;
    color: white !important;
    background-color: #25ab6d !important;
}

.footer-section {
    background: linear-gradient(180deg, #f8fff8, #e9f9e4);
    border-top: 2px solid rgba(105, 190, 89, 0.2);
    color: #333;
}

.footer-logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.footer-desc {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #69BE59;
}



.social-icons .social-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon.youtube { background: #cd201f; }
.social-icon.pinterest { background: #bd081c; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icon.aparat { background: #e91e63; }

.social-icon:hover { transform: translateY(-4px); opacity: 0.9; }


.number {
    font-family: 'Dana';
}

.number.green {
    color: #8cba51 !important;
}

.line-height-2 {
    line-height: 2;
}

.toast-top-left {
    top: 80px !important; /* 👈 فاصله از بالای صفحه (زیر هدر ثابت) */
    left: 20px !important;
}

.product-tags {
    right: -15px !important;
    position: absolute !important;
    top: 20% !important;
    transform: translateY(-50%);
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    z-index: 3;
}

.product-tag {
    background-color: #69BE59;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 15px;
    padding: 2px 5px;
    box-shadow: 0 2px 8px rgba(105, 190, 89, 0.3);
    white-space: nowrap;
    transition: all 0.25s ease-in-out;
}

.product-tag:hover {
    background-color: #57a747;
    transform: translateX(-3px);
}
.dropdown-menu{
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2) !important;
}
.dropdown-menu .dropdown-item{
    background:white !important ;
    color: #69BE59 !important;
    text-align: center !important;
}

.dropdown-menu .dropdown-item:hover{
    background:#69BE59 !important ;
    color: white !important;
    text-align: center !important;
}

.modal-bottom {
    margin-top: auto;
}
.modal-content {
    border-radius: 16px 16px 0 0 !important;
}
.list-group-item-action:hover {
    background-color: #69BE59 !important;
    color: #fff !important;
    transform: translateX(5px);
}

.modal-dialog-slide-up {
    position: fixed;
    bottom: 70px; /* فاصله از منوی موبایل  */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    max-width: 500px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.modal.fade .modal-dialog-slide-up {
    transform: translateY(100%);
}

.modal.show .modal-dialog-slide-up {
    transform: translateY(0);
}

.modal-content {
    border-radius: 16px 16px 0 0 !important;
}
.trust-badges img{
    width: 60px;
    height: auto;
}
/* فقط در موبایل فعال شود */
@media (max-width: 768px) {
    .mobile-footer-nav {
        display: flex !important;
    }

    body {
        padding-bottom: 65px;
    }
    .footer-logo{
        width: 100px;
    }
}
/* 🎨 استایل زیباتر برای صفحه‌بندی بوت‌استرپ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.page-item {
    transition: all 0.25s ease;
}

.page-link {
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    color: #333;
    background-color: #fff;
    font-weight: 500;
    padding: 8px 14px;
}

.page-item.active .page-link {
    background-color: #69BE59;
    border-color: #69BE59;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(105,190,89,0.3);
}

.page-link:hover {
    background-color: #eaf9ea !important;
    color: #000 !important;
    border-color: #69BE59;
}

/* حذف فلش‌های زشت بوت‌استرپ قبلی */
.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination{
    direction: ltr;
}

/* 🟢 فلش‌های خاص برای موبایل به‌جای "Next" و "Previous" */
@media (max-width: 768px) {
    /* دکمه فعال */
    .page-item.active .page-link::before {
        color: #fff;
    }
    .sticky-call-btn{
        bottom: 145px !important;
    }
    .sticky-contact-box{
        bottom: 75px !important;
    }
}
/* 📞 دکمه تماس شناور */
.sticky-call-btn {
    position: fixed;
    right: 30px;
    bottom: 105px;
    width: 55px;
    height: 55px;
    background: rgba(105, 190, 89, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: 0.3s
    ease;
    text-decoration: none;

    opacity: 0;
    transform: translateY(40px); /* برای ورود از پایین */
    animation: slideUp 0.8s ease-out forwards 0.3s,
    shakeX 1.4s ease-in-out 1.1s;
}

/* Hover / Touch انیمیشن */
.sticky-call-btn:hover {
    transform: scale(1.1);
    background: #69BE59;
}

/* 👉 انیمیشن ورود از پایین */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 👉 انیمیشن حرکت چپ و راست برای جلب توجه */
@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

/* Hover جذاب‌تر */
.sticky-call-btn:hover {
    transform: scale(1.1);
    background: #5ab24f;
}
.sticky-contact-box{
    flex-direction: row-reverse !important;
    margin-bottom: 70px;
    margin-right: 10px;
    z-index: 1 !important;
}
.sticky-contact-box.active .sticky-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.sticky-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    color: #444;
    text-decoration: none;
    font-weight: 600;
    transition: .2s;
}
.sticky-item:hover {
    background-color: rgba(25, 135, 84, 0.08);
    color: #198754;
}

/* استایل پنل بازشونده */
.sticky-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 10px;
    margin-bottom: 15px;
    width: 160px;
    transform-origin: bottom left;
    animation: popUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* انیمیشن باز شدن */
@keyframes popUp {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* هدر بالای پنل برای دکمه ضربدر */
.panel-header {
    display: flex;
    justify-content: flex-end; /* دکمه سمت چپ یا راست قرار گیرد */
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

/* طراحی دکمه ضربدر */
.close-circle {
    width: 24px;
    height: 24px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.close-circle:hover {
    background-color: #ffeaea; /* پس زمینه قرمز روشن */
    color: #dc3545; /* آیکون قرمز */
    transform: rotate(90deg); /* چرخش هنگام هاور */
}

.sticky-item i {
    margin-left: 8px;
    width: 20px;
    text-align: center;
}
/* طراحی دکمه ضربدر */
.close-circle {
    width: 24px;
    height: 24px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #888;
    transition: all 0.3s ease;
}

.close-circle:hover {
    background-color: #ffeaea; /* پس زمینه قرمز روشن */
    color: #dc3545; /* آیکون قرمز */
    transform: rotate(90deg); /* چرخش هنگام هاور */
}