
.gk-grid-slider {
    position: relative;
    padding: 10px 0 30px 0;
}

/* --- هدر و عنوان باکس --- */
.gk-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.gk-grid-box-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gk-text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* یک خط رنگی مدرن کنار عنوان */
.gk-grid-box-title::before {
    content: '';
    display: block;
    width: 6px;
    height: 24px;
    background-color: var(--gk-primary);
    border-radius: 4px;
}

/* --- تنظیمات گرید Swiper --- */
.gk-grid-slider-swiper {
    /* ارتفاع به صورت خودکار توسط محتوا یا جاوا اسکریپت محاسبه می‌شود */
    padding-bottom: 10px; /* فضای خالی برای سایه‌ها */
}

/* --- ساختار داخلی هر کارت محصول --- */
.gk-grid-slider .swiper-slide {
    height: calc((100% - (var(--gk-rows, 3) - 1) * var(--gk-vgap, 15px)) / var(--gk-rows, 3)) !important;
    display: flex;
    box-sizing: border-box;
}

.gk-grid-item-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 12px;
    background: var(--gk-card-bg);
    border-radius: 16px; /* گوشه‌های گرد مدرن */
    border: 1px solid var(--gk-border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 16px;
}

/* افکت هاور جذاب روی کل کارت */
.gk-grid-item-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* --- شماره‌گذاری عمودی --- */
.gk-grid-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #e5e7eb; /* رنگ خاکستری روشن برای حالت عادی */
    min-width: 35px;
    text-align: center;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: system-ui, -apple-system, sans-serif;
}

/* تغییر رنگ و انیمیشن کوچک شماره در زمان هاور */
.gk-grid-item-inner:hover .gk-grid-number {
    color: var(--gk-primary);
    transform: scale(1.1);
}

/* --- تصویر محصول --- */
.gk-grid-thumb {
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    border-radius: 12px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gk-grid-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* حذف بک‌گراند سفید عکس‌ها روی پس‌زمینه کارت */
    transition: transform 0.4s ease;
}

.gk-grid-item-inner:hover .gk-grid-thumb img {
    transform: scale(1.08); /* زوم ملایم عکس در هاور */
}

/* --- محتوای متنی --- */
.gk-grid-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden; /* جلوگیری از بیرون زدگی متن */
}

.gk-grid-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.gk-grid-title a {
    color: var(--gk-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
    /* ایجاد محدودیت نمایش متن در 2 خط (جلوگیری از بهم ریختگی ارتفاع کارت‌ها) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gk-grid-title a:hover {
    color: var(--gk-primary);
}


/* --- استایل‌های مربوط به حالت Peek (نمایش بخشی از اسلاید بعدی) در موبایل --- */
@media (max-width: 767px) {
    .gk-mobile-peek .swiper-slide {
        width: 85% !important;
    }

    .gk-mobile-peek .swiper-slide:not(.swiper-slide-active) .gk-grid-item-inner {
        opacity: 0.7;
        transform: scale(0.96);
    }

    .gk-mobile-peek .swiper-slide-active .gk-grid-item-inner {
        opacity: 1;
        transform: scale(1);
    }

    .gk-grid-box-title {
        font-size: 1.25rem;
    }
}

/*
 * Yogabar Widget - Modern Redesign
 */

/* کانتینر اصلی به صورت گرید برای ایجاد کارت‌های مجزا */
.gk-yogabar-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 10px 0;
    margin: 0;
    direction: rtl;
}

/* ساختار کارت اصلی (Card-Based, Radius, Faint Borders, Soft Shadows) */
.gk-yogabar-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #f3f4f6; /* حاشیه بسیار محو */
    border-radius: 16px; /* گوشه‌های استاندارد مدرن */
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); /* سایه نرم و پخش شده */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* ترانزیشن نرم */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* برای جلوگیری از بیرون زدن واترمارک */
    z-index: 1;
}

/* افکت Hover کارت: شناور شدن و افزایش عمق */
.gk-yogabar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #e5e7eb;
}

/* عدد گرافیکی پس‌زمینه (Watermark) */
.gk-yogabar-watermark {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 80px;
    font-weight: 900;
    color: #f9fafb; /* خاکستری بسیار روشن تا چشم را نزند */
    line-height: 1;
    z-index: -1;
    user-select: none;
    pointer-events: none;
}

/* هدر کارت (سلسله مراتب متون) */
.gk-yogabar-header {
    margin-bottom: 24px;
    position: relative;
}

.gk-yogabar-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827; /* تیره و بولد برای تیتر اصلی */
    margin: 0 0 4px 0;
}

.gk-yogabar-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280; /* خاکستری ملایم (Muted) */
    margin: 0;
}

/* گرید محصولات داخل کارت */
.gk-yogabar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    flex-grow: 1;
}

/* لینک کارت محصول */
.gk-yoga-item {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    group: hover; /* برای اعمال افکت روی فرزندان */
}

/* کادر پس‌زمینه عکس محصول (Image Wrapper) */
.gk-yoga-img-wrapper {
    background-color: #f9fafb; /* پس‌زمینه اختصاصی عکس */
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden; /* جلوگیری از بیرون زدن در حالت زوم */
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.gk-yoga-item:hover .gk-yoga-img-wrapper {
    background-color: #f3f4f6;
}

/* عکس محصول (Mix-blend & Hover Zoom) */
.gk-yoga-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* حذف سفیدی بک‌گراند عکس */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* زوم نرم عکس هنگام هاور شدن روی محصول */
.gk-yoga-item:hover .gk-yoga-img-wrapper img {
    transform: scale(1.08);
}

/* عنوان محصول با قابلیت Line-Clamp */
.gk-yoga-item-title {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    /* محدود کردن به ۲ خط */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.gk-yoga-item:hover .gk-yoga-item-title {
    color: #111827; /* تیره‌تر شدن عنوان در حالت هاور */
}

/* بخش فوتر کارت (دکمه مشاهده همه) */
.gk-yogabar-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: flex-end;
}

.gk-yogabar-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6; /* رنگ لینک (آبی مدرن - می‌توانید با رنگ اصلی برند جایگزین کنید) */
    text-decoration: none;
    transition: all 0.3s ease;
}

.gk-yogabar-link svg {
    transition: transform 0.3s ease;
}

.gk-yogabar-link:hover {
    color: #2563eb;
}

.gk-yogabar-link:hover svg {
    transform: translateX(-4px); /* حرکت نرم فلش به سمت چپ در حالت هاور */
}

/* ریسپانسیو (Responsive Design) */
@media (max-width: 1024px) {
    .gk-yogabar-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gk-yogabar-wrapper {
        grid-template-columns: 1fr; /* در موبایل همه کارت‌ها زیر هم قرار می‌گیرند */
        gap: 16px;
    }
    .gk-yogabar-card {
        padding: 16px;
    }
    .gk-yoga-item-title {
        font-size: 11px;
    }
}

/*
 * Latest Posts Carousel - Modern UI/UX based on Design Tokens
 */

.gk-latest-posts {
    position: relative;
    width: 100%;
}

/* فاصله دادن به پایین اسلایدر برای دیده شدن سایه کارت‌ها و جا نمایی Pagination */
.gk-latest-posts-swiper {
    padding-bottom: 32px !important;
    padding-top: 8px !important;
}

/* =========================================
   کارت مقاله (Card Structure)
   پیروی از اصول: رنگ ساختاری، حاشیه، عمق و سایه
========================================= */
.gk-post-item {
    background-color: var(--gk-surface, #ffffff);
    border: var(--gk-border-width, 1px) solid var(--gk-border-color, #e5e7eb);
    border-radius: var(--gk-radius-lg, 16px);
    box-shadow: var(--gk-shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
    transition: transform var(--gk-duration, 0.3s) var(--gk-ease-standard, cubic-bezier(0.4, 0, 0.2, 1)),
    box-shadow var(--gk-duration, 0.3s) var(--gk-ease-standard, cubic-bezier(0.4, 0, 0.2, 1));
    overflow: hidden; /* برای جلوگیری از بیرون زدن عکس از حلالیت گوشه‌ها */
    display: flex;
    flex-direction: column;
    height: 100%; /* یکسان سازی ارتفاع تمام کارت‌ها در اسلایدر */
}

/* الگوی تعاملی (Interaction Pattern) طبق راهنما */
.gk-post-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--gk-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

/* ساختار لینک کلی */
.gk-post-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* =========================================
   بخش تصویر (Image & Media)
========================================= */
.gk-post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* ایجاد کادر تصویر استاندارد و مدرن */
    overflow: hidden;
    border-bottom: var(--gk-border-width, 1px) solid var(--gk-border-color, #e5e7eb);
}

.gk-post-thumbnail img.gk-img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--gk-duration-slow, 0.5s) var(--gk-ease-standard, ease);
}

/* افکت زوم پریمیوم روی عکس هنگام هاور شدن کارت */
.gk-post-item:hover .gk-post-thumbnail img {
    transform: scale(1.05);
}

/* جایگزین تصویر در صورت نبود عکس */
.gk-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--gk-background, #f3f4f6);
}

/* =========================================
   بخش محتوا و متون (Typography & Content)
========================================= */
.gk-post-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* هول دادن بخش متادیتا به پایین کارت */
}

.gk-post-title {
    color: var(--gk-text, #1f2937);
    font-size: var(--gk-font-size, 16px);
    font-weight: var(--gk-heading-weight, 700);
    line-height: var(--gk-line-height, 1.6);
    margin: 0 0 16px 0;

    /* سیستم Truncation برای جلوگیری از بهم ریختگی عناوین طولانی */
    display: -webkit-box;
    -webkit-line-clamp: var(--gk-card-title-lines, 2);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    transition: color var(--gk-duration-fast, 0.2s) var(--gk-ease-standard, ease);
}

/* تغییر رنگ عنوان به رنگ اصلی به جای خط کشیدن زیر آن (مدرن‌تر) */
.gk-post-item:hover .gk-post-title {
    color: var(--gk-primary, #3B82F6);
}

/* =========================================
   متادیتا (فوتر کارت)
========================================= */
.gk-post-meta {
    margin-top: auto; /* چسباندن این بخش به کف کارت */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--gk-border-width, 1px) dashed var(--gk-border-color, #e5e7eb);
    padding-top: 16px;
    font-size: calc(var(--gk-font-size, 16px) * 0.85); /* کمی کوچکتر از متن اصلی */
    color: var(--gk-neutral-500, #6b7280); /* رنگ خنثی */
}

.gk-post-read-more {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gk-primary, #3B82F6);
    font-weight: 600;
    transition: transform var(--gk-duration-fast, 0.2s) var(--gk-ease-standard, ease);
}

/* حرکت ملایم فلش دکمه مطالعه هنگام هاور */
.gk-post-item:hover .gk-post-read-more {
    transform: translateX(-4px); /* در حالت راست‌چین (RTL) به سمت چپ حرکت میکند */
}

/* =========================================
   استایل‌دهی مدرن کنترل‌های Swiper
========================================= */
.gk-swiper-controls .gk-nav-btn {
    background-color: var(--gk-surface, #ffffff);
    color: var(--gk-text, #1f2937);
    width: 44px;
    height: 44px;
    border-radius: var(--gk-radius-round, 50%);
    box-shadow: var(--gk-shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05));
    border: var(--gk-border-width, 1px) solid var(--gk-border-color, #e5e7eb);
    transition: all var(--gk-duration-fast, 0.2s) var(--gk-ease-standard, ease);
}

.gk-swiper-controls .gk-nav-btn::after {
    font-size: 16px; /* کوچک و شیک کردن آیکون پیش‌فرض Swiper */
    font-weight: 800;
}

.gk-swiper-controls .gk-nav-btn:hover {
    background-color: var(--gk-primary, #3B82F6);
    color: var(--gk-surface, #ffffff);
    border-color: var(--gk-primary, #3B82F6);
    box-shadow: var(--gk-shadow, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
    transform: scale(1.05);
}

/* رنگ‌بندی Pagination (نقاط پایین) */
.swiper-pagination-bullet {
    background-color: var(--gk-neutral-400, #9ca3af);
    transition: all var(--gk-duration-fast, 0.2s) var(--gk-ease-standard, ease);
}

.swiper-pagination-bullet-active {
    background-color: var(--gk-primary, #3B82F6);
    width: 24px; /* پهن شدن نقطه فعال (استایل مدرن) */
    border-radius: var(--gk-radius-sm, 4px);
}

/* ==========================================================================
   GanjehKala Stories v3 - stable Swiper rail + viewer
   ========================================================================== */
.gk-stories-v3 {
    --gk-story-avatar-size: 72px;
    --gk-story-ring-width: 3px;
    --gk-story-ring-1: var(--gk-primary, #3b82f6);
    --gk-story-ring-2: var(--gk-accent, #ef4444);
    --gk-story-seen-ring: #d1d5db;
    --gk-story-overlay-bg: rgba(2, 6, 23, .92);
    --gk-story-viewer-width: 430px;
    --gk-story-viewer-radius: 28px;
    --gk-story-action-bg: rgba(255,255,255,.14);
    --gk-story-title-gap: 4px;
    --gk-story-title-width: calc(var(--gk-story-avatar-size) + (var(--gk-story-ring-width) * 4) + 8px);
    --gk-story-item-width: var(--gk-story-title-width);
    position: relative;
    width: 100%;
    direction: inherit;
}

.gk-stories-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gk-stories-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: var(--gk-text, #111827);
}

.gk-stories-rail-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gk-stories-swiper {
    width: 100%;
    overflow: hidden;
    opacity: 1 !important;
    padding: 8px 2px 10px;
}

.gk-stories-swiper .swiper-wrapper {
    align-items: flex-start;
}

.gk-story-avatar {
    width: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    text-align: center;
    color: inherit;
    outline: none;
    transition: transform 180ms ease;
    width: var(--gk-story-item-width) !important;
    max-width: var(--gk-story-item-width);
    box-sizing: border-box;
}

.gk-stories-swiper .swiper-slide.gk-story-avatar {
    width: var(--gk-story-item-width) !important;
    flex: 0 0 var(--gk-story-item-width);
}


.gk-story-avatar:hover {
    transform: translateY(-2px);
}

.gk-story-avatar:active {
    transform: translateY(0) scale(.96);
}

.gk-story-avatar:focus-visible .gk-ring {
    box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}

.gk-avatar,
.gk-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gk-avatar {
    width: 100%;
    flex: 0 0 auto;
}

.gk-ring {
    position: relative;
    width: calc(var(--gk-story-avatar-size) + (var(--gk-story-ring-width) * 4));
    height: calc(var(--gk-story-avatar-size) + (var(--gk-story-ring-width) * 4));
    border-radius: 999px;
    padding: var(--gk-story-ring-width);
    background: linear-gradient(135deg, var(--gk-story-ring-1), var(--gk-story-ring-2), #f59e0b);
    box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.gk-story-avatar.is-seen .gk-ring {
    background: var(--gk-story-seen-ring);
}

.gk-ring img {
    width: var(--gk-story-avatar-size);
    height: var(--gk-story-avatar-size);
    display: block;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid var(--gk-background, #fff);
    background: #f3f4f6;
}

.gk-story-badge {
    position: absolute;
    inset-inline: 8px;
    bottom: 6px;
    min-height: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 5px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    color: #fff;
    background: rgba(0,0,0,.58);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.gk-avatar-title {
    width: min(var(--gk-story-title-width), 100%);
    max-width: 100%;
    min-height: 32px;
    margin-top: var(--gk-story-title-gap);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 16px;
    font-weight: 800;
    color: var(--gk-text, #111827);
}

.gk-story-avatar.is-seen .gk-avatar-title {
    color: var(--gk-neutral-400, #9ca3af);
}

.gk-stories-rail-nav {
    position: relative;
    z-index: 2;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.08);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
    cursor: pointer;
    color: var(--gk-text, #111827);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.gk-stories-rail-nav:hover,
.gk-stories-rail-nav:focus-visible {
    transform: translateY(-1px);
    background: #f8fafc;
    box-shadow: 0 14px 32px rgba(15,23,42,.12);
}

.gk-stories-rail-nav::before {
    display: none;
}

.gk-stories-rail-pagination {
    position: static;
    margin-top: 8px;
    text-align: center;
}

.gk-stories-rail-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    opacity: .25;
    background: var(--gk-primary, #3b82f6);
}

.gk-stories-rail-pagination .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 999px;
    opacity: 1;
}

.gk-story-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.gk-story-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.gk-story-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: var(--gk-story-overlay-bg);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    cursor: default;
}

body.gk-no-scroll {
    overflow: hidden !important;
    touch-action: none;
}

.gk-story-shell {
    position: relative;
    z-index: 2;
    width: min(var(--gk-story-viewer-width), calc(100vw - 32px));
    height: min(88vh, 820px);
    max-height: 820px;
    border-radius: var(--gk-story-viewer-radius);
    overflow: hidden;
    background: #000;
    color: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.58);
    direction: rtl;
    isolation: isolate;
}

.gk-story-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 24%, transparent 64%, rgba(0,0,0,.62));
}

.gk-story-progress {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    z-index: 30;
    display: flex;
    gap: 5px;
}

.gk-story-progress-item {
    flex: 1;
    height: 3px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255,255,255,.28);
}

.gk-story-progress-item span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transition: width 70ms linear;
}

.gk-story-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 31;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(26px + env(safe-area-inset-top, 0px)) 14px 14px;
    pointer-events: none;
}

.gk-story-author {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.gk-story-author-img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
}

.gk-story-author-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gk-story-author-text {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.gk-story-title {
    display: block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
}

.gk-story-subtitle {
    display: block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255,255,255,.68);
}

.gk-story-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.gk-story-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: var(--gk-story-action-bg);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 1;
    font-weight: 900;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gk-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.gk-svg-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.gk-story-btn .gk-svg-icon {
    width: 18px;
    height: 18px;
}

.gk-story-close .gk-svg-icon,
.gk-story-mute .gk-svg-icon {
    width: 19px;
    height: 19px;
}

.gk-story-btn:hover,
.gk-story-btn:focus-visible {
    transform: scale(1.06);
    background: rgba(255,255,255,.24);
}

.gk-story-btn .gk-icon-play,
.gk-story-btn .gk-icon-muted {
    display: none;
}

.gk-story-overlay.is-paused .gk-story-btn .gk-icon-pause { display: none; }
.gk-story-overlay.is-paused .gk-story-btn .gk-icon-play { display: inline-flex; }
.gk-story-overlay.is-muted .gk-story-btn .gk-icon-sound { display: none; }
.gk-story-overlay.is-muted .gk-story-btn .gk-icon-muted { display: inline-flex; }

.gk-story-media-area {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #000;
}

.gk-story-viewer-swiper,
.gk-story-viewer-swiper .swiper-wrapper,
.gk-story-viewer-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.gk-story-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.gk-story-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

.gk-story-overlay.is-fit-contain .gk-story-media {
    object-fit: contain;
}

.gk-story-text-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    text-align: center;
}

.gk-story-text-inner {
    max-width: 92%;
    font-size: clamp(18px, 4vw, 30px);
    line-height: 1.8;
    font-weight: 900;
    word-break: break-word;
}

.gk-story-tap-zone {
    position: absolute;
    top: 84px;
    bottom: 112px;
    z-index: 20;
    width: 50%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.gk-story-tap-prev { right: 0; }
.gk-story-tap-next { left: 0; }

.gk-story-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 32;
    padding: 14px;
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.gk-story-description {
    display: none;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(0,0,0,.28);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    line-height: 1.8;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: auto;
}

.gk-story-product {
    display: none;
    pointer-events: auto;
}

.gk-story-product-card {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 18px;
    text-decoration: none;
    color: #111827;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.gk-story-product-card img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    object-fit: cover;
    background: #f3f4f6;
}

.gk-story-product-meta {
    min-width: 0;
    flex: 1;
    display: grid;
    gap: 3px;
}

.gk-story-product-meta strong {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gk-story-product-meta small {
    font-size: 12px;
    color: var(--gk-primary, #2563eb);
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gk-story-cta {
    display: none;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(0,0,0,.28);
    pointer-events: auto;
}

.gk-story-cta::after {
    content: '';
    width: 8px;
    height: 8px;
    margin-inline-start: 9px;
    border-top: 2px solid currentColor;
    border-inline-start: 2px solid currentColor;
    transform: rotate(-45deg);
}

.gk-story-desktop-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gk-story-desktop-nav .gk-svg-icon {
    width: 24px;
    height: 24px;
}

.gk-story-desktop-nav::before {
    display: none;
}

.gk-story-desktop-prev {
    right: calc(50% + (min(var(--gk-story-viewer-width), calc(100vw - 32px)) / 2) + 22px);
}

.gk-story-desktop-next {
    left: calc(50% + (min(var(--gk-story-viewer-width), calc(100vw - 32px)) / 2) + 22px);
}

.gk-story-desktop-nav:hover,
.gk-story-desktop-nav:focus-visible {
    background: rgba(255,255,255,.22);
    transform: translateY(-50%) scale(1.06);
}

@media (max-width: 767px) {
    .gk-stories-v3 {
        --gk-story-avatar-size: 62px;
    }

    .gk-stories-rail-nav,
    .gk-story-desktop-nav {
        display: none !important;
    }

    .gk-story-overlay {
        padding: 0;
    }

    .gk-story-shell {
        width: 100vw;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
    }

    .gk-story-topbar {
        padding-inline: 12px;
    }

    .gk-story-title,
    .gk-story-subtitle {
        max-width: 180px;
    }

    .gk-story-bottom {
        padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 768px) {
    .gk-story-overlay:not(.is-open) .gk-story-shell {
        transform: translateY(8px) scale(.985);
    }

    .gk-story-overlay.is-open .gk-story-shell {
        transform: translateY(0) scale(1);
        transition: transform 220ms ease;
    }
}

/*
 * Accessibility
 */
:focus-visible {
    outline-color: var(--gk-focus-color);
    outline-width: var(--gk-focus-width);
    outline-offset: var(--gk-focus-offset);
    outline-style: var(--gk-focus-style);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0ms !important;
        animation-duration: 0ms !important;
    }
}

.gk-testimonial-item {
    background: var(--gk-surface);
    padding: 30px;
    border-radius: var(--gk-radius-lg);
    box-shadow: var(--gk-shadow);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.gk-testimonial-img {
    margin-bottom: 20px;
}

.gk-testimonial-img img {
    border-radius: var(--gk-radius-round);
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.gk-testimonial-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--gk-neutral-600);
    margin-bottom: 15px;
    flex-grow: 1; /* باعث می‌شود باکس‌ها هم‌ارتفاع به نظر برسند */
}

.gk-testimonial-stars {
    margin-bottom: 15px;
    color: var(--gk-accent);
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.gk-testimonial-name {
    font-size: 16px;
    font-weight: var(--gk-heading-weight);
    color: var(--gk-text);
    margin: 0 0 5px;
}

.gk-testimonial-job {
    font-size: 12px;
    color: var(--gk-neutral-500);
}

/* اصلاح ناوبری برای جلوگیری از روی هم افتادن با محتوا */
.gk-testimonial-widget .swiper-button-prev,
.gk-testimonial-widget .swiper-button-next {
    width: 40px;
    height: 40px;
    background: var(--gk-surface);
    border-radius: var(--gk-radius-round);
    box-shadow: var(--gk-shadow-sm);
}
.gk-testimonial-widget .swiper-button-prev::after,
.gk-testimonial-widget .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

/* ==========================================================================
   GK Modern Banner Carousel
   ========================================================================== */

.gk-banner-carousel {
    position: relative;
    direction: var(--gk-dir, inherit); /* رعایت ساختار RTL/LTR */
}

.gk-slider-modern {
    padding: 1rem 0 2rem 0 !important;
    overflow: hidden;
}

@media (min-width: 768px) {
    .gk-slider-modern {
        padding: 2rem 0 4rem 0 !important;
    }
}

/*
   رفع باگ اصلی Scale:
   تغییر اندازه باید روی Inner انجام شود، نه روی .swiper-slide (.gk-slide-item)
   تا محاسبات Swiper برای فاصله‌ها به هم نریزد.
*/
.gk-slider-modern .gk-slide-item {
    /* ترانسفورم حذف شد */
}

/* اینر باکس - محل اعمال انیمیشن‌های مدرن */
.gk-slide-inner {
    position: relative;
    border-radius: var(--gk-radius-lg, 24px);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    /* در حالت مدرن، پیش‌فرض اسلایدها کوچک‌تر و شفاف‌تر هستند */
}

.gk-slider-modern .gk-slide-inner {
    opacity: 0.5;
    transform: scale(0.85);
    transform-origin: center center;
}

/* اسلاید فعال (مرکزی) */
.gk-slider-modern .swiper-slide-active .gk-slide-inner {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* رفع باگ Mobile Peek (بیرون زدگی در موبایل) */
@media (max-width: 767px) {
    /* وقتی Swiper روی حالت Auto است، نیاز به عرض ثابت در CSS دارد */
    .gk-mobile-peek .swiper-slide {
        width: 85% !important;
    }
}

/* تصویر اسلاید */
.gk-slide-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.6s ease;
    /* جلوگیری از پرش چیدمان (CLS) */
    aspect-ratio: 16 / 5;
}

@media (max-width: 767px) {
    .gk-slide-image {
        aspect-ratio: 2 / 1; /* نسبت تصویر موبایل */
    }
}

/* هاور تصویر فقط برای اسلاید اکتیو */
.gk-slider-modern .swiper-slide-active:hover .gk-slide-image {
    transform: scale(1.03);
}

/* لینک */
.gk-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* Glassmorphism Effect */
.gk-glass-overlay {
    position: absolute;
    inset-block-end: 0; /* Logical Property instead of bottom */
    inset-inline-start: 0; /* Logical Property instead of left */
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.15), transparent);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

@media (max-width: 767px) {
    .gk-glass-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    }
}

.gk-slider-modern .swiper-slide-active .gk-glass-overlay {
    opacity: 1;
}

/* Pagination */
.gk-slider-modern .swiper-pagination {
    bottom: 10px !important;
}

.gk-slider-modern .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.5;
    transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    border-radius: 10px;
}

.gk-slider-modern .swiper-pagination-bullet-active {
    width: 24px;
    background: var(--gk-primary, #e53935);
    opacity: 1;
}

/* Navigation Buttons */
.gk-banner-carousel .gk-nav-btn {
    display: none;
}

@media (min-width: 768px) {
    .gk-banner-carousel .gk-nav-btn {
        display: flex;
    }
}

/* -------------------------------------------------------------------------
 * Ganjeh Kala - Category Showcase skin frontend fallback (v1.6.0)
 * Keeps the new Elementor category showcase styled on cached/public pages too.
 * ---------------------------------------------------------------------- */
.gk-grid-category-carousel{
    position:relative;
    --gk-cat-default-accent:#0ea5e9;
}
.gk-grid-category-carousel .gk-grid-cat-title{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:24px;
}
.gk-grid-category-carousel .gk-grid-cat-heading{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
}
.gk-grid-category-carousel .gk-widget-title{
    margin:0;
    font-weight:800;
    line-height:1.35;
}
.gk-grid-category-carousel .gk-cat-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-size:12px;
    font-weight:800;
    color:var(--gk-cat-default-accent,#0ea5e9);
}
.gk-grid-category-carousel .gk-cat-eyebrow:before{
    content:"";
    width:18px;
    height:3px;
    border-radius:999px;
    background:currentColor;
}
.gk-grid-category-carousel .gk-cat-section-subtitle{
    margin:0;
    color:var(--gk-text-muted,#64748b);
    font-size:14px;
    line-height:1.8;
}
.gk-grid-category-carousel .gk-cat-header-cta{
    margin-inline-start:auto;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:#f8fafc;
    color:var(--gk-text,#0f172a);
    text-decoration:none;
    font-weight:800;
    font-size:13px;
    border:var(--gk-border-width,1px) solid var(--gk-border-color,rgba(15,23,42,.08));
    transition:.25s ease;
    white-space:nowrap;
}
.gk-grid-category-carousel .gk-cat-header-cta:hover{
    transform:translateY(-2px);
    background:#0f172a;
    color:#fff;
}
.gk-grid-category-carousel .gk-grid-category-item a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    height:100%;
    box-sizing:border-box;
    transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease,background-color .35s ease;
    position:relative;
    overflow:hidden;
}
.gk-grid-category-carousel .gk-grid-category-item p.gk-cat-name{
    margin:0;
    font-weight:700;
    text-align:center;
    line-height:1.45;
    color:var(--gk-text,#0f172a);
    transition:color .3s ease;
}
.gk-grid-category-carousel .gk-cat-img-wrap{
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-inline:auto;
    transition:.35s ease;
}
.gk-grid-category-carousel .gk-cat-img-wrap img{
    display:block;
    object-fit:contain;
    transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .35s ease;
}
.gk-grid-category-carousel .gk-grid-category-item a:hover .gk-cat-img-wrap img{
    transform:scale(1.08);
}
.gk-grid-category-carousel .swiper-button-prev,
.gk-grid-category-carousel .swiper-button-next{
    background:var(--gk-sw-nav-bg,var(--gk-surface,#fff));
    -webkit-backdrop-filter:blur(7px);
    backdrop-filter:blur(7px);
    box-shadow:var(--gk-shadow,0 10px 30px rgba(15,23,42,.10));
    transition:.25s ease;
}
.gk-grid-category-carousel .swiper-button-prev:hover,
.gk-grid-category-carousel .swiper-button-next:hover{
    transform:scale(1.06);
    box-shadow:var(--gk-shadow-lg,0 14px 36px rgba(15,23,42,.16));
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-grid-category-item a,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-grid-category-item a{
    align-items:stretch;
    justify-content:space-between;
    text-align:right;
    background:var(--gk-surface,#fff);
    border:var(--gk-border-width,1px) solid var(--gk-border-color,rgba(15,23,42,.08));
    border-radius:var(--gk-radius-xl,24px);
    box-shadow:var(--gk-shadow-lg,0 16px 45px rgba(15,23,42,.08));
    isolation:isolate;
    min-height:220px;
    padding:18px 16px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-bg,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-bg{
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:radial-gradient(circle at 20% 15%,color-mix(in srgb,var(--gk-primary,#0ea5e9) 12%,transparent),transparent 45%);
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:before{
    content:"";
    position:absolute;
    inset:auto -25% -45% -25%;
    height:65%;
    background:linear-gradient(135deg,color-mix(in srgb,var(--gk-primary,#0ea5e9) 16%,transparent),transparent);
    z-index:-1;
    opacity:.9;
    transition:.35s ease;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:hover:before{
    transform:translateY(-12px) scale(1.05);
    opacity:1;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-media,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-media{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:1;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-floating .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-floating .gk-cat-img-wrap{
    width:116px;
    height:116px;
    background:color-mix(in srgb,var(--gk-surface,#fff) 86%,var(--gk-primary,#0ea5e9) 14%);
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gk-border-color,#E5E7EB) 70%,transparent),var(--gk-shadow,0 16px 35px rgba(15,23,42,.10));
    border-radius:var(--gk-image-radius,var(--gk-radius-lg,22px));
    margin-bottom:14px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-framed .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-framed .gk-cat-img-wrap{
    width:100%;
    aspect-ratio:1.25/1;
    height:auto;
    background:linear-gradient(135deg,color-mix(in srgb,var(--gk-surface,#fff) 92%,var(--gk-primary,#0ea5e9) 8%),var(--gk-background,#f8fafc));
    box-shadow:inset 0 0 0 1px var(--gk-border-color,rgba(15,23,42,.05));
    border-radius:var(--gk-image-radius,var(--gk-radius-lg,22px));
    margin-bottom:14px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-minimal .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-minimal .gk-cat-img-wrap{
    background:transparent;
    box-shadow:none;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-content,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-content{
    display:flex;
    flex-direction:column;
    gap:7px;
    position:relative;
    z-index:2;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-badge,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-badge{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    font-size:11px;
    font-weight:900;
    line-height:1;
    color:var(--gk-cat-accent,var(--gk-cat-default-accent,#0ea5e9));
    background:color-mix(in srgb,var(--gk-surface,#fff) 88%,var(--gk-primary,#0ea5e9) 12%);
    box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gk-border-color,#E5E7EB) 65%,transparent);
    padding:7px 10px;
    border-radius:999px;
    margin-bottom:3px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-subtitle,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-subtitle{
    display:block;
    color:var(--gk-text-muted,#64748b);
    font-size:12px;
    font-weight:700;
    line-height:1.7;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow{
    position:absolute;
    inset-inline-end:14px;
    inset-block-end:14px;
    width:34px;
    height:34px;
    border-radius:999px;
    background:color-mix(in srgb,var(--gk-surface,#fff) 88%,var(--gk-primary,#0ea5e9) 12%);
    border:var(--gk-border-width,1px) solid var(--gk-border-color,rgba(15,23,42,.08));
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--gk-text,#0f172a);
    transition:.3s ease;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow:before{
    content:"";
    width:9px;
    height:9px;
    border-top:2px solid currentColor;
    border-left:2px solid currentColor;
    transform:rotate(-45deg);
    margin-inline-start:2px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:hover .gk-cat-arrow{
    background:var(--gk-cat-accent,var(--gk-cat-default-accent,#0ea5e9));
    color:#fff;
    transform:translateX(-3px);
}
@media (max-width: 767px){
    .gk-grid-category-carousel .gk-grid-cat-title{align-items:flex-start;gap:12px;flex-wrap:wrap;}
    .gk-grid-category-carousel .gk-cat-header-cta{padding:8px 12px;font-size:12px;}
    .gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow,
    .gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow{width:30px;height:30px;}
}


/* Ganjeh Kala v1.6.1: Category Showcase follows global theme tokens by default */
.gk-grid-category-carousel{
    --gk-cat-default-accent: var(--gk-primary, #3B82F6);
    --gk-cat-surface: var(--gk-surface, #fff);
    --gk-cat-bg: var(--gk-background, #fff);
    --gk-cat-text: var(--gk-text, #0B1220);
    --gk-cat-muted: var(--gk-text-muted, #64748B);
    --gk-cat-border: var(--gk-border-color, #E5E7EB);
    --gk-cat-radius: var(--gk-radius-xl, 16px);
    --gk-cat-image-radius: var(--gk-image-radius, var(--gk-radius-lg, 12px));
}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-grid-cat-title .gk-widget-title{font-family:var(--gk-font-heading)!important;color:var(--gk-cat-text)!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-grid-category-item p.gk-cat-name{font-family:var(--gk-font-heading)!important;color:var(--gk-cat-text)!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-cat-section-subtitle,
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-cat-subtitle{color:var(--gk-cat-muted)!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-grid-category-item a{background:var(--gk-cat-surface)!important;border-color:var(--gk-cat-border)!important;border-radius:var(--gk-cat-radius)!important;box-shadow:var(--gk-shadow)!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-button-prev,
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-button-next{width:var(--gk-sw-nav-size,44px)!important;height:var(--gk-sw-nav-size,44px)!important;background:var(--gk-sw-nav-bg,var(--gk-cat-surface))!important;color:var(--gk-sw-nav-color,var(--gk-cat-text))!important;border-color:var(--gk-sw-nav-border,var(--gk-cat-border))!important;border-radius:var(--gk-sw-nav-radius,var(--gk-radius-round,999px))!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-button-prev:hover,
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-button-next:hover{background:var(--gk-sw-nav-hover-bg,var(--gk-cat-default-accent))!important;color:var(--gk-sw-nav-hover-color,#fff)!important;border-color:var(--gk-sw-nav-hover-bg,var(--gk-cat-default-accent))!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-pagination-bullet{background:var(--gk-sw-pag-inactive,var(--gk-border-color,#D1D5DB))!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .swiper-pagination-bullet-active{background:var(--gk-sw-pag-active,var(--gk-cat-default-accent))!important;}

/* Ganjeh Kala v1.6.2: Category Showcase image, arrow and equal-height refinements */
.gk-grid-category-carousel.gk-cat-skin-pro-showcase,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase{
    --gk-cat-title-lines: 2;
    --gk-cat-subtitle-lines: 1;
    --gk-cat-arrow-icon-size: 15px;
    --gk-cat-arrow-hover-x: 0px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .swiper-wrapper,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .swiper-wrapper{align-items:stretch;}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-grid-category-item,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-grid-category-item{display:flex;height:auto;}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-grid-category-item a,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-grid-category-item a{width:100%;height:100%;}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-floating .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-floating .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-framed .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-framed .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro-showcase.gk-cat-image-minimal .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase.gk-cat-image-minimal .gk-cat-img-wrap{
    background:transparent;
    box-shadow:none;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-img-wrap img,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-img-wrap img{
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px)));
    max-width:100%;
    max-height:100%;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-content,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-content{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-height:76px;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-name,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-name,
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-subtitle,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-subtitle{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-name,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-name{
    -webkit-line-clamp:var(--gk-cat-title-lines,2);
    line-clamp:var(--gk-cat-title-lines,2);
    min-height:calc(1.45em * var(--gk-cat-title-lines,2));
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-subtitle,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-subtitle{
    -webkit-line-clamp:var(--gk-cat-subtitle-lines,1);
    line-clamp:var(--gk-cat-subtitle-lines,1);
    min-height:calc(1.7em * var(--gk-cat-subtitle-lines,1));
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow{
    display:grid;
    place-items:center;
    line-height:1;
    transform:translateX(0);
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow:before{
    content:"";
    display:block;
    width:var(--gk-cat-arrow-icon-size,15px);
    height:var(--gk-cat-arrow-icon-size,15px);
    background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
    border:0;
    margin:0;
    transform:none;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:hover .gk-cat-arrow{
    transform:translateX(var(--gk-cat-arrow-hover-x,0));
}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-cat-img-wrap{background:transparent!important;box-shadow:none!important;}
.gk-grid-category-carousel.gk-cat-inherit-theme .gk-cat-img-wrap img{border-radius:var(--gk-cat-image-radius)!important;}

/* v1.6.3: Elementor live preview stability for category showcase */
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .swiper-wrapper,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .swiper-wrapper{
    align-items: stretch !important;
}
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .swiper-slide,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .swiper-slide{
    display:flex !important;
    height:auto !important;
}
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .gk-cat-pro-card,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card{
    height:100% !important;
}
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .gk-cat-img-wrap,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-img-wrap{
    background:transparent !important;
    box-shadow:none !important;
}
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .gk-cat-arrow,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    transform:translateX(0) !important;
}
.elementor-editor-active .gk-grid-category-carousel[data-gk-category-showcase="1"] .gk-cat-pro-card:hover .gk-cat-arrow,
.elementor-editor-active .gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover .gk-cat-arrow{
    transform:translateX(var(--gk-cat-arrow-hover-x,0)) !important;
}

/* -------------------------------------------------------------------------
 * Ganjeh Kala v1.6.5 - Banner Carousel shared navigation + demo modern skin
 * ---------------------------------------------------------------------- */
.gk-banner-carousel .swiper-button-prev svg,
.gk-banner-carousel .swiper-button-next svg{
    display:none!important;
}
.gk-banner-carousel .swiper-button-prev,
.gk-banner-carousel .swiper-button-next{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.gk-banner-carousel .swiper-button-prev::after,
.gk-banner-carousel .swiper-button-next::after{
    line-height:1!important;
    margin:0!important;
    transform:none!important;
}
.gk-banner-carousel .gk-banner-card{
    position:relative;
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
    border-radius:var(--gk-banner-radius,var(--gk-radius-lg,24px));
    text-decoration:none;
    color:inherit;
    background:var(--gk-surface,#fff);
}
.gk-banner-carousel .gk-banner-picture,
.gk-banner-carousel .gk-banner-image{
    display:block;
    width:100%;
}
.gk-banner-carousel .gk-banner-image{
    height:auto;
    object-fit:cover;
    border-radius:inherit;
}
.gk-banner-carousel .gk-banner-slide{
    height:auto;
}
.gk-banner-carousel .swiper-pagination{
    pointer-events:auto;
}
.gk-banner-carousel:not(.gk-has-pagination) .swiper-pagination,
.gk-banner-carousel:not(.gk-has-shared-nav) .swiper-button-prev,
.gk-banner-carousel:not(.gk-has-shared-nav) .swiper-button-next{
    display:none!important;
}

.gk-banner-skin-demo-modern{
    --gk-banner-radius:28px;
    --gk-banner-accent:var(--gk-primary,#ef4444);
    padding:8px 0 46px;
    overflow:hidden;
}
.gk-banner-skin-demo-modern .swiper-wrapper{
    align-items:stretch;
}
.gk-banner-skin-demo-modern .swiper-slide{
    height:auto;
    display:flex;
}
.gk-banner-skin-demo-modern .gk-banner-card{
    min-height:clamp(220px,32vw,520px);
    height:100%;
    box-shadow:0 22px 60px rgba(15,23,42,.14);
    isolation:isolate;
    transform:translateZ(0);
    transition:transform .35s ease,box-shadow .35s ease,filter .35s ease;
}
.gk-banner-skin-demo-modern .gk-banner-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(15,23,42,.62) 0%,rgba(15,23,42,.28) 46%,rgba(15,23,42,.04) 100%);
}
body.rtl .gk-banner-skin-demo-modern .gk-banner-card::before,
[dir="rtl"] .gk-banner-skin-demo-modern .gk-banner-card::before{
    background:linear-gradient(270deg,rgba(15,23,42,.62) 0%,rgba(15,23,42,.28) 46%,rgba(15,23,42,.04) 100%);
}
.gk-banner-skin-demo-modern .gk-banner-card::after{
    content:"";
    position:absolute;
    width:260px;
    height:260px;
    border-radius:999px;
    background:radial-gradient(circle,var(--gk-banner-accent) 0%,rgba(255,255,255,0) 68%);
    opacity:.25;
    filter:blur(12px);
    inset-block-start:-90px;
    inset-inline-end:-70px;
    z-index:1;
    pointer-events:none;
}
.gk-banner-skin-demo-modern .gk-banner-picture{
    height:100%;
}
.gk-banner-skin-demo-modern .gk-banner-image{
    height:100%;
    min-height:clamp(220px,32vw,520px);
    object-fit:cover;
    transform:scale(1.01);
    transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .4s ease;
}
.gk-banner-skin-demo-modern .swiper-slide-active .gk-banner-card:hover .gk-banner-image{
    transform:scale(1.055);
}
.gk-banner-skin-demo-modern .gk-banner-modern-content{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:clamp(24px,4vw,64px);
    pointer-events:none;
}
body.rtl .gk-banner-skin-demo-modern .gk-banner-modern-content,
[dir="rtl"] .gk-banner-skin-demo-modern .gk-banner-modern-content{
    justify-content:flex-start;
    text-align:right;
}
.gk-banner-skin-demo-modern .gk-banner-modern-box{
    max-width:520px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
}
.gk-banner-skin-demo-modern .gk-banner-eyebrow{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    padding:7px 12px;
    border-radius:999px;
    color:#fff;
    background:color-mix(in srgb,var(--gk-banner-accent) 84%,#111827 16%);
    box-shadow:0 10px 24px rgba(0,0,0,.16);
    font-size:12px;
    font-weight:800;
    letter-spacing:-.01em;
}
.gk-banner-skin-demo-modern .gk-banner-title{
    margin:0;
    color:#fff;
    font-size:clamp(24px,3.4vw,52px);
    font-weight:950;
    line-height:1.18;
    letter-spacing:-.05em;
    text-wrap:balance;
    text-shadow:0 6px 24px rgba(0,0,0,.24);
}
.gk-banner-skin-demo-modern .gk-banner-desc{
    margin:0;
    color:rgba(255,255,255,.86);
    font-size:clamp(13px,1.15vw,17px);
    font-weight:500;
    line-height:1.9;
    max-width:46ch;
}
.gk-banner-skin-demo-modern .gk-banner-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:6px;
    min-height:44px;
    padding:12px 18px;
    border-radius:999px;
    background:#fff;
    color:#111827;
    font-size:14px;
    font-weight:900;
    line-height:1;
    box-shadow:0 14px 30px rgba(0,0,0,.18);
    transition:transform .25s ease,box-shadow .25s ease,background .25s ease,color .25s ease;
}
.gk-banner-skin-demo-modern .gk-banner-cta i{
    width:16px;
    height:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:relative;
    flex:0 0 16px;
}
.gk-banner-skin-demo-modern .gk-banner-cta i::before{
    content:"";
    width:8px;
    height:8px;
    border-block-start:2px solid currentColor;
    border-inline-start:2px solid currentColor;
    transform:rotate(-45deg);
    display:block;
}
body.rtl .gk-banner-skin-demo-modern .gk-banner-cta i::before,
[dir="rtl"] .gk-banner-skin-demo-modern .gk-banner-cta i::before{
    transform:rotate(135deg);
}
.gk-banner-skin-demo-modern .gk-banner-card:hover .gk-banner-cta{
    transform:translateY(-2px);
    box-shadow:0 18px 38px rgba(0,0,0,.22);
}
.gk-banner-skin-demo-modern .swiper-pagination{
    bottom:10px!important;
}
.gk-banner-skin-demo-modern .swiper-pagination-bullet{
    width:8px;
    height:8px;
    opacity:.4;
    border-radius:999px;
    background:var(--gk-banner-accent,var(--gk-primary,#ef4444));
    transition:width .25s ease,opacity .25s ease;
}
.gk-banner-skin-demo-modern .swiper-pagination-bullet-active{
    width:28px;
    opacity:1;
}
.gk-banner-skin-demo-modern .swiper-button-prev,
.gk-banner-skin-demo-modern .swiper-button-next{
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

@media (max-width:767px){
    .gk-banner-skin-demo-modern{
        padding:4px 0 38px;
    }
    .gk-banner-skin-demo-modern.gk-mobile-peek .swiper-slide{
        width:88%!important;
    }
    .gk-banner-skin-demo-modern .gk-banner-card{
        min-height:260px;
        border-radius:calc(var(--gk-banner-radius,24px) * .75);
    }
    .gk-banner-skin-demo-modern .gk-banner-image{
        min-height:260px;
    }
    .gk-banner-skin-demo-modern .gk-banner-modern-content{
        align-items:flex-end;
        padding:22px;
    }
    .gk-banner-skin-demo-modern .gk-banner-modern-box{
        gap:8px;
        max-width:100%;
    }
    .gk-banner-skin-demo-modern .gk-banner-title{
        font-size:24px;
        line-height:1.25;
    }
    .gk-banner-skin-demo-modern .gk-banner-desc{
        font-size:13px;
        line-height:1.75;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .gk-banner-skin-demo-modern .gk-banner-cta{
        min-height:40px;
        padding:10px 14px;
        font-size:13px;
    }
}


/* Ganjeh Kala v1.6.7: stronger image radius + product/category widget spacing refinements */
.gk-grid-category-carousel .gk-cat-img-wrap{
    overflow:hidden;
}
.gk-grid-category-carousel .gk-cat-img-wrap img{
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px))) !important;
    display:block;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-img-wrap,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-img-wrap{
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px))) !important;
    overflow:hidden;
}

/* Ganjeh Kala v1.6.8: amazing/category image radius + transparent image area hard-fix */
.elementor-widget-gk_swiper_widget .gk-amazing-skin-modern-demo .gk-amazing-thumb,
.gk-amazing.gk-amazing-skin-modern-demo .gk-amazing-thumb{
    background:var(--gk-amazing-modern-image-bg,transparent) !important;
    box-shadow:none !important;
    overflow:hidden !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
}
.elementor-widget-gk_swiper_widget .gk-amazing-skin-modern-demo .gk-amazing-thumb img,
.gk-amazing.gk-amazing-skin-modern-demo .gk-amazing-thumb img,
.gk-amazing-skin-modern-demo .gk-amazing-product .gk-amazing-thumb img{
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    overflow:hidden !important;
    display:block !important;
}
.gk-amazing-skin-modern-demo .swiper-wrapper{align-items:stretch;}
.gk-amazing-skin-modern-demo .swiper-slide{height:auto;}
.gk-grid-category-carousel .gk-cat-img-wrap{
    background:var(--gk-cat-image-bg,transparent) !important;
    overflow:hidden !important;
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px))) !important;
}
.gk-grid-category-carousel .gk-cat-img-wrap img,
.elementor-widget-gk_grid_category_carousel .gk-cat-img-wrap img,
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-img-wrap img,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-img-wrap img{
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px))) !important;
    overflow:hidden !important;
    display:block !important;
}

/* Ganjeh Kala v1.6.9: real image radius clipping for category showcase + amazing offer */
.gk-grid-category-carousel .gk-cat-img-wrap,
.gk-grid-category-carousel .gk-cat-img-wrap picture,
.gk-grid-category-carousel .gk-cat-img-wrap .gk-cat-image,
.gk-grid-category-carousel .gk-cat-img-wrap img.gk-cat-image,
.elementor-widget-gk_grid_category_carousel .gk-cat-img-wrap img.gk-cat-image{
    border-radius:var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px))) !important;
    overflow:hidden !important;
}
.gk-grid-category-carousel .gk-cat-img-wrap picture,
.gk-grid-category-carousel .gk-cat-img-wrap img.gk-cat-image,
.elementor-widget-gk_grid_category_carousel .gk-cat-img-wrap img.gk-cat-image{
    clip-path:inset(0 round var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px)))) !important;
    -webkit-clip-path:inset(0 round var(--gk-cat-image-radius,var(--gk-image-radius,var(--gk-radius-lg,22px)))) !important;
}
.gk-grid-category-carousel .gk-cat-img-wrap img.gk-cat-image{
    background-clip:padding-box !important;
    transform-origin:center center;
}
.gk-amazing-skin-modern-demo .gk-amazing-thumb,
.gk-amazing-skin-modern-demo .gk-amazing-thumb picture,
.gk-amazing-skin-modern-demo .gk-amazing-thumb img,
.gk-amazing-skin-modern-demo .gk-amazing-thumb img.gk-amazing-product-image{
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    overflow:hidden !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-thumb picture,
.gk-amazing-skin-modern-demo .gk-amazing-thumb img,
.gk-amazing-skin-modern-demo .gk-amazing-thumb img.gk-amazing-product-image{
    clip-path:inset(0 round var(--gk-amazing-modern-image-radius,18px)) !important;
    -webkit-clip-path:inset(0 round var(--gk-amazing-modern-image-radius,18px)) !important;
}



/* Ganjeh Kala v1.7.0: Category Showcase footer alignment + real Amazing image clipping */
.gk-grid-category-carousel.gk-cat-skin-pro-showcase,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase{
    --gk-cat-footer-height:64px;
    --gk-cat-footer-bg:color-mix(in srgb,var(--gk-cat-accent,var(--gk-cat-default-accent,#ff5a3c)) 12%, #fff 88%);
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card{
    padding-bottom:18px !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-content,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-content{
    width:calc(100% + 32px) !important;
    min-height:var(--gk-cat-footer-height) !important;
    margin-inline:-16px !important;
    margin-block-start:auto !important;
    margin-block-end:-18px !important;
    padding:12px 18px !important;
    padding-inline-end:62px !important;
    background:var(--gk-cat-footer-bg) !important;
    border-radius:0 0 var(--gk-cat-radius,var(--gk-radius-xl,24px)) var(--gk-cat-radius,var(--gk-radius-xl,24px)) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
    box-sizing:border-box !important;
    text-align:center !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-name,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-name{
    width:100% !important;
    text-align:center !important;
    margin:0 !important;
    min-height:0 !important;
    line-height:1.55 !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-subtitle,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-subtitle{
    width:100% !important;
    text-align:center !important;
    min-height:0 !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow{
    inset-inline-end:18px !important;
    inset-block-end:15px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    place-items:center !important;
    line-height:0 !important;
    transform:none !important;
    padding:0 !important;
    box-sizing:border-box !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-arrow:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-arrow:before{
    content:"" !important;
    display:block !important;
    width:var(--gk-cat-arrow-icon-size,15px) !important;
    height:var(--gk-cat-arrow-icon-size,15px) !important;
    margin:0 !important;
    border:0 !important;
    transform:none !important;
    background:currentColor !important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:hover .gk-cat-arrow{
    transform:none !important;
}

.gk-amazing-skin-modern-demo .gk-amazing-thumb{
    background:transparent !important;
    box-shadow:none !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-image-clip{
    width:100% !important;
    height:100% !important;
    display:block !important;
    line-height:0 !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    overflow:hidden !important;
    clip-path:inset(0 round var(--gk-amazing-modern-image-radius,18px)) !important;
    -webkit-clip-path:inset(0 round var(--gk-amazing-modern-image-radius,18px)) !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-image-clip img,
.gk-amazing-skin-modern-demo .gk-amazing-thumb > img.gk-amazing-product-image{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    display:block !important;
    object-fit:var(--gk-amazing-modern-image-fit,cover) !important;
    border-radius:inherit !important;
    clip-path:none !important;
    -webkit-clip-path:none !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-inner:hover .gk-amazing-image-clip img{
    transform:scale(var(--gk-amazing-modern-image-hover-scale,1.05));
}

/* Ganjeh Kala v1.7.1: hard fix for category footer alignment and real image clipping */
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-content,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-content{
    width:calc(100% + 32px) !important;
    margin-inline:-16px !important;
    margin-block-start:auto !important;
    margin-block-end:-18px !important;
    padding:12px 14px !important;
    min-height:var(--gk-cat-footer-height,64px) !important;
    background:var(--gk-cat-footer-bg,color-mix(in srgb,var(--gk-cat-accent,var(--gk-cat-default-accent,#ff5a3c)) 12%, #fff 88%)) !important;
    border-radius:0 0 var(--gk-cat-radius,var(--gk-radius-xl,24px)) var(--gk-cat-radius,var(--gk-radius-xl,24px)) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:center !important;
    gap:5px !important;
    box-sizing:border-box !important;
    text-align:center !important;
    position:relative !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-footer-row,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-footer-row{
    width:100% !important;
    display:grid !important;
    grid-template-columns:42px minmax(0,1fr) 42px !important;
    align-items:center !important;
    justify-items:center !important;
    gap:8px !important;
    direction:rtl !important;
    min-height:38px !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-footer-spacer,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-footer-spacer{
    display:block !important;
    width:38px !important;
    height:38px !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-footer-row .gk-cat-name,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-footer-row .gk-cat-name{
    grid-column:2 !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    text-align:center !important;
    direction:rtl !important;
    align-self:center !important;
    justify-self:center !important;
    line-height:1.55 !important;
    min-height:0 !important;
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:var(--gk-cat-title-lines,2) !important;
    line-clamp:var(--gk-cat-title-lines,2) !important;
    overflow:hidden !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-footer-row .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-footer-row .gk-cat-arrow{
    grid-column:3 !important;
    position:static !important;
    inset:auto !important;
    width:var(--gk-cat-arrow-size,38px) !important;
    height:var(--gk-cat-arrow-size,38px) !important;
    min-width:var(--gk-cat-arrow-size,38px) !important;
    min-height:var(--gk-cat-arrow-size,38px) !important;
    display:grid !important;
    place-items:center !important;
    align-self:center !important;
    justify-self:center !important;
    padding:0 !important;
    margin:0 !important;
    line-height:0 !important;
    transform:none !important;
    box-sizing:border-box !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-footer-row .gk-cat-arrow:before,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-footer-row .gk-cat-arrow:before{
    content:"" !important;
    width:var(--gk-cat-arrow-icon-size,15px) !important;
    height:var(--gk-cat-arrow-icon-size,15px) !important;
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    position:static !important;
    background:currentColor !important;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.7 4.3a1 1 0 0 1 0 1.4L10.41 11H20a1 1 0 1 1 0 2h-9.59l5.3 5.3a1 1 0 1 1-1.42 1.4l-7-7a1 1 0 0 1 0-1.4l7-7a1 1 0 0 1 1.42 0Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-pro-card:hover .gk-cat-arrow,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-pro-card:hover .gk-cat-arrow{
    transform:none !important;
}
.gk-grid-category-carousel.gk-cat-skin-pro-showcase .gk-cat-subtitle,
.gk-grid-category-carousel.gk-cat-skin-pro_showcase .gk-cat-subtitle{
    text-align:center !important;
    margin:0 !important;
}

.gk-amazing-skin-modern-demo .gk-amazing-thumb{
    padding:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:hidden !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-image-clip,
.gk-amazing-skin-modern-demo .gk-amazing-thumb > picture,
.gk-amazing-skin-modern-demo .gk-amazing-thumb > img.gk-amazing-product-image{
    width:100% !important;
    height:100% !important;
    display:block !important;
    overflow:hidden !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    background:transparent !important;
    line-height:0 !important;
}
.gk-amazing-skin-modern-demo .gk-amazing-image-clip > img.gk-amazing-product-image,
.gk-amazing-skin-modern-demo .gk-amazing-image-clip picture,
.gk-amazing-skin-modern-demo .gk-amazing-image-clip picture > img,
.gk-amazing-skin-modern-demo .gk-amazing-thumb > img.gk-amazing-product-image{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
    display:block !important;
    object-fit:var(--gk-amazing-modern-image-fit,cover) !important;
    border-radius:var(--gk-amazing-modern-image-radius,18px) !important;
    overflow:hidden !important;
    clip-path:none !important;
    -webkit-clip-path:none !important;
}


/* GK v1.8.9: stories/brands/amazing hardening */
.gk-stories-v3 .gk-avatar-title{line-height:1.55;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.gk-stories-v3 .swiper-wrapper{gap:0!important;}
.gk-amazing .gk-countdown{display:flex;align-items:center;justify-content:center;max-width:100%;min-width:0;overflow:visible;gap:clamp(3px,1vw,8px)!important;}
.gk-amazing .gk-countdown-item{box-sizing:border-box;min-width:0!important;flex:1 1 0;max-width:52px;padding-inline:3px!important;}
.gk-amazing .gk-countdown-number{font-size:clamp(12px,3vw,18px)!important;line-height:1.15;white-space:nowrap;}
.gk-amazing .gk-countdown-label{font-size:clamp(8px,2vw,10px)!important;white-space:nowrap;}
@media (max-width:640px){.gk-amazing-skin-modern-demo .gk-amazing-intro-content{min-width:0;width:100%;}.gk-amazing-skin-modern-demo .gk-countdown{width:100%;}.gk-amazing-skin-modern-demo .gk-countdown-item{max-width:42px;}}
.gk-brands-carousel.is-colored .gk-brand-logo-wrap img{filter:none!important;}
.gk-brand-card .gk-brand-info:empty{display:none;}

/* GK v1.9.1: disable brand hover action/animations on mobile touch devices */
@media (max-width: 767.98px), (hover: none), (pointer: coarse) {
    .gk-brands-carousel .gk-brand-action {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        bottom: auto !important;
        transform: none !important;
        transition: none !important;
    }
    .gk-brands-carousel .gk-brand-card,
    .gk-brands-carousel .gk-brand-card:hover,
    .gk-brands-carousel .gk-brand-card:active,
    .gk-brands-carousel .gk-brand-card:focus {
        transform: none !important;
        transition: none !important;
        box-shadow: var(--gk-shadow-sm, 0 4px 15px rgba(0,0,0,0.03)) !important;
    }
    .gk-brands-carousel .gk-brand-card:hover .gk-brand-logo-wrap,
    .gk-brands-carousel .gk-brand-card:active .gk-brand-logo-wrap,
    .gk-brands-carousel .gk-brand-card:hover .gk-brand-logo-wrap img,
    .gk-brands-carousel .gk-brand-card:active .gk-brand-logo-wrap img,
    .gk-brands-carousel .gk-brand-card:hover .gk-brand-count,
    .gk-brands-carousel .gk-brand-card:active .gk-brand-count {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    .gk-brands-carousel .gk-brand-card:hover .gk-brand-name,
    .gk-brands-carousel .gk-brand-card:active .gk-brand-name {
        color: var(--gk-text, #222) !important;
    }
    .gk-brands-carousel .gk-brand-card:hover .gk-brand-count,
    .gk-brands-carousel .gk-brand-card:active .gk-brand-count {
        background: color-mix(in srgb, var(--gk-primary) 10%, transparent) !important;
        color: var(--gk-primary) !important;
    }
}


/* =========================================================
   GK v1.9.5 - Yogabar: clean product images + mobile carousel skin
   ========================================================= */
.gk-yogabar-wrapper {
    --gk-yogabar-product-gap: 16px;
}

/* تصویر محصول در Yogabar نباید پس‌زمینه/پدینگ مصنوعی داشته باشد؛ فقط خود عکس محصول نمایش داده شود. */
.gk-yoga-img-wrapper {
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.gk-yogabar-image-bg-yes .gk-yoga-img-wrapper {
    background: var(--gk-yogabar-image-bg, #f9fafb) !important;
}

.gk-yoga-item:hover .gk-yoga-img-wrapper {
    background: transparent !important;
}

.gk-yogabar-image-bg-yes .gk-yoga-item:hover .gk-yoga-img-wrapper {
    background: var(--gk-yogabar-image-bg-hover, var(--gk-yogabar-image-bg, #f3f4f6)) !important;
}

.gk-yoga-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: normal !important;
    background: transparent !important;
}

.gk-yogabar-products {
    position: relative;
    min-width: 0;
}

.gk-yogabar-has-mobile-carousel .gk-yogabar-grid.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gk-yogabar-product-gap, 16px);
    transform: none !important;
    box-sizing: border-box;
}

.gk-yogabar-has-mobile-carousel .gk-yoga-item.swiper-slide {
    width: auto;
    height: auto;
}

.gk-yogabar-mobile-pagination,
.gk-yogabar-mobile-nav {
    display: none;
}

@media (max-width: 767px) {
    .gk-yogabar-skin-mobile_carousel .gk-yogabar-card {
        overflow: hidden;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-products {
        overflow: hidden;
        padding-bottom: 22px;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-grid.swiper-wrapper {
        display: flex;
        gap: 0;
        grid-template-columns: none;
        transform: translate3d(0, 0, 0);
    }

    .gk-yogabar-skin-mobile_carousel .gk-yoga-item.swiper-slide {
        width: auto;
        min-width: 0;
        flex-shrink: 0;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        position: static;
        margin-top: 12px;
        line-height: 1;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-pagination .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 !important;
        opacity: 0.35;
        background: currentColor;
        transition: width .2s ease, opacity .2s ease;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-pagination .swiper-pagination-bullet-active {
        width: 16px;
        border-radius: 999px;
        opacity: 1;
        background: var(--gk-primary, #3b82f6);
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: calc(50% - 14px);
        z-index: 5;
        width: 30px;
        height: 30px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        color: #111827;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
        cursor: pointer;
    }

    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-prev { right: 4px; }
    .gk-yogabar-skin-mobile_carousel .gk-yogabar-mobile-next { left: 4px; }

    .gk-yogabar-no-mobile-hover-yes .gk-yogabar-card:hover,
    .gk-yogabar-no-mobile-hover-yes .gk-yoga-item:hover .gk-yoga-img-wrapper img {
        transform: none !important;
    }
}
