/* v174 requested corrections */
#wpadminbar #wp-admin-bar-search,.adminbar-input#adminbar-search{display:none!important}
#wpadminbar #wp-admin-bar-sepahan-edit-footer-template,#wpadminbar #wp-admin-bar-sepahan-edit-active-footer{display:none!important}

.dashicons,.dashicons-before:before,#wpadminbar .ab-icon:before,#wpadminbar .ab-item:before{font-family:dashicons!important}
/* Single post: remove excessive side gap */
.single-post .sepahan-blog-page,.single-post .sepahan-single-page{padding-left:0!important;padding-right:0!important}
.single-post .sepahan-blog-page>.container,.single-post .sepahan-single-page>.container,.single-post .container.sepahan-single-container{max-width:calc(100% - 32px)!important;width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
.single-post .sepahan-single-article,.single-post .sepahan-single-card,.single-post .sepahan-related-posts{max-width:100%!important;width:100%!important;box-sizing:border-box!important}
.single-post .sepahan-related-posts{margin-left:0!important;margin-right:0!important}
@media(min-width:1200px){.single-post .sepahan-blog-page>.container,.single-post .sepahan-single-page>.container,.single-post .container.sepahan-single-container{max-width:1320px!important;width:calc(100% - 48px)!important}}
/* Removed tabs/features */
.sepahan-rc-wishlist,.sepahan-rc-quick,[data-panel="wishlist"],[data-panel="quick-view"],[data-panel="shop-style"],.sepahan-settings-tab[data-panel="wishlist"],.sepahan-settings-tab[data-panel="quick-view"],.sepahan-settings-tab[data-panel="shop-style"]{display:none!important}
/* Related product title bigger */
.related.products ul.products li.product .woocommerce-loop-product__title,.sepahan-related-products .woocommerce-loop-product__title,.products.related .woocommerce-loop-product__title{font-size:15.5px!important;line-height:1.75!important;font-weight:900!important}
/* Product gallery desktop thumbnail switching helpers */
.woocommerce-product-gallery__image a,.sepahan-nikan-main-image a{cursor:default!important}.flex-control-thumbs li img,.sepahan-nikan-thumb{cursor:pointer!important}
/* Footer three: full bleed and advanced light/dark */
.sepahan-footer-three,.sepahan-footer-three.elementor-widget-container{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important;overflow:hidden!important;box-sizing:border-box!important}
.sepahan-footer-three .container{max-width:1320px!important;width:calc(100% - 32px)!important;margin-inline:auto!important;padding-inline:0!important}
.sepahan-footer-three{background:radial-gradient(circle at 15% 0,#eaf3ff 0,rgba(234,243,255,0) 34%),linear-gradient(135deg,#fff,#f8fbff 58%,#eef6ff)!important;color:#172033!important;border-top:1px solid #e5eaf3!important;box-shadow:0 -18px 42px rgba(15,23,42,.05)!important}
.sepahan-footer-three-top{background:transparent!important;border-bottom:0!important;padding-top:28px!important}.sepahan-footer-three-cta{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;border-radius:28px!important;box-shadow:0 18px 45px rgba(37,99,235,.22)!important}.sepahan-footer-three-cta strong,.sepahan-footer-three-cta span{color:#fff!important}.sepahan-footer-three-cta a{background:#fff!important;color:#1d4ed8!important;border-radius:16px!important;font-weight:900!important}
.sepahan-footer-three-grid{display:grid!important;grid-template-columns:1.25fr repeat(3,minmax(0,1fr))!important;gap:24px!important;padding-block:34px!important}.sepahan-footer-three-grid>div{background:rgba(255,255,255,.66)!important;border:1px solid rgba(226,232,240,.9)!important;border-radius:24px!important;padding:22px!important;box-shadow:0 14px 34px rgba(15,23,42,.05)!important}.sepahan-footer-three a{display:block!important;margin:9px 0!important;color:#334155!important;text-decoration:none!important}.sepahan-footer-three h3{margin:0 0 14px!important;color:#0f172a!important;font-size:17px!important;font-weight:950!important}.sepahan-footer-three-brand p{color:#64748b!important;line-height:2!important}.sepahan-footer-three-bottom{background:rgba(255,255,255,.78)!important;color:#64748b!important;border-top:1px solid #e5eaf3!important;padding:14px 0!important}
.sepahan-footer-three-namad-html{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap!important}.sepahan-footer-three-namad-html>*{width:92px!important;min-height:78px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;background:#fff!important;border:1px solid #e5eaf3!important;border-radius:18px!important;padding:8px!important;overflow:hidden!important}.sepahan-footer-three-namad-html img{max-width:100%!important;max-height:70px!important;object-fit:contain!important}
.dark .sepahan-footer-three,body.dark .sepahan-footer-three{background:radial-gradient(circle at 20% 0,rgba(37,99,235,.22),transparent 30%),linear-gradient(135deg,#07111f,#0f172a 58%,#111827)!important;color:#e5eefb!important;border-top-color:rgba(255,255,255,.08)!important;box-shadow:none!important}.dark .sepahan-footer-three-grid>div,body.dark .sepahan-footer-three-grid>div{background:rgba(15,23,42,.78)!important;border-color:rgba(255,255,255,.1)!important;box-shadow:none!important}.dark .sepahan-footer-three a,body.dark .sepahan-footer-three a{color:#dbeafe!important}.dark .sepahan-footer-three h3,body.dark .sepahan-footer-three h3{color:#fff!important}.dark .sepahan-footer-three-brand p,body.dark .sepahan-footer-three-brand p{color:#b6c5db!important}.dark .sepahan-footer-three-bottom,body.dark .sepahan-footer-three-bottom{background:rgba(2,6,23,.72)!important;color:#94a3b8!important;border-top-color:rgba(255,255,255,.08)!important}.dark .sepahan-footer-three-namad-html>*,body.dark .sepahan-footer-three-namad-html>*{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.12)!important;color:#dbeafe!important}
/* Amazing product widget dark and overflow fixes */
.elementor-widget-sepahan_amazing_single_product,.sepahan-amazing-single{max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}.sepahan-amazing-single{width:100%!important;border-radius:28px!important;padding:24px!important;align-items:center!important}.sepahan-amazing-single-img{min-width:0!important}.sepahan-amazing-single-img img{max-width:100%!important;height:auto!important;object-fit:contain!important}.sepahan-amazing-single-price{background:rgba(255,255,255,.82)!important;border:1px solid #e5eaf3!important;border-radius:18px!important;padding:10px 14px!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}.sepahan-amazing-single-price .amount{font-size:18px!important;font-weight:950!important;color:#ef4444!important}.sepahan-amazing-single-price del .amount{font-size:13px!important;color:#94a3b8!important}.sepahan-amazing-single-discount{background:#ef4444!important;color:#fff!important;border-radius:999px!important;padding:4px 9px!important;font-size:12px!important}.sepahan-amazing-countdown span{background:rgba(255,255,255,.86)!important;border:1px solid #e5eaf3!important;border-radius:16px!important;padding:8px 10px!important}.dark .sepahan-amazing-single,body.dark .sepahan-amazing-single{background:radial-gradient(circle at 80% 10%,rgba(96,165,250,.22),transparent 34%),linear-gradient(135deg,#07111f,#111827)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:none!important;color:#e5e7eb!important}.dark .sepahan-amazing-single-price,body.dark .sepahan-amazing-single-price{background:rgba(15,23,42,.95)!important;border-color:rgba(255,255,255,.12)!important}.dark .sepahan-amazing-countdown span,body.dark .sepahan-amazing-countdown span{background:rgba(2,6,23,.78)!important;border-color:rgba(255,255,255,.12)!important}.dark .sepahan-amazing-single-price .amount,body.dark .sepahan-amazing-single-price .amount{color:#fbbf24!important}.dark .sepahan-amazing-single .button,body.dark .sepahan-amazing-single .button{background:linear-gradient(135deg,#f59e0b,#ef4444)!important;color:#fff!important}.dark .sepahan-amazing-single-kicker,body.dark .sepahan-amazing-single-kicker{background:rgba(96,165,250,.14)!important;color:#93c5fd!important;border-color:rgba(147,197,253,.22)!important}
/* Elementor widgets dark mode broad cleanup */
.dark .elementor-widget-container .sepahan-card,.dark .elementor-widget-container .sepahan-about-pro-card,.dark .elementor-widget-container .sepahan-service-card,.dark .elementor-widget-container .sepahan-feature-card,body.dark .elementor-widget-container .sepahan-card,body.dark .elementor-widget-container .sepahan-about-pro-card,body.dark .elementor-widget-container .sepahan-service-card,body.dark .elementor-widget-container .sepahan-feature-card{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important;box-shadow:none!important}.dark .elementor-widget-container h1,.dark .elementor-widget-container h2,.dark .elementor-widget-container h3,.dark .elementor-widget-container h4,body.dark .elementor-widget-container h1,body.dark .elementor-widget-container h2,body.dark .elementor-widget-container h3,body.dark .elementor-widget-container h4{color:#f8fafc!important}.dark .elementor-widget-container p,.dark .elementor-widget-container span,body.dark .elementor-widget-container p,body.dark .elementor-widget-container span{color:inherit}
@media(max-width:900px){.sepahan-footer-three-grid{grid-template-columns:1fr!important}.sepahan-amazing-single{grid-template-columns:1fr!important;padding:18px!important}.sepahan-amazing-bottom{align-items:stretch!important}.sepahan-amazing-single .button,.sepahan-amazing-single-price{width:100%!important;justify-content:center!important}}
