html, body {
    overflow-x: hidden !important;
}

.takhfifmarket-top-bar {
    width: 100%;
    text-align: center;

    /* گرادینت با رنگ اصلی */
    background: linear-gradient(90deg,
    rgb(225, 37, 146),
    rgb(252, 65, 172)
    );

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;

    /* خط ملایم */
    border-bottom: 1px solid rgba(255,255,255,0.2);

    /* سایه فانتزی */
    box-shadow: 0 4px 12px rgb(248, 65, 171);

    position: relative;
    z-index: 9999;

    /* انیمیشن لطیف */
    background-size: 200% 200%;
    animation: topBarSlide 4s infinite alternate ease-in-out;
}

/* نور بسیار ملایم روی نوار */
.takhfifmarket-top-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.05)
    );
    pointer-events: none;
}

@keyframes topBarSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}




/* نوار موبایلی پایین صفحه  */

/* bottom nav */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgb(225, 37, 146);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px 18px 0 0;
    z-index: 999999;
    padding: 0 10px;
}

/* آیتم‌ها ۵ قسمت مساوی واقعی */
.app-bottom-nav .nav-item {
    flex: 1;
    color: white;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
}

.app-bottom-nav .nav-item i {
    font-size: 24px;
    display: block;
    margin-bottom: 2px;
}

/* دکمه تماس وسط */
.call-btn {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    background: #e12592;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgb(252, 63, 173);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    font-size: 30px;
    text-decoration: none;
    border: 4px solid white;
}

.nav-left-space {
    padding-left: 18px;   /* فاصله از دکمه تماس */
}

.nav-right-space {
    padding-right: 18px;  /* فاصله از دکمه تماس */
}

/* پنهان کردن در دسکتاپ */
@media (min-width: 768px) {
    .app-bottom-nav {
        display: none !important;
    }
}




/* دسته بندی ها */
.category-grid {
    justify-content: center;
}

.category-item {
    padding: 5px;
    margin-bottom: 12px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* مربع با استایل جدید */
.cat-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 22px; /* گردتر از نسخه قبلی */
    overflow: hidden;
    background: #f7f9fc;
    border: 2px solid #e0edf7; /* تفاوت با سایت قبلی */
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: 0.2s ease;
}

.category-card:hover .cat-img {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-title {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    text-align: center;
    width: 100%;
}

/* موبایل: 3 تا در هر ردیف */
@media (max-width: 576px) {
    .category-item {
        width: 33.333%;
    }
}

/* دسکتاپ: 5 تا در هر ردیف */
@media (min-width: 768px) {
    .category-item {
        width: 20%;
    }
}


/* نوار لیست تفریحات صفحه لیست تفریحات */


.takhfifmarket-heading {
    display: inline-block;       /* کادر فقط دور متن */
    padding: 12px 24px;          /* فاصله داخلی */
    /*border-radius: 20px;         !* گوشه‌های گرد *!*/
    background: linear-gradient(90deg, #c13a67, #e12592); /* رنگ سازمانی */
    color: white;                /* رنگ متن */
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(139,102,226,0.3);
    width: 100%;
    animation: gentleShake 2s infinite alternate; /* زمان طولانی‌تر */
}

/* دکمه مشاهده و رزرو */

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #142e51;
    color: #fff !important;
    padding: 5px 20px;
    border-radius: 50px; /* گرد کامل */
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgb(37, 93, 168);
}

.btn-text:hover {
    background: #142e51; /* یکم تیره‌تر برای هاور */
    box-shadow: 0 6px 14px rgb(37, 93, 168);
    transform: translateY(-2px);
}

.btn-text i {
    font-size: 16px;
    margin-right: 3px;
}

@media (max-width: 576px) {

    /* عنوان کارت */
    .card-body .card-title a {
        font-size: 13px; /* کمی کوچکتر */
        line-height: 1.25;
        font-weight: bold;
    }

    /* قیمت‌ها */
    .card-price .price-old {
        font-size: 11px;
    }

    .card-price .price-new {
        font-size: 11px;
        font-weight: bold;
    }

    /* دکمه جزئیات */
    .card-price .btn-text {
        font-size: 11px;
    }

    /* دسته‌بندی (Badge) */
    .card-img .badge {
        font-size: 10px;
        /*padding: 3px 7px;*/
    }
    .btn-text {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #142e51;
        color: #fff !important;
        padding: 1px 14px;
        border-radius: 50px; /* گرد کامل */
        font-size: 14px;
        font-weight: 600;
        transition: 0.25s ease;
        text-decoration: none !important;
        box-shadow: 0 4px 10px rgb(37, 93, 168);
        margin-top: 5px;
    }

}

