/* Gallery integrated product actions */
.elementor-widget-ganjeh-kala-gallery .gk-featured-image{
    position:relative;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-shell{
    --gk-gallery-actions-x:14px;
    --gk-gallery-actions-y:18px;
    --gk-gallery-actions-gap:12px;
    --gk-gallery-action-size:42px;
    --gk-gallery-action-icon:22px;
    --gk-gallery-action-radius:999px;
    --gk-gallery-action-bg:#fff;
    --gk-gallery-action-color:#1f2937;
    --gk-gallery-action-bg-hover:var(--gk-primary,#ef4056);
    --gk-gallery-action-color-hover:#fff;
    --gk-gallery-offer-y:0px;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail{
    position:absolute;
    z-index:9;
    display:flex;
    flex-direction:column;
    gap:var(--gk-gallery-actions-gap);
    pointer-events:auto;
}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-right .gk-gallery-action-rail{right:var(--gk-gallery-actions-x);left:auto;}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-left .gk-gallery-action-rail{left:var(--gk-gallery-actions-x);right:auto;}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-vertical-top .gk-gallery-action-rail{top:var(--gk-gallery-actions-y);}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-vertical-center .gk-gallery-action-rail{top:50%;transform:translateY(-50%);}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-vertical-bottom .gk-gallery-action-rail{bottom:var(--gk-gallery-actions-y);}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn{
    width:var(--gk-gallery-action-size);
    height:var(--gk-gallery-action-size);
    min-width:var(--gk-gallery-action-size);
    min-height:var(--gk-gallery-action-size);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:var(--gk-gallery-action-radius);
    background:var(--gk-gallery-action-bg);
    color:var(--gk-gallery-action-color);
    box-shadow:0 10px 24px rgba(15,23,42,.10);
    cursor:pointer;
    text-decoration:none;
    padding:0;
    transition:background-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
    position:relative;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn:hover,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn:focus-visible,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn.is-active{
    background:var(--gk-gallery-action-bg-hover);
    color:var(--gk-gallery-action-color-hover);
    transform:translateY(-1px);
    box-shadow:0 14px 30px rgba(15,23,42,.16);
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn svg{
    width:var(--gk-gallery-action-icon);
    height:var(--gk-gallery-action-icon);
    display:block;
    fill:currentColor;
    color:currentColor;
    pointer-events:none;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-text{
    position:absolute!important;
    width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);
    white-space:nowrap;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]::before,
.elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]::after,
.elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]::before{
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transition:.18s ease;
    position:absolute;
    z-index:50;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]::after,
.elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]::after{
    content:attr(data-tooltip);
    top:50%;
    right:calc(100% + 9px);
    transform:translateY(-50%) translateX(4px);
    background:#111827;
    color:#fff;
    border-radius:10px;
    padding:6px 10px;
    font-size:12px;
    font-weight:700;
    line-height:1.7;
    white-space:nowrap;
    box-shadow:0 12px 24px rgba(15,23,42,.18);
}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-left .gk-gallery-action-btn[data-tooltip]::after,
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-left .gk-tooltip-container[data-tooltip]::after{
    left:calc(100% + 9px);
    right:auto;
    transform:translateY(-50%) translateX(-4px);
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]:hover::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]:focus-visible::after,
.elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]:hover::after,
.elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]:focus-visible::after{
    opacity:1;
    visibility:visible;
    transform:translateY(-50%) translateX(0);
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-bar{
    position:absolute;
    z-index:8;
    top:var(--gk-gallery-offer-y);
    left:0;
    right:0;
    min-height:46px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 16px;
    background:#fdecef;
    color:#ef4056;
    border-radius:0;
    line-height:1;
    box-shadow:0 10px 26px rgba(239,64,86,.08);
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-title{
    font-weight:900;
    white-space:nowrap;
    margin-inline-start:auto;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-discount{
    background:#ef4056;
    color:#fff;
    border-radius:999px;
    min-width:38px;
    height:22px;
    display:inline-grid;
    place-items:center;
    font-size:12px;
    font-weight:900;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-left{color:#8b5e69;font-size:12px;font-weight:700;}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-progress{
    flex:0 1 190px;
    max-width:190px;
    height:4px;
    border-radius:999px;
    background:rgba(239,64,86,.14);
    overflow:hidden;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-progress i{display:block;width:62%;height:100%;background:currentColor;border-radius:inherit;}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-time{font-weight:900;direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-modal[hidden]{display:none!important;}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-modal,
.gk-gallery-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}
.gk-gallery-modal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.45);backdrop-filter:blur(6px);}
.gk-gallery-modal-dialog{
    position:relative;
    z-index:1;
    width:min(480px,100%);
    max-height:calc(100vh - 36px);
    overflow:auto;
    background:#fff;
    color:#111827;
    border-radius:22px;
    padding:22px;
    box-shadow:0 24px 80px rgba(15,23,42,.22);
}
.gk-gallery-chart-dialog{width:min(760px,100%);}
.gk-gallery-modal-dialog h3{margin:0 0 16px;font-size:18px;font-weight:900;}
.gk-gallery-modal-close{position:absolute;top:14px;left:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;color:#111827;display:grid;place-items:center;font-size:24px;line-height:1;cursor:pointer;}
.gk-gallery-share-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;}
.gk-gallery-share-links a{display:inline-flex;align-items:center;justify-content:center;min-width:90px;height:40px;border-radius:12px;background:#f8fafc;color:#111827;text-decoration:none;font-weight:800;border:1px solid #eef2f7;}
.gk-gallery-copy-row{display:grid;grid-template-columns:1fr auto;gap:8px;direction:ltr;}
.gk-gallery-copy-row input{width:100%;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;}
.gk-gallery-copy-row button{border:0;border-radius:12px;background:var(--gk-primary,#ef4056);color:#fff;padding:0 16px;font-weight:900;}
.gk-gallery-chart-loader,.gk-gallery-chart-empty{text-align:center;color:#64748b;padding:28px 10px;}
.gk-gallery-chart-canvas{min-height:330px;}
@media (max-width:767px){
    .elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail{gap:8px;}
    .elementor-widget-ganjeh-kala-gallery .gk-gallery-special-bar{min-height:42px;padding:8px 10px;gap:8px;font-size:12px;}
    .elementor-widget-ganjeh-kala-gallery .gk-gallery-special-progress{flex-basis:96px;}
    .elementor-widget-ganjeh-kala-gallery .gk-gallery-action-btn[data-tooltip]::after,
    .elementor-widget-ganjeh-kala-gallery .gk-tooltip-container[data-tooltip]::after{display:none!important;}
}

/* v1.7.8: integrated actions must keep the original widget engines/classes, only icon-size/layout is normalized inside the gallery. */
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-gallery-action-slot,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-share-wrapper,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-price-chart-wrapper,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-notify-widget-wrapper,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-wrapper{
    width:var(--gk-gallery-action-size);
    height:var(--gk-gallery-action-size);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0!important;
    padding:0!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-gallery-integrated-widget-btn,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-share-trigger,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-chart-trigger-btn,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-notify-trigger-btn,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-compare-btn{
    width:var(--gk-gallery-action-size)!important;
    height:var(--gk-gallery-action-size)!important;
    min-width:var(--gk-gallery-action-size)!important;
    min-height:var(--gk-gallery-action-size)!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    border-radius:var(--gk-gallery-action-radius)!important;
    border:0!important;
    background:var(--gk-gallery-action-bg)!important;
    color:var(--gk-gallery-action-color)!important;
    box-shadow:0 10px 24px rgba(15,23,42,.10)!important;
    line-height:1!important;
    font-size:0!important;
    text-decoration:none!important;
    transform:none;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-gallery-integrated-widget-btn:hover,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-gallery-integrated-widget-btn:focus-visible,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn:hover,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn:focus-visible,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.is-active,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-compare-btn:hover,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-compare-btn:focus-visible{
    background:var(--gk-gallery-action-bg-hover)!important;
    color:var(--gk-gallery-action-color-hover)!important;
    transform:translateY(-1px)!important;
    box-shadow:0 14px 30px rgba(15,23,42,.16)!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail svg,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail i{
    width:var(--gk-gallery-action-icon)!important;
    height:var(--gk-gallery-action-icon)!important;
    font-size:var(--gk-gallery-action-icon)!important;
    display:block!important;
    color:currentColor!important;
    fill:currentColor!important;
    stroke:currentColor;
    margin:0!important;
    line-height:1!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-share-text,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-trigger-text,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-chart-btn-text,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-compare-btn span,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-gallery-action-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(1px,1px,1px,1px)!important;
    white-space:nowrap!important;
}

/* Use the real Product Special Offer widget appearance above the featured image. */
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot{
    position:absolute;
    z-index:8;
    top:var(--gk-gallery-offer-y,0px);
    left:0;
    right:0;
    width:100%;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer{
    width:100%;
    margin:0!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer__inner{
    min-height:46px;
}

/* Fixed/teleported modals from the original widgets must stay above the gallery and page. */
.gk-share-modal[aria-hidden="false"],
.gk-chart-modal[aria-hidden="false"],
.gk-notify-modal.is-open{
    z-index:999999!important;
}

/* v1.8.0: real Elementor style bindings for integrated special offer + wishlist tooltip fix */
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot{
    display:flex;
    pointer-events:auto;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer{
    max-width:100%;
    background:inherit;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer__inner{
    width:100%;
    box-sizing:border-box;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer__label,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer__time,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-special-offer-slot .gk-special-offer__clock{
    transition:color .18s ease, background-color .18s ease, border-color .18s ease;
}

/* The original wishlist tooltip CSS uses its own pseudo-elements. Inside the gallery the generic tooltip layer was winning only for some items, so normalize wishlist too. */
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::before{
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transition:.18s ease;
    position:absolute;
    z-index:1000;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::after{
    content:attr(data-tooltip);
    top:50%!important;
    bottom:auto!important;
    right:calc(100% + 9px)!important;
    left:auto!important;
    transform:translateY(-50%) translateX(4px)!important;
    background:#111827!important;
    color:#fff!important;
    border-radius:10px!important;
    padding:6px 10px!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.7!important;
    white-space:nowrap!important;
    box-shadow:0 12px 24px rgba(15,23,42,.18)!important;
}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-left .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::after{
    left:calc(100% + 9px)!important;
    right:auto!important;
    transform:translateY(-50%) translateX(-4px)!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::before{
    content:'';
    top:50%!important;
    bottom:auto!important;
    right:calc(100% + 3px)!important;
    left:auto!important;
    transform:translateY(-50%) rotate(45deg)!important;
    width:8px!important;
    height:8px!important;
    border:0!important;
    background:#111827!important;
    border-radius:2px!important;
}
.elementor-widget-ganjeh-kala-gallery.gk-gallery-actions-side-left .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]::before{
    left:calc(100% + 3px)!important;
    right:auto!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:hover::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:focus-visible::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:hover::before,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:focus-visible::before{
    opacity:1!important;
    visibility:visible!important;
}
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:hover::after,
.elementor-widget-ganjeh-kala-gallery .gk-gallery-action-rail .gk-wish-btn.gk-tooltip[data-tooltip]:focus-visible::after{
    transform:translateY(-50%) translateX(0)!important;
}
