/**
 * استایل‌های اختصاصی ماژول محصولات شگفت‌انگیز صفحه اصلی (سکشن ۴)
 * کانتینر استاندارد ۱۲۳۰ پیکسل، فاصله ۲.۵ رِم، پس‌زمینه گرادینت قرمز سه‌رنگ،
 * کارت‌های پایدار با تراز دقیق قیمت‌ها، تایمر دیجیتال و دکمه هاور معکوس
 *
 * @package RPKala_Toolkit
 * @since   1.0.0
 */

:root {
    --rp-deals-container-width: 1230px;
    --rp-deals-radius: 1.5rem;
    --rp-deals-card-radius: 1.25rem;
    --rp-deals-font: 'iransansx', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rp-deals-section,
.rp-deals-section * {
    box-sizing: border-box !important;
    font-family: var(--rp-deals-font) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ۱. کانتینر بیرونی سکشن ۴ - تراز دقیق و فاصله ۲.۵ رِم بین سکشن‌ها
   ========================================================================== */
.rp-deals-section {
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: 2.5rem !important; /* فاصله استاندارد ۲.۵ رِم بین سکشن‌ها */
    position: relative;
    z-index: 2;
    direction: rtl !important;
}

/* کانتینر استاندارد ۱۲۳۰ پیکسل - بدون پدینگ چپ و راست در دسکتاپ */
.rp-deals-container {
    width: 100%;
    max-width: var(--rp-deals-container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ==========================================================================
   ۲. کادر اصلی قرمز شگفت‌انگیز با گرادینت ۳ رنگ اختصاصی
   ========================================================================== */
.rp-deals-box {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #e11d48 50%, #b91c1c 100%);
    border-radius: var(--rp-deals-radius);
    padding: 2rem !important; /* پدینگ استاندارد ۲ رِم جهت فاصله ایده‌آل المان‌ها از کناره‌ها */
    box-shadow: 0 10px 30px -5px rgba(220, 38, 38, 0.35), 0 4px 12px -2px rgba(220, 38, 38, 0.2);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    position: relative;
}

/* ==========================================================================
   ۳. سایدبار راست (عنوان، بج، تایمر شمارش معکوس و دکمه مشاهده همه)
   ========================================================================== */
.rp-deals-sidebar {
    width: 250px;
    min-width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center !important; /* وسط‌چین عمودی کل سایدبار جهت رفع فاصله زیاد تایمر و دکمه */
    align-items: stretch;
    color: #ffffff;
    padding: 0.25rem 0;
}

.rp-deals-header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.35rem !important; /* فاصله دقیق تا گروه تایمر مطابق نمونه */
}

/* بج فرصت محدود خرید */
.rp-deals-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.14); /* تیرگی ملایم پس‌زمینه بج مطابق تصویر نمونه */
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 9999px;
    backdrop-filter: blur(6px);
    margin-bottom: 0.75rem;
    align-self: flex-start; /* قرارگیری در سمت راست */
}

.rp-deals-badge svg {
    flex-shrink: 0;
}

/* عنوان پیشنهاد شگفت‌انگیز */
.rp-deals-title {
    color: #ffffff !important;
    font-size: 1.85rem !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    margin: 0 0 0.5rem 0 !important;
    letter-spacing: -0.02em;
    text-align: center !important;
    width: 100%;
}

/* توضیحات استثنایی */
.rp-deals-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.78rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-align: center !important;
    width: 100%;
}

/* کانتینر گروه تایمر و دکمه چسبیده به زیر آن */
.rp-deals-timer-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem; /* فاصله دقیق و تمیز بین تایمر و دکمه دقیقاً مشابه تصویر نمونه */
    width: 100%;
    margin-top: 0 !important; /* عدم رهاسازی یا سقوط دکمه به کف سایدبار */
}

/* تایمر شمارش معکوس دیجیتالی ۲۴ ساعته */
.rp-deals-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    direction: rtl !important;
    margin-bottom: 0 !important;
    width: 100%;
}

/* باکس‌های سفید هر واحد زمانی */
.rp-countdown-box {
    background: #ffffff;
    border-radius: 0.85rem;
    flex: 1 1 0;
    min-width: 0;
    height: 60px;
    padding: 0.35rem 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.rp-countdown-box:hover {
    transform: translateY(-2px);
}

.rp-countdown-num {
    color: #dc2626;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rp-countdown-label {
    color: #475569;
    font-size: 0.66rem;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1;
}

/* دو نقطه جداکننده تایمر */
.rp-countdown-colon {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    user-select: none;
    padding: 0 2px;
    flex-shrink: 0;
}

/* دکمه مشاهده همه شگفت‌انگیزها (دقیقاً زیر تایمرها با بک‌گراند rgb(255 255 255 / 0.15)) */
.rp-deals-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgb(255 255 255 / 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 0.85rem;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.rp-deals-btn-arrow {
    transition: transform 0.25s ease, stroke 0.25s ease;
    flex-shrink: 0;
}

/* حالت هاور دکمه طبق درخواست و نمونه تصویر: پس‌زمینه سفید، متن و آیکون قرمز */
.rp-deals-btn:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #dc2626 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.rp-deals-btn:hover .rp-deals-btn-arrow {
    transform: translateX(-4px);
    stroke: #dc2626;
}

/* ==========================================================================
   ۴. کاروسل محصولات (نمایش همزمان ۴ کارت + اسکرول بی‌نهایت)
   ========================================================================== */
.rp-deals-carousel-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* درگاه نمایش کارت‌ها */
.rp-deals-viewport {
    width: 100%;
    overflow: hidden;
    padding: 8px 4px;
    margin: -8px -4px;
    touch-action: pan-y !important; /* واگذاری هندل ژست افقی دست به جاوااسکریپت و حفظ اسکرول عمودی */
    cursor: grab;
}

.rp-deals-viewport.is-dragging,
.rp-deals-viewport:active {
    cursor: grabbing;
}

/* مسیر ریل کاروسل */
.rp-deals-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}

/* جلوگیری از درگ پیش‌فرض مرورگر روی تصاویر و لینک‌ها جهت روانی کامل سوایپ دست */
.rp-deal-card,
.rp-deal-card * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}

/* ==========================================================================
   ۵. کارت محصول شگفت‌انگیز (ساختار پایدار، هاور تصویر و تراز افقی قیمت‌ها)
   ========================================================================== */
.rp-deal-card {
    /* نمایش دقیق ۴ کارت همزمان در عرض کانتینر کاروسل با احتساب ۳ فاصله ۱ رِم */
    flex: 0 0 calc((100% - 3rem) / 4);
    max-width: calc((100% - 3rem) / 4);
    background: #ffffff;
    border-radius: var(--rp-deals-card-radius);
    padding: 0.875rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease;
    cursor: pointer;
}

/* هاور کارت: بدون جابجایی کارت و فقط با سایه بسیار بسیار کم طبق درخواست کاربر */
.rp-deal-card:hover {
    transform: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.rp-deal-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* کادر تصویر ۱:۱ محصول با بردر نازک جهت تفکیک از پس‌زمینه کارت */
.rp-deal-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.875rem;
    background: #ffffff;
    border: 1px solid #e2e8f0; /* بردر نازک جهت تفکیک از پس‌زمینه کارت */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-deal-img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* پر کردن کامل کادر بدون پدینگ و کادر خاکستری */
    padding: 0 !important;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* هاور کارت: بزرگ‌نمایی ملایم تصویر طبق دستور کاربر */
.rp-deal-card:hover .rp-deal-img {
    transform: scale(1.08);
}

/* بج درصد تخفیف روی تصویر */
.rp-deal-discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    line-height: 1.3;
}

/* محتوای متنی کارت */
.rp-deal-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    margin-top: 0.75rem;
}

/* عنوان پایدار محصول: دقیقا معادل ۲ خط با لاین‌کلمپ جهت ثبات ۱۰۰٪ چیدمان */
.rp-deal-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.45 !important;
    text-align: right;
    margin: 0 !important;
    height: 2.3rem !important; /* دقیقا ارتفاع ۲ خط متن جهت پایداری بدون تغییر ساختار */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word;
}

/* کادر قیمت: تراز ثابت در پایین کارت به سمت چپ طبق استانداردهای فروشگاهی ایران */
.rp-deal-price-box {
    margin-top: auto;
    padding-top: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* تراز به سمت چپ در جهت RTL */
}

/* قیمت خط‌خورده قدیمی */
.rp-deal-old-price {
    font-size: 0.72rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-bottom: 7px !important; /* فاصله بیشتر و بدون چسبندگی به قیمت نهایی طبق درخواست کاربر */
    line-height: 1.35 !important;
    white-space: nowrap;
}

.rp-deal-old-price-placeholder {
    visibility: hidden;
}

/* قیمت نهایی فروش */
.rp-deal-current-price {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.25 !important;
}

.rp-deal-price-amount {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.rp-deal-price-unit {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

/* ==========================================================================
   ۶. تعاریف اولیه هدر موبایل و کارت مشاهده همه (در دسکتاپ مخفی هستند)
   ========================================================================== */
.rp-deals-mobile-header {
    display: none;
}

.rp-deal-view-all-card {
    display: none;
}

/* ==========================================================================
   ۷. ریسپانسیو تبلت (عرض ۷۶۹ تا ۱۰۲۴ پیکسل)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .rp-deals-section {
        margin-bottom: 2rem !important;
    }

    .rp-deals-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .rp-deals-box {
        padding: 1.5rem !important;
        gap: 1.25rem !important;
    }

    .rp-deals-sidebar {
        width: 210px !important;
        min-width: 210px !important;
    }

    .rp-deals-title {
        font-size: 1.5rem !important;
    }

    .rp-deal-card {
        flex: 0 0 calc((100% - 2rem) / 3) !important;
        max-width: calc((100% - 2rem) / 3) !important;
    }
}

/* ==========================================================================
   ۸. ریسپانسیو موبایل فوق‌حرفه‌ای و استاندارد (عرض حداکثر ۷۶۸ پیکسل طبق تصویر)
   - چیدمان افقی تایمر و عنوان در هدر باکس قرمز
   - دقیقاً ۲ و ربع (2.25) کارت محصول در دید اولیه
   - اسکرول لمسی روان (غیر بی‌نهایت) با نوار اسکرول مخفی
   - کارت شیک «مشاهده همه» در انتهای لیست ۶ محصول
   - فاصله استاندارد ۱ رِم از چپ و راست صفحه موبایل
   ========================================================================== */
@media (max-width: 768px) {
    .rp-deals-section {
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important; /* فاصله استاندارد ۱.۵ رِم بین سکشن‌ها */
    }

    .rp-deals-container {
        padding-left: 1rem !important;  /* فاصله دقیق ۱ رِم از لبه چپ */
        padding-right: 1rem !important; /* فاصله دقیق ۱ رِم از لبه راست */
        width: 100% !important;
        max-width: 100% !important;
    }

    /* کادر قرمز رنگ شگفت‌انگیز در موبایل */
    .rp-deals-box {
        flex-direction: column !important;
        padding: 1.25rem 0.875rem 1.125rem 0.875rem !important;
        border-radius: 1.5rem !important; /* ۲۴ پیکسل گوشه‌های گرد طبق تصویر */
        gap: 0.875rem !important;
        overflow: hidden !important;
    }

    /* سایدبار دسکتاپ در موبایل مخفی می‌شود */
    .rp-deals-sidebar {
        display: none !important;
    }

    /* جلوگیری از نمایش کلون‌های کاروسل دسکتاپ در موبایل */
    .rp-deal-clone {
        display: none !important;
    }

    /* ==========================================
       هدر اختصاصی موبایل: عنوان در راست و تایمر در چپ
       ========================================== */
    .rp-deals-mobile-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        direction: rtl !important;
        padding: 0 0.15rem !important;
        margin-bottom: 0.25rem !important;
        box-sizing: border-box !important;
    }

    .rp-deals-mobile-title-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    /* آیکون درصد (%) گرد و شیک طبق نمونه مرجع */
    .rp-deals-mobile-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.22) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.95rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .rp-deals-mobile-title {
        color: #ffffff !important;
        font-size: 1.125rem !important;
        font-weight: 900 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }

    /* تایمر ردیفی موبایل: باکس‌های مربعی گرد با ارقام قرمز و لیبل سفید در زیر */
    .rp-deals-mobile-countdown {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 2px !important;
        direction: rtl !important;
        flex-shrink: 0 !important;
    }

    .rp-deals-mobile-countdown .rp-countdown-unit {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        gap: 0 !important;
    }

    /* باکس‌های سفید با ابعاد ثابت، بدون کپسولی شدن و چسبیدن ارقام */
    .rp-deals-mobile-countdown .rp-countdown-box {
        background: #ffffff !important;
        border-radius: 9px !important; /* گوشه‌های گرد مربع مطابق الگو */
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        flex: 0 0 38px !important; /* جلوگیری قطعی از فشردگی عمودی */
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        box-sizing: border-box !important;
    }

    /* اعداد قرمز وسط‌چین با فضای تنفس کامل */
    .rp-deals-mobile-countdown .rp-countdown-num {
        color: #dc2626 !important;
        font-size: 1.125rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        text-align: center !important;
        letter-spacing: -0.02em !important;
    }

    /* لیبل‌های ساعت / دقیقه / ثانیه زیر باکس با فاصله تفکیک‌شده */
    .rp-deals-mobile-countdown .rp-countdown-label {
        color: #ffffff !important;
        font-size: 0.6875rem !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        margin-top: 5px !important; /* فاصله استاندارد جهت رفع چسبندگی */
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* دونقطه‌های سفید تراز شده در مرکز ارتفاع باکس‌ها */
    .rp-deals-mobile-countdown .rp-countdown-colon {
        color: #ffffff !important;
        font-size: 1.125rem !important;
        font-weight: 900 !important;
        height: 38px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 3px !important;
        margin: 0 !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        user-select: none !important;
    }

    /* ==========================================
       کاروسل و کارت‌های محصول در موبایل (دقیقاً ۲ و ربع کارت)
       ========================================== */
    .rp-deals-carousel-wrapper {
        width: 100% !important;
        overflow: hidden !important;
    }

    .rp-deals-viewport {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border-radius: 0 !important; /* حذف بردر ردیوس درگاه نمایش */
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 4px 0 6px 0 !important;
        margin: 0 !important;
        cursor: auto !important;
    }

    .rp-deals-viewport::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .rp-deals-track {
        display: flex !important;
        gap: 0.75rem !important; /* فاصله ۱۲ پیکسل بین کارت‌ها */
        transform: none !important;
        transition: none !important;
        width: max-content !important;
        padding: 0 2px !important;
    }

    /* 
       فرمول ریاضی مهندسی‌شده و قطعی ۲ و ربع (2.25) کارت در دید اولیه:
       (100vw - 2rem [فاصله لبه صفحه] - 1.75rem [پدینگ باکس قرمز] - 1.5rem [۲ فاصله ۱۲ پیکسلی بین کارت‌ها]) / 2.25
       = (100vw - 5.25rem) / 2.25
    */
    .rp-deal-card {
        flex: 0 0 calc((100vw - 5.25rem) / 2.25) !important;
        width: calc((100vw - 5.25rem) / 2.25) !important;
        min-width: calc((100vw - 5.25rem) / 2.25) !important;
        max-width: calc((100vw - 5.25rem) / 2.25) !important;
        border-radius: 1.125rem !important; /* ۱۸ پیکسل ردیوس کارت طبق تصویر */
        padding: 0.65rem !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
    }

    .rp-deal-img-wrap {
        border-radius: 0.85rem !important;
    }

    .rp-deal-discount-badge {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        border-radius: 5px !important;
        top: 6px !important;
        right: 6px !important;
    }

    .rp-deal-title {
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        height: 2.1rem !important;
        margin-top: 0.25rem !important;
    }

    .rp-deal-old-price {
        font-size: 0.65rem !important;
        margin-bottom: 4px !important;
    }

    .rp-deal-price-amount {
        font-size: 0.85rem !important;
    }

    .rp-deal-price-unit {
        font-size: 0.625rem !important;
    }

    /* ==========================================
       کارت شیک «مشاهده همه» در انتهای لیست در موبایل
       ========================================== */
    .rp-deal-view-all-card {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        background: #ffffff !important;
        border-radius: 1.125rem !important;
        flex: 0 0 calc((100vw - 5.25rem) / 2.25) !important;
        width: calc((100vw - 5.25rem) / 2.25) !important;
        min-width: calc((100vw - 5.25rem) / 2.25) !important;
        max-width: calc((100vw - 5.25rem) / 2.25) !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
        cursor: pointer !important;
    }

    .rp-deal-view-all-link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        padding: 1.25rem 0.5rem !important;
        text-decoration: none !important;
    }

    .rp-deal-view-all-icon-wrap {
        width: 3rem !important;
        height: 3rem !important;
        border-radius: 50% !important;
        background-color: #fee2e2 !important;
        color: #dc2626 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 0.65rem !important;
        transition: transform 0.25s ease !important;
    }

    .rp-deal-view-all-card:hover .rp-deal-view-all-icon-wrap {
        transform: scale(1.08) !important;
    }

    .rp-deal-view-all-title {
        font-size: 0.875rem !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
}

