/* Linked to GK Tokens — Do not hardcode color/size/shadow/radius. */

/*
 * Grid Slider Widget
 */
.gk-grid-slider-swiper {
    height: 480px; /* Editable */
    --gk-rows: 3;
}
/* اضافه کردن به استایل‌ها */
.gk-banner-carousel .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    /* این خط باعث می‌شود اگر عکس هم لود نشد، جای آن بر اساس ابعادش حفظ شود */
    aspect-ratio: attr(width) / attr(height);
}

/* تنظیمات ویجت بنر موبایل */
.gk-banner-carousel picture img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* اگر گوشه گرد میخواهید */
}

/* حالت Peek فقط در موبایل */
@media (max-width: 767px) {
    /* وقتی کلاس gk-mobile-peek فعال است */
    .gk-mobile-peek .swiper-slide {
        /* عرض اسلاید کمتر از 100 درصد باشد تا کناری‌ها دیده شوند */
        width: 85% !important;

        /* برای اطمینان از وسط‌چین شدن و دیده شدن عکس */
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
    }

    /* اسلایدهای غیر فعال کمی شفاف شوند (اختیاری برای زیبایی) */
    .gk-mobile-peek .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.6;
        transform: scale(0.95);
        transition: all 0.3s ease;
    }

    .gk-mobile-peek .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
        transition: all 0.3s ease;
    }
}
.gk-grid-slider .swiper-slide {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    font-size: 18px;
    background: var(--gk-surface);
    height: calc((100% - (var(--gk-rows, 3) - 1) * var(--gk-vgap, 10px)) / var(--gk-rows, 3));
}

.gk-grid-number {
    color: var(--gk-secondary);
    padding: 10px;
    font-weight: var(--gk-heading-weight);
}

.gk-grid-thumb img {
    width: 80px;
    height: auto;
    display: block;
}

.gk-grid-box-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.gk-grid-title {
    text-align: right;
    font-size: 14px !important;
    font-weight: 500;
}

.gk-grid-title a {
    color: var(--gk-neutral-900);
    text-decoration: none;
}

.gk-grid-slider .swiper-slide .gk-grid-title {
    flex-grow: 1;
    line-height: 1.6;
}

.gk-grid-slider .swiper-slide .gk-grid-title a {
    color: var(--gk-neutral-900);
    text-decoration: none;
    font-weight: normal;
}

.gk-grid-slider .swiper-slide .gk-grid-title a:hover {
    color: var(--gk-primary);
}

/*
 * Yogabar Widget
 */
.gk-yogabar {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    border: var(--gk-border-width) solid var(--gk-border-color);
    border-radius: var(--gk-radius-xl);
    background-color: var(--gk-surface);
}

.gk-yogabar-item {
    padding: 10px 10px 30px 10px;
    flex: 1 1 0;
    margin: 10px;
}

.gk-yogabar-item:not(:last-child) {
    border-left: var(--gk-border-width) solid var(--gk-border-color);
}

.gk-yogabar-title {
    font-size: 20px;
    margin: 0;
    color: var(--gk-neutral-900);
}

.gk-yogabar-subtitle {
    font-size: 14px;
    color: var(--gk-neutral-500);
    margin-bottom: 25px;
}

.gk-yogabar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gk-yoga-item {
    display: grid;
    justify-content: center;
}

.gk-yoga-item img {
    object-fit: contain;
    width: 150px;
    height: 150px;
}

.gk-yogabar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gk-primary);
    text-decoration: none;
    transition: color var(--gk-duration) var(--gk-ease-standard);
    direction: rtl;
}

.gk-yogabar-link:hover {
    color: var(--gk-primary-600);
}

.gk-yogabar-link .eicon-chevron-right {
    font-size: 12px;
    transform: rotate(180deg);
    line-height: 1;
}

@media (max-width: 768px) {
    .gk-yogabar {
        flex-direction: column;
    }
    .gk-yogabar-item {
        border-left: none;
        border-bottom: var(--gk-border-width) solid var(--gk-border-color);
    }
    .gk-yogabar-item:last-child {
        border-bottom: none;
    }
    .gk-yogabar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gk-yoga-item img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
}

/* =========================================
   Amazing Offers Widget - Refactored CSS
   ========================================= */

/* 1. کانتینر اصلی ویجت */
.gk-amazing {
    /* ارتفاع ثابت حذف شد تا محتوا مخفی نشود */
    height: auto !important;
    min-height: 380px; /* حداقل ارتفاع مناسب برای موبایل و دسکتاپ */
    background-color: var(--gk-primary);
    padding: 20px 10px 40px 10px; /* فضای پایین بیشتر برای نویگیشن */
    border-radius: 10px;
    box-sizing: border-box;
    position: relative;
}

.gk-amazing-swiper {
    width: 100%;
    height: 100%;
}

/* 2. استایل اسلایدها */
.gk-amazing .swiper-slide {
    height: auto; /* اجازه می‌دهد اسلایدها هم‌ارتفاع شوند */
    background: var(--gk-surface);
    display: flex;
    flex-direction: column;
    border-radius: var(--gk-radius-md, 8px);
    overflow: hidden; /* گردی گوشه‌ها حفظ شود */
    /* تنظیمات فونت پایه */
    text-align: right;
    font-size: 14px;
}

/* استایل اسلاید اینترو (عکس بزرگ اول) */
.gk-amazing-slide.gk-amazing-intro {
    background: none !important;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gk-amazing-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gk-amazing-intro img {
    object-fit: contain;
    max-height: 200px; /* محدودیت ارتفاع برای اینترو */
    width: auto;
    display: block;
    margin-bottom: 15px;
}

/* 3. رپر داخلی کارت محصول */
.gk-amazing-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    /* جلوگیری از بیرون‌زدگی افقی */
    overflow: hidden;
}

/* جلوگیری از شکستن عرض در فلکس‌باکس (حیاتی) */
.gk-amazing-inner > * {
    min-width: 0;
    max-width: 100%;
}

/* 4. تصویر محصول */
.gk-amazing-thumb {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
    /* ارتفاع توسط المنتور کنترل می‌شود اما پیش‌فرض ایمن: */
    height: 160px;
}

.gk-amazing-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--gk-radius-md, 8px);
    transition: transform 0.3s ease;
}

.gk-amazing-inner:hover .gk-amazing-thumb img {
    transform: scale(1.05); /* افکت زوم ریز در هاور */
}

/* 5. عنوان محصول (تراز کننده) */
.gk-amazing-product-title {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6em; /* فاصله خطوط */

    /* تنظیم ارتفاع ثابت برای دقیقا 2 خط */
    height: 3.2em; /* 1.6em * 2 lines */
    overflow: hidden;
    flex-shrink: 0; /* جلوگیری از جمع شدن تایتل */
}

.gk-amazing-product-title a {
    color: var(--gk-text-color, #333);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* محدودیت به 2 خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* 6. فوتر کارت (چسبنده به پایین) */
.gk-card-footer {
    margin-top: auto; /* جادوی چسبیدن به پایین */
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 7. نوار موجودی */
.gk-stock-progress-wrapper {
    margin: 8px 0 12px 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gk-stock-progress {
    flex-grow: 1;
    background: #eee;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gk-stock-bar {
    background: var(--gk-accent, #ef394e);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.gk-stock-label {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 8. بخش قیمت‌ها */
.gk-amazing-item-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.gk-amazing-percent {
    background: var(--gk-primary, #ef394e);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    height: fit-content;
}

.gk-amazing-sale-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gk-text-dark, #000);
}

.gk-amazing-regular-price {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
    text-align: left; /* قیمت خط خورده سمت چپ */
    min-height: 20px; /* رزرو جا برای قیمت خط خورده */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* تراز به چپ (در RTL) */
}

/* 9. کارت "مشاهده همه" */
.swiper-slide.gk-amazing-seeall {
    background: none !important; /* شفاف برای دیدن پس‌زمینه ویجت یا رنگ متفاوت */
    height: auto;
}

.gk-amazing-seeall a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 100%;
    background: var(--gk-surface);
    border-radius: var(--gk-radius-md, 8px);
    text-decoration: none;
    color: var(--gk-text-color);
    transition: all 0.3s;
}

.gk-amazing-seeall a:hover {
    background: rgba(255,255,255,0.9);
}

.gk-amazing-seeall img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.gk-amazing-seeall .see-all {
    font-weight: 700;
    font-size: 15px;
}

/* 10. دکمه‌های ناوبری (فلش‌ها) */
.gk-amazing .swiper-button-prev,
.gk-amazing .swiper-button-next {
    background: var(--gk-surface, #fff);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.05);
    color: var(--gk-text-color, #333);
    /* تراز عمودی دقیق */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

.gk-amazing .swiper-button-prev::after,
.gk-amazing .swiper-button-next::after {
    font-size: 18px;
    font-weight: bold;
}

.gk-amazing .swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

/* 11. تایمر (اگر فعال باشد) */
.gk-countdown {
    display: flex;
    gap: 5px;
    direction: ltr; /* اعداد انگلیسی */
    margin-bottom: 15px;
}
.gk-countdown-item {
    background: var(--gk-surface);
    border-radius: 4px;
    padding: 5px;
    text-align: center;
    min-width: 35px;
}
.gk-countdown-number {
    display: block;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
}
.gk-countdown-label {
    display: block;
    font-size: 9px;
    color: #777;
    margin-top: 2px;
}

/* استایل خاص برای گردی گوشه اولین و آخرین آیتم لیست (اختیاری) */
.gk-amazing .swiper-slide:first-child {
    border-top-right-radius: var(--gk-radius-lg, 10px);
    border-bottom-right-radius: var(--gk-radius-lg, 10px);
}
.gk-amazing .swiper-slide:last-child {
    border-top-left-radius: var(--gk-radius-lg, 10px);
    border-bottom-left-radius: var(--gk-radius-lg, 10px);
}

/*
 * Latest Posts Carousel
 */
.gk-latest-posts-swiper {
    width: 100%;
}

.gk-post-item {
    background-color: var(--gk-surface);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: right;
    padding: 12px;
    border-radius: var(--gk-radius-md);
}

.gk-post-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.gk-post-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--gk-radius-md);
    margin-bottom: 10px;
}

.gk-post-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.gk-post-link:hover .gk-post-title {
    text-decoration: underline;
}
/* == Avatar Carousel (Stories) == */

.gk-stories-swiper .gk-story-avatar {
    width: auto;
    text-align: center;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.gk-stories-swiper .gk-story-avatar:focus .gk-ring {
    box-shadow: 0 0 0 2px var(--gk-primary);
}

.gk-avatar {
    display: flex;
    justify-content: center;
}

.gk-avatar .gk-ring {
    display: inline-flex;
    padding: 3px;
    border-radius: var(--gk-radius-round);
    background: conic-gradient(#ff6aa2, #a24dd8, #ff9933, #ff6aa2);
    transition:
            background var(--gk-duration) var(--gk-ease-standard),
            box-shadow var(--gk-duration) var(--gk-ease-standard);
}

.gk-story-avatar.is-seen .gk-ring {
    background: var(--gk-neutral-300);
}

.gk-avatar .gk-ring img {
    width: 68px;
    height: 68px;
    border-radius: var(--gk-radius-round);
    border: 3px solid var(--gk-surface);
    display: block;
    object-fit: cover;
}

.gk-avatar-title {
    margin-top: 6px;
    font-size: 12px;
    color: var(--gk-neutral-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}



/* == Overlay == */

.gk-story-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--gk-z-modal);
    opacity: 0;
    transition: opacity var(--gk-duration) var(--gk-ease-standard);
    background: rgba(0, 0, 0, var(--gk-opacity-overlay));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-story-overlay.is-open {
    opacity: 1;
}

.gk-story-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px) brightness(0.6);
}

body.gk-no-scroll {
    overflow: hidden;
}

/* Header: فقط دکمه‌ها، بدون نوار پیشرفت */

.gk-story-header-global {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px;
    z-index: 15;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, var(--gk-opacity-overlay)), transparent);
}

.gk-story-actions {
    display: flex;
    gap: 4px;
}

.gk-story-btn {
    border: 0;
    padding: 0;
    margin: 0;
    width: 36px;
    height: 36px;
    border-radius: var(--gk-radius-round);
    background: transparent;
    color: var(--gk-surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-story-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.gk-story-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.gk-story-overlay.is-muted .icon-unmuted,
.gk-story-overlay:not(.is-muted) .icon-muted {
    display: none;
}

/* Viewer (Coverflow) */

.gk-story-viewer-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.gk-story-viewer-swiper .swiper-wrapper {
    align-items: center;
}

/* فریم هر استوری در Coverflow */

.gk-story-frame {
    width: min(420px, 88vw) !important;
    height: min(720px, 85vh) !important;
    background-color: var(--gk-neutral-900);
    border-radius: var(--gk-radius-xl);
    overflow: hidden;
    box-shadow: var(--gk-shadow-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    transition:
            transform var(--gk-duration-slow) var(--gk-ease-standard),
            opacity var(--gk-duration-slow) var(--gk-ease-standard);
    opacity: 0.4;
    transform: scale(0.85);
}

/* کاور پیش‌نمایش استوری‌ها */

.gk-story-frame.has-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--gk-cover);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    transition: opacity var(--gk-duration) var(--gk-ease-standard);
}

.gk-story-frame.is-loaded.has-cover::before {
    opacity: 0;
}

.swiper-slide-active.gk-story-frame {
    opacity: 1;
    transform: scale(1);
    box-shadow: var(--gk-shadow-lg);
}

.gk-story-player {
    position: absolute;
    inset: 0;
}

/* نوار پیشرفت بالای خود عکس (داخل فریم) */

.gk-story-frame .gk-story-progress-container {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 6;
    display: flex;
    gap: 4px;
}

.gk-story-frame .gk-story-progress-container .gk-prog {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, .35);
    border-radius: var(--gk-radius-sm);
    overflow: hidden;
}

.gk-story-frame .gk-story-progress-container .gk-prog span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gk-surface);
    transform: scaleX(0);
    transform-origin: left center;
}

[data-rtl="1"] .gk-story-frame .gk-story-progress-container .gk-prog span {
    transform-origin: right center;
}

/* Slide content */

.gk-story-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gk-neutral-900);
    position: relative;
}

.gk-story-slide img,
.gk-story-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gk-story-slide.has-error::before {
    content: 'محتوا بارگذاری نشد';
    color: var(--gk-neutral-500);
    font-size: 14px;
}

.gk-story-slide.is-text {
    padding: 30px;
    line-height: 1.5;
    font-size: 20px;
    text-align: center;
}

/* Slide CTA */

.gk-slide-link {
    text-decoration: none;
    color: inherit;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.gk-slide-cta {
    padding: 10px 20px;
    background: var(--gk-surface);
    color: var(--gk-neutral-900);
    border-radius: var(--gk-radius-md);
    margin-bottom: 90px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: var(--gk-shadow);
    transform: translateY(20px);
    opacity: 0;
    animation: gk-cta-fade-in .3s .5s forwards;
}

@keyframes gk-cta-fade-in {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tap zones */

.gk-story-tap-zones {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
}

.gk-story-tap {
    flex: 1;
}

/* Product box */

.gk-story-product {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    z-index: 4;
}

.gk-product-card {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--gk-surface);
    backdrop-filter: blur(5px);
    border-radius: var(--gk-radius-lg);
    padding: 8px 12px;
    text-decoration: none;
    box-shadow: var(--gk-shadow);
}

[data-rtl="1"] .gk-product-card {
    direction: rtl;
}

.gk-product-thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--gk-radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.gk-product-meta {
    display: grid;
    overflow: hidden;
}

.gk-product-title {
    font-size: 13px;
    color: var(--gk-neutral-900);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.gk-product-price {
    font-size: 12px;
    color: var(--gk-accent);
}

/* Navigation arrows for viewer */

.gk-story-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--gk-radius-round);
    color: var(--gk-surface);
    cursor: pointer;
    z-index: 20;
    transition:
            background var(--gk-duration) var(--gk-ease-standard),
            opacity var(--gk-duration) var(--gk-ease-standard),
            transform var(--gk-duration) var(--gk-ease-standard);
}

.gk-story-nav:hover {
    background: rgba(255, 255, 255, .2);
}

.gk-story-nav.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.7);
}

.gk-story-nav::after {
    font-family: swiper-icons;
    font-size: 22px;
}

.swiper-button-prev.gk-story-nav {
    left: calc(50% - min(420px, 88vw) / 2 - 60px);
}

.swiper-button-next.gk-story-nav {
    right: calc(50% - min(420px, 88vw) / 2 - 60px);
}

[data-rtl="1"] .swiper-button-prev.gk-story-nav {
    right: calc(50% - min(420px, 88vw) / 2 - 60px);
    left: auto;
    transform: translateY(-50%) rotate(180deg);
}

[data-rtl="1"] .swiper-button-next.gk-story-nav {
    left: calc(50% - min(420px, 88vw) / 2 - 60px);
    right: auto;
    transform: translateY(-50%) rotate(180deg);
}

[data-rtl="1"] .gk-story-nav.swiper-button-disabled {
    transform: translateY(-50%) scale(0.7) rotate(180deg);
}

/* روی موبایل، دکمه‌های viewer را پنهان و فقط از tap-zone استفاده کن */
@media (max-width: 767px) {
    .swiper-button-prev.gk-story-nav,
    .swiper-button-next.gk-story-nav {
        display: none;
    }
}

/* موقعیت دکمه‌های Viewer در تبلت/دسکتاپ */

@media (max-width: 1024px) {
    .swiper-button-prev.gk-story-nav {
        left: 15px;
    }

    .swiper-button-next.gk-story-nav {
        right: 15px;
    }

    [data-rtl="1"] .swiper-button-prev.gk-story-nav {
        right: 15px;
        left: auto;
    }

    [data-rtl="1"] .swiper-button-next.gk-story-nav {
        left: 15px;
        right: auto;
    }
}


/*
 * Brand Item
 */
.swiper-slide.gk-brand-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/*
 * 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;
}
