﻿/* --- استایل‌های مشترک و شبیه به موبایل آکبند --- */
.price-unit {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #6e6e73 !important;
    margin-right: 4px;
}

.row.g-4 > [class*="col-"],
.row.g-3 > [class*="col-"] {
    display: flex;
}

/* کارت محصول سلطان */
.sultan-product-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f5;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden; /* برای جلوگیری از بیرون زدن محتوا */
}

    .sultan-product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
        border-color: #e5e5ea;
    }

/* حذف badge "جدید" برای موبایل کارکرده */
.badge-new-product {
    display: none !important;
}

.card-img-wrapper {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 18px;
    background: linear-gradient(180deg, #fff 0%, #fcfcfd 100%);
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

    .card-img-wrapper img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        object-position: center;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }

.sultan-product-card:hover .card-img-wrapper img {
    transform: scale(1.06);
}

.card-body-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* چیدمان عنوان و امتیاز: عنوان در سمت راست، امتیاز ستاره کنار آن در سمت چپ */
.card-title-rating-row {
    display: flex;
    justify-content: flex-start; /* شروع المان‌ها از راست */
    align-items: flex-start; /* چسباندن به بالای کارت */
    margin-bottom: 8px;
    gap: 8px; /* فاصله بین عنوان و امتیاز */
    flex-direction: row-reverse; /* برای اینکه اول ستاره بیاید بعد عنوان */
}

.card-product-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2c2c2e;
    margin: 0;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em; /* برای حفظ جایگاه در صورت تک خطی بودن */
    order: 2; /* عنوان دوم نمایش داده شود */
    flex-grow: 1; /* عنوان فضای موجود را اشغال کند */
    text-align: right; /* متن عنوان راست چین باشد */
}

.card-status-rating-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* چسباندن به راست */
    margin-top: auto; /* بردن به پایین‌ترین قسمت ممکن */
    margin-bottom: 10px;
    gap: 8px;
    min-height: 24px; /* حداقل ارتفاع برای جا دادن آیکون‌ها */
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a3a3c;
    white-space: nowrap; /* جلوگیری از رفتن امتیاز به خط بعد */
    flex-shrink: 0; /* جلوگیری از کوچک شدن بیش از حد */
    padding-top: 4px; /* تنظیم عمودی */
    order: 1; /* امتیاز اول نمایش داده شود */
}

.gold-star {
    color: #ffc107; /* رنگ طلایی */
    font-size: 0.95rem;
}

.card-product-desc {
    font-size: 0.82rem;
    color: #8e8e93;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    word-break: break-word; /* شکستن کلمات طولانی */
    text-align: right; /* راست چین کردن توضیحات */
}

.card-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    flex-wrap: wrap; /* اجازه دادن به رفتن تگ‌ها به خط بعدی */
    min-height: 28px;
}

.card-tag-chip {
    background: #f2f2f7;
    color: #8e8e93;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.card-price-footer {
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px dashed #f2f2f7;
    display: flex;
    align-items: flex-end; /* چسباندن به پایین */
    justify-content: space-between; /* پخش شدن بین قیمت و برچسب */
    gap: 10px;
    min-height: 52px;
}

.price-label-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6e6e73;
}

.price-values-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* قیمت‌ها به سمت راست متمایل باشند */
    justify-content: flex-end; /* چسباندن به پایین */
    width: 100%;
    min-height: 100%;
}

.current-price-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1c1c1e;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* فاصله بین عدد و واحد */
}

.discount-badge-pill {
    background: #ef4056;
    color: #fff;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.3;
}

.old-price-num {
    color: #8e8e93;
    text-decoration: line-through;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 3px; /* فاصله بین عدد و واحد */
}

/* --- نوار قیمت لحظه‌ای --- */
.price-alert {
    background: linear-gradient(135deg, #fffcf5, #fef1dd);
    border: 1px solid #e9d1af;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px auto 10px;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(199, 145, 46, 0.08);
    direction: rtl;
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #d6a245;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
}

.alert-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #5d431a;
    margin-bottom: 4px;
}

.alert-desc {
    font-size: 0.85rem;
    color: #8a6d3b;
    line-height: 1.6;
}

.alert-call {
    background: #2c241e;
    color: #d6a245;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid #d6a245;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .alert-call:hover {
        background: #d6a245;
        color: white;
    }

/* --- صفحه بندی --- */
.pagination .page-link {
    color: #b8893c;
    border-radius: 10px;
    margin: 0 3px;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background: #d6a245;
    border-color: #d6a245;
    color: white;
}

.pagination .page-link:hover {
    background: #fef2e4;
    color: #9a671f;
}

/* --- فوتر --- */
footer {
    font-size: 0.7rem;
    text-align: center;
    margin-top: 3rem;
    color: #b5926a;
    border-top: 1px solid #f0e5d8;
    padding-top: 1.5rem;
}

/* --- استایل‌های موبایل --- */
@media (max-width: 768px) {
    .sultan-products-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-grid-row {
        --bs-gutter-y: 0 !important;
        --bs-gutter-x: 0 !important;
    }

    .sultan-product-card {
        flex-direction: row;
        padding: 14px 10px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #f0f0f5;
        box-shadow: none;
        gap: 12px;
        align-items: stretch;
        background: #ffffff;
        min-height: 150px;
    }

        .sultan-product-card:hover {
            transform: none;
            box-shadow: none;
        }

    .card-img-wrapper {
        width: 115px;
        height: 115px;
        padding: 4px;
        margin-bottom: 0;
        background: transparent;
        border-radius: 8px;
        align-self: center;
        flex-shrink: 0;
    }

    .sultan-product-card:hover .card-img-wrapper img {
        transform: none;
    }
    /* حذف badge "جدید" در موبایل */
    .badge-new-product {
        display: none !important;
    }

    .card-body-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        min-width: 0;
        min-height: 115px;
    }
    /* در موبایل، عنوان و امتیاز در یک ردیف، امتیاز سمت راست */
    .card-title-rating-row {
        order: 1;
        margin-bottom: 4px;
        flex-direction: row-reverse;
        justify-content: flex-start;
        align-items: center;
    }

    .card-product-title {
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.5;
        min-height: 2.7em;
        color: #2c2c2e;
        order: 2;
        flex-grow: 1;
        text-align: right;
    }

    .card-product-desc {
        order: 2;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.78rem;
        color: #8e8e93;
        line-height: 1.5;
        margin-bottom: 6px;
        min-height: 2.4em;
    }

    .card-status-rating-row {
        order: 3;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: auto;
        margin-bottom: 4px;
        gap: 6px;
        width: 100%;
        min-height: 20px;
    }

    .card-rating {
        font-size: 0.82rem;
        color: #3a3a3c;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        margin-top: 0;
        padding-top: 0;
        order: 1;
    }

    .gold-star {
        font-size: 0.85rem;
    }

    .card-tags-row,
    .price-label-text {
        display: none !important;
    }

    .card-price-footer {
        order: 5;
        border-top: none;
        padding-top: 0;
        margin-top: 2px;
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .price-values-box {
        align-items: flex-start;
        justify-content: flex-start;
        width: auto;
        margin-left: 0;
        text-align: left;
    }

    .current-price-num {
        font-size: 1.02rem;
        font-weight: 800;
        color: #1c1c1e;
        justify-content: flex-start;
    }

    .discount-badge-pill {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .old-price-num {
        font-size: 0.75rem;
        justify-content: flex-start;
    }
    /* --- استایل موبایل نوار قیمت لحظه‌ای --- */
    .price-alert {
        margin: 15px;
        padding: 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .alert-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .alert-title {
        font-size: 0.88rem;
    }

    .alert-desc {
        font-size: 0.75rem;
    }

    .alert-call {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* اصلاح چیدمان: عنوان در سمت راست، امتیاز در سمت چپ عنوان (کنار آن) */
.card-title-rating-row {
    display: flex;
    justify-content: flex-start; /* شروع محتوا از راست */
    align-items: center; /* وسط‌چین کردن عمودی */
    flex-direction: row-reverse; /* قرارگیری المان‌ها: عنوان راست، ستاره چپ */
    margin-bottom: 8px;
    gap: 8px; /* فاصله بین عنوان و ستاره */
}

.card-product-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2c2c2e;
    margin: 0;
    text-align: right; /* راست‌چین بودن متن عنوان */
    flex-grow: 1; /* عنوان فضای باقی‌مانده را بگیرد */
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a3a3c;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- قیمت و تخفیف --- */
.discount-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* چسباندن به راست */
    gap: 8px;
    margin-bottom: 4px;
    width: 100%;
}

.discount-badge {
    background: #ef4056;
    color: #fff;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.3;
}

.old-price {
    color: #8e8e93;
    text-decoration: line-through;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 3px; /* فاصله بین عدد و واحد */
}

.current-price {
    font-weight: 800;
    color: #1c1c1e;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* فاصله بین عدد و واحد */
    justify-content: flex-end;
}

.price-unit {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #6e6e73 !important;
    margin-right: 4px;
}

/* --- صفحه بندی --- */
.pagination .page-link {
    color: #b8893c;
    border-radius: 10px;
    margin: 0 3px;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background: #d6a245;
    border-color: #d6a245;
    color: white;
}

.pagination .page-link:hover {
    background: #fef2e4;
    color: #9a671f;
}

/* --- نوار قیمت لحظه‌ای --- */
.price-alert {
    background: linear-gradient(135deg, #fffcf5, #fef1dd);
    border: 1px solid #e9d1af;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px auto 10px;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(199, 145, 46, 0.08);
    direction: rtl;
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #d6a245;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
}

.alert-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #5d431a;
    margin-bottom: 4px;
}

.alert-desc {
    font-size: 0.85rem;
    color: #8a6d3b;
    line-height: 1.6;
}

.alert-call {
    background: #2c241e;
    color: #d6a245;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid #d6a245;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .alert-call:hover {
        background: #d6a245;
        color: white;
    }

/* --- استایل‌های موبایل --- */
@media (max-width: 768px) {
    .sultan-products-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-grid-row {
        --bs-gutter-y: 0 !important;
        --bs-gutter-x: 0 !important;
    }

    .sultan-product-card {
        flex-direction: row;
        padding: 14px 10px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #f0f0f5;
        box-shadow: none;
        gap: 12px;
        align-items: stretch;
        background: #ffffff;
        min-height: 150px;
    }

        .sultan-product-card:hover {
            transform: none;
            box-shadow: none;
        }

    .card-img-wrapper {
        width: 115px;
        height: 115px;
        padding: 4px;
        margin-bottom: 0;
        background: transparent;
        border-radius: 8px;
        align-self: center;
        flex-shrink: 0;
    }

    .sultan-product-card:hover .card-img-wrapper img {
        transform: none;
    }

    .card-body-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        min-width: 0;
        min-height: 115px;
    }

    .card-title-rating-row {
        order: 1;
        margin-bottom: 4px;
        flex-direction: row-reverse;
        justify-content: flex-start;
        align-items: center;
    }

    .card-product-title {
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.5;
        min-height: 2.7em;
        color: #2c2c2e;
        order: 2;
        flex-grow: 1;
        text-align: right;
    }

    .card-product-desc {
        order: 2;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.78rem;
        color: #8e8e93;
        line-height: 1.5;
        margin-bottom: 6px;
        min-height: 2.4em;
    }

    .card-status-rating-row {
        order: 3;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: auto;
        margin-bottom: 4px;
        gap: 6px;
        width: 100%;
        min-height: 20px;
    }

    .card-rating {
        font-size: 0.82rem;
        color: #3a3a3c;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        margin-top: 0;
        padding-top: 0;
        order: 1;
    }

    .gold-star {
        font-size: 0.85rem;
    }

    .card-tags-row {
        display: none !important; /* مخفی کردن تگ‌ها در موبایل */
    }

    .card-price-footer {
        order: 5;
        border-top: none;
        padding-top: 0;
        margin-top: 2px;
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .price-values-box {
        align-items: flex-start;
        justify-content: flex-start;
        width: auto;
        margin-left: 0;
        text-align: left;
    }

    .current-price-num {
        font-size: 1.02rem;
        font-weight: 800;
        color: #1c1c1e;
        justify-content: flex-start;
    }

    .discount-badge-pill {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .old-price-num {
        font-size: 0.75rem;
        justify-content: flex-start;
    }
    /* --- استایل موبایل نوار قیمت لحظه‌ای --- */
    .price-alert {
        margin: 15px;
        padding: 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .alert-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .alert-title {
        font-size: 0.88rem;
    }

    .alert-desc {
        font-size: 0.75rem;
    }

    .alert-call {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* اصلاح چیدمان: عنوان در سمت راست، امتیاز در سمت چپ عنوان (کنار آن) */
.card-title-rating-row {
    display: flex;
    justify-content: flex-start; /* شروع محتوا از راست */
    align-items: center; /* وسط‌چین کردن عمودی */
    flex-direction: row-reverse; /* قرارگیری المان‌ها: عنوان راست، ستاره چپ */
    margin-bottom: 8px;
    gap: 8px; /* فاصله بین عنوان و ستاره */
}

.card-product-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2c2c2e;
    margin: 0;
    text-align: right; /* راست‌چین بودن متن عنوان */
    flex-grow: 1; /* عنوان فضای باقی‌مانده را بگیرد */
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a3a3c;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- قیمت و تخفیف --- */
.discount-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* چسباندن به راست */
    gap: 8px;
    margin-bottom: 4px;
    width: 100%;
}

.discount-badge {
    background: #ef4056;
    color: #fff;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.3;
}

.old-price {
    color: #8e8e93;
    text-decoration: line-through;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 3px; /* فاصله بین عدد و واحد */
}

.current-price {
    font-weight: 800;
    color: #1c1c1e;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 4px; /* فاصله بین عدد و واحد */
    justify-content: flex-end;
}

.price-unit {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #6e6e73 !important;
    margin-right: 4px;
}

/* --- صفحه بندی --- */
.pagination .page-link {
    color: #b8893c;
    border-radius: 10px;
    margin: 0 3px;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background: #d6a245;
    border-color: #d6a245;
    color: white;
}

.pagination .page-link:hover {
    background: #fef2e4;
    color: #9a671f;
}

/* --- نوار قیمت لحظه‌ای --- */
.price-alert {
    background: linear-gradient(135deg, #fffcf5, #fef1dd);
    border: 1px solid #e9d1af;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px auto 10px;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(199, 145, 46, 0.08);
    direction: rtl;
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #d6a245;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.alert-text {
    flex: 1;
}

.alert-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #5d431a;
    margin-bottom: 4px;
}

.alert-desc {
    font-size: 0.85rem;
    color: #8a6d3b;
    line-height: 1.6;
}

.alert-call {
    background: #2c241e;
    color: #d6a245;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    border: 1px solid #d6a245;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .alert-call:hover {
        background: #d6a245;
        color: white;
    }

/* --- استایل‌های موبایل --- */
@media (max-width: 768px) {
    .sultan-products-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-grid-row {
        --bs-gutter-y: 0 !important;
        --bs-gutter-x: 0 !important;
    }

    .sultan-product-card {
        flex-direction: row;
        padding: 14px 10px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #f0f0f5;
        box-shadow: none;
        gap: 12px;
        align-items: stretch;
        background: #ffffff;
        min-height: 150px;
    }

        .sultan-product-card:hover {
            transform: none;
            box-shadow: none;
        }

    .card-img-wrapper {
        width: 115px;
        height: 115px;
        padding: 4px;
        margin-bottom: 0;
        background: transparent;
        border-radius: 8px;
        align-self: center;
        flex-shrink: 0;
    }

    .sultan-product-card:hover .card-img-wrapper img {
        transform: none;
    }

    .card-body-content {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1;
        min-width: 0;
        min-height: 115px;
    }

    .card-title-rating-row {
        order: 1;
        margin-bottom: 4px;
        flex-direction: row-reverse;
        justify-content: flex-start;
        align-items: center;
    }

    .card-product-title {
        font-size: 0.88rem;
        font-weight: 700;
        line-height: 1.5;
        min-height: 2.7em;
        color: #2c2c2e;
        order: 2;
        flex-grow: 1;
        text-align: right;
    }

    .card-product-desc {
        order: 2;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.78rem;
        color: #8e8e93;
        line-height: 1.5;
        margin-bottom: 6px;
        min-height: 2.4em;
    }

    .card-status-rating-row {
        order: 3;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: auto;
        margin-bottom: 4px;
        gap: 6px;
        width: 100%;
        min-height: 20px;
    }

    .card-rating {
        font-size: 0.82rem;
        color: #3a3a3c;
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        margin-top: 0;
        padding-top: 0;
        order: 1;
    }

    .gold-star {
        font-size: 0.85rem;
    }

    .card-tags-row {
        display: none !important; /* مخفی کردن تگ‌ها در موبایل */
    }

    .card-price-footer {
        order: 5;
        border-top: none;
        padding-top: 0;
        margin-top: 2px;
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .price-values-box {
        align-items: flex-start;
        justify-content: flex-start;
        width: auto;
        margin-left: 0;
        text-align: left;
    }

    .current-price-num {
        font-size: 1.02rem;
        font-weight: 800;
        color: #1c1c1e;
        justify-content: flex-start;
    }

    .discount-badge-pill {
        font-size: 0.65rem;
        padding: 1px 6px;
    }

    .old-price-num {
        font-size: 0.75rem;
        justify-content: flex-start;
    }
    /* --- استایل موبایل نوار قیمت لحظه‌ای --- */
    .price-alert {
        margin: 15px;
        padding: 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .alert-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .alert-title {
        font-size: 0.88rem;
    }

    .alert-desc {
        font-size: 0.75rem;
    }

    .alert-call {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
