/* v178 final targeted overrides */
/* Admin bar: no standalone footer/header edit tabs; footer edit only under Elementor edit page. */
#wpadminbar #wp-admin-bar-sepahan-edit-footer-template,#wpadminbar #wp-admin-bar-sepahan-edit-active-footer,#wpadminbar #wp-admin-bar-sepahan-edit-footer-final,#wpadminbar #wp-admin-bar-sepahan-edit-footer,#wpadminbar #wp-admin-bar-edit-footer,#wpadminbar #wp-admin-bar-sepahan-footer-edit,#wpadminbar #wp-admin-bar-sepahan-edit-current-footer-submenu,#wpadminbar #wp-admin-bar-sepahan-elementor-footer-submenu-v177,#wpadminbar #wp-admin-bar-sepahan-edit-header,#wpadminbar #wp-admin-bar-edit-header,#wpadminbar #wp-admin-bar-sepahan-elementor-header-submenu{display:none!important;visibility:hidden!important;width:0!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}
#wpadminbar #wp-admin-bar-sepahan-elementor-footer-submenu-v178{display:list-item!important;visibility:visible!important;width:auto!important;height:auto!important;overflow:visible!important}

/* Amazing product widget: contained like other Elementor widgets, no horizontal scroll, smaller image, better dark mode. */
.elementor-widget-sepahan_amazing_single_product{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important}.elementor-widget-sepahan_amazing_single_product>.elementor-widget-container{width:100%!important;max-width:100%!important;margin:0 auto!important;padding-inline:16px!important;box-sizing:border-box!important;overflow:hidden!important}.sepahan-amazing-single{width:100%!important;max-width:1120px!important;margin:0 auto!important;box-sizing:border-box!important;overflow:hidden!important;border-radius:24px!important;padding:clamp(18px,2.4vw,32px)!important;display:grid!important;grid-template-columns:minmax(180px,30%) minmax(0,1fr)!important;gap:clamp(16px,2.4vw,30px)!important;align-items:center!important}.sepahan-amazing-single-img{max-width:280px!important;width:100%!important;min-width:0!important;margin-inline:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.sepahan-amazing-single-img img,.sepahan-amazing-single img{max-width:100%!important;width:auto!important;height:auto!important;max-height:220px!important;object-fit:contain!important;display:block!important}.sepahan-amazing-single-content{min-width:0!important;overflow:hidden!important}.sepahan-amazing-single h3,.sepahan-amazing-single h3 a,.sepahan-amazing-single-desc{max-width:100%!important;overflow-wrap:anywhere!important}.sepahan-amazing-bottom{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin-top:16px!important}.sepahan-amazing-single-price{font-size:18px!important;font-weight:950!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;border:1px solid #fed7aa!important;border-radius:16px!important;padding:10px 14px!important;box-shadow:0 10px 22px rgba(249,115,22,.12)!important;white-space:nowrap!important}.sepahan-amazing-single-price del{display:none!important}.sepahan-amazing-single-price ins{text-decoration:none!important}.sepahan-amazing-single .button,.sepahan-amazing-view-product{border-radius:16px!important;padding:12px 18px!important;font-weight:950!important;text-decoration:none!important}.dark .sepahan-amazing-single,body.dark .sepahan-amazing-single,[data-theme="dark"] .sepahan-amazing-single{background:radial-gradient(circle at 90% 8%,rgba(99,102,241,.28),transparent 33%),linear-gradient(135deg,#0f172a,#111827 55%,#1f2937)!important;color:#f8fafc!important;border:1px solid rgba(148,163,184,.26)!important;box-shadow:0 20px 46px rgba(0,0,0,.34)!important}.dark .sepahan-amazing-single h3 a,body.dark .sepahan-amazing-single h3 a,[data-theme="dark"] .sepahan-amazing-single h3 a{color:#fff!important}.dark .sepahan-amazing-single-desc,body.dark .sepahan-amazing-single-desc,[data-theme="dark"] .sepahan-amazing-single-desc{color:#e5e7eb!important}.dark .sepahan-amazing-single-kicker,body.dark .sepahan-amazing-single-kicker,[data-theme="dark"] .sepahan-amazing-single-kicker{background:rgba(255,255,255,.10)!important;color:#f8fafc!important;border-color:rgba(255,255,255,.16)!important}.dark .sepahan-amazing-single-price,body.dark .sepahan-amazing-single-price,[data-theme="dark"] .sepahan-amazing-single-price{background:linear-gradient(135deg,#fbbf24,#f97316)!important;border-color:rgba(254,215,170,.55)!important;color:#111827!important}.dark .sepahan-amazing-single-price .amount,body.dark .sepahan-amazing-single-price .amount,[data-theme="dark"] .sepahan-amazing-single-price .amount{color:#111827!important}.dark .sepahan-amazing-countdown span,body.dark .sepahan-amazing-countdown span,[data-theme="dark"] .sepahan-amazing-countdown span{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
@media(max-width:767px){.elementor-widget-sepahan_amazing_single_product>.elementor-widget-container{padding-inline:12px!important}.sepahan-amazing-single{display:block!important}.sepahan-amazing-single-img{max-width:230px!important;margin-bottom:18px!important}.sepahan-amazing-single-img img,.sepahan-amazing-single img{max-height:190px!important}.sepahan-amazing-single-price,.sepahan-amazing-single .button{width:100%!important;text-align:center!important;justify-content:center!important}}

/* Product cards: shop back to normal size; only related products bigger. */
body.woocommerce-shop .sepahan-product-inner .sepahan-product-title,body.woocommerce-shop .sepahan-product-inner .sepahan-product-title a,body.post-type-archive-product .sepahan-product-inner .sepahan-product-title,body.post-type-archive-product .sepahan-product-inner .sepahan-product-title a{font-size:14px!important;line-height:1.75!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:49px!important}body.woocommerce-shop .sepahan-product-inner .sepahan-product-price,body.woocommerce-shop .sepahan-product-inner .sepahan-product-price .amount,body.post-type-archive-product .sepahan-product-inner .sepahan-product-price,body.post-type-archive-product .sepahan-product-inner .sepahan-product-price .amount{font-size:14px!important;line-height:1.7!important}body.woocommerce-shop .sepahan-product-inner .sepahan-card-btn,body.post-type-archive-product .sepahan-product-inner .sepahan-card-btn{font-size:13px!important;min-height:36px!important;padding:8px 12px!important}.related.products .sepahan-product-title,.related.products .sepahan-product-title a,.sepahan-related-products .sepahan-product-title,.sepahan-related-products .sepahan-product-title a{font-size:18px!important;line-height:1.85!important;font-weight:950!important}.related.products .sepahan-product-price,.related.products .sepahan-product-price .amount,.sepahan-related-products .sepahan-product-price,.sepahan-related-products .sepahan-product-price .amount{font-size:17px!important;font-weight:950!important}.related.products .sepahan-card-btn,.sepahan-related-products .sepahan-card-btn{font-size:15px!important;min-height:42px!important;padding:10px 18px!important}

/* Footer three requested polish. */
.dark .sepahan-footer-three-cta a,body.dark .sepahan-footer-three-cta a,[data-theme="dark"] .sepahan-footer-three-cta a{color:#111827!important;background:#fff!important}.sepahan-footer-three-trust span,.sepahan-footer-three-namad-html span,.sepahan-footer-three-trust img,.sepahan-footer-three-namad-html img{border-radius:14px!important;overflow:hidden!important}
