.rtl-dir {
    direction: rtl;
}

.test {
    height: 100px;
}

.persian-number {}

.make-full-width {
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px 5px 15px;
    box-sizing: border-box;
}

/* === گرادیان‌های دوکان (پالت سبز) === */

/* Hero Banner - سبز اصلی */
.food-gradiant {
    background: linear-gradient(135deg,
            #087A38 0%,
            #0a9945 55%,
            #1db85a 100%);
}

/* کارت promo - سبز تیره + نارنجی accent */
.stores-gradiant {
    background: linear-gradient(135deg,
            #05652D 0%,
            #087A38 55%,
            #FF8A00 100%);
}

/* کارت promo روشن */
.stores-gradiant2 {
    background: linear-gradient(135deg,
            #FFF1DD 0%,
            #FFE4B5 50%,
            #FFDEA0 100%);
}

/* === استایل‌های هدر موبایل دوکان === */
/* === استایل‌های هدر موبایل دوکان (کامپکت در سایر صفحات و دارای پدینگ هلال عمیق در صفحه هوم) === */
.dookan-mobile-header {
    background: linear-gradient(180deg, #087A38 0%, #06642E 100%) !important;
    border-radius: 0 0 20px 20px !important;
    padding: 10px 14px 14px 14px !important;
    position: relative !important;
    z-index: 1 !important;
    box-shadow: 0 4px 18px rgba(8, 122, 56, 0.2);
    direction: rtl;
}

/* فقط در صفحه اصلی (هوم) به خاطر همپوشانی بنر هیرو، پدینگ و هلال عمیق فعال می‌شود */
body[data-active-page="home"] .dookan-mobile-header,
body:not([data-active-page]) .dookan-mobile-header {
    border-radius: 0 0 50% 50% / 0 0 45px 45px !important;
    padding: 10px 14px 95px 14px !important;
}

/* ردیف اول: بل | لوگو | سبد خرید */
.dookan-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 8px;
    direction: rtl;
}

.dookan-header-left,
.dookan-header-right {
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dookan-header-center {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dookan-logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dookan-header-logo-img {
    height: 40px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    display: inline-block;
}

.dookan-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

/* آیکون‌های بدون کادر دایره‌ای */
.dookan-icon-btn {
    color: #ffffff !important;
    font-size: 23px !important;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 4px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.2s ease;
}

.dookan-icon-btn:hover {
    transform: scale(1.08);
    color: #fff !important;
}

/* بنر هیرو ارسال سریع (عکس اول - ۵۰٪ همپوشان روی نیم‌دایره سبز) */
.dookan-hero-banner-wrap {
    margin-top: -80px !important;
    margin-bottom: 22px !important;
    position: relative !important;
    z-index: 20 !important;
    padding: 0 2px;
}

.dookan-hero-banner-card {
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    position: relative !important;
    z-index: 20 !important;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.dookan-hero-banner-card:active {
    transform: scale(0.985);
}

.dookan-hero-banner-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
}

/* ==========================================================================
   بنر هیرو انیمیشنی ارسال سریع دوکان ۲۴ (Interactive Animated Hero Banner)
   ========================================================================== */
.dookan-hero-animated-box {
    position: relative;
    width: 100%;
    height: clamp(195px, 48vw, 320px);
    border-radius: 26px;
    overflow: hidden;
    background: #087A38;
    box-shadow: 0 14px 32px rgba(8, 122, 56, 0.24), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

@media (hover: hover) {
    .dookan-hero-banner-card:hover .dookan-hero-animated-box {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(8, 122, 56, 0.3), 0 6px 16px rgba(0, 0, 0, 0.12);
    }
}

.dookan-hero-banner-card:active .dookan-hero-animated-box {
    transform: scale(0.985);
}

/* ── لایه ۱: پس‌زمینه چشم‌انداز و گرادیان ── */
.dookan-hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.dookan-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    transform: scale(1.02);
    animation: dookanBgBreathe 16s ease-in-out infinite alternate;
}

@keyframes dookanBgBreathe {
    0% { transform: scale(1.02) translate(0, 0); }
    100% { transform: scale(1.06) translate(-1%, -1%); }
}

.dookan-hero-bg-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(3, 50, 22, 0.88) 0%, 
        rgba(3, 50, 22, 0.72) 26%, 
        rgba(5, 78, 35, 0.32) 48%, 
        rgba(5, 78, 35, 0.05) 68%, 
        rgba(5, 78, 35, 0.15) 100%
    );
    pointer-events: none;
}

.dookan-hero-ambient-glow {
    position: absolute;
    top: -20%;
    right: 5%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 245, 180, 0.28) 0%, transparent 65%);
    pointer-events: none;
}

/* ── لایه ۲: انیمیشن مسیر ارسال و پین لوکیشن ── */
.dookan-hero-route-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.dookan-hero-route-svg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.dookan-route-line {
    stroke: rgba(255, 255, 255, 0.95);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-dasharray: 6 9;
    stroke-dashoffset: 0;
    animation: dookanRouteDash 1.2s linear infinite;
}

.dookan-route-glow {
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 6 9;
    stroke-dashoffset: 0;
    animation: dookanRouteDash 1.2s linear infinite;
    filter: blur(2.5px);
}

@keyframes dookanRouteDash {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -30; }
}

.dookan-dest-pin {
    position: absolute;
    top: 7%;
    left: calc(44% - 30px);
    right: auto;
    width: 32px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: dookanPinFloat 3.2s ease-in-out infinite;
    pointer-events: none;
}

.dookan-pin-svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.32));
    display: block;
}

.dookan-pin-pulse {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 4px;
    left: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: dookanPinWave 2.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    z-index: 1;
}

@keyframes dookanPinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes dookanPinWave {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ── لایه ۳: کاراکتر متحرک پیک (موتور زنده، کمک‌فنر، باد، نور) ── */
.dookan-courier-layer {
    position: absolute;
    right: 0%;
    bottom: -5%;
    width: 48%;
    max-width: 270px;
    min-width: 165px;
    z-index: 3;
    pointer-events: none;
}

.dookan-courier-character {
    position: relative;
    z-index: 3;
    animation: dookanCourierRide 3.2s ease-in-out infinite;
    transform-origin: 45% 85%;
    will-change: transform;
}

.dookan-courier-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

@keyframes dookanCourierRide {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    30% { transform: translateY(-2.2px) rotate(-0.35deg); }
    65% { transform: translateY(1px) rotate(0.2deg); }
    85% { transform: translateY(-0.8px) rotate(-0.1deg); }
}

/* سایه دینامیک زیر چرخ‌ها */
.dookan-scooter-shadow {
    position: absolute;
    bottom: 5%;
    right: 18%;
    width: 65%;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(3, 40, 15, 0.55) 0%, rgba(3, 40, 15, 0.15) 50%, transparent 75%);
    border-radius: 50%;
    z-index: 1;
    animation: dookanShadowPulse 3.2s ease-in-out infinite;
}

@keyframes dookanShadowPulse {
    0%, 100% { transform: scaleX(1) scaleY(1); opacity: 0.8; }
    30% { transform: scaleX(0.95) scaleY(0.9); opacity: 0.65; }
    65% { transform: scaleX(1.02) scaleY(1.03); opacity: 0.85; }
    85% { transform: scaleX(0.98) scaleY(0.95); opacity: 0.72; }
}

/* هاله نور چراغ جلو موتور (رو به چپ) */
.dookan-headlight-beam {
    position: absolute;
    top: 42%;
    left: 8%;
    width: 140px;
    height: 80px;
    background: radial-gradient(ellipse at 85% 50%, rgba(255, 245, 175, 0.65) 0%, rgba(255, 240, 140, 0.25) 45%, transparent 75%);
    transform: rotate(14deg);
    pointer-events: none;
    z-index: 4;
    animation: dookanHeadlightBlink 2.4s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes dookanHeadlightBlink {
    0%, 100% { opacity: 0.75; transform: rotate(14deg) scale(1); }
    50% { opacity: 0.95; transform: rotate(13deg) scale(1.08); }
}

/* خطوط شتاب و باد در پشت باربند دوکان */
.dookan-speed-trails {
    position: absolute;
    top: 32%;
    right: 6%;
    width: 80px;
    height: 45px;
    z-index: 2;
    pointer-events: none;
}

.speed-trail {
    position: absolute;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 4px;
    animation: dookanWindDash 1.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.speed-trail.st-1 { top: 6px; width: 45px; animation-delay: 0s; }
.speed-trail.st-2 { top: 20px; width: 65px; animation-delay: 0.35s; }
.speed-trail.st-3 { top: 34px; width: 35px; animation-delay: 0.7s; }

@keyframes dookanWindDash {
    0% { transform: translateX(0); opacity: 0; }
    30% { opacity: 0.85; }
    100% { transform: translateX(50px); opacity: 0; }
}

/* ── لایه ۴: محتوای متنی، زمان‌سنج و دکمه تعاملی ── */
.dookan-hero-content-layer {
    position: absolute;
    top: 0;
    left: clamp(10px, 3vw, 18px);
    bottom: 0;
    width: auto;
    max-width: 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    z-index: 4;
    direction: ltr; /* هدایت کل بلوک به سمت چپ کادر */
}

.dookan-hero-content-layer > * {
    direction: rtl; /* متن‌ها و آیکون‌ها راست‌به‌چپ طبیعی فارسی */
    text-align: right;
}

.dookan-hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 3px 10px;
    color: #FFFFFF;
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: 700;
    width: fit-content;
    margin-bottom: clamp(6px, 1.4vw, 10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dookan-hero-title-group {
    margin-bottom: clamp(8px, 2vw, 14px);
}

.dookan-hero-main-title {
    font-size: clamp(21px, 5.4vw, 34px);
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 clamp(4px, 1vw, 8px) 0;
    letter-spacing: -0.5px;
    line-height: 1.18;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dookan-hero-time-row {
    display: flex;
    align-items: center;
    gap: clamp(5px, 1.2vw, 8px);
    flex-wrap: wrap;
}

.dookan-hero-time-pre {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(12px, 3.1vw, 16px);
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.dookan-hero-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #FBBF24;
    font-weight: 900;
    font-size: clamp(14px, 3.8vw, 20px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.dookan-timer-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dookan-timer-icon {
    font-size: clamp(13px, 3.4vw, 18px);
    color: #FBBF24;
    animation: dookanTimerTick 2.2s ease-in-out infinite;
}

@keyframes dookanTimerTick {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.1); color: #FDE047; }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(8deg) scale(1.1); color: #F59E0B; }
}

/* دکمه شیک و درخشان سفارش دهید */
.dookan-hero-cta-wrap {
    margin-top: 2px;
}

.dookan-hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: #087A38;
    font-weight: 800;
    font-size: clamp(12px, 3vw, 15px);
    padding: clamp(7px, 1.6vw, 10px) clamp(18px, 4vw, 26px);
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.dookan-hero-cta-btn:hover {
    background: #F0FDF4;
    color: #05652D;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dookan-hero-cta-btn:active {
    transform: translateY(0) scale(0.97);
}

.dookan-cta-icon {
    font-size: clamp(11px, 2.5vw, 13px);
    transition: transform 0.2s ease;
}

.dookan-hero-cta-btn:hover .dookan-cta-icon {
    transform: translateX(-3px);
}

/* افکت شیمر / درخشش دوره‌ای روی دکمه */
.dookan-cta-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(8, 122, 56, 0.15) 50%, transparent 80%);
    transform: translateX(100%);
    animation: dookanCtaSweep 3.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dookanCtaSweep {
    0%, 60% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ── کاهش حرکات در صورت تنظیمات کاربر (Accessibility) ── */
@media (prefers-reduced-motion: reduce) {
    .dookan-courier-character,
    .dookan-route-line,
    .dookan-route-glow,
    .dookan-dest-pin,
    .dookan-pin-pulse,
    .dookan-scooter-shadow,
    .dookan-headlight-beam,
    .speed-trail,
    .dookan-timer-icon,
    .dookan-cta-shimmer,
    .dookan-hero-bg-img {
        animation: none !important;
    }
}


/* اسلایدر اسلایدهای موبایل (پیش‌نمایش اسلایدهای قبل و بعد طبق عکس دوم) */
.dookan-mobile-slider-wrap {
    margin-top: 10px;
    margin-bottom: 22px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dookan-mobile-swiper {
    width: 100%;
    padding: 4px 0 6px 0 !important;
    overflow: visible !important;
}

.dookan-mobile-slide-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.dookan-mobile-slide-card:active {
    transform: scale(0.985);
}

.dookan-mobile-slide-card img {
    width: 100% !important;
    height: 165px !important;
    object-fit: cover !important;
    display: block;
    border-radius: 18px;
}

@media (max-width: 480px) {
    .dookan-mobile-slide-card img {
        height: 155px !important;
    }
}

.dookan-mobile-slider-pagination {
    position: relative !important;
    margin-top: 10px !important;
    bottom: auto !important;
    text-align: center;
}

.dookan-mobile-slider-pagination .swiper-pagination-bullet {
    background: #D1D5DB;
    opacity: 0.7;
    width: 7px;
    height: 7px;
    margin: 0 3px !important;
    transition: all 0.3s;
}

.dookan-mobile-slider-pagination .swiper-pagination-bullet-active {
    background: #087A38 !important;
    width: 20px;
    border-radius: 4px;
    opacity: 1;
}

/* بج نارنجی شمارنده با عدد کاملاً وسط‌چین */
.dookan-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #FF8A00;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    font-family: inherit !important;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 17px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1.5px solid #087A38;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* ردیف دوم: نوار آدرس وسط‌چین و راست‌چین */
.dookan-address-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    padding: 6px 16px 8px;
    cursor: pointer;
    gap: 6px;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
}

.dookan-pin {
    color: #FF8A00;
    font-size: 14px;
    flex-shrink: 0;
}

.dookan-address-text {
    flex: initial;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-align: right;
}

.dookan-address-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.dookan-address-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    display: inline-block;
}

.dookan-chevron {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    flex-shrink: 0;
    margin-right: 2px;
}

/* ردیف سوم: جستجو */
.dookan-search-bar {
    padding: 4px 12px 12px;
}

.dookan-search-inner {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 25px;
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.dookan-search-inner:hover {
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
}

.dookan-search-icon {
    color: #087A38;
    font-size: 14px;
    flex-shrink: 0;
}

.dookan-search-placeholder {
    color: #9CA3AF;
    font-size: 13px;
    flex: 1;
}

/* تنظیم فضای اضافه و لایه‌بندی برای همپوشانی بنر هیرو روی هدر */
.page-content {
    position: relative !important;
    z-index: 10 !important;
    padding-top: 0 !important;
}

.content-inner {
    position: relative !important;
    z-index: 10 !important;
    padding-top: 0 !important;
}

@media (max-width: 767.98px) {
    .content-inner .container#content {
        position: relative !important;
        z-index: 10 !important;
        padding-top: 0 !important;
    }
}



.swiper {
    padding: 8px 0 15px 0;
}

.header-info {
    display: flex;
    /* استفاده از فلکس باکس */
    justify-content: space-between;
    /* فضای بین تایتل و رتبه */
    align-items: center;
    /* هم‌ترازی عمودی */
    margin-bottom: 10px;
    /* فاصله از بخش پایینی */
}

.header-info .title {
    margin-bottom: 0;
    /* حذف مارجین پایینی تایتل */
    flex-grow: 1;
    /* اجازه رشد به تایتل */
    margin-right: 5px;
    /* فاصله از بخش رتبه */
}

.header-info .review {
    white-space: nowrap;
    /* جلوگیری از شکستن خط در بخش رتبه */
    display: flex;
    align-items: center;
}

.header-info .review .fa-star {
    margin-right: 5px;
    /* فاصله ستاره از عدد */
}

.store-card-body .operating-hours .hour-item {
    display: block;
    /* هر مورد در خط جدا */
    margin-bottom: 2px;
    font-size: 0.9rem;
    color: #495057;
    /* رنگ متن زمان */
}

.store-card-body .operating-hours .delivery-info {
    font-weight: bold;
    /* برجسته کردن اطلاعات ارسال */
    color: #198754;
    /* رنگ سبز برای اطلاعات ارسال */
    margin-top: 4px;
    /* کمی فاصله از زمان‌ها */
}

.address-btn {
    text-align: right;
    padding-right: 10px;
    direction: rtl;
}

.search_close {
    background-color: #e3e3e3 !important;
    font-size: 35px !important;

}

.search-tags-container .badge {
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.search-tags-container .badge:hover {
    background-color: var(--primary) !important;
    color: white !important;
}

.page-skeleton {
    padding: 20px;
}

.sk {
    background: linear-gradient(90deg, #ddd 25%, #e9e9e9 50%, #ddd 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 8px;
    margin-bottom: 15px;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.sk-banner {
    height: 200px;
    width: 100%;
}

/* اسکلتون هیرو بنر در صفحه اصلی تا در زمان لود هیچ پرش و جابجایی رخ ندهد */
body[data-active-page="home"] .page-skeleton .sk-banner {
    margin-top: -80px !important;
    margin-bottom: 22px !important;
    border-radius: 26px !important;
    height: clamp(195px, 48vw, 320px) !important;
}

.sk-title {
    height: 28px;
    width: 50%;
}

.sk-text {
    height: 14px;
    width: 100%;
}

.sk-text.short {
    width: 70%;
}

.sk-grid {
    display: flex;
    gap: 15px;
}

.sk-card {
    height: 150px;
    flex: 1;
}


/* انیمیشن حرکت موجی */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.skeleton-card div {
    background: linear-gradient(90deg, #ddd 25%, #e9e9e9 50%, #ddd 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite linear;
}

#productModal img {
    max-width: 70%;
    /* یا هر عدد دلخواه */
    height: auto;
    margin: 0 auto;
    display: block;
}

.store-banner {
    width: 100%;
    /* height: 150px; */
    /* object-fit: cover; */
    /* overflow: hidden; */
    border-radius: 9px;
}

.store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.category-card-link {
    text-decoration: none;
    display: block;
}

.category-card {
    text-align: center;
    padding: 8px 4px;
    transition: transform 0.2s ease;
}

.category-card:active {
    transform: scale(0.95);
}

.category-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.2);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-box {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 122, 56, 0.3);
}

.category-icon-box i {
    font-size: 24px;
    color: #ffffff;
}

.category-title {
    font-size: 12px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.categorie-swiper .swiper-slide {
    width: auto;
    min-width: 70px;
}


.cart-stepper-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-stepper-wrapper button {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.dz-list .dz-icon {
    margin-left: 10px;
    margin-right: 0;
}

#vendor_products {
    min-height: 1000px;
    align-content: flex-start;
    /* مهم */
}

#vendor_products>[class*="col-"] {
    align-self: flex-start;
}

/* ===== یکسان‌سازی ارتفاع کارت‌های تخفیف ===== */

.swiper-slide:has(> .card-item.style-1) {
    height: auto !important;
    display: flex;
}

.swiper-slide:has(> .card-item.style-1)>.card-item {
    width: 100%;
}

.card-item.style-1 .dz-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-item.style-1 .dz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* ===== انیمیشن و نشانگر سبد خرید ===== */
#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f18882;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

@keyframes cartBounce {}

.sk-banner {
    height: 200px;
    width: 100%;
}

.sk-title {
    height: 28px;
    width: 50%;
}

.sk-text {
    height: 14px;
    width: 100%;
}

.sk-text.short {
    width: 70%;
}

.sk-grid {
    display: flex;
    gap: 15px;
}

.sk-card {
    height: 150px;
    flex: 1;
}


/* انیمیشن حرکت موجی */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.skeleton-card div {
    background: linear-gradient(90deg, #ddd 25%, #e9e9e9 50%, #ddd 75%);
    background-size: 400px 100%;
    animation: shimmer 1.5s infinite linear;
}

#productModal img {
    max-width: 70%;
    /* یا هر عدد دلخواه */
    height: auto;
    margin: 0 auto;
    display: block;
}

.store-banner {
    width: 100%;
    /* height: 150px; */
    /* object-fit: cover; */
    /* overflow: hidden; */
    border-radius: 9px;
}

.store-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}

.category-card-link {
    text-decoration: none;
    display: block;
}

.category-card {
    text-align: center;
    padding: 8px 4px;
    transition: transform 0.2s ease;
}

.category-card:active {
    transform: scale(0.95);
}

.category-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.2);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon-box {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 122, 56, 0.3);
}

.category-icon-box i {
    font-size: 24px;
    color: #ffffff;
}

.category-title {
    font-size: 12px;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
}

.categorie-swiper .swiper-slide {
    width: auto;
    min-width: 70px;
}


.cart-stepper-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-stepper-wrapper button {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.dz-list .dz-icon {
    margin-left: 10px;
    margin-right: 0;
}

#vendor_products {
    min-height: 1000px;
    align-content: flex-start;
    /* مهم */
}

#vendor_products>[class*="col-"] {
    align-self: flex-start;
}

/* ===== یکسان‌سازی ارتفاع کارت‌های تخفیف ===== */

.swiper-slide:has(> .card-item.style-1) {
    height: auto !important;
    display: flex;
}

.swiper-slide:has(> .card-item.style-1)>.card-item {
    width: 100%;
}

.card-item.style-1 .dz-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-item.style-1 .dz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* ===== انیمیشن و نشانگر سبد خرید ===== */
#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff3b30;
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.6);
        box-shadow: 0 4px 10px rgba(255, 59, 48, 0.6);
    }

    100% {
        transform: scale(1);
    }
}

.cart-bounce {
    animation: cartBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== سیستم توست آلرت اختصاصی دوکان ===== */
#toast-container {
    position: fixed !important;
    top: 88px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    pointer-events: none !important;
    direction: rtl !important;
}

@media(min-width: 768px) {
    #toast-container {
        width: 100% !important;
        max-width: 480px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        padding: 0 !important;
        top: 96px !important;
    }
}

#toast-container>div,
#toast-container>.dento-toast,
.dento-toast {
    position: relative !important;
    width: 100% !important;
    max-width: 380px !important;
    box-sizing: border-box !important;
    background-image: none !important;
    /* حذف آیکون دوم پس‌زمینه اضافه شده توسط mapp.min.css */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #ffffff !important;
    /* متن سفید کاملاً خوانا با بالاترین کنتراست */
    padding: 12px 18px !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    pointer-events: auto !important;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.25) !important;
    background: rgba(18, 24, 38, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin: 0 0 8px 0 !important;
}

/* پس‌زمینه‌ها و اورراید کامل کلاس‌های mapp.min.css با طراحی مدرن شیشه‌ای تیره */
#toast-container>div.toast-success,
.dento-toast.toast-success {
    background-image: none !important;
    background: rgba(18, 24, 38, 0.96) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(16, 185, 129, 0.15) !important;
}
#toast-container>div.toast-success i,
.dento-toast.toast-success i {
    color: #34d399 !important;
}

#toast-container>div.toast-error,
#toast-container>div.toast-danger,
.dento-toast.toast-error,
.dento-toast.toast-danger {
    background-image: none !important;
    background: rgba(18, 24, 38, 0.96) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(239, 68, 68, 0.15) !important;
}
#toast-container>div.toast-error i,
#toast-container>div.toast-danger i,
.dento-toast.toast-error i,
.dento-toast.toast-danger i {
    color: #f87171 !important;
}

#toast-container>div.toast-warning,
.dento-toast.toast-warning {
    background-image: none !important;
    background: rgba(18, 24, 38, 0.96) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(245, 158, 11, 0.18) !important;
}
#toast-container>div.toast-warning i,
.dento-toast.toast-warning i {
    color: #fbbf24 !important;
}

#toast-container>div.toast-info,
.dento-toast.toast-info {
    background-image: none !important;
    background: rgba(18, 24, 38, 0.96) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(56, 189, 248, 0.15) !important;
}
#toast-container>div.toast-info i,
.dento-toast.toast-info i {
    color: #38bdf8 !important;
}

#toast-container>div.show,
#toast-container>.dento-toast.show,
.dento-toast.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.dento-toast.hide {
    opacity: 0;
    transform: scale(0.9);
}

.dento-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dento-toast .toast-content i {
    font-size: 18px;
    color: #ffffff !important;
}

.dento-toast .toast-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    cursor: pointer;
    padding: 0 8px 0 0;
    line-height: 1;
    transition: color 0.2s;
}

.dento-toast .toast-close-btn:hover {
    color: #ffffff;
}

/* ===== استایل نتایج جستجو ===== */
.search-tag {
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover,
.search-tag:active {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
    transform: scale(1.05);
}

.search-result-item {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: #eef7f7 !important;
    border-color: var(--primary);
    transform: translateX(-3px);
}

.search-result-item:active {
    transform: scale(0.98);
}

.search-section h6 {
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
}

#search-results {
    animation: searchFadeIn 0.3s ease;
}

@keyframes searchFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-back-btn {
    border-radius: 20px;
    padding: 6px 20px;
}




/* @media (min-width: 992px) {

    .page-content .content-inner > .container,
    #content {
        max-width: 1360px !important;
        width: 95% !important;
    }

    .swiper {
        padding-top: 15px;
        padding-bottom: 25px;
    }

    .recomand-swiper .swiper-slide {
        width: calc(33.333% - 20px) !important;
    }

    .product-swiper .swiper-slide {
        width: calc(20% - 20px) !important;
        min-width: 240px;
    }

    .store-swiper .swiper-slide {
        width: calc(25% - 20px) !important;
        min-width: 280px;
    }

    .home-products .dz-media {
        height: 220px;
        overflow: hidden;
    }

    .home-products .dz-media img,
    .store-banner {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-item.style-1,
    .store-card {
        height: 100%;
    }
}

@media (min-width: 1400px) {

    .recomand-swiper .swiper-slide {
        width: calc(25% - 20px) !important;
    }

    .product-swiper .swiper-slide {
        width: calc(16.666% - 20px) !important;
    }

    .store-swiper .swiper-slide {
        width: calc(20% - 20px) !important;
    }
} */

/* ===== پنل فروشنده - اسکرول لیست محصولات/خدمات ===== */
#products-list-container {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 260px);
    padding-bottom: 10px;
}

/* جلوگیری از کشیده شدن ستون‌ها به ارتفاع مساوی در صفحه محصولات */
.row.vendor-page-row>.col-12 {
    align-self: flex-start;
}

/* ===== انیمیشن‌های پویا برای تغییرات وضعیت و نوتیفیکیشن‌ها ===== */

/* ۱. انیمیشن تغییر وضعیت سفارش (تپش آبی) */
@keyframes statusGlowPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    30% {
        transform: scale(1.03);
        box-shadow: 0 0 25px rgba(8, 122, 56, 0.35);
        background-color: #eff6ff !important;
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
}

.status-changed-pulse {
    animation: statusGlowPulse 1.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ۲. انیمیشن زنگوله نوتیفیکیشن جدید (لرزش و چرخش) */
@keyframes bellRing {
    0% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(20deg);
    }

    30% {
        transform: rotate(-20deg);
    }

    45% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(-15deg);
    }

    75% {
        transform: rotate(10deg);
    }

    90% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0);
    }
}

.bell-animation {
    animation: bellRing 1.2s ease-in-out;
    display: inline-block;
}

/* ۳. انیمیشن تپش دایره زنگوله نوتیفیکیشن (پالس آبی دایره‌ای تمیز) */
@keyframes bellCirclePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 122, 56, 0.6);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(8, 122, 56, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(8, 122, 56, 0);
    }
}

.bell-badge-pulse {
    animation: bellCirclePulse 1.2s ease-in-out;
}

/* ۴. انیمیشن تپش متن عددی نوتیفیکیشن (بدون سایه مربعی) */
@keyframes badgeTextPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        color: #ff3b30 !important;
    }

    100% {
        transform: scale(1);
    }
}

.badge-pulse {
    animation: badgeTextPulse 1.2s ease-in-out;
    display: inline-block;
}

/* تنظیمات چیدمان دو کارتی فروشگاه‌های برتر در نسخه موبایل */
.consultants-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.consultants-swiper .swiper-slide {
    height: auto !important;
    width: calc(50% - 5px) !important;
}

@media (min-width: 768px) {
    .consultants-swiper .swiper-slide {
        width: auto !important;
    }
}

.consultants-swiper .consultant-card {
    width: 100% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px 10px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    background: #ffffff !important;
}

.consultants-swiper .consultant-card .con-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.consultants-swiper .consultant-card .con-specialty {
    font-size: 11px !important;
    color: #64748b !important;
}

/* تب‌های سفارش فروشنده به صورت دکمه‌های فیروزه‌ای */
#orderTabsList::-webkit-scrollbar {
    display: none !important;
}

#orderTabsList {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

#orderTabsList .btn {
    border: 1.5px solid #087A38 !important;
    color: #087A38 !important;
    background-color: transparent !important;
    transition: all 0.25s ease-in-out;
    border-radius: 30px !important;
    font-weight: 600;
}

#orderTabsList .btn.active,
#orderTabsList .btn:active {
    background-color: #087A38 !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(8, 122, 56, 0.25) !important;
}

/* ==========================================================================
   بخش حسابداری و مالی پنل فروشنده (Vendor Financial & Payout UI)
   ========================================================================== */


/* ۲. ویجت نئونی و درخشان مانده حساب */
.finance-neon-card {
    background: linear-gradient(135deg, #1b263b 0%, #0d1b2a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(8, 122, 56, 0.2);
    box-shadow: 0 10px 30px rgba(13, 27, 42, 0.4);
    z-index: 1;
}

.finance-neon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8, 122, 56, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

.finance-neon-card .card-glow-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    background: #087A38;
    filter: blur(80px);
    opacity: 0.25;
    border-radius: 50%;
    pointer-events: none;
}

.finance-neon-card .glow-1 {
    top: -30px;
    right: -30px;
}

.finance-neon-card .glow-2 {
    bottom: -50px;
    left: -30px;
}

.finance-neon-card .balance-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.finance-neon-card .balance-amount {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(8, 122, 56, 0.5);
}

.finance-neon-card .balance-unit {
    font-size: 13px;
    color: #087A38;
    margin-right: 4px;
}

/* ۳. استایل کارت‌های جزئیات آمار مالی */
.finance-stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f2f5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.finance-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.finance-stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.finance-stat-info {
    text-align: right;
}

.finance-stat-label {
    font-size: 11px;
    color: #7d8fab;
    margin-bottom: 4px;
    font-weight: 500;
}

.finance-stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #212529;
}

/* رنگ‌بندی تم‌ها */
.bg-theme-gross {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.bg-theme-commission {
    background-color: rgba(255, 153, 0, 0.1);
    color: #ff9900;
}

.bg-theme-net {
    background-color: rgba(8, 122, 56, 0.1);
    color: #087A38;
}

.bg-theme-paid {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

/* ۴. استایل تب‌های فرعی مالی */
#financeTabs {
    border-bottom: 2px solid #f0f2f5 !important;
}

#financeTabs .nav-link {
    color: #7d8fab !important;
    border: 0 !important;
    border-bottom: 3px solid transparent !important;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 15px;
    background: transparent !important;
    transition: all 0.25s ease;
}

#financeTabs .nav-link.active {
    color: #087A38 !important;
    border-bottom-color: #087A38 !important;
}

/* ۵. لیست کارت‌های تاریخچه تسویه حساب و سفارشات */
.finance-history-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f2f5;
    transition: all 0.2s ease;
}

.finance-history-card:hover {
    border-color: rgba(8, 122, 56, 0.3);
    box-shadow: 0 4px 12px rgba(8, 122, 56, 0.04);
}

.finance-history-card .date-badge {
    background: #f8f9fa;
    color: #495057;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.finance-history-card .ref-number {
    font-size: 11px;
    color: #7d8fab;
    font-family: monospace, sans-serif;
}

/* ۶. انیمیشن موفقیت تسویه حساب */
.success-checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: rgba(42, 188, 184, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-checkmark-wrapper i {
    font-size: 40px;
    color: #087A38;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    70% {
        transform: scale(0.9);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* افکت هاور دکمه شیشه‌ای گزارش مالی روی داشبورد */
.dashboard-finance-btn:hover {
    background: rgba(255, 255, 255, 0.28) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    color: #fff !important;
}

.dashboard-finance-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   بخش ورود اختصاصی فروشندگان (Vendor Login Premium UI)
   ========================================================================== */
.vendor-login-banner {
    padding: 70px 0 65px;
    margin-bottom: -25px;
    text-align: center;
    background: linear-gradient(135deg, #087A38 0%, #05652D 100%) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vendor-login-banner .banner-glow-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.vendor-login-banner .glow-1 {
    width: 250px;
    height: 250px;
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.vendor-login-banner .glow-2 {
    width: 180px;
    height: 180px;
    bottom: -80px;
    left: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.vendor-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 143, 133, 0.2);
    margin-top: 15px;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.vendor-badge-wrapper:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(8, 122, 56, 0.4);
    transform: translateY(-1px);
}

.vendor-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #2af598;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #2af598;
    animation: vendorDotPulse 1.6s infinite ease-in-out;
}

@keyframes vendorDotPulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
        box-shadow: 0 0 6px #2af598;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 12px #2af598;
    }

    100% {
        transform: scale(0.85);
        opacity: 0.7;
        box-shadow: 0 0 6px #2af598;
    }
}

/* ==========================================================================
   Client Orders Panel & Details Popup Enhancements
   ========================================================================== */

/* 1. Font Synchronization Override */
.orders-container,
.orders-container *:not(i),
.order-card-clickable,
.order-card-clickable *:not(i),
.order-details-wrapper,
.order-details-wrapper *:not(i),
#orderDetailModal,
#orderDetailModalBody,
#orderDetailModalBody *:not(i) {
    font-family: mainFont, var(--bs-body-font-family), "IRANSansWeb", sans-serif !important;
}

/* 2. Premium Orders Card Layout */
.order-card-clickable {
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #ffffff;
    border-radius: 16px !important;
    overflow: hidden;
}

.order-card-clickable::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    transition: width 0.2s ease;
}

.order-card-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(8, 122, 56, 0.15) !important;
}

.order-card-clickable:hover::before {
    width: 7px;
}

.order-card-clickable:active {
    transform: scale(0.98);
}

/* Left Accent Status Colors (Right-side in RTL) */
.order-card-pending::before {
    background: #ff9800 !important;
}

.order-card-confirmed::before {
    background: #087A38 !important;
}

.order-card-preparing::before {
    background: #ff9800 !important;
}

.order-card-ready::before {
    background: #087A38 !important;
}

.order-card-delivering::before {
    background: #198754 !important;
}

.order-card-delivered::before {
    background: #28a745 !important;
}

.order-card-cancelled::before {
    background: #dc3545 !important;
}

/* 3. Ripple pulse animation around the active step circle */
@keyframes trackerActiveRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.5), 0 0 0 4px rgba(255, 152, 0, 0.3);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 152, 0, 0), 0 0 0 16px rgba(255, 152, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0), 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

.tracker-active-pulse {
    position: relative;
    animation: trackerActiveRipple 1.6s infinite ease-in-out !important;
    border-color: #ff9800 !important;
    background: #ff9800 !important;
}

/* 4. Elegant Section Dividers */
.orders-container .section-divider {
    font-size: 0.82rem;
    color: #6c757d;
    font-weight: 700;
    margin: 28px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.orders-container .section-divider::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #087A38;
}

.orders-container .active-orders-section-divider::before {
    background-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
    animation: trackerActiveRipple 1.6s infinite ease-in-out;
}

.orders-container .section-divider::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
}

/* ===== یکسان‌سازی ارتفاع کارت‌های فروشگاه‌های فعال در صفحه اصلی ===== */
.store-swiper {
    padding: 10px 0 25px 0 !important;
}

.store-swiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.store-swiper .swiper-slide .store-card {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.store-swiper .store-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.store-swiper .store-card .card-media {
    height: 150px;
    width: 100%;
    overflow: hidden;
}

.store-swiper .store-card .card-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.store-swiper .store-card .card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 15px !important;
    justify-content: space-between;
}

.store-swiper .store-card .store-card-body {
    margin-top: auto;
}

/* ===== رفع مشکل تداخل زد-ایندکس هدر با پنل جستجو ===== */
#offcanvasRight {
    z-index: 100050 !important;
}

.offcanvas-backdrop {
    z-index: 100049 !important;
}

/* فاصله دادن بین اطلاعات فروشنده/محصول و آیکون ارسال در مودال محصول */
#productModal ul.item-inner {
    margin-top: 18px !important;
}

/* بهبود فریم عکس و کادر در مودال محصول برای پر کردن کامل کادر به صورت لبه به لبه و حرفه‌ای */
#productModal .modal-body {
    padding: 0 !important;
    overflow-x: hidden !important;
}

#productModal .milk-swiper {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    background-color: #f1f5f9 !important;
    /* رنگ پس‌زمینه خاکستری ملایم کادر */
}

#productModal .milk-swiper .bnr-img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    display: block !important;
}

/* دکمه بستن شناور دایره‌ای در سمت چپ تصویر */
#productModal .btn-close {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 99 !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #000000 !important;
    opacity: 1 !important;
    transition: all 0.2s ease-in-out !important;
}

#productModal .btn-close:hover {
    background: #ffffff !important;
    transform: scale(1.05) !important;
}

#productModal .btn-close i {
    font-size: 16px !important;
    display: block !important;
    line-height: 1 !important;
}

/* اعمال فاصله برای محتوای اطلاعات کالا پس از حذف پدینگ بدنه مودال */
#productModal .account-box {
    padding: 20px 20px 10px 20px !important;
}

/* بهینه‌سازی ابعاد تصویر در دسکتاپ */
@media (min-width: 768px) {
    #productModal .milk-swiper {
        border-radius: 20px 20px 0 0 !important;
    }

    #productModal .milk-swiper .bnr-img {
        height: 340px !important;
    }
}

/* بهینه‌سازی و مرتب‌سازی تایتل و ساب‌تایتل‌های بالای صفحات پنل کاربر و وندور */
.page-header-block {
    text-align: right !important;
    direction: rtl !important;
    margin-top: 24px !important;
    margin-bottom: 20px !important;
    padding: 0 4px !important;
}

.page-header-block h4 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    /* Force LTR ordering for flex items so icon is first in flex order */
}

.page-header-block h4 i {
    color: #087A38 !important;
    font-size: 20px !important;
    margin: 0 !important;
    /* Clear any hardcoded margin-left or margin-right classes */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.page-header-block p {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}

/* بهینه‌سازی کادر جستجوی یکپارچه و مدرن */
.hamrah-search-bar {
    margin: 16px 0 !important;
}

.hamrah-search-bar .input-group {
    border-radius: 30px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 4px 4px 4px 8px !important;
    /* پدینگ برای دکمه سمت چپ و حاشیه راست */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
}

.hamrah-search-bar .input-group-text {
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    padding-right: 12px !important;
    padding-left: 4px !important;
    order: 3 !important;
    /* در جهت راست به چپ آیکون در سمت راست قرار گیرد */
}

.hamrah-search-bar .form-control {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 10px 8px !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    height: auto !important;
    order: 2 !important;
    text-align: right !important;
}

.hamrah-search-bar .btn-primary {
    border-radius: 24px !important;
    padding: 8px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.15) !important;
    background: #087A38 !important;
    color: #ffffff !important;
    order: 1 !important;
    /* دکمه در سمت چپ قرار گیرد */
}

.hamrah-search-bar .btn-primary i {
    font-size: 13px !important;
    margin: 0 !important;
}

/* بهینه‌سازی دکمه‌های فیلتر دسته‌بندی (Chips) */
.filter-chips-wrap {
    padding: 8px 0 !important;
}

.filter-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    /* ایجاد فاصله منظم بین آیکون و متن */
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    padding: 8px 16px !important;
    border-radius: 30px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    height: 38px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.filter-chip i {
    font-size: 12px !important;
    color: #087A38 !important;
    margin: 0 !important;
    /* حذف هرگونه کلاس فاصله دهی نامتقارن */
    transition: color 0.22s ease !important;
}

.filter-chip.active {
    background: #087A38 !important;
    border-color: #087A38 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(8, 122, 56, 0.15) !important;
    pointer-events: none !important;
    /* عبور دادن رویدادهای لمسی و کلیک برای حل مشکل قفل شدن اسکرول */
}

.filter-chip.active i {
    color: #ffffff !important;
}

.filter-chip:hover:not(.active) {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

/* حل مشکل اسکرول عمودی روی دسته‌بندی‌ها (کارت‌های Swiper) در موبایل */
.filter-chips-wrap,
.filter-swiper,
.filter-chip {
    touch-action: pan-y !important;
}

/* ==========================================================================
   استایل‌های کارت محصولات و خدمات در پروفایل فروشگاه
   ========================================================================== */
.services-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    transition: all 0.22s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    border-color: #087A38;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 122, 56, 0.08);
}

.service-card-media {
    position: relative;
    width: 100%;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #f8fafc;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card-price {
    font-size: 13px;
    font-weight: 800;
    color: #087A38;
}

.service-book-btn {
    font-size: 11.5px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
}

.selected-service-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #FF8A00;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.selected-service-banner .btn-reset-service {
    color: #ef4444;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}

/* انیمیشن تپش زنده و لوکس آیکون ویدیو */
@keyframes videoPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-pulse {
    animation: videoPulse 1.5s infinite ease-in-out;
}

/* افکت هاور دکمه‌های جلسه */
#btn-join-session:hover,
.btn-vendor-join-session:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 122, 56, 0.4) !important;
    filter: brightness(1.1);
}

#btn-join-session:active,
.btn-vendor-join-session:active {
    transform: translateY(0);
}

/* فاصله مناسب بین آیکون و متن در دکمه‌ها و نشان‌ها */
.instant-badge,
.instant-badge-sm,
.chat-badge-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.con-list-footer .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.con-list-footer .btn i,
.instant-badge i,
.instant-badge-sm i,
.chat-badge-sm i {
    margin: 0 !important;
}

/* Remove user section hidden sidebar menu and toggler button */
.sidebar,
.menu-toggler {
    display: none !important;
}

/* بج اعلان‌ها و نوبت‌های جدید با رنگ قرمز زنده و شفاف */
#vendor-notif-badge,
#new-orders-badge,
.badge.bg-danger {
    background-color: #EF4444 !important;
    background: linear-gradient(135deg, #FF3B30 0%, #E11D48 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    border: 1.5px solid #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.45) !important;
    line-height: 1 !important;
}

/* ================================================
   پالت دوکان - استایل‌های سراسری و اختصاصی UI دوکان
   ================================================ */

/* پس‌زمینه بدنه */
body {
    background-color: #F8FAF7 !important;
    font-family: mainFont, Lato, sans-serif !important;
    color: #1F2933;
    padding-bottom: 75px !important;
}

/* ========================================================
   ۱. هدر اختصاصی موبایل دوکان
   ======================================================== */
.dookan-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dookan-header-left,
.dookan-header-right {
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dookan-header-center {
    flex: 1;
    text-align: center;
}

.dookan-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.dookan-logo-text {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.dookan-icon-btn {
    color: #ffffff !important;
    font-size: 19px;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.dookan-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.dookan-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: #FF8A00;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #087A38;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* نوار آدرس هدر */
.dookan-address-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 10px 0;
    cursor: pointer;
}

.dookan-pin {
    color: #FF8A00;
    font-size: 14px;
}

.dookan-address-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dookan-address-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.dookan-address-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}

.dookan-chevron {
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
}

/* باکس جستجوی هدر */
.dookan-search-bar {
    padding: 0 4px;
}

.dookan-search-inner {
    background: #ffffff;
    border-radius: 25px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dookan-search-inner:active {
    transform: scale(0.98);
}

.dookan-search-icon {
    color: #1F2933;
    font-size: 15px;
}

.dookan-search-placeholder {
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 500;
}

/* ========================================================
   ۲. منوبار شناور مدرن دوکان (Floating Bottom Navbar)
   ======================================================== */
.dookan-floating-menubar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1035;
    padding: 0 14px 10px 14px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .dookan-floating-menubar-wrapper {
        display: none !important;
    }
}

.dookan-floating-menubar {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid #E5EAE6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 8px;
    direction: rtl;
    max-width: 440px;
    margin: 0 auto;
    height: 52px;
    box-sizing: border-box;
}

.dookan-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    flex: 1;
    padding: 1px 0;
    transition: all 0.2s ease;
    position: relative;
}

.dookan-nav-icon-box {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.dookan-nav-label {
    font-size: 9.5px;
    font-weight: 600;
    margin-top: 1px;
    line-height: 1;
    transition: all 0.2s ease;
}

/* حالت فعال منوبار */
.dookan-nav-item.active {
    color: #087A38;
}

.dookan-nav-item.active .dookan-nav-icon-box {
    background-color: #E8F5EC;
    color: #087A38;
}

.dookan-nav-item.active .dookan-nav-label {
    color: #087A38;
    font-weight: 700;
}

/* دکمه دایره‌ای وسط (سبد خرید) */
.dookan-nav-item.dookan-center-item {
    margin-top: -16px;
}

.dookan-center-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #087A38 0%, #05652D 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 4px 14px rgba(8, 122, 56, 0.38) !important;
    border: 2.5px solid #ffffff;
    position: relative;
    transition: transform 0.2s ease;
}

.dookan-center-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dookan-center-button:active {
    transform: scale(0.92);
}

.dookan-center-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    background: #FF3B30;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(255, 59, 48, 0.35);
    padding-top: 1px;
}

.dookan-center-item .dookan-nav-label {
    margin-top: 2px;
    font-size: 9.5px;
    font-weight: 600;
}

/* مخفی کردن منوبار قدیمی استایل ۵ */
.menubar-area.style-5 {
    display: none !important;
}

/* ========================================================
   ۳. کامپوننت‌های صفحه اصلی دوکان (Homepage UI Components)
   ======================================================== */

/* بنر دلیوری Hero */
.dookan-hero-banner {
    background: linear-gradient(135deg, #087A38 0%, #05652D 100%);
    border-radius: 20px;
    padding: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 14px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(8, 122, 56, 0.25);
    direction: rtl;
}

.dookan-hero-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.dookan-hero-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.dookan-hero-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFDE59;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.dookan-hero-btn {
    background: #ffffff !important;
    color: #087A38 !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    padding: 8px 22px !important;
    font-size: 13px !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}

.dookan-hero-btn:active {
    transform: scale(0.95);
}

.dookan-hero-img-wrap {
    position: absolute;
    left: 10px;
    bottom: -5px;
    width: 140px;
    height: 140px;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.dookan-hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* بخش دسته‌بندی‌های افقی تک‌خطی (طراحی دقیق طبق سایت دوکان) */
.categories-box {
    margin-top: 14px;
    margin-bottom: 18px;
    direction: rtl;
    width: 100%;
    position: relative;
    overflow: visible;
}

.categories-box .swiper-btn-center-lr {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.categorie-swiper {
    width: 100%;
    padding: 4px 2px 10px 2px !important;
    overflow: visible;
}

.categorie-swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    direction: rtl;
}

.categorie-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 0;
    margin-left: 12px !important; /* فاصله مناسب بین کارت‌ها */
    margin-right: 0 !important;
}

.categorie-swiper .swiper-slide:last-child {
    margin-left: 0 !important;
}

.categore-box {
    width: 90px;
    height: 100px;
    background: #f0f2f5 !important;
    border-radius: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 4px 0 4px;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    border: none !important;
}

.categore-box:after {
    display: none !important;
}

.categore-box:hover,
.categore-box:active {
    transform: translateY(-2px);
    background: #e6e9ee !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.categore-box img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    object-fit: contain;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    display: block;
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

.categore-box:hover img {
    transform: scale(1.22);
}

.categore-box h6 {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    position: absolute;
    bottom: 7px !important;
    left: 2px !important;
    right: 2px !important;
    font-family: inherit;
}

/* Fallback برای اسکرول افقی در صورت لود نشدن Swiper */
.categories-scroll-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 10px 2px;
}
.categories-scroll-row::-webkit-scrollbar {
    display: none;
}

/* بخش پیشنهادهای ویژه (Special Offers / Products Grid) */
.dookan-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    direction: rtl;
}

.dookan-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #1F2933;
    margin: 0;
}

.dookan-section-link {
    font-size: 12.5px;
    font-weight: 700;
    color: #087A38;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.dookan-section-link:hover {
    color: #055A28;
}

.dookan-product-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 9px !important;
    border: 1px solid #e7eee9 !important;
    box-shadow: 0 3px 14px -3px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.dookan-product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px -4px rgba(8, 122, 56, 0.12), 0 2px 6px -1px rgba(255, 138, 0, 0.08) !important;
    border-color: rgba(255, 138, 0, 0.35) !important;
}

.dookan-product-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 8px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35) !important;
    direction: rtl !important;
}

.dookan-product-vendor-badge {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #4B5563 !important;
    background: #F3F4F6 !important;
    border-radius: 6px !important;
    padding: 2px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.dookan-product-img-box {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
}

.dookan-product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.dookan-product-card:hover .dookan-product-img-box img {
    transform: scale(1.06) !important;
}

.dookan-product-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    height: 2.7em !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: right !important;
}

.dookan-product-unit {
    font-size: 11px;
    color: #737A75;
    margin-bottom: 8px;
}

.dookan-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.dookan-product-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.dookan-product-old-price {
    font-size: 11px;
    font-weight: 700;
    color: #FF8A00 !important; /* رنگ نارنجی اختصاصی سایت */
    text-decoration: line-through;
    margin-bottom: 2px;
    line-height: 1;
    opacity: 0.95;
}

.dookan-product-price {
    font-size: 14px;
    font-weight: 800;
    color: #087A38;
}

.dookan-product-price-unit {
    font-size: 10px;
    font-weight: 500;
    color: #737A75;
    margin-right: 3px;
}

.dookan-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    direction: rtl;
}

@media (max-width: 992px) {
    .dookan-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* اسلایدر پیشنهادهای ویژه، سوپرمارکت و رستوران افقی تک‌خطی */
.special-offers-swiper,
.supermarket-offers-swiper,
.food-offers-swiper {
    width: 100%;
    padding: 4px 2px 14px 2px !important;
    overflow: hidden;
    direction: rtl;
}

.special-offers-swiper .swiper-wrapper,
.supermarket-offers-swiper .swiper-wrapper,
.food-offers-swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.special-offers-swiper .swiper-slide,
.supermarket-offers-swiper .swiper-slide,
.food-offers-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.dookan-product-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 9px !important;
    border: 1px solid #e7eee9 !important;
    box-shadow: 0 3px 14px -3px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.dookan-product-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px -4px rgba(8, 122, 56, 0.12), 0 2px 6px -1px rgba(255, 138, 0, 0.08) !important;
    border-color: rgba(255, 138, 0, 0.35) !important;
}

.dookan-product-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8a00 100%) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 8px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.35) !important;
}

.dookan-product-vendor-badge {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #4B5563 !important;
    background: #F3F4F6 !important;
    border-radius: 6px !important;
    padding: 2px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.dookan-product-img-box {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
}

.dookan-product-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
    display: block !important;
}

.dookan-product-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    height: 2.7em !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: right !important;
}

.dookan-product-unit {
    font-size: 11px;
    color: #737A75;
    margin-bottom: 8px;
}

.dookan-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.dookan-product-price {
    font-size: 14px;
    font-weight: 800;
    color: #087A38;
}

.dookan-product-price-unit {
    font-size: 10px;
    font-weight: 500;
    color: #737A75;
    margin-right: 2px;
}

.dookan-product-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #087A38;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(8, 122, 56, 0.3);
    transition: all 0.2s ease;
}

.dookan-product-add-btn:active {
    transform: scale(0.9);
}

/* نوار ویژگی‌ها و اعتماد دوکان (Trust Badges Bar) - طراحی مدرن و حرفه‌ای */
.dookan-trust-bar {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
    border-radius: 18px;
    padding: 12px 10px;
    border: 1px solid #e7eee9;
    box-shadow: 0 4px 18px -4px rgba(8, 122, 56, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
    direction: rtl;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .dookan-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 9px 8px;
        border-radius: 16px;
    }
}

/* آیتم‌ها به صورت مینی‌کارت‌های اختصاصی */
.dookan-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8faf9;
    border: 1px solid rgba(230, 238, 233, 0.9);
    border-radius: 13px;
    padding: 8px 8px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    overflow: hidden;
}

.dookan-trust-item:hover,
.dookan-trust-item:active {
    background: #ffffff;
    border-color: rgba(8, 122, 56, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px -2px rgba(8, 122, 56, 0.09);
}

/* باکس مدرن آیکون */
.dookan-trust-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dookan-trust-item:hover .dookan-trust-icon-box,
.dookan-trust-item:active .dookan-trust-icon-box {
    transform: scale(1.1) rotate(-3deg);
}

/* پالت رنگی ویژه هر ویژگی */
.dookan-trust-item.item-payment .dookan-trust-icon-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #087a38;
    border: 1px solid rgba(8, 122, 56, 0.15);
}

.dookan-trust-item.item-quality .dookan-trust-icon-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.18);
}

.dookan-trust-item.item-support .dookan-trust-icon-box {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.dookan-trust-item.item-delivery .dookan-trust-icon-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

/* Backward compatibility for icon */
.dookan-trust-icon {
    font-size: 16px;
}

/* بخش متون */
.dookan-trust-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.dookan-trust-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 2px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.dookan-trust-subtitle {
    font-size: 9px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* تنظیمات دسکتاپ و تبلت */
@media (min-width: 768px) {
    .dookan-trust-bar {
        padding: 16px 18px;
        gap: 12px;
        border-radius: 20px;
    }

    .dookan-trust-item {
        padding: 12px 14px;
        gap: 12px;
        border-radius: 15px;
    }

    .dookan-trust-icon-box {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
        border-radius: 12px;
    }

    .dookan-trust-icon {
        font-size: 20px;
    }

    .dookan-trust-title {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .dookan-trust-subtitle {
        font-size: 11px;
    }
}

/* استایل کارت‌های فروشگاه‌ها (Stores / Vendors) */
.dookan-stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    direction: rtl;
}

/* ========================================================
   ۵. بخش فروشگاه‌های باز (Open Stores Horizontal Slider)
   ======================================================== */
.dookan-open-stores-swiper {
    width: 100%;
    padding: 6px 2px 14px 2px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.dookan-open-stores-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.dookan-open-stores-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.dookan-store-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.dookan-store-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 101, 45, 0.3);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.dookan-store-banner-box {
    width: 100%;
    height: 114px;
    background: linear-gradient(135deg, #e6f4ea 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.dookan-store-banner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dookan-store-card:hover .dookan-store-banner-box img {
    transform: scale(1.06);
}

.dookan-store-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.dookan-store-badge-wrap {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.dookan-store-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4.5px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dookan-store-status-badge.is-open {
    background: rgba(16, 185, 129, 0.92);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.dookan-store-status-badge.is-closed {
    background: rgba(100, 116, 139, 0.88);
    color: #ffffff;
}

.dookan-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffffff;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
    animation: pulseDotLight 1.8s infinite;
}

@keyframes pulseDotLight {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.dookan-store-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.94);
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dookan-store-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 3px solid #ffffff;
    background: #ffffff;
    position: absolute;
    top: 86px;
    right: 12px;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

/* Fallback if logo is rendered inside banner box */
.dookan-store-banner-box > .dookan-store-logo-box {
    top: auto;
    bottom: -18px;
}

.dookan-store-banner-box:has(.dookan-store-logo-box) {
    overflow: visible;
}

.dookan-store-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dookan-store-body {
    padding: 26px 12px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.dookan-store-title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dookan-store-category {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dookan-store-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 9px;
    gap: 6px;
}

.dookan-store-rating {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    font-weight: 800;
    color: #92400e;
    background: #fef3c7;
    padding: 2px 7px;
    border-radius: 7px;
    font-size: 11px;
}

.dookan-store-rating i {
    color: #f59e0b;
    font-size: 10px;
}

.dookan-store-delivery {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.dookan-store-delivery.is-free {
    color: #059669;
    font-weight: 700;
    background: #ecfdf5;
    padding: 2px 7px;
    border-radius: 7px;
}

.dookan-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.dookan-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulseGreen 1.8s infinite;
}

@keyframes livePulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ========================================================
   ۴. فوتر دسکتاپ (استایل‌های حرفه‌ای در desktop-optimizations.css و footer.php مدیریت می‌شوند)
   ======================================================== */


/* دکمه‌های نارنجی و سبز */
.btn-secondary {
    background-color: #FF8A00 !important;
    border-color: #FF8A00 !important;
    color: #ffffff !important;
}

.text-secondary {
    color: #FF8A00 !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background-color: #087A38 !important;
    border-color: #087A38 !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: #05652D !important;
    border-color: #05652D !important;
    color: #ffffff !important;
}

.light.btn-primary {
    background-color: rgba(8, 122, 56, 0.1) !important;
    border-color: rgba(8, 122, 56, 0.25) !important;
    color: #087A38 !important;
}

.light.btn-primary:hover {
    background-color: #087A38 !important;
    border-color: #087A38 !important;
    color: #ffffff !important;
}

/* ========================================================
   صفحه لیست فروشگاه‌ها (Stores List Page) - طراحی مدرن، شیک و حرفه‌ای
   ======================================================== */
.dookan-stores-page-wrap {
    padding-bottom: 25px;
}

/* نوار اسکرول افقی دسته‌بندی‌ها */
.dookan-stores-cat-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    margin: 0 0 16px 0;
    padding: 6px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    box-sizing: border-box;
}

.dookan-stores-cat-scroll::-webkit-scrollbar {
    display: none;
}

.dookan-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dookan-cat-pill i {
    font-size: 13.5px;
    color: #64748b;
    transition: color 0.2s;
}

.dookan-cat-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    color: #0f172a;
}

.dookan-cat-pill.active {
    background: linear-gradient(135deg, #087a38 0%, #0a9945 100%) !important;
    border-color: #087a38 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(8, 122, 56, 0.25) !important;
    font-weight: 700;
}

.dookan-cat-pill.active i {
    color: #ffffff !important;
}

/* هدر دسته‌بندی */
.dookan-stores-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 2px;
}

.dookan-stores-header-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dookan-stores-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #087a38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.12);
}

.dookan-stores-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.dookan-stores-count-text {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.dookan-share-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #087a38 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.dookan-share-circle-btn:hover {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    transform: scale(1.05);
}

/* شبکه لیست فروشگاه‌ها */
.dookan-stores-list-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* کارت اصلی فروشگاه */
.dookan-store-item-card {
    background: #ffffff;
    border: 1px solid #e6eee8;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 13px;
    cursor: pointer;
    box-shadow: 0 3px 14px -3px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.dookan-store-item-card:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 8px 24px -4px rgba(8, 122, 56, 0.12);
    border-color: rgba(8, 122, 56, 0.3);
}

.dookan-store-item-card:active {
    transform: scale(0.985);
}

/* تصویر و لوگوی فروشگاه */
.dookan-store-item-thumb {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.dookan-store-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dookan-store-item-card:hover .dookan-store-item-thumb img {
    transform: scale(1.05);
}

/* برچسب وضعیت روی عکس یا کارت */
.dookan-store-badge-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dookan-store-badge-status.open {
    background: rgba(8, 122, 56, 0.92);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.dookan-store-badge-status.closed {
    background: rgba(220, 38, 38, 0.9);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.dookan-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: livePulseGreen 1.6s infinite;
}

/* محتوای متنی کارت */
.dookan-store-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dookan-store-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.dookan-store-item-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dookan-store-item-arrow {
    font-size: 11px;
    color: #cbd5e1;
    transition: transform 0.2s, color 0.2s;
    margin-left: 2px;
}

.dookan-store-item-card:hover .dookan-store-item-arrow {
    color: #087a38;
    transform: translateX(-3px);
}

.dookan-store-item-specialty {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 7px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ردیف چیپ‌های ویژگی (امتیاز، زمان، پیک) */
.dookan-store-item-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.dookan-store-item-badges::-webkit-scrollbar {
    display: none;
}

.dookan-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 7.5px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.dookan-badge-chip.rating {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
    font-weight: 700;
}

.dookan-badge-chip.rating i {
    color: #f59e0b;
    font-size: 10px;
}

.dookan-badge-chip.rating .count {
    font-size: 9.5px;
    opacity: 0.75;
    font-weight: 500;
}

.dookan-badge-chip.time {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #edf2f7;
}

.dookan-badge-chip.time i {
    color: #64748b;
    font-size: 10px;
}

.dookan-badge-chip.delivery {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #edf2f7;
}

.dookan-badge-chip.delivery i {
    color: #087a38;
    font-size: 10.5px;
}

.dookan-badge-chip.delivery.free {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-weight: 700;
}

.dookan-badge-chip.delivery.free i {
    color: #059669;
}

/* وضعیت خالی بودن */
.dookan-stores-empty-state {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 45px 20px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.dookan-stores-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.dookan-stores-empty-state h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.dookan-stores-empty-state p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

/* ریسپانسیو دسکتاپ برای لیست فروشگاه‌ها */
@media (min-width: 768px) {
    .dookan-stores-page-wrap {
        padding-top: 15px;
        padding-bottom: 45px;
    }

    .dookan-stores-cat-scroll {
        margin: 0 0 20px 0 !important;
        padding: 4px 0 10px 0 !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .dookan-cat-pill {
        padding: 9px 18px;
        font-size: 13.5px;
    }

    .dookan-stores-header-bar {
        padding: 8px 0 14px 0;
        margin-bottom: 22px;
        border-bottom: 1px solid #f1f5f9;
    }

    .dookan-stores-title {
        font-size: 20px !important;
    }

    .dookan-stores-count-text {
        font-size: 13px !important;
    }

    .dookan-stores-cat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .dookan-stores-list-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }

    .dookan-store-item-card {
        padding: 14px 16px;
        border-radius: 20px;
        min-width: 0;
    }

    .dookan-store-item-thumb {
        width: 86px;
        height: 86px;
        min-width: 86px;
        border-radius: 16px;
    }

    .dookan-store-item-content {
        min-width: 0;
        overflow: hidden;
    }

    .dookan-store-item-title {
        font-size: 15.5px;
    }

    .dookan-store-item-specialty {
        font-size: 12.5px;
    }

    .dookan-store-item-badges {
        flex-wrap: wrap;
        gap: 6px;
    }

    .dookan-badge-chip {
        font-size: 11.5px;
        padding: 4px 8.5px;
    }
}

@media (min-width: 1200px) {
    .dookan-stores-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    .dookan-store-item-card {
        padding: 16px 18px;
    }
}

/* ========================================================
   کارت‌های مدرن محصولات (Product Cards - Store & Favorites)
   ارتفاع کاملاً یکنواخت (Equal Height) + تم نارنجی جذاب و اصولی
   ======================================================== */
.card-item.style-1 {
    border: 1px solid #e7eee9 !important;
    background-color: #ffffff !important;
    border-radius: 18px !important;
    box-shadow: 0 3px 14px -3px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 9px !important;
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.card-item.style-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -4px rgba(8, 122, 56, 0.12), 0 2px 6px -1px rgba(255, 138, 0, 0.08) !important;
    border-color: rgba(255, 138, 0, 0.35) !important;
}

/* عکس محصول با نسبت ابعاد ۱:۱ ثابت */
.card-item.style-1 .dz-media {
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f8fafc !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.card-item.style-1 .dz-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
}

.card-item.style-1:hover .dz-media img {
    transform: scale(1.06);
}

/* دکمه لایک / علاقه‌مندی */
.card-item.style-1 .dz-media .r-btn {
    position: absolute !important;
    top: 7px !important;
    right: 7px !important;
    z-index: 5 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(4px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    transition: transform 0.2s ease !important;
    padding: 0 !important;
}

.card-item.style-1 .dz-media .r-btn:hover {
    transform: scale(1.1);
}

.card-item.style-1 .dz-media .like-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    font-size: 13.5px !important;
    color: #64748b;
}

/* برچسب تخفیف روی عکس - نارنجی جذاب و پرانرژی دوکان ۲۴ */
.card-item.style-1 .dz-media .label {
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    right: auto !important;
    background: linear-gradient(135deg, #FF8A00 0%, #FF6500 100%) !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 2.5px 7.5px !important;
    border-radius: 8px !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    line-height: 1.2 !important;
    box-shadow: 0 2.5px 8px rgba(255, 107, 0, 0.35) !important;
    letter-spacing: -0.2px;
}

/* محتوا */
.card-item.style-1 .dz-content {
    padding: 9px 3px 2px 3px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
}

/* عنوان دوخطی با ارتفاع کاملاً ثابت جهت هماهنگی همه کارت‌ها */
.card-item.style-1 .dz-content .title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 18px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: right !important;
}

/* باکس قیمت با ارتفاع ثابت ۴۲ پیکسل برای جلوگیری از اختلاف قد کارت‌ها */
.card-item.style-1 .dz-meta {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    margin-top: auto !important;
    padding: 0 !important;
}

.card-item.style-1 .sub-title.text-primary {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #087a38 !important;
    letter-spacing: -0.2px;
    line-height: 1.3 !important;
}

/* بج درصد تخفیف کوچک نارنجی در بخش قیمت */
.card-item.style-1 .badge-discount-orange {
    background: #fff3e0 !important;
    color: #e65100 !important;
    border: 1px solid #ffe0b2 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 1px 5px !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
}

.card-item.style-1 .sub-title.text-danger,
.card-item.style-1 .old-price-line {
    font-size: 11px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    line-height: 1.2 !important;
}

.card-item.style-1 .sub-title.text-danger del {
    color: #94a3b8 !important;
}

/* دکمه افزودن به سبد خرید با هاور زیبای نارنجی برند */
.card-item.style-1 .add-btn,
.card-item.style-1 .btn-add-to-cart-modern {
    width: 100% !important;
    height: 36px !important;
    line-height: 36px !important;
    background: linear-gradient(135deg, #087a38 0%, #0a9945 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 3px 10px rgba(8, 122, 56, 0.22) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    padding: 0 6px !important;
    margin-top: 8px !important;
}

.card-item.style-1 .add-btn i,
.card-item.style-1 .btn-add-to-cart-modern i {
    font-size: 12.5px !important;
    color: #ffffff !important;
}

.card-item.style-1 .add-btn:hover,
.card-item.style-1 .btn-add-to-cart-modern:hover {
    background: linear-gradient(135deg, #FF8A00 0%, #FF6500 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(255, 138, 0, 0.35) !important;
}

.card-item.style-1 .add-btn:active,
.card-item.style-1 .btn-add-to-cart-modern:active {
    transform: scale(0.97) !important;
}

/* دکمه فروشگاه تعطیل - خاکستری */
.card-item.style-1 .add-btn.btn-store-closed,
.card-item.style-1 .btn-store-closed,
.btn.btn-store-closed,
.btn-store-closed {
    background: #6c757d !important;
    background-color: #6c757d !important;
    border: 1px solid #6c757d !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.9 !important;
}

.card-item.style-1 .add-btn.btn-store-closed:hover,
.card-item.style-1 .btn-store-closed:hover,
.btn.btn-store-closed:hover,
.btn-store-closed:hover {
    background: #5a6268 !important;
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

.card-item.style-1 .add-btn.btn-store-closed i,
.card-item.style-1 .btn-store-closed i,
.btn.btn-store-closed i,
.btn-store-closed i {
    color: #ffffff !important;
}

/* دکمه ناموجود */
.card-item.style-1 .add-btn.btn-out-of-stock,
.card-item.style-1 .btn-out-of-stock {
    background: #6c757d !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.65 !important;
}


/* ========================================================
   صفحه پروفایل کاربری (User Profile Page) - سبک لوکس و مدرن
   ======================================================== */
.dookan-profile-wrap {
    max-width: 540px;
    margin: 0 auto;
    padding: 10px 15px 35px 15px;
}

/* هدر بدون کادر سنگین، مینیمال و شیک */
.dookan-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px 14px 10px;
}

.dookan-profile-avatar-box {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0fdf4;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px -4px rgba(8, 122, 56, 0.2), 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
    position: relative;
}

.dookan-profile-avatar-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dookan-profile-name {
    font-size: 17px;
    font-weight: 800;
    color: #087a38 !important;
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.dookan-profile-phone {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
}

/* خط جداکننده خط‌چین زیبا */
.dookan-profile-divider {
    border-top: 1.5px dashed #cbd5e1;
    margin: 8px 0 18px 0;
    opacity: 0.75;
}

/* لیست کارت‌های آیتم منو */
.dookan-profile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* هر آیتم منو به‌صورت یک کارت شناور مستقل */
.dookan-profile-menu-card {
    background: #ffffff;
    border: 1px solid #edf2ee;
    border-radius: 16px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    cursor: pointer;
}

.dookan-profile-menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(8, 122, 56, 0.12);
    border-color: rgba(8, 122, 56, 0.3);
}

.dookan-profile-menu-card:active {
    transform: scale(0.985);
}

.dookan-profile-menu-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dookan-profile-menu-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    background: #e8f5ec;
    color: #087a38;
    transition: transform 0.2s ease;
}

.dookan-profile-menu-card:hover .dookan-profile-menu-icon {
    transform: scale(1.08);
}

.dookan-profile-menu-icon.rose {
    background: #fee2e2;
    color: #dc2626;
}

.dookan-profile-menu-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.dookan-profile-menu-card.logout .dookan-profile-menu-title {
    color: #dc2626;
}

.dookan-profile-menu-arrow {
    font-size: 11px;
    color: #cbd5e1;
    transition: transform 0.2s, color 0.2s;
    margin-left: 2px;
}

.dookan-profile-menu-card:hover .dookan-profile-menu-arrow {
    color: #087a38;
    transform: translateX(-3px);
}

.dookan-profile-menu-card.logout:hover .dookan-profile-menu-arrow {
    color: #dc2626;
}

/* دکمه ورود برجسته و مشخص ویژه کاربران مهمان در بالای منوها */
.dookan-profile-menu-card.login-highlight-card {
    background: linear-gradient(135deg, #087a38 0%, #059669 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 6px 20px -3px rgba(8, 122, 56, 0.32), 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    padding: 13px 16px !important;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.dookan-profile-menu-card.login-highlight-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dookan-profile-menu-card.login-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -2px rgba(8, 122, 56, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.dookan-profile-menu-card.login-highlight-card .login-highlight-icon {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    width: 42px;
    height: 42px;
    font-size: 17px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dookan-profile-menu-card.login-highlight-card .login-highlight-title {
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    letter-spacing: -0.2px;
}

.dookan-profile-menu-card.login-highlight-card .login-highlight-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 11px !important;
    font-weight: 500;
    margin-top: 3px;
    line-height: 1.3;
}

.dookan-profile-menu-card.login-highlight-card .login-badge-cta {
    background: #ffffff !important;
    color: #087a38 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12) !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dookan-profile-menu-card.login-highlight-card:hover .login-badge-cta {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}

.dookan-profile-menu-card.login-highlight-card .dookan-profile-menu-arrow {
    color: rgba(255, 255, 255, 0.8) !important;
}

.dookan-profile-menu-card.login-highlight-card:hover .dookan-profile-menu-arrow {
    color: #ffffff !important;
    transform: translateX(-3px);
}

/* ویجت لوکس موجودی کیف پول در هدر پروفایل (زیر نام و شماره) */
.dookan-profile-wallet-pill {
    width: 100%;
    max-width: 380px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1.5px solid rgba(8, 122, 56, 0.18);
    border-radius: 16px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 16px -2px rgba(8, 122, 56, 0.1);
    margin-top: 13px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    text-decoration: none !important;
    cursor: pointer;
}

.dookan-profile-wallet-pill:hover {
    border-color: rgba(8, 122, 56, 0.35);
    box-shadow: 0 6px 20px -2px rgba(8, 122, 56, 0.16);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.dookan-profile-wallet-pill:hover .dookan-profile-wallet-pill-btn {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(8, 122, 56, 0.35);
}

.dookan-profile-wallet-pill:active {
    transform: scale(0.985);
}

.dookan-profile-wallet-pill-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: right;
}

.dookan-profile-wallet-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #ffffff;
    color: #087a38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(8, 122, 56, 0.12);
    flex-shrink: 0;
}

.dookan-profile-wallet-pill-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dookan-profile-wallet-pill-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    margin-bottom: 2px;
}

.dookan-profile-wallet-pill-val {
    font-size: 14.5px;
    font-weight: 800;
    color: #087a38;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.dookan-profile-wallet-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #087a38 0%, #0a9945 100%);
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.dookan-profile-wallet-pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(8, 122, 56, 0.35);
    color: #ffffff !important;
}

.dookan-profile-wallet-pill-btn:active {
    transform: scale(0.96);
}

/* ========================================================
   صفحه اختصاصی کیف پول دوکان (Dookan Wallet Details Page)
   ======================================================== */
.dookan-wallet-wrap {
    max-width: 540px;
    margin: 0 auto;
    padding: 10px 15px 35px 15px;
}

.dookan-back-btn {
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.dookan-back-btn:hover {
    background: #e2e8f0;
    color: #087a38 !important;
}

.dookan-digital-wallet-card {
    border-radius: 18px;
    background: linear-gradient(135deg, #054823 0%, #087a38 52%, #10B981 100%);
    padding: 16px 18px;
    box-shadow: 0 8px 24px -4px rgba(8, 122, 56, 0.32);
    color: #ffffff;
}

.wallet-card-overlay {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.btn-amount-chip {
    transition: all 0.15s ease;
    border: 1px solid #E2E8F0;
    color: #334155;
    background: #F8FAFC;
    border-radius: 10px;
}

.btn-amount-chip:hover {
    background: #e8f5ec;
    border-color: #087a38;
    color: #087a38;
}

.btn-amount-chip.active {
    background: #087a38 !important;
    border-color: #087a38 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(8, 122, 56, 0.28);
}


/* ========================================================
   اسلایدر تمام‌عرض و حرفه‌ای هیرو دسکتاپ (Desktop Hero Slider)
   ======================================================== */
.desktop-hero-slider-wrapper {
    width: 100% !important;
    position: relative !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 24px !important;
}

/* اسلایدر تمام‌عرض هیرو دسکتاپ (Full-Width Edge to Edge) */
.desktop-hero-slider-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;
    position: relative !important;
}

.desktop-hero-swiper {
    width: 100% !important;
    height: 380px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

@media (min-width: 992px) {
    .desktop-hero-swiper {
        height: 420px !important;
    }
}

@media (min-width: 1400px) {
    .desktop-hero-swiper {
        height: 480px !important;
    }
}

.desktop-hero-slide-item {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

.desktop-hero-slide-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block !important;
}

.desktop-hero-slide-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.15) 100%) !important;
    pointer-events: none !important;
    border-radius: 0 !important;
}

/* دکمه‌های ناوبری اسلایدر دسکتاپ (فلش‌های چپ و راست شیشه‌ای سبز برند) */
.desktop-hero-swiper .swiper-button-next,
.desktop-hero-swiper .swiper-button-prev {
    color: #ffffff !important;
    background: rgba(8, 122, 56, 0.8) !important;
    backdrop-filter: blur(8px) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}

.desktop-hero-swiper .swiper-button-next:hover,
.desktop-hero-swiper .swiper-button-prev:hover {
    background: #087a38 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(8, 122, 56, 0.4) !important;
}

.desktop-hero-swiper .swiper-button-next::after,
.desktop-hero-swiper .swiper-button-prev::after {
    font-size: 15px !important;
    font-weight: 800 !important;
}

.desktop-hero-swiper .swiper-pagination {
    bottom: 14px !important;
}

.desktop-hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.7) !important;
    opacity: 0.85 !important;
    width: 9px !important;
    height: 9px !important;
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
}

.desktop-hero-swiper .swiper-pagination-bullet-active {
    background: #087a38 !important;
    width: 28px !important;
    border-radius: 6px !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.5) !important;
}

/* ==========================================================================
   صفحه دسته‌بندی‌ها (Categories Page) — دوکان ۲۴
   ========================================================================== */
.dookan-categories-page {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 14px;
    padding-right: 14px;
}

.dookan-categories-header {
    padding-top: 6px;
}

.dookan-categories-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(8, 122, 56, 0.1);
    color: #087a38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.dookan-cat-count-badge {
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.dookan-cat-search-box {
    margin-bottom: 18px;
}

.dookan-cat-search-input {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 10px 42px 10px 38px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease !important;
}

.dookan-cat-search-input:focus {
    border-color: #087a38 !important;
    box-shadow: 0 0 0 3px rgba(8, 122, 56, 0.12) !important;
    background: #ffffff !important;
}

.dookan-cat-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.dookan-cat-search-clear {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.dookan-cat-search-clear:hover {
    color: #ef4444;
    transform: translateY(-50%) scale(1.1);
}

/* شبکه کارت‌های دسته‌بندی */
.dookan-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
}

@media (min-width: 576px) {
    .dookan-categories-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
    }
}

@media (min-width: 768px) {
    .dookan-categories-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 18px !important;
    }
}

@media (min-width: 992px) {
    .dookan-categories-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 20px !important;
    }
}

/* کارت تکی دسته‌بندی */
.dookan-category-card {
    background: #f0f2f5 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 14px 6px 12px !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    cursor: pointer !important;
}

.dookan-category-card.d-none,
.dookan-category-card.dookan-cat-hidden {
    display: none !important;
}

.dookan-category-card:hover,
.dookan-category-card:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
    background: #e6e9ee !important;
}

/* باکس تصویر دسته‌بندی */
.dookan-category-icon-wrap {
    width: 100% !important;
    height: 76px !important;
    border-radius: 16px !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
    transition: transform 0.25s ease !important;
    border: none !important;
}

.dookan-category-card:hover .dookan-category-icon-wrap {
    background: transparent !important;
    border: none !important;
    transform: scale(1.06) !important;
}

.dookan-category-icon-wrap img {
    width: 72px !important;
    height: 72px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
    display: block !important;
}

.dookan-category-card:hover .dookan-category-icon-wrap img {
    transform: scale(1.1) !important;
}

/* عنوان دسته‌بندی */
.dookan-category-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.3 !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.dookan-category-card:hover .dookan-category-title {
    color: #087a38 !important;
}

@media (min-width: 768px) {
    .dookan-category-card {
        padding: 16px 8px 14px !important;
    }
    .dookan-category-icon-wrap {
        height: 84px !important;
    }
    .dookan-category-icon-wrap img {
        width: 80px !important;
        height: 80px !important;
        max-width: 84px !important;
        max-height: 84px !important;
    }
    .dookan-category-title {
        font-size: 14px !important;
    }
}

/* ========================================================= */
/* استایل بخش بلاگ و دانستنی‌های دوکان (اسکرول افقی تک‌خطی) */
/* ========================================================= */
.dookan-blog-section {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.dookan-blog-swiper {
    padding: 6px 2px 14px 2px !important;
    overflow: hidden;
}

.dookan-blog-slide {
    height: auto !important;
    display: flex;
}

.dookan-blog-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    cursor: pointer;
    text-decoration: none !important;
}

.dookan-blog-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px rgba(8, 122, 56, 0.09);
}

.dookan-blog-cover-wrap {
    position: relative;
    width: 100%;
    height: 135px;
    background: #f1f5f9;
    overflow: hidden;
}

.dookan-blog-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.dookan-blog-card:hover .dookan-blog-cover-wrap img {
    transform: scale(1.06);
}

.dookan-blog-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(8, 122, 56, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.dookan-blog-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.dookan-blog-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.55;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.dookan-blog-summary {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.dookan-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    font-size: 11px;
}

.dookan-blog-read-time {
    color: #94a3b8;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.dookan-blog-more-btn {
    color: var(--primary, #087A38);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
}

.dookan-blog-card:hover .dookan-blog-more-btn {
    transform: translateX(-3px);
}

/* =========================================================
   استایل‌های مدرن و حرفه‌ای بخش ساعات کاری فروشگاه (Store Working Hours)
   ========================================================= */
.store-schedule-container {
    margin: 12px auto 4px;
    max-width: 560px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    direction: rtl;
    text-align: right;
    transition: all 0.2s ease;
}

.store-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 11.5px;
}

.store-schedule-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    color: #1e293b;
}

.store-schedule-title-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(8, 122, 56, 0.09);
    color: #087A38;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* نشانگر زنده وضعیت فروشگاه */
.store-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.store-status-pill.is-open {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.store-status-pill.is-closed {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.store-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.store-status-pill.is-open .store-status-dot {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: schedulePulse 2s infinite;
}

.store-status-pill.is-closed .store-status-dot {
    background: #ef4444;
}

@keyframes schedulePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* بدج‌های نوبت‌ها و شیفت‌های کاری */
.store-shifts-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.store-shift-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 11px;
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.store-shift-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.store-shift-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.store-shift-label i {
    font-size: 12px;
}

.store-shift-time {
    font-weight: 700;
    color: #0f172a;
    font-size: 11.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    direction: rtl;
}

.store-shift-time .shift-sep {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    margin: 0 4px;
}

/* =========================================================
   اصلاح مودال و دکمه ثبت نظر
   ========================================================= */
/* اصلاح z-index و جلوگیری از قرارگیری مودال ثبت نظر زیر بک‌دراپ تارکننده */
#reviewSubmitModal {
    z-index: 1060 !important;
}

#reviewSubmitModal .modal-dialog {
    z-index: 1065 !important;
}

/* دکمه شناور ثبت نظر در سمت راست (موبایل) تا روی پشتیبانی فوری سمت چپ نیفتد */
.review-box .add-btn,
a.add-btn[data-bs-target="#reviewSubmitModal"] {
    position: fixed !important;
    bottom: 80px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 1040 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #087A38 0%, #05652D 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(8, 122, 56, 0.45) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.review-box .add-btn:hover,
a.add-btn[data-bs-target="#reviewSubmitModal"]:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 22px rgba(8, 122, 56, 0.55) !important;
}

@media (min-width: 768px) {
    .review-box a.add-btn,
    a.add-btn[data-bs-target="#reviewSubmitModal"] {
        display: none !important;
    }
}

/* ========================================================
   رفع قطعی چشمک زدن هاله خاکستری لبه صفحه (Overscroll Glow / Rubberband) در موبایل
   ======================================================== */
@media (max-width: 767.98px) {
    html {
        overscroll-behavior: none !important;
        overscroll-behavior-y: none !important;
        overscroll-behavior-x: none !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body {
        overscroll-behavior: none !important;
        overscroll-behavior-y: none !important;
        overscroll-behavior-x: none !important;
        scroll-behavior: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .page-wraper {
        overscroll-behavior: none !important;
        overscroll-behavior-y: none !important;
    }
}

/* ========================================================
   بخش‌های موضوعی صفحه اصلی تمام‌عرض (Full-Width Edge-to-Edge)
   (Themed Home Sections: Special, Supermarket, Food, Stores)
   ======================================================== */
.dookan-home-section {
    margin-left: -15px !important;
    margin-right: -15px !important;
    width: calc(100% + 30px) !important;
    max-width: none !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    padding: 16px 0 18px 0 !important;
    margin-bottom: 24px !important;
    position: relative;
    box-sizing: border-box !important;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* ۱. تم پیشنهادهای شگفت‌انگیز روز (روبی و زرشکی جذاب) */
.dookan-home-section.theme-special {
    background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 50%, #FFF5F7 100%);
    border-top: 1px solid rgba(225, 29, 72, 0.18);
    border-bottom: 1px solid rgba(225, 29, 72, 0.18);
    box-shadow: 0 4px 18px rgba(225, 29, 72, 0.05);
}
.dookan-home-section.theme-special .dookan-theme-badge {
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
}
.dookan-home-section.theme-special .dookan-section-title {
    color: #9F1239;
}
.dookan-home-section.theme-special .dookan-section-link {
    color: #BE123C;
    background: rgba(255, 241, 242, 0.9);
    border: 1px solid rgba(225, 29, 72, 0.2);
}
.dookan-home-section.theme-special .dookan-section-link:hover {
    background: #E11D48;
    color: #ffffff !important;
}
.dookan-home-section.theme-special .dookan-product-badge {
    background: linear-gradient(135deg, #E11D48, #BE123C);
}
.dookan-home-section.theme-special .dookan-product-add-btn:hover {
    background: #BE123C;
    border-color: #BE123C;
}

/* ۲. تم جشنواره تخفیف سوپرمارکت (آبی لاجوردی / هایپرمارکت خنک) */
.dookan-home-section.theme-supermarket {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #F8FAFC 100%);
    border-top: 1px solid rgba(2, 132, 199, 0.18);
    border-bottom: 1px solid rgba(2, 132, 199, 0.18);
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.05);
}
.dookan-home-section.theme-supermarket .dookan-theme-badge {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}
.dookan-home-section.theme-supermarket .dookan-section-title {
    color: #0369A1;
}
.dookan-home-section.theme-supermarket .dookan-section-link {
    color: #0284C7;
    background: rgba(240, 249, 255, 0.9);
    border: 1px solid rgba(2, 132, 199, 0.2);
}
.dookan-home-section.theme-supermarket .dookan-section-link:hover {
    background: #0284C7;
    color: #ffffff !important;
}
.dookan-home-section.theme-supermarket .dookan-product-badge {
    background: linear-gradient(135deg, #0284C7, #0369A1);
}
.dookan-home-section.theme-supermarket .dookan-product-add-btn:hover {
    background: #0284C7;
    border-color: #0284C7;
}

/* ۳. تم جشنواره رستوران و غذای گرم (نارنجی کهربایی اشتهاآور) */
.dookan-home-section.theme-food {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FFFDF9 100%);
    border-top: 1px solid rgba(234, 88, 12, 0.18);
    border-bottom: 1px solid rgba(234, 88, 12, 0.18);
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.05);
}
.dookan-home-section.theme-food .dookan-theme-badge {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
.dookan-home-section.theme-food .dookan-section-title {
    color: #C2410C;
}
.dookan-home-section.theme-food .dookan-section-link {
    color: #EA580C;
    background: rgba(255, 247, 237, 0.9);
    border: 1px solid rgba(234, 88, 12, 0.2);
}
.dookan-home-section.theme-food .dookan-section-link:hover {
    background: #EA580C;
    color: #ffffff !important;
}
.dookan-home-section.theme-food .dookan-product-badge {
    background: linear-gradient(135deg, #EA580C, #C2410C);
}
.dookan-home-section.theme-food .dookan-product-add-btn:hover {
    background: #EA580C;
    border-color: #EA580C;
}

/* ۴. تم فروشگاه‌های باز و فعال (سبز زمردی رسمی دوکان ۲۴) */
.dookan-home-section.theme-stores {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 50%, #F7FEE7 100%);
    border-top: 1px solid rgba(8, 122, 56, 0.18);
    border-bottom: 1px solid rgba(8, 122, 56, 0.18);
    box-shadow: 0 4px 18px rgba(8, 122, 56, 0.05);
}
.dookan-home-section.theme-stores .dookan-theme-badge {
    background: linear-gradient(135deg, #087A38 0%, #05652D 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(8, 122, 56, 0.35);
}
.dookan-home-section.theme-stores .dookan-section-title {
    color: #065F46;
}
.dookan-home-section.theme-stores .dookan-section-link {
    color: #087A38;
    background: rgba(240, 253, 244, 0.9);
    border: 1px solid rgba(8, 122, 56, 0.2);
}
.dookan-home-section.theme-stores .dookan-section-link:hover {
    background: #087A38;
    color: #ffffff !important;
}

/* المان‌های هدر بخش‌ها */
.dookan-theme-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    margin-bottom: 12px;
    gap: 8px;
}
.dookan-theme-header-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.dookan-section-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    letter-spacing: -0.3px;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
.dookan-section-link {
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap !important;
    flex-shrink: 0;
}
.dookan-theme-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: -0.2px;
    white-space: nowrap !important;
    flex-shrink: 0;
}
.dookan-theme-subtext {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* پدینگ اسلایدرهای افقی درون بخش تمام‌عرض */
.special-offers-swiper,
.supermarket-offers-swiper,
.food-offers-swiper,
.dookan-open-stores-swiper {
    width: 100%;
    padding: 4px 16px 14px 16px !important;
    overflow: hidden;
    direction: rtl;
    box-sizing: border-box;
}

/* در دسکتاپ بخش‌ها داخل کانتینر قرار می‌گیرند */
@media (min-width: 768px) {
    .dookan-home-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        border-radius: 20px !important;
        border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 20px 0 22px 0 !important;
    }
}

/* کارت سبک متنی سئو برای بلاگ در موبایل */
.dookan-seo-blog-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.dookan-seo-blog-pill {
    background: #F8FAFC;
    color: #334155 !important;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}
.dookan-seo-blog-pill:hover {
    background: #F1F5F9;
    color: #087A38 !important;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

/* استایل دکمه‌های مشاهده همه سفارش‌ها و پیام‌ها */
#btn-view-all-orders, #btn-view-all-notifs {
    box-shadow: 0 2px 10px rgba(8, 122, 56, 0.08);
    border: 1.5px solid #087A38 !important;
    cursor: pointer;
    font-weight: 600;
}

#btn-view-all-orders:hover, #btn-view-all-notifs:hover {
    background: #087A38 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(8, 122, 56, 0.25);
    transform: translateY(-2px);
}

#btn-view-all-orders:hover .badge, #btn-view-all-notifs:hover .badge {
    background: #ffffff !important;
    color: #087A38 !important;
}

#view-all-orders-wrapper, #notif-view-all-wrapper {
    position: relative;
    z-index: 5;
}

/* ========================================================
   ORDER PREPARATION ANIMATION & COUNTDOWN TIMER
   ======================================================== */
.prep-timer-card {
    background: linear-gradient(135deg, #fffaf3 0%, #fff7ed 50%, #ffedd5 100%);
    border: 1.5px solid #fed7aa;
    border-radius: 18px;
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.08);
    transition: all 0.3s ease;
}
.dark-theme .prep-timer-card,
[data-theme-version="dark"] .prep-timer-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(194, 65, 12, 0.18) 100%);
    border-color: rgba(249, 115, 22, 0.3);
}

/* ردیف هدر تایمر (نشان وضعیت و زمان کل) */
.prep-timer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(249, 115, 22, 0.25);
}
.prep-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(234, 88, 12, 0.12);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.22);
    border-radius: 30px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.prep-header-total {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #78716c;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(249, 115, 22, 0.18);
    white-space: nowrap;
}
.prep-header-total strong {
    color: #0f172a;
    font-weight: 700;
}
.prep-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ea580c;
    display: inline-block;
    animation: prepDotPulse 1.8s infinite;
}
@keyframes prepDotPulse {
    0%, 100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.6); }
    50% { transform: scale(1.2); opacity: 0.8; box-shadow: 0 0 0 5px rgba(234, 88, 12, 0); }
}

/* انیمیشن پخت و آماده‌سازی با قابلمه و ذرات بخار */
.prep-anim-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prep-anim-pot {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    position: relative;
    z-index: 2;
    animation: potBounce 2.2s infinite ease-in-out;
}
.prep-steam-container {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 1;
}
.prep-steam-bar {
    width: 3.5px;
    height: 12px;
    background: #f97316;
    border-radius: 3px;
    opacity: 0;
    animation: steamFloat 1.8s infinite ease-out;
}
.prep-steam-bar:nth-child(1) { animation-delay: 0.15s; height: 10px; }
.prep-steam-bar:nth-child(2) { animation-delay: 0.5s; height: 14px; }
.prep-steam-bar:nth-child(3) { animation-delay: 0.85s; height: 11px; }

@keyframes potBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.03); }
}
@keyframes steamFloat {
    0% { transform: translateY(0) scaleY(0.5); opacity: 0; }
    50% { opacity: 0.85; }
    100% { transform: translateY(-16px) scaleY(1.3); opacity: 0; }
}

/* محفظه نمایش تایمر دیجیتال */
.prep-digital-timer-pill {
    background: #ffffff;
    border: 1.5px solid rgba(249, 115, 22, 0.35);
    border-radius: 14px;
    padding: 6px 14px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.08);
    min-width: 95px;
    flex-shrink: 0;
}
.dark-theme .prep-digital-timer-pill,
[data-theme-version="dark"] .prep-digital-timer-pill {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(249, 115, 22, 0.4);
}
.prep-countdown-digits {
    font-family: 'Segoe UI', Tahoma, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ea580c;
    line-height: 1;
    display: block;
    direction: ltr;
}
.prep-digital-timer-label {
    font-size: 0.65rem;
    color: #9a3412;
    font-weight: 600;
    margin-top: 3px;
    display: block;
    white-space: nowrap;
}

/* نوار پیشرفت آماده‌سازی */
.prep-timer-progress {
    height: 7px;
    border-radius: 10px;
    background: rgba(234, 88, 12, 0.15);
    overflow: hidden;
    margin: 12px 0 8px;
}
.prep-timer-progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.35);
    transition: width 1s linear;
}

/* برچسب وضعیت در فوتر */
.prep-footer-status {
    padding: 3px 9px;
    border-radius: 20px;
    background: rgba(234, 88, 12, 0.1);
    color: #ea580c;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.prep-footer-status.is-ready {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

/* نوار تایمر در لیست سفارش‌ها (پنل کاربر) */
.prep-order-card-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(135deg, #fffaf3 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    padding: 7px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.05);
}
.prep-mini-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ea580c;
    display: inline-block;
    animation: prepDotPulse 1.6s infinite;
    flex-shrink: 0;
}
.prep-mini-timer-tag {
    background: #ffffff;
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

/* چیپ فشرده قدیمی برای سازگاری */
.prep-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px dashed rgba(249, 115, 22, 0.4);
    color: #ea580c;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
}

/* وضعیت نشانگر باز/بسته بودن فروشگاه روی آواتار */
.con-online-dot-lg.is-open {
    background: #22c55e !important;
}
.con-online-dot-lg.is-closed {
    background: #ef4444 !important;
}

/* کارت فشرده و جمع‌وجور رهگیری سفارش در صفحه اصلی (زیر بنر هیرو) */
.home-active-orders-wrap {
    position: relative;
    z-index: 2;
}
.order-tracking-card.compact-track-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffdfa 100%);
    border: 1px solid #fed7aa !important;
    border-radius: 14px;
    padding: 10px 13px;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.06) !important;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 8px;
}
.order-tracking-card.compact-track-card:last-child {
    margin-bottom: 0;
}
.order-tracking-card.compact-track-card:active {
    transform: scale(0.985);
}
.order-tracking-card.compact-track-card:hover {
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.12) !important;
}
.dark-theme .order-tracking-card.compact-track-card,
[data-theme-version="dark"] .order-tracking-card.compact-track-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border-color: rgba(249, 115, 22, 0.25) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

.compact-track-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compact-track-avatar {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.compact-track-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dark-theme .compact-track-avatar,
[data-theme-version="dark"] .compact-track-avatar {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

.compact-track-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.compact-track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.3;
}
.compact-track-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.dark-theme .compact-track-title,
[data-theme-version="dark"] .compact-track-title {
    color: #f1f5f9;
}
.compact-track-pct {
    display: none !important;
}

.compact-track-status-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.2;
}
.compact-track-status {
    font-size: 10.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}
.compact-track-status i {
    font-size: 11px;
    flex-shrink: 0;
}
.compact-track-ordernum {
    font-size: 9.5px;
    color: #94a3b8;
    letter-spacing: 0.2px;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}
.dark-theme .compact-track-ordernum,
[data-theme-version="dark"] .compact-track-ordernum {
    color: #64748b;
}

.compact-track-progress-wrap {
    width: 100%;
    height: 6px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    overflow: hidden;
    margin-top: 2px;
}
.dark-theme .compact-track-progress-wrap,
[data-theme-version="dark"] .compact-track-progress-wrap {
    background: rgba(255, 255, 255, 0.08);
}
.compact-track-progress-bar {
    height: 100%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.compact-track-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.32) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0.32) 75%,
        transparent 75%,
        transparent
    );
    background-size: 16px 16px;
    animation: compactTrackStripes 0.85s linear infinite;
    border-radius: inherit;
    pointer-events: none;
}
@keyframes compactTrackStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -16px 0;
    }
}

.compact-track-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.08);
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
.order-tracking-card.compact-track-card:hover .compact-track-arrow {
    background: rgba(249, 115, 22, 0.16);
    transform: translateX(-2px);
}

/* ========================================================
   استایل‌های مدرن و حرفه‌ای نقشه (Map.ir & Leaflet UI/UX)
   ======================================================== */
.modern-map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* نوار جستجوی شناور روی نقشه */
.map-search-bar-wrap {
    position: absolute;
    top: 10px;
    right: 12px;
    left: 12px;
    z-index: 1000;
    pointer-events: auto;
    direction: rtl !important;
    text-align: right !important;
}
.map-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    padding: 0 12px;
    height: 38px;
    direction: rtl !important;
    text-align: right !important;
    transition: all 0.2s ease;
}
.map-search-box:focus-within {
    border-color: #087A38;
    box-shadow: 0 4px 18px rgba(8, 122, 56, 0.16) !important;
    background: #ffffff;
}
.map-search-icon {
    color: #087A38;
    font-size: 13px;
    margin-left: 8px;
    flex-shrink: 0;
}
.map-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 11.5px;
    color: #1e293b;
    font-family: inherit;
    direction: rtl !important;
    text-align: right !important;
    padding: 0;
    height: 100%;
    box-shadow: none !important;
}
.map-search-input::placeholder {
    color: #94a3b8;
    font-size: 11.5px;
    direction: rtl !important;
    text-align: right !important;
}
.map-search-clear-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 0 2px;
    margin-right: 4px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}
.map-search-clear-btn:hover {
    color: #ef4444;
}
/* پشتیبانی از ساختار قدیمی input-group در صورت استفاده */
.map-search-bar-wrap .input-group {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    border-radius: 24px;
    direction: rtl !important;
    text-align: right !important;
    height: 38px;
    padding: 0 4px;
}
.map-search-bar-wrap input::placeholder {
    color: #94a3b8;
    font-size: 11.5px;
    direction: rtl !important;
    text-align: right !important;
}
.map-search-results {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    max-height: 210px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 1001;
    border: 1px solid #e2e8f0;
    padding: 4px;
    direction: rtl !important;
    text-align: right !important;
}
.map-search-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-radius: 8px;
    font-size: 11.5px;
    border-bottom: 1px solid #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 2px;
    direction: rtl !important;
    text-align: right !important;
}
.map-search-item:last-child {
    border-bottom: none;
}
.map-search-item:hover {
    background: #f0fdf4;
    color: #087A38;
}
.map-search-item .item-title {
    font-weight: 700;
    color: #1e293b;
    text-align: right;
    direction: rtl;
}
.map-search-item:hover .item-title {
    color: #087A38;
}
.map-search-item .item-sub {
    font-size: 10px;
    color: #64748b;
    text-align: right;
    direction: rtl;
}

/* دکمه شناور GPS (موقعیت من) */
.map-gps-btn {
    position: absolute;
    bottom: 50px;
    left: 12px;
    z-index: 1000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #087A38;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.map-gps-btn:hover {
    transform: scale(1.08);
    background: #f8fafc;
}
.map-gps-btn:active {
    transform: scale(0.92);
}
.map-gps-btn.is-locating {
    animation: gpsPulseAnim 1.2s infinite ease-in-out;
}
@keyframes gpsPulseAnim {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(8, 122, 56, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(8, 122, 56, 0); }
}

/* کارت اطلاعات موقعیت شناور در پایین نقشه (کامپکت، ظریف، راست‌چین و بدون مختصات) */
.map-floating-bottom-card {
    position: absolute;
    bottom: 8px;
    right: 12px;
    left: 12px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 6px 14px;
    min-height: 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    direction: rtl !important;
    text-align: right !important;
    display: flex;
    align-items: center;
}
.map-address-preview-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    direction: rtl !important;
    text-align: right !important;
}
.map-picked-text {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl !important;
    text-align: right !important;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

/* مارکرهای کاستوم زیبا با آیکون‌های فونت‌آوسام */
.custom-map-pin {
    background: transparent !important;
    border: none !important;
}
.custom-pin-wrap {
    width: 36px;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    position: relative;
    user-select: none;
    margin: 0;
    padding: 0;
}
.custom-pin-body {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffffff;
    flex-shrink: 0;
}
.custom-pin-body i {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 14px;
}
.custom-pin-pulse {
    width: 12px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    margin-top: 4px;
    flex-shrink: 0;
}

/* تم‌های مارکر */
.pin-green .custom-pin-body { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.pin-orange .custom-pin-body { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.pin-blue .custom-pin-body { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.pin-teal .custom-pin-body { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.pin-red .custom-pin-body { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

/* مارکر متحرک پیک موتوری */
.courier-marker-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0891b2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 14px rgba(8, 145, 178, 0.4);
    position: relative;
}
.courier-marker-badge::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #0891b2;
    opacity: 0.6;
    animation: courierPulse 1.8s infinite ease-out;
}
@keyframes courierPulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* نشانگر فروشگاه */
.store-marker-badge {
    padding: 4px 8px;
    background: #ea580c;
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    white-space: nowrap;
}

/* نشانگر مشتری */
.customer-marker-badge {
    padding: 4px 8px;
    background: #059669;
    color: #ffffff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    white-space: nowrap;
}

/* مخفی‌سازی کامل پاپ‌آپ‌های ناخواسته و درشت داخلی کتابخانه Mapp */
.mapp-reverse-geocode-popup,
.mapp-search-popup,
.mapp-container .contents:has(.btn-group),
.leaflet-popup:has(.mapp-panel) {
    display: none !important;
}

/* پاپ‌آپ شیک و سبک Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    padding: 0 !important;
    overflow: hidden;
}
.leaflet-popup-content {
    margin: 8px 12px !important;
    line-height: 1.4 !important;
    font-size: 11.5px !important;
    font-family: inherit !important;
}

/* ویجت شناور تغییر لایه نقشه (پرجزئیات معابر و روستاها، ماهواره‌ای، مپ) */
.map-layer-switcher-wrap {
    position: absolute;
    bottom: 50px;
    right: 12px;
    z-index: 1000;
}
.map-layer-btn {
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}
.map-layer-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.map-layer-btn i {
    color: #087A38;
    font-size: 13px;
}
.map-layer-menu {
    position: absolute;
    bottom: 44px;
    right: 0;
    width: 250px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1010;
    animation: layerMenuFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes layerMenuFadeIn {
    from { opacity: 0; transform: translateY(6px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.layer-menu-header {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    padding: 6px 8px 4px 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
}
.layer-option-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    text-align: right;
    cursor: pointer;
    transition: all 0.15s ease;
}
.layer-option-btn:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.layer-option-btn.active {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.layer-option-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.layer-option-icon.bg-detailed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}
.layer-option-icon.bg-satellite {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    color: #38bdf8;
}
.layer-option-icon.bg-osm {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}
.layer-option-icon.bg-mapir {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}
.layer-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.layer-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}
.layer-sub {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.layer-option-btn .check-icon {
    color: #087A38;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.15s;
    flex-shrink: 0;
}
.layer-option-btn.active .check-icon {
    opacity: 1;
}

/* پین‌ها و برچسب‌های نشانگرهای ذخیره شده کاربران و اصناف */
.saved-landmark-pin {
    background: transparent !important;
    border: none !important;
}
.saved-landmark-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid #087A38;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #14532d;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translate(-50%, -100%);
}
.saved-landmark-pill:hover {
    transform: translate(-50%, -108%) scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    border-color: #059669;
}
.saved-landmark-pill.pill-store {
    border-color: #2563eb;
    color: #1e40af;
}
.saved-landmark-pill.pill-store:hover {
    border-color: #1d4ed8;
}
.saved-landmark-pill i {
    font-size: 9.5px;
}
/* استایل و انیمیشن هشدار حداقل سفارش در مودال محصول */
#productModal .item-list-2 {
    align-items: flex-start !important;
}

#productModal .modal-stepper-wrapper {
    position: relative;
}

@keyframes minOrderShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.animate-min-order-shake {
    animation: minOrderShake 0.35s ease-in-out !important;
}

/* استایل برچسب و وضعیت «به زودی» در دسته‌ها و فروشگاه‌ها */
.badge-cat-coming-soon {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #b45309;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.38);
    border-radius: 6px;
    padding: 1.5px 6px;
    line-height: 1.3;
    margin-top: 3px;
    letter-spacing: -0.2px;
}

/* در اسلایدر دسته‌بندی‌های صفحه اصلی (موبایل) - تثبیت در گوشه بالا بدون تداخل با عنوان */
.categore-box .badge-cat-coming-soon {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    z-index: 3 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    padding: 2.5px 6px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
    white-space: nowrap !important;
    margin: 0 !important;
    letter-spacing: 0 !important;
}

/* در صفحه تمام دسته‌بندی‌ها (موبایل و تبلت) */
.dookan-category-card .badge-cat-coming-soon {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 3 !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    padding: 2.5px 6px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

/* در کارت‌های دسته‌بندی دسکتاپ */
.dookan-desktop-cat-card {
    position: relative !important;
}
.dookan-desktop-cat-card .badge-cat-coming-soon {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    z-index: 3 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    padding: 2.5px 7px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.is-coming-soon-box img,
.is-coming-soon-thumb img {
    filter: grayscale(25%) contrast(92%);
    opacity: 0.9;
    transition: filter 0.2s, opacity 0.2s;
}

.is-coming-soon:hover .is-coming-soon-box img,
.is-coming-soon:hover .is-coming-soon-thumb img {
    opacity: 1;
    filter: grayscale(10%);
}

.dookan-store-status-badge.is-coming-soon,
.dookan-store-badge-status.coming-soon {
    background: #f59e0b !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1px solid rgba(217, 119, 6, 0.4) !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35) !important;
}

a.is-coming-soon,
div.is-coming-soon {
    cursor: pointer !important;
}



