/* ============================================================
   RTL Override File
   Load AFTER all other CSS files
   Trigger: html[dir="rtl"] OR html.rtl OR body.rtl
   ============================================================ */

@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Thin.woff2') format('woff2');font-weight:100;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-ExtraLight.woff2') format('woff2');font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-ExtraBold.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Vazirmatn;src:url('Vazirmatn-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
html[dir="rtl"] body,
html.rtl body {
  font-family: 'Vazirmatn', 'Metropolitano', sans-serif;
}

/* ---------- 1. Base direction ---------- */
html[dir="rtl"],
html.rtl,
body.rtl {
  direction: rtl;
  text-align: right;
}


/* ============================================================
   FIX: Off-Canvas / Mobile Menu (Screenshot Issue)
   ============================================================ */

/* 1. Fix menu opening from RIGHT side */
html[dir="rtl"] .jws-offcanvas.position-at-right .jws-offcanvas-content-data,
body.rtl .jws-offcanvas.position-at-right .jws-offcanvas-content-data {
    left: auto !important;
    right: 0 !important;
    transform: translateX(100%) !important; /* Hide off-screen to the right */
}

/* When open */
html[dir="rtl"] .jws-offcanvas.position-at-right.jws-offcanvas-show .jws-offcanvas-content-data,
body.rtl .jws-offcanvas.position-at-right.jws-offcanvas-show .jws-offcanvas-content-data {
    transform: translateX(0) !important;
}

/* 2. Fix menu opening from LEFT side */
html[dir="rtl"] .jws-offcanvas.position-at-left .jws-offcanvas-content-data,
body.rtl .jws-offcanvas.position-at-left .jws-offcanvas-content-data {
    right: auto !important;
    left: 0 !important;
    transform: translateX(-100%) !important; /* Hide off-screen to the left */
}

/* When open */
html[dir="rtl"] .jws-offcanvas.position-at-left.jws-offcanvas-show .jws-offcanvas-content-data,
body.rtl .jws-offcanvas.position-at-left.jws-offcanvas-show .jws-offcanvas-content-data {
    transform: translateX(0) !important;
}

/* 3. Force the dark background overlay to show correctly */
html[dir="rtl"] .jws-offcanvas-show ~ .jws-offcanvas-overlay,
body.rtl .jws-offcanvas-show ~ .jws-offcanvas-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* 4. Fix the Close (X) button alignment inside the menu */
html[dir="rtl"] .jws-offcanvas-close-icon-wrapper.jws-offcanvas-close-icon-position-right-top,
body.rtl .jws-offcanvas-close-icon-wrapper.jws-offcanvas-close-icon-position-right-top {
    left: 0 !important;
    right: auto !important;
}
html[dir="rtl"] .jws-offcanvas-close-icon-wrapper.jws-offcanvas-close-icon-position-left-top,
body.rtl .jws-offcanvas-close-icon-wrapper.jws-offcanvas-close-icon-position-left-top {
    right: 0 !important;
    left: auto !important;
}

/* 5. Fix the search icon and text inside the Off-canvas */
html[dir="rtl"] .jws-offcanvas-content-data,
body.rtl .jws-offcanvas-content-data {
    direction: rtl;
    text-align: right;
}

/* ============================================================
   FIX: Mini Cart Sidebar Stuck / Empty in RTL
   ============================================================ */

/* 1. Hide the cart sidebar completely off-screen to the left */
html[dir="rtl"] .jws-cart-sidebar,
body.rtl .jws-cart-sidebar {
    transform: translateX(-105%) !important;
    -webkit-transform: translateX(-105%) !important;
}

/* 2. When cart is open (active), slide it into view from the left */
html[dir="rtl"] .jws-mini-cart-wrapper.active .jws-cart-sidebar,
body.rtl .jws-mini-cart-wrapper.active .jws-cart-sidebar {
    transform: translateX(0%) !important;
    -webkit-transform: translateX(0%) !important;
}

/* 3. Ensure the dark overlay covers the screen correctly when opened */
html[dir="rtl"] .jws-cart-overlay,
body.rtl .jws-cart-overlay {
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important; /* Covers from the right */
}

/* 4. Fix alignment inside the cart */
html[dir="rtl"] .jws-cart-sidebar,
body.rtl .jws-cart-sidebar {
    direction: rtl;
}

/* ============================================================
   FIX: Owl Carousel & Hero Slider (Definitive Fix)
   ============================================================ */

/* 1. اجبار اسلایدر به LTR برای اینکه محاسبات عرض جاوااسکریپت خراب نشود */
html[dir="rtl"] .owl-carousel,
html[dir="rtl"] .owl-stage-outer,
html[dir="rtl"] .owl-stage,
html[dir="rtl"] .owl-item {
    direction: ltr !important;
}

/* 2. اصلاح باگ بزرگ تم (inset-inline-start) و چیدمان اسلایدها از راست به چپ */
html[dir="rtl"] .owl-item {
    float: right !important; /* اسلایدها از راست شروع شوند */
    inset-inline-start: auto !important; /* خنثی کردن باگ تم که باعث سیاه شدن می‌شد */
    left: 0 !important;
    right: auto !important;
}

/* 3. برگرداندن حالت RTL به تمام محتویات داخل اسلایدها */
html[dir="rtl"] .owl-item * {
    direction: rtl !important;
}

/* ============================================================
   FIX: Main Hero Slider (Layout 3) Details
   ============================================================ */

/* 4. راست‌چین کردن محتوای اسلایدر هیرو */
html[dir="rtl"] .jws-slider_video-element .video-content-holder {
    text-align: right !important;
}

html[dir="rtl"] .jws-slider_video-element .video-inner {
    align-items: flex-start !important; /* در RTL یعنی چیده شدن به سمت راست */
}

/* 5. اصلاح گرادیانت (سایه) پس‌زمینه که باید از سمت راست شروع شود */
html[dir="rtl"] .jws-slider_video-element .video-overlay {
    background: linear-gradient(0deg, var(--background-body) 0%, rgba(0,3,28,.7) 15.62%, rgba(0,3,28,0) 31.32%), 
                linear-gradient(270deg, var(--background-body) 6.03%, rgba(0,3,28,0) 78.64%) !important;
}

/* 6. چیدمان تگ‌ها و دکمه‌ها (از راست به چپ) */
html[dir="rtl"] .jws-slider_video-element .jws-meta-info-extra,
html[dir="rtl"] .jws-slider_video-element .jws-category-extra,
html[dir="rtl"] .jws-slider_video-element .video-play {
    justify-content: flex-start !important; /* در RTL یعنی شروع از سمت راست */
}

/* فاصله آیکون داخل دکمه Play Now */
html[dir="rtl"] .jws-slider_video-element .btn-main i {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

/* 7. اصلاح دکمه‌های ناوبری (فلش‌ها) در اسلایدرها */
html[dir="rtl"] .owl-carousel .owl-nav .owl-prev {
    right: auto !important;
    left: 10px !important;
}
html[dir="rtl"] .owl-carousel .owl-nav .owl-next {
    left: auto !important;
    right: 10px !important;
}

/* ============================================================
   FIX: Layout 4 Slider (Latest Anime Library) - Final Fix
   ============================================================ */

/* 1. تنظیم تصویر پس‌زمینه: قرارگیری در چپ و محو شدن به سمت راست */
html[dir="rtl"] .jws-slider_video-element .layout4 .video-background-holder {
    left: 0 !important;
    right: auto !important;
    width: calc(100% - 400px) !important;
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 30%, #000) !important;
    mask-image: linear-gradient(270deg, transparent 0, #000 30%, #000) !important;
}

/* 2. تنظیم کادر محتوا: انتقال به سمت راست و راست‌چین کردن */
html[dir="rtl"] .jws-slider_video-element .layout4 .video-content-holder {
    left: auto !important;
    right: 0 !important;
    padding-left: 0 !important;
    padding-right: 70px !important;
    text-align: right !important;
    direction: rtl !important;
}

/* 3. بازگرداندن متن به سمت راست (مشکل غیب شدن متن) */
html[dir="rtl"] .jws-slider_video-element .layout4 .video-inner {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 4. راست‌چین کردن تگ‌ها و دکمه‌ها */
html[dir="rtl"] .jws-slider_video-element .layout4 .video_title,
html[dir="rtl"] .jws-slider_video-element .layout4 .video-description {
    text-align: right !important;
}

html[dir="rtl"] .jws-slider_video-element .layout4 .jws-meta-info-extra,
html[dir="rtl"] .jws-slider_video-element .layout4 .jws-category-extra,
html[dir="rtl"] .jws-slider_video-element .layout4 .video-play {
    justify-content: flex-start !important; /* در RTL یعنی شروع از سمت راست */
    text-align: right !important;
}

/* فاصله آیکون داخل دکمه Play Now */
html[dir="rtl"] .jws-slider_video-element .layout4 .btn-main i {
    margin-left: 0 !important;
    margin-right: 5px !important;
}

/* 5. اصلاح نوار بندانگشتی (Thumbnails) در پایین اسلایدر */
html[dir="rtl"] .jws-slider_video-element .layout4 + .video-thumbnail-nav {
    left: auto !important;
    right: 50% !important;
    transform: translateX(50%) !important; /* وسط‌چین کردن */
    flex-direction: row-reverse !important; /* چیدمان آیکون‌ها از راست به چپ */
}

/* 6. گرد کردن گوشه‌های تصویر در سمت چپ (اصلاح گوشه‌ها) */
html[dir="rtl"] .jws-slider_video-element .layout4 .video-background-holder {
    border-radius: 20px 0 0 20px !important;
}

/* ============================================================
   FIX: Main Hero Slider (Layout 3)
   ============================================================ */

/* 1. تنظیم جهت کلی اسلایدر و کانتینر */
html[dir="rtl"] .jws-slider_video-element .layout3 {
    direction: rtl !important;
}

/* 2. راست‌چین کردن محتوا و هل دادن آن به سمت راست */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-content-holder {
    text-align: right !important;
    padding-right: 70px !important; /* فاصله از سمت راست */
    padding-left: 15px !important;
}

/* 3. اصلاح داخلی‌ترین کادر متن (جلوگیری از سیاه شدن صفحه) */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-inner {
    text-align: right !important;
    margin-right: 0 !important;
    margin-left: auto !important; /* هل دادن به راست */
}

/* 4. راست‌چین کردن تگ‌ها، دسته‌بندی‌ها و دکمه‌ها */
html[dir="rtl"] .jws-slider_video-element .layout3 .jws-meta-info-extra,
html[dir="rtl"] .jws-slider_video-element .layout3 .jws-category-extra,
html[dir="rtl"] .jws-slider_video-element .layout3 .video-play {
    display: flex !important;
    justify-content: flex-start !important; /* در RTL یعنی شروع از راست */
    flex-wrap: wrap !important;
}

/* 5. اصلاح آیکون‌های داخل دکمه‌ها (مثل Play Now) */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-play .btn-main i {
    margin-left: 0 !important;
    margin-right: 6px !important;
}

/* 6. اصلاح گرادیانت (سایه) پس‌زمینه که باید از سمت راست شروع شود */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-overlay {
    background: linear-gradient(0deg, var(--background-body) 0%, rgba(0,3,28,.7) 15.62%, rgba(0,3,28,0) 31.32%),
                linear-gradient(270deg, var(--background-body) 6.03%, rgba(0,3,28,0) 78.64%) !important;
}

/* 7. اصلاح نوار تصاویر کوچک (Thumbnails) در پایین هیرو */
html[dir="rtl"] .jws-slider_video-element .video-thumbnail-nav {
    right: auto !important;
    left: 50px !important; /* انتقال به سمت چپ صفحه */
    flex-direction: row-reverse !important; /* ترتیب عکس‌ها از راست به چپ */
}









/* ============================================================
   ULTIMATE FIX: Complete Slider Reset (Click Sync & RTL)
   ============================================================ */

/* 1. اجبار کل ساختار اسلایدر به LTR برای اصلاح ریاضیات جاوااسکریپت و کلیک‌ها */
html[dir="rtl"] .jws-slider_video-element .owl-carousel,
html[dir="rtl"] .jws-slider_video-element .owl-stage-outer,
html[dir="rtl"] .jws-slider_video-element .owl-stage,
html[dir="rtl"] .jws-slider_video-element .owl-item,
html[dir="rtl"] .jws-slider_video-element .video-thumbnail-nav {
    direction: ltr !important;
}

html[dir="rtl"] .jws-slider_video-element .owl-item {
    float: left !important;
}

/* 2. خنثی کردن باگ تم که باعث پرش اسلاید فعال و خالی شدن بندانگشتی‌ها می‌شد */
html[dir="rtl"] .jws-slider_video-element .owl-item.active {
    inset-inline-start: auto !important;
    right: auto !important;
    left: 0 !important;
}

/* ============================================================
   HERO SLIDER (Layout 3 - Main Header)
   ============================================================ */

/* نمایش تضمینی عکس */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-images {
    opacity: 1 !important;
    transform: translatex(0) !important;
    visibility: visible !important;
}

/* راست‌چین کردن محتوا و نمایش تضمینی متن‌ها */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-content-holder {
    direction: rtl !important;
    text-align: right !important;
    padding-right: 70px !important;
}

html[dir="rtl"] .jws-slider_video-element .layout3 .video-inner {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* آینه کردن گرادیانت */
html[dir="rtl"] .jws-slider_video-element .layout3 .video-overlay {
    background: linear-gradient(0deg, var(--background-body) 0%, rgba(0,3,28,.7) 15.62%, rgba(0,3,28,0) 31.32%),
                linear-gradient(270deg, var(--background-body) 6.03%, rgba(0,3,28,0) 78.64%) !important;
}




/* ============================================================
   ANIME SLIDER (Layout 4 - Latest Anime Library)
   ============================================================ */

html[dir="rtl"] .jws-slider_video-element .layout4 .video-background-holder {
    left: 0 !important;
    right: auto !important;
    width: calc(100% - 400px) !important;
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 30%, #000) !important;
    mask-image: linear-gradient(270deg, transparent 0, #000 30%, #000) !important;
    border-radius: 20px 0 0 20px !important;
}

html[dir="rtl"] .jws-slider_video-element .layout4 .video-content-holder {
    left: auto !important;
    right: 0 !important;
    direction: rtl !important;
    padding-right: 70px !important;
    padding-left: 0 !important;
}

html[dir="rtl"] .jws-slider_video-element .layout4 .video-inner {
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

html[dir="rtl"] .jws-slider_video-element .layout4 + .video-thumbnail-nav {
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* ============================================================
   GLOBAL SLIDER ELEMENTS (Tags, Buttons)
   ============================================================ */

html[dir="rtl"] .jws-slider_video-element .jws-meta-info-extra,
html[dir="rtl"] .jws-slider_video-element .jws-category-extra,
html[dir="rtl"] .jws-slider_video-element .video-play {
    direction: rtl !important;
    display: flex !important;
    justify-content: flex-start !important; 
    flex-wrap: wrap !important;
}

html[dir="rtl"] .jws-slider_video-element .btn-main i {
    margin-left: 0 !important;
    margin-right: 6px !important;
}

/* اصلاح نوار بندانگشتی برای جلوگیری از خالی شدن عکس‌ها */
html[dir="rtl"] .jws-slider_video-element .video-thumbnail-nav {
    flex-direction: row !important;
    left: 50px !important;
    right: auto !important;
}

html[dir="rtl"] .jws-slider_video-element .video-thumbnail-nav .post-inner img {
    opacity: 1 !important;
    visibility: visible !important;
}


.jws-slider_video-element .video-thumbnail-nav .post-inner img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	position: unset;
}


/* ============================================================ */
/* کوچک کردن کارت‌ها با حفظ نسبت تصویر اصلی (پوستری) */
/* ============================================================ */

/* 1. کاهش عرض کارت‌ها در دسکتاپ */
.elementor-element-1fdf569 .post-inner {
    width: 180px !important; /* عرض از 290 به 180 کاهش یافت */
}

/* 2. اجازه دادن به تصویر برای حفظ نسبت اصلی خود */
.elementor-element-1fdf569 .post-media img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* جلوگیری از هرگونه برش یا کشیدگی */
}

/* 3. کمی ظریف‌تر کردن متن‌ها */
.elementor-element-1fdf569 .video_title {
    font-size: 13px !important;
    margin-top: 5px;
    text-align: center;
}

/* 4. تنظیم سایز برای تبلت */
@media (max-width: 1024px) {
    .elementor-element-1fdf569 .post-inner {
        width: 150px !important; 
    }
}

/* 5. تنظیم سایز برای موبایل */
@media (max-width: 767px) {
    .elementor-element-1fdf569 .post-inner {
        width: 130px !important;
    }
}

.jws-genre-page .genre-hero__fan {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
	right: auto;
    bottom: 0;
    width: 540px;
}

.jws-genre-page .genre-hero--fan .genre-hero__disc {
    top: 40px;
    left: 90px;
    right: auto;
    width: 400px;
    height: 400px;
}

@media (max-width: 1024px) {
    .jws-genre-page .genre-hero--fan .genre-hero__fan {
        left: -120px;
		right:auto;
    }
}
@media (max-width: 767px) 
{
	.jws-genre-page .genre-hero__disc,.jws-genre-page .genre-hero--fan .genre-hero__disc{top:10px;right:auto;bottom:auto;left:calc(50% - 95px);width:190px;height:190px;margin-inline-end:0}
    .jws-genre-page .genre-hero--fan .genre-hero__fan {
        left: auto;
        right: auto;
    }
}



html[dir="rtl"] .owl-carousel,html[dir="rtl"] .owl-stage-outer,html[dir="rtl"] .owl-stage,html[dir="rtl"] .owl-item{direction:ltr!important}html[dir="rtl"] .owl-item{float:left!important;right:auto!important;left:0!important;inset-inline-start:auto!important}html[dir="rtl"] .owl-item .jws-post-item,html[dir="rtl"] .owl-item .video-content-holder,html[dir="rtl"] .owl-item .top-videos-inner{direction:rtl!important}html[dir="rtl"] .owl-carousel .owl-nav>button span:before{transform:none!important}@media (max-width:767px){html[dir="rtl"] .jws-slider_video-element .layout4 .video-background-holder{width:100%!important;left:0!important;right:auto!important;-webkit-mask-image:linear-gradient(0deg,transparent 0,#000 50%,#000)!important;mask-image:linear-gradient(0deg,transparent 0,#000 50%,#000)!important;border-radius:20px!important}html[dir="rtl"] .jws-slider_video-element .layout4 .video-content-holder{position:relative!important;padding:20px!important;text-align:center!important;right:auto!important;left:auto!important}html[dir="rtl"] .jws-slider_video-element .layout4 .video-inner{margin:0 auto!important;text-align:center!important;align-items:center!important}html[dir="rtl"] .jws-slider_video-element .layout4 .jws-meta-info-extra,html[dir="rtl"] .jws-slider_video-element .layout4 .jws-category-extra,html[dir="rtl"] .jws-slider_video-element .layout4 .video-play{justify-content:center!important;display:flex!important;flex-wrap:wrap!important}}

/* ============================================================
   ULTIMATE MOBILE FIX: Reset RTL Layout for Slider
   ============================================================ */
@media (max-width: 767px) {
    /* 1. تصویر و سایه: اجبار به پر کردن کل کادر */
    html[dir="rtl"] .jws-slider_video-element .layout3 .video-background-holder {
        position: relative !important;
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 56.25% !important; /* نسبت تصویر 16:9 */
        left: auto !important;
        right: auto !important;
    }

    html[dir="rtl"] .jws-slider_video-element .layout3 .video-images {
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: 100% !important;
        transform: none !important;
        opacity: 1 !important;
    }

    html[dir="rtl"] .jws-slider_video-element .layout3 .video-overlay {
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 100% !important; height: 100% !important;
        /* سایه از پایین به بالا برای خوانایی متن */
        background: linear-gradient(to top, var(--background-body) 0%, rgba(0,3,28,.7) 15.62%, rgba(0,3,28,0) 31.32%),
                    linear-gradient(0deg, var(--background-body) 6.03%, rgba(0,3,28,0) 78.64%) !important;
    }

    /* 2. محتوا: وسط‌چین کردن و انتقال به پایین کادر */
    html[dir="rtl"] .jws-slider_video-element .layout3 .video-content-holder {
        position: absolute !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important; /* هُل دادن به پایین */
        align-items: center !important; /* وسط‌چین افقی */
        text-align: center !important;
    }

    html[dir="rtl"] .jws-slider_video-element .layout3 .video-content-holder > .row {
        width: 100% !important;
        height: auto !important;
        align-items: flex-end !important;
    }

    html[dir="rtl"] .jws-slider_video-element .layout3 .video-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
        max-width: 100% !important;
    }

    /* 3. وسط‌چین کردن تگ‌ها و دکمه‌ها */
    html[dir="rtl"] .jws-slider_video-element .layout3 .jws-meta-info-extra,
    html[dir="rtl"] .jws-slider_video-element .layout3 .jws-category-extra,
    html[dir="rtl"] .jws-slider_video-element .layout3 .video-play {
        justify-content: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 10px !important;
    }

    /* اصلاح فاصله آیکون دکمه تماشا */
    html[dir="rtl"] .jws-slider_video-element .layout3 .video-play .btn-main i {
        margin-left: 6px !important;
        margin-right: 0 !important;
    }

    /* 4. تصاویر کوچک (Thumbnails) در پایین */
    html[dir="rtl"] .jws-slider_video-element .video-thumbnail-nav {
        left: auto !important;
        right: 50% !important;
        transform: translateX(50%) !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
}

