/* v177 exact requested fixes */

/* Admin bar: kill every standalone footer edit tab. Keep only the submenu under Elementor/edit. */
#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-toolbar > #wp-admin-bar-root-default > li[id*="footer"][id*="edit"]:not(#wp-admin-bar-sepahan-elementor-footer-submenu-v177){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-v177{display:list-item!important;visibility:visible!important;width:auto!important;height:auto!important;overflow:visible!important}

/* Sticky header: respect the sticky-header setting and keep it sticky on desktop/front-end. */
body.sepahan-sticky-header-enabled #topHeader,
body.sepahan-sticky-header-enabled .sepahan-header,
body.sepahan-sticky-header-enabled .site-header,
body.sepahan-sticky-header-enabled:not(.elementor-editor-active) header.sticky,
body.sepahan-sticky-header-enabled:not(.elementor-editor-active) .sticky.top-0{position:sticky!important;top:0!important;z-index:9990!important;inset-inline:0!important}
body.admin-bar.sepahan-sticky-header-enabled #topHeader,
body.admin-bar.sepahan-sticky-header-enabled .sepahan-header,
body.admin-bar.sepahan-sticky-header-enabled .site-header,
body.admin-bar.sepahan-sticky-header-enabled:not(.elementor-editor-active) header.sticky,
body.admin-bar.sepahan-sticky-header-enabled:not(.elementor-editor-active) .sticky.top-0{top:32px!important}
@media(max-width:782px){body.admin-bar.sepahan-sticky-header-enabled #topHeader,body.admin-bar.sepahan-sticky-header-enabled .sepahan-header,body.admin-bar.sepahan-sticky-header-enabled .site-header,body.admin-bar.sepahan-sticky-header-enabled:not(.elementor-editor-active) header.sticky,body.admin-bar.sepahan-sticky-header-enabled:not(.elementor-editor-active) .sticky.top-0{top:46px!important}}

.elementor-widget-sepahan_amazing_single_product > .elementor-widget-container{width:100%!important;max-width:100%!important;margin:0 auto!important;overflow:visible!important;box-sizing:border-box!important}
.sepahan-amazing-single{width:100%!important;max-width:100%!important;margin:0 auto!important;overflow:hidden!important;box-sizing:border-box!important;border-radius:28px!important;padding:clamp(20px,3vw,38px)!important;display:grid!important;grid-template-columns:minmax(220px,34%) minmax(0,1fr)!important;gap:clamp(18px,3vw,42px)!important;align-items:center!important}
.sepahan-amazing-single-img{width:100%!important;max-width:360px!important;margin-inline:auto!important;min-width:0!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.sepahan-amazing-single-img img,.sepahan-amazing-single img{width:auto!important;max-width:100%!important;max-height:280px!important;height:auto!important;object-fit:contain!important;display:block!important}
.sepahan-amazing-single-content{min-width:0!important;max-width:100%!important;overflow:hidden!important}.sepahan-amazing-single-title,.sepahan-amazing-single h3,.sepahan-amazing-single h3 a,.sepahan-amazing-single-desc{overflow-wrap:anywhere!important;word-break:normal!important}.sepahan-amazing-bottom{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;flex-wrap:wrap!important}.sepahan-amazing-single-price{font-size:19px!important;font-weight:950!important;background:linear-gradient(135deg,#fff7ed,#fff)!important;border:1px solid #fed7aa!important;border-radius:18px!important;padding:12px 16px!important;box-shadow:0 12px 26px rgba(249,115,22,.12)!important}.sepahan-amazing-single-price ins{text-decoration:none!important}.sepahan-amazing-single-price .amount{font-weight:950!important}.sepahan-amazing-countdown{margin:18px 0!important;gap:10px!important;flex-wrap:wrap!important}
.dark .sepahan-amazing-single,body.dark .sepahan-amazing-single,[data-theme="dark"] .sepahan-amazing-single{background:radial-gradient(circle at 85% 10%,rgba(59,130,246,.22),transparent 32%),linear-gradient(135deg,#020617,#111827 58%,#1e293b)!important;color:#f8fafc!important;border:1px solid rgba(148,163,184,.24)!important;box-shadow:0 22px 55px 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:#d1d5db!important}.dark .sepahan-amazing-single-kicker,body.dark .sepahan-amazing-single-kicker,[data-theme="dark"] .sepahan-amazing-single-kicker{background:rgba(251,191,36,.13)!important;color:#fde68a!important;border-color:rgba(251,191,36,.25)!important}.dark .sepahan-amazing-single-price,body.dark .sepahan-amazing-single-price,[data-theme="dark"] .sepahan-amazing-single-price{background:linear-gradient(135deg,#f59e0b,#f97316)!important;border-color:rgba(254,215,170,.5)!important;color:#111827!important;box-shadow:0 18px 34px rgba(249,115,22,.25)!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-single .button,body.dark .sepahan-amazing-single .button,[data-theme="dark"] .sepahan-amazing-single .button{background:#2563eb!important;color:#fff!important;box-shadow:0 14px 28px rgba(37,99,235,.32)!important}
@media(max-width:767px){.elementor-widget-sepahan_amazing_single_product{padding-inline:12px!important}.sepahan-amazing-single{display:block!important}.sepahan-amazing-single-img{max-width:280px!important;margin-bottom:18px!important}.sepahan-amazing-single-img img,.sepahan-amazing-single img{max-height:230px!important}.sepahan-amazing-bottom{display:grid!important;grid-template-columns:1fr!important}.sepahan-amazing-single-price,.sepahan-amazing-single .button{width:100%!important;justify-content:center!important;text-align:center!important}}

/* Footer 3 tweaks */
.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;border-color:rgba(255,255,255,.55)!important}
.sepahan-footer-three-namad-html span,.sepahan-footer-three-trust span{border-radius:14px!important;overflow:hidden!important}.sepahan-footer-three-namad-html img,.sepahan-footer-three-trust img{border-radius:14px!important;display:block!important}.sepahan-footer-three-trust-note{display:block!important;margin-top:14px!important;line-height:2!important}
