/* Product Grid Slider — compact ranked cards. */
.gk-grid-slider {
    --gk-grid-rows: 3;
    --gk-grid-gap: 15px;
    --gk-grid-card-height: 112px;
    position: relative;
    padding: 10px 0 24px;
}

.gk-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

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

.gk-grid-box-title::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 24px;
    border-radius: 4px;
    background: var(--gk-primary);
}

.gk-grid-header-actions,
.gk-grid-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.gk-grid-view-all {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding-inline: 4px;
    color: var(--gk-text-muted, #6b7280);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease;
}

.gk-grid-view-all:hover { color: var(--gk-primary); }

/* Header navigation uses the shared Swiper skin but not Swiper's absolute position. */
.gk-grid-header-nav .swiper-button-prev,
.gk-grid-header-nav .swiper-button-next {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
}

/* Explicit height makes Swiper Grid deterministic. Rows and vertical gap are the
 * same responsive values that are passed to the JS runtime. */
.gk-grid-slider-viewport {
    /* Keep off-canvas slides clipped horizontally while reserving enough room
     * above/below the rail for hover lift, focus rings and soft card shadows. */
    position: relative;
    overflow: hidden;
    padding-block: 48px;
    margin-block: -48px;
}

.gk-grid-slider-swiper {
    width: 100%;
    height: calc((var(--gk-grid-card-height) * var(--gk-grid-rows)) + (var(--gk-grid-gap) * (var(--gk-grid-rows) - 1)));
    padding: 0;
    overflow: visible !important;
}

.gk-grid-slider .swiper-wrapper {
    align-items: stretch;
    overflow: visible;
}

.gk-grid-slider .swiper-slide {
    position: relative;
    z-index: 1;
    height: var(--gk-grid-card-height) !important;
    display: flex;
    box-sizing: border-box;
    overflow: visible;
}

.gk-grid-slider .swiper-slide:hover,
.gk-grid-slider .swiper-slide:focus-within {
    z-index: 20;
}

.gk-grid-item-inner {
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--gk-card-bg);
    border: 1px solid var(--gk-border-color);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.02);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.gk-grid-item-inner:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--gk-primary) 16%, var(--gk-border-color));
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.gk-grid-number {
    flex: 0 0 auto;
    min-width: 35px;
    text-align: center;
    color: #e5e7eb;
    font-family: var(--gk-font-base, inherit);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color .2s ease, transform .2s ease;
}

.gk-grid-item-inner:hover .gk-grid-number {
    color: var(--gk-primary);
    transform: scale(1.06);
}

.gk-grid-thumb {
    flex: 0 0 auto;
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #f9fafb;
}

.gk-grid-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: normal;
    transition: transform .3s ease;
}

.gk-grid-item-inner:hover .gk-grid-thumb img { transform: scale(1.05); }

.gk-grid-content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
}

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

.gk-grid-title a {
    color: var(--gk-text-main);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .18s ease;
}

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

/* Price and labels share one compact metadata row. Labels no longer sit over the
 * product image and no dedicated label row is reserved for products without one. */
.gk-grid-meta {
    min-width: 0;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    overflow: visible;
}

.gk-grid-price {
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gk-grid-price del { opacity: .55; }
.gk-grid-price ins { text-decoration: none; }
.gk-grid-price-from { margin-inline-end: 4px; color: var(--gk-text-muted, #6b7280); font-size: .86em; }

.gk-product-labels--grid-slider {
    flex: 0 1 52%;
    min-width: 0;
    max-width: 52%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    overflow: visible;
    pointer-events: none;
}

.gk-product-labels--grid-slider .gk-product-label {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 22px;
    max-width: 100%;
    padding: 4px 7px;
    overflow: visible;
    border-radius: 6px;
    font-size: 9px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    text-overflow: clip;
}

.gk-grid-pagination {
    position: static !important;
    width: 100% !important;
    margin-top: 14px;
    transform: none !important;
}

/* Responsive UI visibility comes from Elementor's desktop/tablet/mobile switches. */
@media (min-width: 1025px) {
    .gk-grid-responsive-ui.gk-grid-ui-d-0 { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .gk-grid-slider { --gk-grid-rows: 2; --gk-grid-gap: 12px; --gk-grid-card-height: 108px; }
    .gk-grid-responsive-ui.gk-grid-ui-t-0 { display: none !important; }
}

@media (max-width: 767px) {
    .gk-grid-slider { --gk-grid-rows: 1; --gk-grid-gap: 10px; --gk-grid-card-height: 104px; }
    .gk-grid-responsive-ui.gk-grid-ui-m-0 { display: none !important; }
    .gk-grid-box-title { font-size: 1.2rem; gap: 9px; }
    .gk-grid-box-title::before { width: 5px; height: 20px; }
    .gk-grid-header { gap: 10px; }
    .gk-grid-header-actions { gap: 6px; }
    .gk-grid-view-all { font-size: 12px; }
    .gk-grid-number { font-size: 1.8rem; }
    .gk-product-labels--grid-slider { flex-basis: 48%; max-width: 48%; }
}

/*
 * 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: var(--gk-yogabar-product-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;
    }
}


.gk-blog{--gk-blog-accent:var(--gk-primary,#3342fd);position:relative;width:100%;min-width:0}
.gk-blog-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;min-width:0}
.gk-blog-head-main{display:flex;align-items:center;gap:12px;min-width:0}
.gk-blog-head-main>div{min-width:0}
.gk-blog-head-main::before{content:"";display:block;flex:0 0 6px;width:6px;height:24px;border-radius:4px;background:var(--gk-blog-accent)}
.gk-blog-heading{margin:0;overflow-wrap:anywhere;color:var(--gk-text,#1f2937);font-size:22px;font-weight:900;line-height:1.4}
.gk-blog-subtitle{margin-top:4px;color:var(--gk-neutral-500,#6b7280);font-size:12px;line-height:1.8}
.gk-blog-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:38px;padding:8px 14px;border:1px solid var(--gk-blog-accent);border-radius:10px;background:transparent;color:var(--gk-blog-accent);font-size:12px;font-weight:800;line-height:1.4;text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}
.gk-blog-all span{font-size:15px;line-height:1;transition:transform .2s ease}
.gk-latest-posts{position:relative;width:100%;min-width:0}
.gk-latest-posts-swiper{box-sizing:border-box;width:calc(100% + 8px)!important;margin:-8px -4px -10px!important;padding:8px 4px 42px!important}
.gk-latest-posts-swiper .swiper-wrapper{align-items:stretch}
.gk-latest-posts-swiper .swiper-slide{display:flex;height:auto;min-width:0}
.gk-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;min-width:0}
.gk-post-item{position:relative;display:flex;flex-direction:column;width:100%;height:100%;min-width:0;overflow:hidden;background:var(--gk-surface,#fff);border:1px solid var(--gk-border-color,#e5e7eb);border-radius:16px;box-shadow:0 3px 14px rgba(15,23,42,.045);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.gk-post-link{display:flex;flex:1;flex-direction:column;width:100%;height:100%;min-width:0;color:inherit;text-decoration:none;outline:none}
.gk-post-link:focus-visible{outline:2px solid var(--gk-blog-accent);outline-offset:-3px}
.gk-post-thumbnail{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;background:var(--gk-neutral-50,#f2f4f7);border-bottom:1px solid var(--gk-border-color,#e5e7eb)}
.gk-post-thumbnail::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:transparent}
.gk-post-thumbnail img.gk-img-fluid{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.gk-thumbnail-placeholder{position:relative;display:block;width:100%;height:100%;min-height:110px;background:linear-gradient(135deg,#f6f7f9,#eceff3)}
.gk-thumbnail-placeholder::before{content:"";position:absolute;left:50%;top:50%;width:42px;height:34px;transform:translate(-50%,-50%);border:2px solid #d8dde5;border-radius:8px;background:linear-gradient(145deg,transparent 46%,#d8dde5 47% 53%,transparent 54%)}
.gk-post-cat{position:absolute;z-index:2;right:12px;top:12px;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 10px;border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(15,23,42,.08);color:var(--gk-blog-accent);font-size:10.5px;font-weight:800;line-height:1.4;backdrop-filter:blur(5px)}
.gk-post-cat--inline{position:static;align-self:flex-start;max-width:100%;margin-bottom:10px;background:color-mix(in srgb,var(--gk-blog-accent) 9%,#fff);box-shadow:none;backdrop-filter:none}
.gk-post-content{display:flex;flex:1;flex-direction:column;min-width:0;padding:18px 18px 16px}
.gk-post-title{display:-webkit-box;overflow:hidden;margin:0;color:var(--gk-text,#1f2937);font-size:15px;font-weight:800;line-height:1.85;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;transition:color .2s ease}
.gk-post-excerpt{display:-webkit-box;overflow:hidden;margin:10px 0 0;color:var(--gk-neutral-500,#6b7280);font-size:12px;line-height:1.9;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow-wrap:anywhere}
.gk-post-info{display:flex;align-items:center;flex-wrap:wrap;gap:7px 13px;margin-top:auto;padding-top:12px;color:var(--gk-neutral-500,#6b7280);font-size:10.5px;line-height:1.5}
.gk-post-info span,.gk-post-info time{position:relative}
.gk-post-info span+span::before,.gk-post-info time+span::before,.gk-post-info span+time::before{content:"";position:absolute;right:-8px;top:50%;width:3px;height:3px;transform:translateY(-50%);border-radius:50%;background:#c8cdd4}
.gk-post-meta{display:flex;align-items:center;justify-content:flex-end;margin-top:auto;padding-top:14px}
.gk-post-info+.gk-post-meta{margin-top:10px;border-top:1px solid var(--gk-border-color,#eef0f3)}
.gk-post-title+.gk-post-meta,.gk-post-excerpt+.gk-post-meta{border-top:1px solid var(--gk-border-color,#eef0f3)}
.gk-post-read-more{display:inline-flex;align-items:center;gap:5px;color:var(--gk-blog-accent);font-size:11.5px;font-weight:800;line-height:1.5;transition:gap .2s ease}
.gk-post-read-more svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gk-blog--compact .gk-post-link{display:grid;grid-template-columns:minmax(118px,38%) minmax(0,1fr);align-items:stretch}
.gk-blog--compact .gk-post-thumbnail{height:100%;min-height:164px;aspect-ratio:auto!important;border-bottom:0;border-inline-end:1px solid var(--gk-border-color,#e5e7eb)}
.gk-blog--compact .gk-post-content{padding:14px 15px}
.gk-blog--compact .gk-post-title{-webkit-line-clamp:3;line-height:1.75}
.gk-blog--compact .gk-post-excerpt{margin-top:7px;-webkit-line-clamp:2;line-height:1.75}
.gk-blog--compact .gk-post-info{padding-top:9px}
.gk-blog--compact .gk-post-meta{padding-top:10px}
.gk-blog--compact .gk-post-item--no-image .gk-post-link{display:flex}
.gk-blog-controls{position:static}
.gk-blog-nav{width:40px;height:40px;margin-top:0;border:1px solid var(--gk-border-color,#e5e7eb);border-radius:50%;background:var(--gk-surface,#fff);color:var(--gk-text,#1f2937);box-shadow:0 5px 16px rgba(15,23,42,.08);transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
.gk-blog-nav::after{font-size:14px;font-weight:900}
.gk-blog-nav.swiper-button-disabled{opacity:0;pointer-events:none}
.gk-blog-page{bottom:2px!important}
.gk-blog-page .swiper-pagination-bullet{width:7px;height:7px;margin:0 3px!important;border-radius:999px;background:#c4c9d1;opacity:1;transition:width .2s ease,background-color .2s ease}
.gk-blog-page .swiper-pagination-bullet-active{width:24px;background:var(--gk-blog-accent)}
.gk-no-posts{margin:0;padding:20px;border:1px dashed var(--gk-border-color,#e5e7eb);border-radius:12px;color:var(--gk-neutral-500,#6b7280);text-align:center}
@media (hover:hover) and (pointer:fine){
.gk-blog-all:hover{background:var(--gk-blog-link-hover-bg,var(--gk-blog-accent));border-color:var(--gk-blog-link-hover-bg,var(--gk-blog-accent));color:#fff}
.gk-blog-all:hover span{transform:translateX(-3px)}
.gk-post-item:hover{transform:translateY(-4px);border-color:var(--gk-blog-card-hover-border,color-mix(in srgb,var(--gk-blog-accent) 38%,var(--gk-border-color,#e5e7eb)));box-shadow:0 16px 34px rgba(15,23,42,.09)}
.gk-post-item:hover .gk-post-title{color:var(--gk-blog-title-hover,var(--gk-blog-accent))}
.gk-post-item:hover .gk-post-thumbnail img{transform:scale(var(--gk-blog-image-scale,1.05))}
.gk-post-item:hover .gk-post-read-more{gap:9px}
.gk-blog-nav:hover{background:var(--gk-blog-nav-hover,var(--gk-blog-accent));border-color:var(--gk-blog-nav-hover,var(--gk-blog-accent));color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--gk-blog-accent) 22%,transparent);transform:scale(1.04)}
}
@media (max-width:1024px){.gk-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gk-blog-heading{font-size:20px}}
@media (max-width:767px){.gk-blog-head{align-items:center}.gk-blog-head-main{gap:10px}.gk-blog-head-main::before{width:5px;flex-basis:5px;height:22px}.gk-blog-heading{font-size:18px}.gk-blog-subtitle{font-size:11px}.gk-blog-all{min-height:34px;padding:7px 11px;font-size:10.5px}.gk-blog-grid{grid-template-columns:1fr;gap:16px}.gk-post-content{padding:15px}.gk-post-title{font-size:14px}.gk-blog-nav{display:none}.gk-blog--mobile-arrows .gk-blog-nav{display:flex}.gk-latest-posts-swiper{padding-bottom:34px!important}.gk-blog--compact .gk-post-content{padding:13px 14px}.gk-blog--compact .gk-post-thumbnail{min-height:150px}}
@media (max-width:480px){.gk-blog-head{gap:10px}.gk-blog-head-main{flex:1}.gk-blog-all span{display:none}.gk-blog-all{padding:7px 9px}.gk-post-cat{right:10px;top:10px}.gk-blog--compact .gk-post-link{grid-template-columns:minmax(106px,36%) minmax(0,1fr)}.gk-blog--compact .gk-post-thumbnail{min-height:138px}.gk-blog--compact .gk-post-read-more{font-size:10.5px}}
@media (prefers-reduced-motion:reduce){.gk-post-item,.gk-post-thumbnail img,.gk-post-read-more,.gk-blog-all,.gk-blog-all span,.gk-blog-nav{transition:none!important}.gk-post-item:hover{transform:none}.gk-post-item:hover .gk-post-thumbnail img{transform:none}}


/* ==========================================================================
   GanjehKala Stories v3 - stable Swiper rail + viewer
   ========================================================================== */

/*
 * 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);
}


/* Slider cards are fluid: Swiper owns slide width, the card fills that slide. */
.gk-brands-reference { width: 100%; max-width: none !important; }
.gk-brands-reference .gk-brands-swiper .swiper-slide { width: auto; }
.gk-brands-reference .gk-brand-card { width: 100% !important; min-width: 0; }

@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;
}

/* Banner Carousel styles moved to assets/css/banner-carousel.css in v1.9.35. */

/* -------------------------------------------------------------------------
 * Ganjeh Kala - Category Showcase skin frontend fallback (v1.6.0)
 * Keeps the new Elementor category showcase styled on cached/public pages too.
 * ---------------------------------------------------------------------- */






























@media (max-width: 767px){
    
    
    
}


/* Ganjeh Kala v1.6.1: Category Showcase follows global theme tokens by default */










/* Ganjeh Kala v1.6.2: Category Showcase image, arrow and equal-height refinements */
















/* v1.6.3: Elementor live preview stability for category showcase */







/* Banner Carousel modern skin moved to the dedicated component stylesheet. */

/* Ganjeh Kala v1.6.7: stronger image radius + product/category widget spacing refinements */




/* Legacy Amazing Offer alternate-skin CSS removed in 1.9.274. */
.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.254 - Yogabar: clean images + deterministic mobile Swiper skin
   The mobile layout is class-driven by JS instead of a hard-coded media query.
   This keeps the visual state and the actual Swiper lifecycle on the same breakpoint.
   ========================================================= */
.gk-yogabar-wrapper {
    --gk-yogabar-product-gap: 16px;
}

/* Product images: render only the product image unless the optional background is enabled. */
.gk-yoga-img-wrapper {
    position: relative;
    min-width: 0;
    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-card,
.gk-yogabar-products,
.gk-yogabar-grid,
.gk-yoga-item {
    min-width: 0;
}

.gk-yogabar-products {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/*
 * Desktop / inactive state.
 * The markup intentionally keeps Swiper classes so the same DOM can be activated on mobile,
 * but while the mobile carousel is inactive it must behave as the original two-column grid.
 * transform:none is safe here because this selector is excluded as soon as JS activates Swiper.
 */
.gk-yogabar-has-mobile-carousel:not(.gk-yogabar-mobile-active) .gk-yogabar-grid.swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-wrap: initial !important;
    gap: var(--gk-yogabar-product-gap, 16px) !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    transition: none !important;
    box-sizing: border-box;
}

.gk-yogabar-has-mobile-carousel:not(.gk-yogabar-mobile-active) .gk-yoga-item.swiper-slide {
    width: auto !important;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
}

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

/*
 * Active carousel state. JS adds gk-yogabar-mobile-active only when its matchMedia query
 * actually matches the widget's configured breakpoint. No CSS breakpoint is duplicated here.
 */
.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-card {
    overflow: hidden;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-products.gk-yogabar-carousel-active {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    touch-action: pan-y;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-grid.swiper-wrapper {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 0 !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
    /* Never set transform/transition here. Swiper owns both properties at runtime. */
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yoga-item.swiper-slide {
    min-width: 0;
    max-width: none;
    height: auto;
    flex-shrink: 0;
    box-sizing: border-box;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yoga-item-title {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-mobile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: static;
    width: 100%;
    margin-top: 12px;
    line-height: 1;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .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-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-mobile-pagination .swiper-pagination-bullet-active {
    width: 16px;
    border-radius: 999px;
    opacity: 1;
    background: var(--gk-primary, #3b82f6);
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-mobile-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    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-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-mobile-prev { right: 4px; }
.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yogabar-mobile-next { left: 4px; }

/* The no-hover setting remains a mobile-carousel behavior, but follows actual runtime state. */
.gk-yogabar-no-mobile-hover-yes .gk-yogabar-mobile-active .gk-yogabar-card:hover,
.gk-yogabar-no-mobile-hover-yes .gk-yogabar-mobile-active .gk-yoga-item:hover .gk-yoga-img-wrapper img {
    transform: none !important;
}

.gk-brands-carousel{position:relative;width:100%;overflow:hidden;padding:20px 0}
.gk-brands-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;flex-wrap:wrap;gap:15px}
.gk-brands-title-wrap{display:flex;align-items:center;gap:12px;flex-grow:1}
.gk-brands-icon{width:32px;height:32px;object-fit:contain}
.gk-brands-title-text{margin:0;font-size:22px;font-weight:800;color:var(--gk-text,#111);letter-spacing:-.5px}
.gk-brands-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;text-decoration:none;padding:10px 20px;border-radius:50px;background:var(--gk-surface,#f4f6f8);color:var(--gk-text,#444);transition:all var(--gk-duration,.3s) ease;border:1px solid transparent}
.gk-brands-link:hover{background:var(--gk-primary);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--gk-primary) 30%,transparent);transform:translateY(-2px)}
.gk-brands-link i{font-size:14px;transition:transform .3s ease}
.gk-brands-link:hover i{transform:translateX(-4px)}
.gk-brands-carousel .swiper{padding:20px 10px!important;margin:-20px -10px!important}
.gk-brand-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--gk-surface,#fff);border-radius:var(--gk-radius-lg,20px);padding:24px 16px;border:1px solid var(--gk-border,#eaeaea);transition:all var(--gk-duration-slow,.4s) cubic-bezier(.175,.885,.32,1.275);position:relative;text-decoration:none;overflow:hidden;box-shadow:var(--gk-shadow-sm,0 4px 15px rgba(0,0,0,.03));height:100%}
.gk-brand-logo-wrap{width:80px;height:80px;border-radius:50%;background:#fff;box-shadow:0 5px 15px rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center;margin-bottom:16px;padding:12px;transition:transform var(--gk-duration,.3s) ease;border:1px solid #f5f5f5;z-index:2}
.gk-brand-logo-wrap img{max-width:100%;max-height:100%;object-fit:contain;transition:filter .3s,transform .4s;filter:none}
.gk-brand-info{display:flex;flex-direction:column;align-items:center;gap:8px;z-index:2}
.gk-brand-name{margin:0;font-size:16px;font-weight:800;color:var(--gk-text,#222);transition:color .3s}
.gk-brand-count{font-size:11px;font-weight:700;background:color-mix(in srgb,var(--gk-primary) 10%,transparent);color:var(--gk-primary);padding:4px 10px;border-radius:20px;transition:all .3s ease}
.gk-brand-action{position:absolute;bottom:-30px;left:50%;transform:translateX(-50%);width:32px;height:32px;background:var(--gk-primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .4s cubic-bezier(.34,1.56,.64,1)}
.gk-brand-card:hover{transform:translateY(-8px);border-color:color-mix(in srgb,var(--gk-primary) 40%,transparent);box-shadow:0 15px 35px color-mix(in srgb,var(--gk-primary) 15%,rgba(0,0,0,.05))}
.gk-brand-card:hover .gk-brand-logo-wrap{transform:scale(1.1) translateY(-5px);box-shadow:0 10px 20px color-mix(in srgb,var(--gk-primary) 10%,transparent)}
.gk-brands-carousel.is-grayscale .gk-brand-logo-wrap img{filter:grayscale(80%)}
.gk-brand-card:hover .gk-brand-logo-wrap img{filter:grayscale(0);transform:scale(1.1)}
.gk-brand-card:hover .gk-brand-name{color:var(--gk-primary)}
.gk-brand-card:hover .gk-brand-count{background:var(--gk-primary);color:#fff;transform:translateY(-5px);opacity:0}
.gk-brand-card:hover .gk-brand-action{bottom:20px;opacity:1}
.gk-brands-carousel .swiper-button-next,.gk-brands-carousel .swiper-button-prev{width:44px;height:44px;background:rgba(255,255,255,.7);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 4px 15px rgba(0,0,0,.08);border:1px solid rgba(255,255,255,.5);border-radius:50%;color:var(--gk-text,#333);transition:all var(--gk-duration,.3s) ease}
.gk-brands-carousel .swiper-button-next::after,.gk-brands-carousel .swiper-button-prev::after{font-size:16px;font-weight:800}
.gk-brands-carousel .swiper-button-next:hover,.gk-brands-carousel .swiper-button-prev:hover{background:var(--gk-primary);color:#fff;box-shadow:0 8px 25px color-mix(in srgb,var(--gk-primary) 40%,transparent);transform:scale(1.1);border-color:var(--gk-primary)}
.gk-bgrid{--gk-bgrid-accent:#ea580c;background:#eef0f3;color:#1c242b;border-top:3px solid var(--gk-bgrid-accent)}
.gk-bgrid-inner{width:100%;max-width:none!important;margin:0;padding:26px 0;padding-inline:0!important}
.gk-bgrid-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.gk-bgrid-heading{display:flex;align-items:center;gap:14px;min-width:0}
.gk-bgrid-bar{width:6px;height:48px;border-radius:4px;background:var(--gk-bgrid-accent);flex:0 0 auto}
.gk-bgrid-title{margin:0;font-size:21px;font-weight:900;color:inherit}
.gk-bgrid-subtitle{margin:3px 0 0;font-size:12px;color:#6a737e}
.gk-bgrid-actions{display:flex;align-items:center;gap:12px}
.gk-bgrid-total{font-size:12px;color:#6a737e;background:#fff;border:1px solid #dfe4e9;border-radius:999px;padding:6px 14px;white-space:nowrap}
.gk-bgrid-all{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:var(--gk-bgrid-accent);border:1px solid var(--gk-bgrid-accent);border-radius:10px;padding:9px 20px;text-decoration:none;white-space:nowrap;transition:.2s}
.gk-bgrid-all:hover{background:var(--gk-bgrid-accent);border-color:var(--gk-bgrid-accent);color:#fff}
.gk-bgrid-all i{font-size:12px;transition:transform .2s}
.gk-bgrid-all:hover i{transform:translateX(-3px)}
.gk-bgrid-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.gk-bgrid-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border:1px solid #dfe4e9;border-radius:12px;padding:26px 12px 18px;text-decoration:none;color:inherit;text-align:center;min-width:0;transition:border-color .2s ease,box-shadow .2s ease}
.gk-bgrid.is-ready .gk-bgrid-card{opacity:0;transform:translateY(12px);transition:opacity .5s ease var(--gk-bgrid-delay,0ms),transform .6s cubic-bezier(.2,.7,.3,1) var(--gk-bgrid-delay,0ms),border-color .2s ease,box-shadow .2s ease}
.gk-bgrid.is-ready .gk-bgrid-card.is-on{opacity:1;transform:none}
.gk-bgrid-card:hover{border-color:var(--gk-bgrid-accent);box-shadow:0 12px 26px rgba(28,36,43,.08)}
.gk-bgrid-badge{position:absolute;top:10px;right:10px;font-style:normal;font-size:9.5px;font-weight:700;border-radius:999px;padding:3px 9px;white-space:nowrap;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}
.gk-bgrid-badge.is-green{color:#0b6b5f;background:#e7f4f1}
.gk-bgrid-badge.is-gray{color:#5b6472;background:#eef0f3}
.gk-bgrid-badge.is-orange{color:#ea580c;background:#fef0e7}
.gk-bgrid-badge.is-blue{color:#1d4ed8;background:#e8eefc}
.gk-bgrid-logo{width:58px;height:58px;border-radius:14px;background:#f1f3f6;display:grid;place-items:center;overflow:hidden;transition:background .2s ease;color:#3f4956}
.gk-bgrid-logo img{display:block;max-width:72%;max-height:72%;width:auto;height:auto;object-fit:contain;transition:filter .2s ease,transform .2s ease}
.gk-bgrid-logo i{font-style:normal;font-weight:900;font-size:17px;letter-spacing:.5px;font-family:Tahoma,sans-serif;direction:ltr}
.gk-bgrid-card:hover .gk-bgrid-logo{background:var(--gk-bgrid-accent);color:#fff}
.gk-bgrid-card:hover .gk-bgrid-logo img{transform:scale(1.04)}
.gk-bgrid.is-logo-white .gk-bgrid-card:hover .gk-bgrid-logo img{filter:brightness(0) invert(1)}
.gk-bgrid-name{font-size:13.5px;font-weight:900;letter-spacing:.2px;line-height:1.6;color:inherit;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .2s ease}
.gk-bgrid-card:hover .gk-bgrid-name{color:var(--gk-bgrid-accent)}
.gk-bgrid-desc{font-size:11.5px;color:#6a737e;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gk-bgrid-count{font-size:10.5px;color:#9aa1ab}
@media (max-width:1100px){.gk-bgrid-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.gk-bgrid-list{grid-template-columns:repeat(3,minmax(0,1fr))}.gk-bgrid-total{display:none}}
@media (max-width:560px){.gk-bgrid-inner{padding-block:20px;padding-inline:0!important}.gk-bgrid-title{font-size:17px}.gk-bgrid-all{display:none}.gk-bgrid-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gk-bgrid-card{padding:22px 8px 14px}.gk-bgrid-logo{width:48px;height:48px;border-radius:12px}.gk-bgrid-logo i{font-size:14px}.gk-bgrid-name{font-size:12px}.gk-bgrid-desc{font-size:10.5px}.gk-bgrid-badge{font-size:8.5px;padding:2px 7px}}
@media (prefers-reduced-motion:reduce){.gk-bgrid.is-ready .gk-bgrid-card{opacity:1;transform:none;transition:none}}

@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,.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 Brands Carousel — reference skin (v1.9.186)
   Faithful to brands-carousel.html; no extra visual layers.
   ========================================================= */
.gk-brands-reference {
    --gk-brands-bg: #f8f8f8;
    --gk-brands-border: #f0f0f0;
    --gk-brands-title: #161616;
    --gk-brands-icon: #161616;
    --gk-brand-card-bg: #ffffff;
    --gk-brand-card-border: #ececec;
    --gk-brand-name: #7d7d7d;
    --gk-brands-nav-bg: #ffffff;
    --gk-brands-nav-color: #444444;
    --gk-brands-nav-border: #e7e7e7;
    --gk-brands-nav-offset: 12px;
    --gk-brands-fade: #f8f8f8;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--gk-brands-bg);
    border: 1px solid var(--gk-brands-border);
    border-radius: 22px;
    box-shadow: none;
    box-sizing: border-box;
    isolation: isolate;
}

.gk-brands-reference .gk-brands-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 14px 20px 6px;
    min-width: 0;
}

.gk-brands-reference .gk-brands-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gk-brands-reference .gk-brands-icon {
    width: 21px;
    height: 21px;
    flex: none;
    display: block;
    object-fit: contain;
    color: var(--gk-brands-icon);
    stroke: currentColor;
}

.gk-brands-reference .gk-brands-title-text {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    color: var(--gk-brands-title);
    white-space: nowrap;
}

/* The reference slider has no secondary link, counter, badge, action chip or nested info box. */
.gk-brands-reference .gk-brands-link,
.gk-brands-reference .gk-brand-count,
.gk-brands-reference .gk-brand-action,
.gk-brands-reference .gk-brand-info { display: none !important; }

.gk-brands-reference .gk-brands-viewport {
    position: relative;
    min-width: 0;
}

.gk-brands-reference .gk-brands-swiper,
.gk-brands-reference .gk-brands-swiper.swiper {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 8px 16px 16px !important;
    overflow: hidden;
    box-sizing: border-box;
}

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

.gk-brands-reference .gk-brands-swiper .swiper-slide {
    width: auto;
    height: auto;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}

.gk-brands-reference .gk-brand-card,
.gk-brands-reference .gk-brand-card:hover,
.gk-brands-reference .gk-brand-card:active,
.gk-brands-reference .gk-brand-card:focus {
    position: relative;
    width: 100%;
    height: 116px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--gk-brand-card-bg);
    border: 1px solid var(--gk-brand-card-border);
    border-radius: 12px;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
    text-align: center;
    user-select: none;
    box-sizing: border-box;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}

.gk-brands-reference .gk-brand-card:hover,
.gk-brands-reference .gk-brand-card:focus-visible {
    border-color: #e0e0e0;
    box-shadow: 0 6px 16px rgba(0,0,0,.07);
    transform: translateY(-2px);
    outline: none;
}

.gk-brands-reference .gk-brand-logo-wrap,
.gk-brands-reference .gk-brand-card:hover .gk-brand-logo-wrap,
.gk-brands-reference .gk-brand-card:active .gk-brand-logo-wrap {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px 6px 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    box-sizing: border-box;
}

.gk-brands-reference .gk-brand-logo-wrap img,
.gk-brands-reference .gk-brand-card:hover .gk-brand-logo-wrap img,
.gk-brands-reference .gk-brand-card:active .gk-brand-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 68%;
    max-height: 68%;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: none;
    opacity: 1;
    transform: none;
}

.gk-brands-reference .gk-brand-name,
.gk-brands-reference .gk-brand-card:hover .gk-brand-name,
.gk-brands-reference .gk-brand-card:active .gk-brand-name {
    display: block;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    margin: 0;
    padding: 4px 6px 8px;
    color: var(--gk-brand-name);
    background: transparent;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: none;
    box-sizing: border-box;
}

.gk-brands-reference .gk-brands-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity .25s, visibility .25s;
}

.gk-brands-reference .gk-brands-fade--left {
    left: 0;
    right: auto;
    background: linear-gradient(to left, rgba(248,248,248,0) 0%, rgba(248,248,248,.92) 55%, var(--gk-brands-fade) 100%);
}

.gk-brands-reference .gk-brands-fade--right {
    right: 0;
    left: auto;
    background: linear-gradient(to right, rgba(248,248,248,0) 0%, rgba(248,248,248,.92) 55%, var(--gk-brands-fade) 100%);
}

.gk-brands-reference .gk-brands-fade.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.gk-brands-reference .gk-brands-nav,
.gk-brands-reference .gk-brands-nav.gk-nav-btn,
.gk-brands-reference .gk-brands-nav:hover,
.gk-brands-reference .gk-brands-nav:focus {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    background: var(--gk-brands-nav-bg);
    color: var(--gk-brands-nav-color);
    border: 1px solid var(--gk-brands-nav-border);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    transition: opacity .25s, visibility .25s, box-shadow .2s;
}

.gk-brands-reference .gk-brands-nav:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.14);
}

.gk-brands-reference .gk-brands-nav svg {
    width: 16px;
    height: 16px;
    display: block;
}

.gk-brands-reference .gk-brands-nav::before,
.gk-brands-reference .gk-brands-nav::after { display: none !important; }
.gk-brands-reference .gk-brands-nav--left { left: var(--gk-brands-nav-offset); right: auto; }
.gk-brands-reference .gk-brands-nav--right { right: var(--gk-brands-nav-offset); left: auto; }
.gk-brands-reference .gk-brands-nav.swiper-button-disabled { opacity: 0; visibility: hidden; pointer-events: none; }
.gk-brands-reference .gk-brands-nav.swiper-button-lock { display: none; }

@media (max-width: 640px) {
    .gk-brands-reference .gk-brands-swiper,
    .gk-brands-reference .gk-brands-swiper.swiper { padding: 8px 16px 16px !important; }
    .gk-brands-reference .gk-brand-card,
    .gk-brands-reference .gk-brand-card:hover,
    .gk-brands-reference .gk-brand-card:active,
    .gk-brands-reference .gk-brand-card:focus { width: 100%; height: 106px; }
}

@media (prefers-reduced-motion: reduce) {
    .gk-brands-reference .gk-brand-card,
    .gk-brands-reference .gk-brands-nav,
    .gk-brands-reference .gk-brands-fade { transition: none !important; }
}

/* =========================================================
   GK v1.9.255 - Yogabar independent desktop/mobile product counts
   One DOM is shared between grid and mobile Swiper. Items beyond each mode's
   configured limit are hidden only in that mode so Swiper receives the correct
   slide set while desktop keeps its own product count.
   ========================================================= */
.gk-yogabar-has-mobile-carousel:not(.gk-yogabar-mobile-active) .gk-yoga-item-desktop-hidden {
    display: none !important;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yoga-item-mobile-hidden {
    display: none !important;
}

/* An item can be desktop-hidden but valid on mobile, or vice versa. Ensure the
   opposite mode can restore it even if generic theme rules set display values. */
.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yoga-item-desktop-hidden:not(.gk-yoga-item-mobile-hidden) {
    display: block;
}

.gk-yogabar-has-mobile-carousel:not(.gk-yogabar-mobile-active) .gk-yoga-item-mobile-hidden:not(.gk-yoga-item-desktop-hidden) {
    display: block;
}

/* =========================================================
   GK v1.9.257 - Yogabar compact variable-product price
   Variable products use a single archive-style "از + minimum price" row.
   ========================================================= */
.gk-yoga-item-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    text-align: right;
    direction: rtl;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: hidden;
}

.gk-yoga-item-price .amount {
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

.gk-yoga-item-price-from {
    flex: 0 0 auto;
    color: inherit;
    font-size: .82em;
    font-weight: 600;
    white-space: nowrap;
}

.gk-yoga-item-price-value {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    white-space: nowrap;
}

.gk-yoga-item-price ins {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
}

.gk-yoga-item-price del {
    display: inline-block;
    flex: 0 0 auto;
    margin-inline-end: 6px;
    color: #9ca3af;
    font-size: .82em;
    font-weight: 500;
    opacity: .9;
    white-space: nowrap;
}

.gk-yoga-item-price del .amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.gk-yoga-item-price .woocommerce-Price-currencySymbol {
    font-size: .86em;
    font-weight: inherit;
}

.gk-yogabar-has-mobile-carousel.gk-yogabar-mobile-active .gk-yoga-item-price {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: normal;
}

/* =========================================================
   GK v1.9.260 - Grid Slider product price
   Compact WooCommerce pricing aligned with archive/Yogabar cards.
   ========================================================= */
.gk-grid-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin-top: 5px;
    color: var(--gk-text-main, #111827);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    direction: rtl;
    text-align: right;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: hidden;
}

.gk-grid-price .amount,
.gk-grid-price ins,
.gk-grid-price del {
    white-space: nowrap;
}

.gk-grid-price ins {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    background: transparent;
}

.gk-grid-price del {
    flex: 0 0 auto;
    margin-inline-end: 5px;
    color: #9ca3af;
    font-size: .82em;
    font-weight: 500;
    opacity: .9;
}

.gk-grid-price del .amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.gk-grid-price-from {
    flex: 0 0 auto;
    font-size: .82em;
    font-weight: 600;
    white-space: nowrap;
}

.gk-grid-price-value {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    white-space: nowrap;
}

.gk-grid-price .woocommerce-Price-currencySymbol {
    font-size: .86em;
    font-weight: inherit;
}

/* =========================================================
 * Advanced Amazing Offers — single skin + shared product card
 * Product slides use the same gk-product-card core as archives.
 * ========================================================= */
.gk-amazing-shared {
    --gk-amazing-accent: var(--gk-primary, #3342fd);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: var(--gk-radius-xl, 20px);
    background: var(--gk-amazing-accent);
    color: var(--gk-text, #111827);
    overflow: hidden;
}

.gk-amazing-shared--no-card-lift {
    --gk-card-hover-lift: 0px !important;
}

.gk-amazing-shared .gk-amazing-swiper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.gk-amazing-shared .gk-amazing-track {
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gk-amazing-shared .gk-product-card,
.gk-amazing-shared .gk-amazing-intro-slide,
.gk-amazing-shared .gk-amazing-seeall-slide {
    box-sizing: border-box;
    height: auto;
    min-width: 0;
    margin-block: 0 !important;
    list-style: none;
}

.gk-amazing-shared .gk-product-card__inner {
    height: 100%;
}

.gk-amazing-intro-slide {
    display: flex;
    align-items: stretch;
    background: transparent;
}

.gk-amazing-intro-content {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 6px;
    color: #fff;
    text-align: center;
}

.gk-amazing-intro-image {
    display: block;
    width: min(150px, 82%);
    max-width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.gk-amazing-shared .gk-countdown {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    direction: ltr;
}

.gk-amazing-shared .gk-countdown-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 7px 4px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--gk-surface, #fff) 94%, transparent);
}

.gk-amazing-shared .gk-countdown-number {
    color: var(--gk-text, #111827);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
}

.gk-amazing-shared .gk-countdown-label {
    color: var(--gk-text-muted, #6b7280);
    font-size: 9px;
    line-height: 1.2;
}

.gk-amazing-intro-button,
.gk-amazing-intro-button:link,
.gk-amazing-intro-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--gk-surface, #fff);
    color: var(--gk-amazing-accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    transition: transform .22s ease, box-shadow .22s ease;
}

.gk-amazing-intro-button svg,
.gk-amazing-seeall-icon svg,
.gk-amazing-nav svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover:hover) and (pointer:fine) {
    .gk-amazing-intro-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    }
}

.gk-amazing-seeall-slide {
    display: flex;
}

.gk-amazing-seeall-card,
.gk-amazing-seeall-card:link,
.gk-amazing-seeall-card:visited {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 14px;
    border: 1px solid var(--gk-border-color, #e5e7eb);
    border-radius: var(--gk-card-radius, 22px);
    background: var(--gk-surface, #fff);
    color: var(--gk-text, #111827);
    text-align: center;
    text-decoration: none;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.gk-amazing-seeall-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 96px;
    max-width: 100%;
}

.gk-amazing-seeall-stack {
    position: relative;
    display: block;
    width: 112px;
    height: 96px;
    perspective: 500px;
}

.gk-amazing-seeall-stack__item {
    --gk-amazing-stack-x: 0px;
    --gk-amazing-stack-y: 0px;
    --gk-amazing-stack-r: 0deg;
    --gk-amazing-stack-scale: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--gk-amazing-stack-item-size, 70px);
    height: var(--gk-amazing-stack-item-size, 70px);
    padding: 5px;
    border: 1px solid var(--gk-amazing-stack-border, var(--gk-border-color, #e5e7eb));
    border-radius: var(--gk-amazing-stack-radius, 17px);
    background: var(--gk-amazing-stack-background, var(--gk-surface, #fff));
    box-shadow: 0 8px 20px rgba(15, 23, 42, .10);
    overflow: hidden;
    transform: translate(calc(-50% + var(--gk-amazing-stack-x)), calc(-50% + var(--gk-amazing-stack-y))) rotate(var(--gk-amazing-stack-r)) scale(var(--gk-amazing-stack-scale));
    transition:
        transform var(--gk-amazing-stack-duration, 700ms) cubic-bezier(.22, 1, .36, 1),
        box-shadow 450ms ease,
        border-color 450ms ease;
    transition-delay: calc(var(--gk-amazing-stack-index, 0) * 45ms);
    will-change: transform;
}

.gk-amazing-seeall-stack__item:nth-child(1) { --gk-amazing-stack-x: -24px; --gk-amazing-stack-y: 8px; --gk-amazing-stack-r: -8deg; z-index: 1; }
.gk-amazing-seeall-stack__item:nth-child(2) { --gk-amazing-stack-x: 24px; --gk-amazing-stack-y: 9px; --gk-amazing-stack-r: 8deg; z-index: 2; }
.gk-amazing-seeall-stack__item:nth-child(3) { --gk-amazing-stack-x: -8px; --gk-amazing-stack-y: -13px; --gk-amazing-stack-r: -2deg; z-index: 3; }
.gk-amazing-seeall-stack__item:nth-child(4) { --gk-amazing-stack-x: 10px; --gk-amazing-stack-y: -9px; --gk-amazing-stack-r: 3deg; z-index: 4; }

.gk-amazing-seeall-stack__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: max(0px, calc(var(--gk-amazing-stack-radius, 17px) - 5px));
    transform-origin: center;
    animation: gk-amazing-stack-image-float 5.4s ease-in-out infinite;
    animation-delay: calc(var(--gk-amazing-stack-index, 0) * -.7s);
}

.gk-amazing-seeall-stack__item.is-placeholder {
    background: var(--gk-surface-soft, var(--gk-surface, #fff));
}

@keyframes gk-amazing-stack-image-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.025); }
}

.gk-amazing-seeall-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gk-surface-soft, var(--gk-surface, #fff));
    color: var(--gk-amazing-accent);
}

.gk-amazing-seeall-text {
    color: inherit;
    font-size: 13px;
    font-weight: 700;
}

@media (hover:hover) and (pointer:fine) {
    .gk-amazing-seeall-card:hover {
        transform: translateY(-3px);
        border-color: color-mix(in srgb, var(--gk-amazing-accent) 28%, var(--gk-border-color, #e5e7eb));
        box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
    }
    .gk-amazing-seeall-card:hover .gk-amazing-seeall-stack__item:nth-child(1) {
        --gk-amazing-stack-x: -34px;
        --gk-amazing-stack-y: 11px;
        --gk-amazing-stack-r: -12deg;
        --gk-amazing-stack-scale: 1.035;
    }
    .gk-amazing-seeall-card:hover .gk-amazing-seeall-stack__item:nth-child(2) {
        --gk-amazing-stack-x: 34px;
        --gk-amazing-stack-y: 12px;
        --gk-amazing-stack-r: 12deg;
        --gk-amazing-stack-scale: 1.035;
    }
    .gk-amazing-seeall-card:hover .gk-amazing-seeall-stack__item:nth-child(3) {
        --gk-amazing-stack-x: -12px;
        --gk-amazing-stack-y: -20px;
        --gk-amazing-stack-r: -5deg;
        --gk-amazing-stack-scale: 1.055;
    }
    .gk-amazing-seeall-card:hover .gk-amazing-seeall-stack__item:nth-child(4) {
        --gk-amazing-stack-x: 14px;
        --gk-amazing-stack-y: -17px;
        --gk-amazing-stack-r: 6deg;
        --gk-amazing-stack-scale: 1.055;
    }
}

.gk-amazing-nav {
    position: absolute;
    z-index: 8;
    top: 50%;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--gk-border-color, #e5e7eb);
    border-radius: 999px;
    background: var(--gk-surface, #fff);
    color: var(--gk-text, #111827);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    transform: translateY(-50%);
    transition: opacity .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.gk-amazing-nav::after {
    display: none !important;
    content: none !important;
}

.gk-amazing-nav--prev { right: 8px; left: auto; }
.gk-amazing-nav--next { left: 8px; right: auto; }
.gk-amazing-nav.swiper-button-disabled { opacity: .3; pointer-events: none; }

.gk-amazing-shared .swiper-pagination {
    position: relative;
    inset: auto;
    margin-top: 14px;
}

.gk-amazing-shared .swiper-pagination-bullet-active {
    background: var(--gk-surface, #fff);
}

@media (max-width: 767px) {
    .gk-amazing-shared {
        padding: 14px 12px 16px;
        border-radius: var(--gk-radius-lg, 16px);
    }

    .gk-amazing-shared--hide-mobile-nav .gk-amazing-nav {
        display: none !important;
    }

    .gk-amazing-intro-content {
        padding-inline: 2px;
    }

    .gk-amazing-shared .gk-countdown {
        gap: 4px;
    }

    .gk-amazing-shared .gk-countdown-item {
        padding: 6px 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gk-amazing-shared *,
    .gk-amazing-shared *::before,
    .gk-amazing-shared *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
