﻿/* ===== Base / Hero ===== */
html, body {
    margin: 0;
    padding: 0;
}

.full-bleed {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@supports (width: 100dvw) {
    .full-bleed {
        width: 100dvw;
        margin-left: calc(50% - 50dvw);
        margin-right: calc(50% - 50dvw);
    }
}

html, body {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html, body {
        overflow-x: hidden;
    }
}


/* === اسلایدر: بهینه‌شده برای تصاویر 2000×400 (نسبت 5:1) و نمایش کامل عکس‌ها === */
.hero {
    /* نسبت دقیق تصاویر شما: 2000 / 400 = 5 */
    aspect-ratio: 5 / 1;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
    --btn-size: 22px;
    --icon-size: 12px;
    --icon-stroke: 2;
    /* ارتفاع پیشنهادی:
       - ترجیحاً از width / 5 استفاده می‌کند (calc(100vw / 5))
       - اما حداقل و حداکثر امن برای موبایل/تبلت دارد تا خیلی کوتاه یا خیلی بلند نشود */
    min-height: clamp(100px, calc(100vw / 5), 220px);
}

    /* هر slide به صورت absolute روی هم قرار می‌گیرد (منطق اصلی را حفظ کردم) */
    .hero .slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity .5s ease-in-out;
    }

        .hero .slide.active {
            opacity: 1;
            z-index: 1;
        }

        /* تصویر داخل اسلاید — تغییر مهم:
   object-fit: contain => تمام تصویر نمایش داده می‌شود (بدون برش)
   object-position: center => تصویر همیشه وسط‌چین است
   background-color => هنگام وجود letterbox (فضای خالی) رنگ پس‌زمینه نمایش داده می‌شود */
        .hero .slide img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain; /* ★ نمایش کامل عکس بدون برش */
            object-position: center center;
            background-color: #0b0b0b; /* رنگ فضای خالی (قابل تغییر به #fff یا هر رنگ دلخواه) */
            z-index: 1;
        }

        /* مطمئناً گرادینتِ پایینِ اسلاید بالای تصویر دیده شود */
        .hero .slide > div.absolute {
            z-index: 2;
            pointer-events: none;
        }

    /* تیترها/آیکون‌ها — همان تنظیم‌های قبلی را حفظ کردم */
    .hero .headline {
        font-size: clamp(24px,3.6vw,56px);
        line-height: 1.1;
    }

    .hero .subhead {
        font-size: clamp(14px,1.4vw,20px);
    }

    .hero .icon {
        width: clamp(36px,4vw,64px);
        height: clamp(36px,4vw,64px);
    }

    /* کنترل قبلی/بعدی (بدون تغییر ساختاری، فقط اطمینان از لمس‌پذیری موبایل) */
    .hero .ctrl {
        width: var(--btn-size);
        height: var(--btn-size);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 9999px;
        background: color-mix(in oklab, #fff, transparent 70%);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        box-shadow: 0 2px 10px rgba(0,0,0,.12);
        transition: background .2s ease;
        z-index: 10;
    }

        .hero .ctrl svg {
            width: var(--icon-size);
            height: var(--icon-size);
            stroke-width: var(--icon-stroke);
        }

        .hero .ctrl:hover {
            background: color-mix(in oklab, #fff, transparent 55%);
        }

        .hero .ctrl:focus-visible {
            outline: 2px solid #fff8;
            outline-offset: 2px;
        }

        /* افزایش ناحیه تماس بدون تغییر ظاهر */
        .hero .ctrl::before {
            content: "";
            position: absolute;
            inset: -6px;
        }

    /* مکان دات‌ها */
    .hero .dots {
        bottom: clamp(10px,2vw,24px);
    }

/* کوچک کردن دات‌های اسلاید در موبایل */
@media (max-width: 600px) {
    .hero .dots > * {
        width: 6px; /* عرض دات */
        height: 6px; /* ارتفاع دات */
    }
}

/* ریسپانسیو کنترل‌ها */
@media (max-width: 480px) {
    .hero {
        --icon-size: 16px;
        --icon-stroke: 2;
    }
}

@media (min-width: 768px) {
    .hero {
        --btn-size: 48px;
        --icon-size: 20px;
    }
}

/* موبایل خیلی کوچک: اگر خواستی حداقل ارتفاع بیشتر شود (اختیاری ولی پیشنهادی) */
@media (max-width: 420px) {
    .hero {
        min-height: 120px;
    }
}

/* ===== Mobile-specific: اصلاح‌شده — بدون برش، بدون نوار، بدون فضای خالی زیر تصویر ===== */
@media (max-width: 600px) {
    /* کانتینر اسلایدر اجازه می‌دهد ارتفاع بر اساس تصویر باشد */
    .hero {
        aspect-ratio: unset;
        height: auto; /* ارتفاع از محتوا می‌آید */
        min-height: 0;
        overflow: hidden; /* جلوگیری از نوار/اسکرول اضافی */
    }

        /* هر اسلاید به صورت relative بماند ولی در جریان قرار گیرد تا ارتفاع بسازد */
        .hero .slide {
            position: relative;
            inset: auto;
            display: none; /* پیش‌فرض مخفی */
            opacity: 0;
            line-height: 0; /* حذف فاصلهٔ سفیدِ خطی */
            padding: 0; /* حذف هر padding احتمالی */
            margin: 0;
        }

            .hero .slide.active {
                display: block;
                opacity: 1;
                z-index: 1;
            }

            /* تصویر: تمام عرض، ارتفاع اتوماتیک (هیچ برشی رخ نمیدهد)، و بدون فضای پاییـن */
            .hero .slide img {
                width: 100%;
                max-width: 100%;
                height: auto; /* مهم: ارتفاع واقعی تصویر حفظ می‌شود */
                display: block; /* حذف whitespace زیر تصویر */
                object-fit: contain; /* حفظ تمام تصویر (هیچ برشی) */
                object-position: center center;
                background-color: transparent;
            }

            /* گرادینت/کاور پایین اسلاید: حتما absolute باشه تا **فضا اشغال نکنه** */
            .hero .slide > div.absolute {
                position: absolute !important;
                left: 0;
                right: 0;
                bottom: 0;
                pointer-events: none;
                z-index: 2;
            }

    /* دکمه‌های هدایت در موبایل کوچکتر شوند */
    @media (max-width: 600px) {
        .hero .ctrl {
            --btn-size: 16px; /* اندازه کل دکمه */
            --icon-size: 12px; /* اندازه فلش داخل دکمه */
            width: var(--btn-size);
            height: var(--btn-size);
        }

            .hero .ctrl svg {
                width: var(--icon-size);
                height: var(--icon-size);
            }
    }

    #prevSlide {
        left: 6px;
    }

    #nextSlide {
        right: 6px;
    }
}


/* ===== Accent colors for jobCat ===== */
#jobCat.cat-section {
    --accent-from: #15b77e;
    --accent-to: #007a51;
}

/* ===== Scrollbars / helpers ===== */
.scroll-pretty::-webkit-scrollbar {
    width: 10px;
}

.scroll-pretty::-webkit-scrollbar-track {
    background: #e8eef5;
    border-radius: 9999px;
}

.scroll-pretty::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,var(--accent-from),var(--accent-to));
    border-radius: 9999px;
    border: 2px solid #e8eef5;
}

.scroll-pretty {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-from) #e8eef5;
}

.scroll-rtl-right {
    direction: ltr;
}

    .scroll-rtl-right > .rtl-content {
        direction: rtl;
    }

.cat-scroll {
    --card-h: 6.9rem;
    --gap: 1.25rem;
    max-height: calc(var(--card-h)*2 + var(--gap));
}

.cat-card {
    height: var(--card-h);
}

.u-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.u-break {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.ribbon {
    position: relative;
    overflow: hidden;
}

    .ribbon::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: linear-gradient(90deg,var(--accent-from),var(--accent-to));
        opacity: .9;
    }

.card-square:hover::before {
    content: none !important;
}

.card-square:hover {
    box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 12px 26px rgba(0,0,0,.12);
}

@media (prefers-reduced-motion:reduce) {
    .cat-card, .cat-card * {
        transition: none !important;
    }
}

/* ===== Cat section scroller ===== */
#jobCat .cat-scroll {
    position: relative;
    scrollbar-gutter: stable both-edges;
}

    #jobCat .cat-scroll::-webkit-scrollbar {
        width: 14px;
    }

    #jobCat .cat-scroll::-webkit-scrollbar-track {
        background: #dbe8e3;
        border-radius: 9999px;
    }

    #jobCat .cat-scroll::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg,var(--accent-from),var(--accent-to));
        border-radius: 9999px;
        border: 3px solid #dbe8e3;
    }

#jobCat .cat-scroll {
    scrollbar-width: auto;
    scrollbar-color: var(--accent-from) #dbe8e3;
}

.scroll-fade::before, .scroll-fade::after {
    content: "";
    position: absolute;
    left: 0;
    right: 16px;
    height: 18px;
    pointer-events: none;
    z-index: 2;
}

.scroll-fade::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(248,250,252,.95), rgba(248,250,252,0));
}

.scroll-fade::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(248,250,252,.95), rgba(248,250,252,0));
}

.has-hint .scroll-hint {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 3;
    opacity: .95;
}

    .has-hint .scroll-hint .chev {
        color: var(--accent-from);
        animation: scrollCue 1.2s ease-in-out infinite;
        filter: drop-shadow(0 1px 0 rgba(0,0,0,.08));
    }

    .has-hint .scroll-hint span {
        font-size: 11px;
        line-height: 1;
        color: #3b4957;
        background: rgba(255,255,255,.92);
        padding: 3px 6px;
        border-radius: 9999px;
        box-shadow: 0 1px 2px rgba(0,0,0,.08);
    }

@keyframes scrollCue {
    0%,100% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(3px);
    }
}

/* ===== New stores horizontal scroller ===== */
#newStores .h-scroll-viewport {
    position: relative;
    direction: rtl;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-gutter: stable both-edges;
    overscroll-behavior-x: contain;
}

#newStores .h-scroll {
    --gap: .75rem;
    --cols: 2.2;
    display: grid;
    grid-auto-flow: column;
    gap: var(--gap);
    grid-auto-columns: clamp(170px, calc((100% - (var(--gap) * (var(--cols) - 1))) / var(--cols)), 240px);
    padding-inline: .25rem;
}

@media (min-width:640px) {
    #newStores .h-scroll {
        --cols: 3;
        --gap: .9rem;
    }
}

@media (min-width:1024px) {
    #newStores .h-scroll {
        gap: 1rem;
        grid-auto-columns: calc((100% - (1rem * 4)) / 5);
    }
}

#newStores .store-card {
    scroll-snap-align: start;
    min-width: 170px;
}

#newStores .h-scroll-viewport::-webkit-scrollbar {
    height: 12px;
}

#newStores .h-scroll-viewport::-webkit-scrollbar-track {
    background: #e8eef5;
    border-radius: 9999px;
}

#newStores .h-scroll-viewport::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg,var(--accent-from),var(--accent-to));
    border-radius: 9999px;
    border: 3px solid #e8eef5;
}

#newStores .h-scroll-viewport {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-from) #e8eef5;
}

#newStores .has-hint-x .scroll-hint-x {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 5;
    opacity: .95;
    will-change: opacity;
}

    #newStores .has-hint-x .scroll-hint-x .chev-x {
        color: var(--accent-from);
        animation: scrollCueX 1.2s ease-in-out infinite;
        filter: drop-shadow(0 1px 0 rgba(0,0,0,.08));
    }

    #newStores .has-hint-x .scroll-hint-x span {
        font-size: 11px;
        line-height: 1;
        color: #3b4957;
        background: rgba(255,255,255,.92);
        padding: 3px 6px;
        border-radius: 9999px;
        box-shadow: 0 1px 2px rgba(0,0,0,.08);
    }

@keyframes scrollCueX {
    0%,100% {
        transform: translateX(2px);
    }

    50% {
        transform: translateX(-6px);
    }
}

#newStores .h-scroll-viewport {
    cursor: grab;
    user-select: none;
}

    #newStores .h-scroll-viewport.is-dragging {
        cursor: grabbing;
    }


/* --- Ad Banner --- */
#adMid .ad-box {
    width: 100%;
    height: clamp(110px,18vw,240px);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

#adMid .ad-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#adMid .card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 8px 18px rgba(0,0,0,.08);
    overflow: hidden;
}

    #adMid .card:hover {
        box-shadow: 0 12px 26px rgba(0,0,0,.12);
        border-color: #15b77e40;
        transition: box-shadow .25s ease, border-color .25s ease;
    }

.ad-banner {
    aspect-ratio: 1920 / 256;
    max-width: 100%;
}


/* 
   کارت‌های اصناف (ریسپانسیو + بدون هم‌پوشانی)
*/
#jobCat {
    --tri: clamp(42px, 12vw, 72px);
    --tri2: clamp(36px, 10vw, 60px);
}

    #jobCat .cat-card {
        position: relative;
        isolation: isolate;
        border-radius: .75rem;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        background: #fff;
        box-shadow: 0 .5px 0 rgba(0,0,0,.04), 0 6px 14px rgba(0,0,0,.08);
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
        padding-top: calc(14px + var(--tri) * 0.60);
        padding-bottom: calc(12px + var(--tri2) * 0.60);
    }

@media (max-width:480px) {
    #jobCat .cat-card {
        padding-top: calc(16px + var(--tri) * 0.68);
        padding-bottom: calc(14px + var(--tri2) * 0.68);
    }
}

#jobCat .cat-card > * {
    position: relative;
    z-index: 2;
}

#jobCat .cat-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: var(--tri);
    height: var(--tri);
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-bottom-right-radius: 14px;
    z-index: 0;
    pointer-events: none;
}

#jobCat .cat-card::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: var(--tri2);
    height: var(--tri2);
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    border-top-left-radius: 16px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform .22s ease-out;
    z-index: 0;
    pointer-events: none;
}

#jobCat .cat-card:hover::after,
#jobCat .cat-card:focus-visible::after {
    transform: scale(1);
}

/* ——— متن و آیکون‌ها ——— */
#jobCat .cat-card > .category-name {
    position: static !important;
    z-index: 2;
}

#jobCat .cat-card .category-name {
    transition: color .25s ease;
    display: block;
    overflow: visible !important;
}

    #jobCat .cat-card .category-name.u-clamp-2 {
        -webkit-line-clamp: unset !important;
    }

#jobCat .cat-card:hover .category-name::before,
#jobCat .cat-card:focus-visible .category-name::before {
    color: var(--accent-from);
    text-shadow: none;
}
.material-icons {
    text-shadow: 0 1px 1px rgba(0,0,0,.15);
}

#jobCat .cat-card .category-name::after {
    display:none;
    content: "\f54e"; /* fa-store */
    position: absolute !important;
    bottom: max(8px, calc(var(--tri2) * 0.20));
    right: max(10px, calc(var(--tri2) * 0.18));
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: clamp(12px, 3vw, 16px);
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.15);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transform: translate(6px,6px) scale(.9);
    transition: opacity .18s ease-out, transform .18s ease-out;
}

#jobCat .cat-card:hover .category-name::after,
#jobCat .cat-card:focus-visible .category-name::after {
    opacity: 1;
    transform: translate(0,0) scale(1);
}

#jobCat .cat-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in oklab, var(--accent-from), transparent 60%);
    box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 12px 22px rgba(0,0,0,.12);
}

    #jobCat .cat-card:hover .category-name,
    #jobCat .cat-card:focus-visible .category-name {
        color: color-mix(in oklab, var(--accent-from), black 12%);
    }

#categoriesContainer {
    padding-bottom: 1rem;
}

#jobCat .cat-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-from), white 68%), 0 0 0 6px #fff;
}

@media (prefers-reduced-motion:reduce) {
    .cat-card, .cat-card * {
        transition: none !important;
    }
}

#jobCat .cat-scroll {
    --card-h: 7.2rem;
    --row-gap: 1rem;
    --reserve: 22px;
    max-height: calc((var(--card-h) * 2) + var(--row-gap) + var(--reserve));
}

@media (max-width:480px) {
    #jobCat .cat-scroll {
        --card-h: 7rem;
        --row-gap: 0.9rem;
        --reserve: 26px;
    }
}

@media (min-width:768px) {
    #jobCat .cat-scroll {
        --card-h: 7.4rem;
        --row-gap: 1rem;
        --reserve: 18px;
    }
}

#jobCat #categoriesContainer {
    row-gap: var(--row-gap);
}

#newStores .h-scroll-viewport {
    padding-top: 8px;
    padding-bottom: 24px !important;
}

@media (min-width:640px) {
    #newStores .h-scroll-viewport {
        padding-bottom: 28px !important;
    }
}

@media (min-width:1024px) {
    #newStores .h-scroll-viewport {
        padding-bottom: 32px !important;
    }
}

#newStores .h-scroll {
    padding-bottom: 8px;
}

#newStores .has-hint-x .scroll-hint-x {
    position: absolute;
    left: max(8px, env(safe-area-inset-left, 0px) + 6px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 5;
    opacity: .95;
    will-change: opacity, transform;
}

    #newStores .has-hint-x .scroll-hint-x .chev-x {
        color: var(--accent-from);
        width: clamp(16px, 4.8vw, 22px);
        height: clamp(16px, 4.8vw, 22px);
        animation: scrollCueX 1.2s ease-in-out infinite;
        filter: drop-shadow(0 1px 0 rgba(0,0,0,.08));
    }

    #newStores .has-hint-x .scroll-hint-x span {
        font-size: clamp(10px, 3.2vw, 12px);
        line-height: 1;
        color: #3b4957;
        background: rgba(255,255,255,.92);
        padding: 3px 6px;
        border-radius: 9999px;
        box-shadow: 0 1px 2px rgba(0,0,0,.08);
    }

@media (max-width: 480px) {
    #newStores .has-hint-x .scroll-hint-x {
        top: auto;
        bottom: max(10px, env(safe-area-inset-bottom, 0px) + 8px);
        transform: none;
        left: max(8px, env(safe-area-inset-left, 0px) + 8px);
        gap: 5px;
    }

        #newStores .has-hint-x .scroll-hint-x span {
            font-size: 10px;
            padding: 2px 6px;
        }
}

@media (max-width: 360px) {
    #newStores .has-hint-x .scroll-hint-x span {
        display: none;
    }
}

#newStores .scroll-hint-x span {
    display: none;
}

@media (hover: none) and (pointer: coarse) and (max-width: 900px) {
    #newStores .scroll-hint-x span {
        display: inline-block !important;
    }
}

#newStores .h-scroll[dir="rtl"] {
    padding-inline-start: 1rem;
    padding-inline-end: 0.5rem;
}

/* کرسر و جلوگیری از انتخاب متن فقط موقع درگ */
#jobCat .cat-scroll {
    cursor: grab;
}

    #jobCat .cat-scroll.is-dragging {
        cursor: grabbing;
    }

        #jobCat .cat-scroll.is-dragging, #jobCat .cat-scroll.is-dragging * {
            user-select: none;
            -webkit-user-select: none;
        }


#midAd .ad-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 375; /* نسبت دقیق تصویر */
    overflow: hidden;
    border: none; /* اگه نمی‌خوای قاب سفید دیده بشه */
    background: transparent; /* بدون رنگ اضافی */
    box-shadow: none; /* بدون سایه اضافی */
}

    #midAd .ad-banner img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: fill; /* تصویر دقیقاً با نسبت قاب یکیه → هیچ برشی و هیچ فضای خالی نداره */
    }

.store-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

    .store-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    }

.status-badge {
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

.ribbon-vertical {
    position: fixed;
    top: 20%;
    right: 0;
    width: 220px;
    padding: 20px 15px;
    background: linear-gradient(180deg,#ff6f00,#ff8f00);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease,transform 0.2s ease;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

    .ribbon-vertical:hover {
        box-shadow: 0 0 30px rgba(255,0,0,0.8),0 0 50px rgba(255,0,0,0.5),0 0 20px rgba(255,140,0,0.5),0 0 15px rgba(0,0,0,0.3);
        transform: scale(1.05)
    }

    .ribbon-vertical .icon, .ribbon-vertical .cart {
        font-size: 28px;
        margin-bottom: 10px;
        display: block;
        animation: flash 1.5s infinite alternate;
        text-shadow: 0 0 6px rgba(0,0,0,0.6),0 0 10px rgba(255,140,0,0.8);
    }

    .ribbon-vertical .text-horizontal {
        writing-mode: horizontal-tb;
        display: block;
        white-space: nowrap;
        font-size: 16px
    }

@keyframes flash {
    0% {
        opacity: .7;
        transform: rotate(-10deg) scale(1)
    }

    50% {
        opacity: 1;
        transform: rotate(10deg) scale(1.1)
    }

    100% {
        opacity: .8;
        transform: rotate(0deg) scale(1)
    }
}

.particle {
    position: absolute;
    font-size: 48px;
    pointer-events: none;
    color: rgba(255,255,0,.5);
    text-shadow: 0 0 8px rgba(255,255,0,.3),0 0 16px rgba(255,200,0,.4);
    animation: float linear forwards;
    will-change: transform,opacity;
    user-select: none
}

@keyframes float {
    0% {
        transform: translate(0,0) scale(.6);
        opacity: .5
    }

    100% {
        transform: translate(var(--dx),-25vh) scale(1);
        opacity: 0
    }
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .slide.active {
        opacity: 1;
        transform: translateX(0);
    }

    .slide.prev {
        transform: translateX(-100%);
    }

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }

.luxury-gradient {
    background: linear-gradient(270deg, #0a3d2a, #0f4c2e, #166644, #1e8449, #27ae60, #1e8449, #166644, #0f4c2e, #0a3d2a);
    background-size: 800% 800%;
    animation: slowFlow 45s linear infinite;
    position: relative;
    overflow: hidden;
}

@keyframes slowFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.luxury-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.06) 70%, transparent);
    animation: gentleShine 10s linear infinite;
    pointer-events: none;
}

@keyframes gentleShine {
    0% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* مخفی کردن اسکرول‌بار */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }

/* هاور نرم و حرفه‌ای */
.hover\:scale-110:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.4);
}