/* Tara Elementor widgets — compact Iranian storefront UI */
.elementor-widget-tara-slider,.elementor-widget-tara-posts-grid,.elementor-widget-tara-products-grid,.elementor-widget-tara-product-carousel,.elementor-widget-tara-latest-posts,.elementor-widget-tara-button,.elementor-widget-tara-social-icons{font-family:var(--tara-font,Vazirmatn,Vazir,Tahoma,Arial,sans-serif)}
.tara-carousel{--tara-carousel-per-view:4;--tara-carousel-gap:16px;position:relative;width:100%;min-width:0;direction:rtl;touch-action:pan-y}
.tara-carousel-viewport{position:relative;width:100%;overflow:hidden;direction:rtl}
.tara-carousel-track{display:flex;flex-wrap:nowrap;align-items:stretch;direction:rtl;transform:translate3d(0,0,0);transition-property:transform;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.tara-carousel.is-animating .tara-carousel-track,.tara-carousel.is-dragging .tara-carousel-track{will-change:transform}
.tara-carousel-slide{position:relative;min-width:0;box-sizing:border-box;direction:rtl;user-select:none;-webkit-user-select:none}
.tara-carousel.is-dragging,.tara-carousel.is-dragging *{cursor:grabbing!important}.tara-carousel.is-swiping a{pointer-events:none}
.tara-carousel-arrow{position:absolute;z-index:6;top:50%;display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-height:38px!important;padding:0!important;border:1px solid rgba(255,255,255,.3)!important;border-radius:50%!important;background:rgba(54,56,83,.72);color:#fff;box-shadow:0 6px 20px rgba(54,56,83,.14);transform:translateY(-50%);transition:transform .2s ease,opacity .2s ease,background .2s ease;cursor:pointer}
.tara-carousel-arrow:hover{transform:translateY(-50%) scale(1.04);background:#363853}.tara-carousel-arrow:disabled{opacity:.35;cursor:not-allowed}
.tara-carousel-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tara-carousel-prev{right:10px}.tara-carousel-next{left:10px}
.tara-carousel-dots{position:absolute;z-index:6;right:50%;bottom:12px;display:flex;align-items:center;gap:6px;transform:translateX(50%)}
.tara-carousel-dot{display:block!important;width:7px!important;height:7px!important;min-height:7px!important;padding:0!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.62);box-shadow:none!important;transition:width .2s ease,background .2s ease,opacity .2s ease}.tara-carousel-dot.is-active{width:20px!important;background:#fff}

/* Slider: each repeater item owns both desktop and mobile images. */
.tara-slider{overflow:hidden;background:#eef3f9;border-radius:18px}.tara-slider .tara-carousel-viewport,.tara-slider .tara-carousel-track,.tara-slider .tara-carousel-slide{height:100%}.tara-slider-slide{overflow:hidden}.tara-slider-link{position:relative;display:block;width:100%;height:100%;color:inherit;text-decoration:none}.tara-slider-link picture{display:block;width:100%;height:100%}.tara-slider-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}.tara-slider-caption{position:absolute;right:20px;bottom:20px;max-width:min(70%,720px);padding:7px 11px;border-radius:9px;background:rgba(54,56,83,.62);color:#fff;font-size:clamp(.86rem,1.4vw,1.05rem);font-weight:700}
.tara-slider.is-fade .tara-carousel-track{position:relative;display:block!important;height:100%;transform:none!important}.tara-slider.is-fade .tara-carousel-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease}.tara-slider.is-fade .tara-carousel-slide.is-active{opacity:1;pointer-events:auto}
.tara-hide-arrows-desktop .tara-carousel-arrow{display:none!important}.tara-hide-dots-desktop .tara-carousel-dots{display:none!important}

/* Compact grids and cards */
.tara-posts-grid,.tara-products-grid,.tara-listing-grid,.tara-latest-posts-grid{--tara-grid-cols:4;display:grid;grid-template-columns:repeat(var(--tara-grid-cols),minmax(0,1fr));gap:16px;direction:rtl}
.tara-post-grid-card,.tara-product-grid-card,.tara-listing-card,.tara-article-card,.tara-product-carousel-card{position:relative;overflow:hidden;border:1px solid #e5eaf0;background:#fff;box-shadow:0 5px 18px rgba(54,56,83,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.tara-post-grid-card:hover,.tara-product-grid-card:hover,.tara-listing-card:hover,.tara-article-card:hover,.tara-product-carousel-card:hover{transform:translateY(-2px);border-color:#d6e1ef;box-shadow:0 10px 26px rgba(54,56,83,.075)}
.tara-post-grid-image,.tara-product-grid-image,.tara-listing-image,.tara-article-image,.tara-product-carousel-image{position:relative;display:block;overflow:hidden;background:#f4f7fb}.tara-post-grid-image img,.tara-product-grid-image img,.tara-listing-image img,.tara-article-image img,.tara-product-carousel-image img{display:block;width:100%;height:200px;object-fit:cover;transition:transform .3s ease;pointer-events:none}.tara-post-grid-card:hover img,.tara-product-grid-card:hover img,.tara-listing-card:hover .tara-listing-image img,.tara-article-card:hover .tara-article-image img,.tara-product-carousel-card:hover .tara-product-carousel-image img{transform:scale(1.02)}
.tara-post-grid-content,.tara-product-grid-content,.tara-listing-content,.tara-article-content,.tara-product-carousel-content{padding:12px 13px 13px}.tara-post-grid-meta,.tara-listing-meta,.tara-article-date{margin-bottom:5px;color:#64748b;font-size:.76rem;line-height:1.65}.tara-post-grid-title,.tara-product-grid-title,.tara-listing-title,.tara-article-title,.tara-product-carousel-title{margin:0 0 6px;color:#363853;font-size:.92rem;line-height:1.65;font-weight:750}.tara-post-grid-title a,.tara-product-grid-title a,.tara-listing-title a,.tara-article-title a,.tara-product-carousel-title a{color:inherit;text-decoration:none}.tara-post-grid-excerpt,.tara-listing-excerpt,.tara-article-excerpt{margin:0 0 10px;color:#64748b;font-size:.82rem;line-height:1.8}.tara-product-grid-price,.tara-product-price,.tara-product-carousel-price{margin:6px 0 9px;color:#215BAA;font-size:.9rem;font-weight:750}.tara-product-grid-price del,.tara-product-price del,.tara-product-carousel-price del{margin-left:5px;color:#94a3b8;font-size:.84em;font-weight:500}.tara-product-grid-price ins,.tara-product-price ins,.tara-product-carousel-price ins{text-decoration:none}
.tara-card-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid #215BAA;border-radius:8px;background:#215BAA;color:#fff!important;font-size:.78rem;font-weight:700;line-height:1.3;text-decoration:none;transition:background .2s ease,border-color .2s ease,transform .2s ease}.tara-card-button:hover{background:#363853;border-color:#363853;color:#fff!important;transform:translateY(-1px)}.tara-card-button.is-text{min-height:0;padding:0;border:0;background:transparent;color:#215BAA!important;font-size:.78rem}.tara-card-button.is-text:hover{background:transparent;color:#363853!important;transform:none}.tara-card-button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tara-sale-badge{position:absolute;z-index:2;top:8px;right:8px;padding:3px 7px;border-radius:999px;background:#215BAA;color:#fff;font-size:.66rem;font-weight:750;line-height:1.4}.tara-product-rating .star-rating{float:none;margin:0 0 6px}.tara-empty-state{padding:16px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;color:#64748b;text-align:center;font-size:.88rem}

/* Product/article carousels */
.tara-product-carousel,.tara-latest-posts-carousel{padding-bottom:2px;overflow:visible}.tara-product-carousel .tara-carousel-viewport,.tara-latest-posts-carousel .tara-carousel-viewport{padding:3px 1px 12px}.tara-product-carousel .tara-carousel-slide,.tara-latest-posts-carousel .tara-carousel-slide{height:auto}.tara-product-carousel-card,.tara-article-card{height:100%;border-radius:12px}.tara-product-carousel .tara-carousel-dots,.tara-latest-posts-carousel .tara-carousel-dots{position:relative;right:auto;bottom:auto;justify-content:center;margin-top:8px;transform:none}.tara-product-carousel .tara-carousel-dot,.tara-latest-posts-carousel .tara-carousel-dot{background:#cbd5e1}.tara-product-carousel .tara-carousel-dot.is-active,.tara-latest-posts-carousel .tara-carousel-dot.is-active{background:#215BAA}

/* Button */
.tara-button-wrap{display:block!important;width:100%;visibility:visible!important;opacity:1!important}.elementor-widget-tara-button .elementor-widget-container{visibility:visible!important;opacity:1!important}.tara-button{position:relative;z-index:1;isolation:isolate;box-sizing:border-box;visibility:visible!important;opacity:1!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;overflow:hidden;min-height:38px;border:1px solid #215BAA;border-radius:8px;background:#215BAA;color:#fff!important;font-size:.88rem;font-weight:700;line-height:1.2;text-decoration:none!important;transition-property:transform,box-shadow,background,color,border-color;transition-timing-function:ease;transition-duration:.22s}.tara-button.is-full{display:flex;width:100%}.tara-button-icon{display:inline-flex;align-items:center;justify-content:center;transition:transform .22s ease}.tara-button-icon svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.tara-button-animation-lift:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(54,56,83,.13)}.tara-button-animation-scale:hover{transform:scale(1.025)}.tara-button-animation-icon:hover .tara-button-icon{transform:translateX(-3px)}.tara-button-animation-shine:before{content:"";position:absolute;z-index:-1;top:-30%;right:-45%;width:28%;height:160%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transform:skewX(-20deg);transition:right .55s ease}.tara-button-animation-shine:hover:before{right:120%}

/* Inline SVG social icons avoid icon-font failures. */
.tara-social-widget{display:flex;align-items:center;flex-wrap:wrap;gap:7px;direction:rtl}.tara-social-widget a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#eef4ff;color:#363853;text-decoration:none;transition:transform .2s ease,background .2s ease,color .2s ease}.tara-social-widget a:hover{background:#215BAA;color:#fff;transform:translateY(-2px)}.tara-social-widget svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Never let Tara typography replace glyph fonts. */
.elementor-icon i,.elementor-social-icon i,[class^="eicon-"],[class*=" eicon-"],.fa,.fas,.far,.fab,.fal,.fad,.dashicons{line-height:1}

@media(max-width:1024px){.tara-carousel{--tara-carousel-per-view:2}.tara-carousel-arrow{width:36px;height:36px;min-height:36px!important}.tara-posts-grid,.tara-products-grid,.tara-listing-grid,.tara-latest-posts-grid{--tara-grid-cols:2}}
@media(max-width:767px){.tara-carousel{--tara-carousel-gap:12px}.tara-carousel-arrow{width:34px;height:34px;min-height:34px!important}.tara-carousel-prev{right:6px}.tara-carousel-next{left:6px}.tara-posts-grid,.tara-listing-grid,.tara-latest-posts-grid{--tara-grid-cols:1}.tara-products-grid{--tara-grid-cols:2}.tara-post-grid-image img,.tara-product-grid-image img,.tara-listing-image img,.tara-article-image img,.tara-product-carousel-image img{height:180px}.tara-slider-caption{right:11px;bottom:11px;max-width:calc(100% - 22px);padding:6px 9px}.tara-hide-arrows-mobile .tara-carousel-arrow{display:none!important}.tara-hide-dots-mobile .tara-carousel-dots{display:none!important}.tara-slider:not(.tara-hide-arrows-mobile).tara-hide-arrows-desktop .tara-carousel-arrow{display:flex!important}.tara-slider:not(.tara-hide-dots-mobile).tara-hide-dots-desktop .tara-carousel-dots{display:flex!important}}
