/* Sepahan v198 requested fixes */
html body .sepahan-top-notice-v198{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:30!important;width:100%!important;min-height:64px!important;clear:both!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;margin:0!important;transform:none!important;top:auto!important;bottom:auto!important;}
html body .sepahan-top-notice-v198:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.65),rgba(255,255,255,.08),rgba(15,23,42,.54));pointer-events:none;z-index:1}
html body .sepahan-top-notice-v198 .sepahan-top-notice-inner{position:relative;z-index:2;max-width:1280px;margin:0 auto;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px;direction:rtl;box-sizing:border-box}
html body .sepahan-top-notice-v198 .sepahan-top-notice-text{font-size:15px;font-weight:950;color:#fff;text-align:center;line-height:1.8;flex:1;white-space:normal;text-shadow:0 2px 12px rgba(0,0,0,.25)}
html body .sepahan-top-notice-v198 .sepahan-top-notice-btn{min-height:38px;padding:0 16px;border-radius:12px;font-weight:900;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;box-shadow:0 8px 20px rgba(0,0,0,.14)}
html body .sepahan-top-notice-v198 .sepahan-top-notice-timer{display:flex;align-items:center;gap:8px;color:#fff;flex:0 0 auto;direction:ltr}
html body .sepahan-top-notice-v198 .sepahan-top-notice-timer span{min-width:48px;min-height:42px;border-radius:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:950;line-height:1.1;backdrop-filter:blur(7px)}
html body .sepahan-top-notice-v198 .sepahan-top-notice-timer small{font-size:10px;opacity:.86;margin-top:3px;font-weight:800}
html body #topHeader{position:sticky!important;top:0!important;z-index:25!important;margin-top:0!important;margin-bottom:var(--sepahan-header-content-gap,24px)!important;clear:both!important;}
body.admin-bar #topHeader{top:32px!important}@media(max-width:782px){body.admin-bar #topHeader{top:46px!important}}
body.home #topHeader,body.front-page #topHeader{margin-bottom:0!important}.sepahan-story-under-header{margin-top:var(--sepahan-story-gap-top,0px)!important}
@media(max-width:768px){html body .sepahan-top-notice-v198.sepahan-notice-hide-mobile{display:none!important}html body .sepahan-top-notice-v198{min-height:auto!important}html body .sepahan-top-notice-v198 .sepahan-top-notice-inner{min-height:auto!important;padding:9px 14px!important;justify-content:center!important;gap:8px!important;flex-wrap:wrap!important}html body .sepahan-top-notice-v198 .sepahan-top-notice-timer{display:none!important}html body .sepahan-top-notice-v198 .sepahan-top-notice-text{font-size:13px!important;flex:1 1 100%!important}html body .sepahan-top-notice-v198 .sepahan-top-notice-btn{min-height:32px!important;font-size:12px!important;padding:0 12px!important}}
/* restrict empty/full cart hover tooltip to real header cart icon only */
nav a[href*="cart"]:not(.sepahan-header-cart-hover):hover:after, .menu a[href*="cart"]:not(.sepahan-header-cart-hover):hover:after, .sepahan-main-menu a[href*="cart"]:not(.sepahan-header-cart-hover):hover:after{content:none!important;display:none!important}
#topHeader .sepahan-header-cart-hover{position:relative!important}#topHeader .sepahan-header-cart-hover:hover:after{content:"می‌تونی بررسی کنی";position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);background:#111827;color:#fff;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap;z-index:9999;box-shadow:0 10px 24px rgba(0,0,0,.18)}#topHeader .sepahan-header-cart-hover[data-cart-empty="1"]:hover:after,#topHeader .sepahan-header-cart-hover.is-empty:hover:after{content:"سبد خرید خالیه"!important}
/* call only products */
.sepahan-call-price-notice{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:10px 12px!important;border-radius:14px!important;background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fecaca!important;font-size:13px!important;font-weight:950!important;line-height:1.8!important;margin:8px 0!important}.dark .sepahan-call-price-notice,body.dark .sepahan-call-price-notice{background:rgba(185,28,28,.18)!important;color:#fecaca!important;border-color:rgba(248,113,113,.38)!important}.products .product:has(.sepahan-call-price-notice) .star-rating,.elementor-widget:has(.sepahan-call-price-notice) .star-rating,.elementor-products-grid .product:has(.sepahan-call-price-notice) .star-rating{display:none!important}.elementor-widget .sepahan-call-price-notice,.elementor-products-grid .sepahan-call-price-notice,.elementor-widget-woocommerce-products .sepahan-call-price-notice{align-self:stretch!important;margin-inline:0!important;border-radius:13px!important;width:100%!important;min-width:100%!important;justify-content:center!important}.elementor-widget .price:has(.sepahan-call-price-notice),.elementor-products-grid .price:has(.sepahan-call-price-notice){display:flex!important;width:100%!important;margin-left:0!important;margin-right:0!important}.sepahan-call-only-button{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;padding:0!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.sepahan-call-only-button svg{width:22px!important;height:22px!important;display:block!important}.sepahan-call-only-button .sepahan-call-only-label{display:none!important}
/* product category path outside gallery */
.sepahan-nikan-gallery-wrap{min-width:0!important}.sepahan-cats-really-outside-gallery{position:static!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:7px!important;margin:0 0 10px!important;padding:0!important;max-width:100%!important;width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;z-index:auto!important;overflow:visible!important;white-space:normal!important}.sepahan-cats-really-outside-gallery a{display:inline-flex!important;align-items:center!important;min-height:26px!important;max-width:180px!important;padding:3px 8px!important;border-radius:999px!important;background:#f1f5f9!important;border:1px solid #e2e8f0!important;color:#475569!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.sepahan-cats-really-outside-gallery span{color:#94a3b8!important}.dark .sepahan-cats-really-outside-gallery a,body.dark .sepahan-cats-really-outside-gallery a{background:#111827!important;border-color:#334155!important;color:#cbd5e1!important}.sepahan-nikan-gallery>.sepahan-nikan-cats{display:none!important}.sepahan-nikan-discount{z-index:3!important}.sepahan-nikan-main-image{clear:both!important}
/* shop search icon alignment */
.sepahan-filter-search{display:flex!important;align-items:center!important;gap:8px!important}.sepahan-filter-search input[type=search]{flex:1 1 auto!important;min-width:0!important;padding-inline-start:12px!important;padding-inline-end:12px!important}.sepahan-filter-search button{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important}.sepahan-filter-search button svg{width:18px!important;height:18px!important}
/* shop action icons same size */
.products .product .sepahan-card-actions a,.products .product .sepahan-card-actions button{width:42px!important;height:42px!important;min-width:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.products .product .sepahan-card-actions svg{width:19px!important;height:19px!important}
/* admin fields */
.sepahan-options-wrap .sepahan-tab-panel[data-panel="top_notice"] .sepahan-field input[name="sepahan_theme_options[top_notice_end_date]"]{direction:ltr!important;text-align:left!important;font-family:monospace!important;cursor:pointer!important}.sepahan-options-wrap .sepahan-tab-panel[data-panel="top_notice"] .sepahan-field{border-radius:18px!important}.ui-datepicker{z-index:999999!important;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;box-shadow:0 18px 45px rgba(15,23,42,.16);direction:rtl}
.products .sepahan-call-only-product .star-rating,.elementor-widget .sepahan-call-only-product .star-rating,.elementor-products-grid .sepahan-call-only-product .star-rating{display:none!important}.sepahan-call-only-product .price{display:flex!important;width:100%!important}.sepahan-call-only-product .sepahan-call-price-notice{width:100%!important}
