/* Sepahan v1.1.6 fixes: header actions, Elementor frontend parity, dark mode, desktop scrolling */
:root{--sepahan-blue:#2563eb;--sepahan-orange:#f59e0b;--sepahan-footer-bg:#eef1f7}
body .sepahan-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:24px!important;direction:ltr!important;color:#111827!important}
body .sepahan-header-actions a,body .sepahan-header-actions button{color:#111827!important;text-decoration:none!important;background:transparent!important;border:0!important;padding:0!important;line-height:1!important;box-shadow:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important}
body.dark .sepahan-header-actions a,body.dark .sepahan-header-actions button,.dark .sepahan-header-actions a,.dark .sepahan-header-actions button{color:#fff!important}
body .sepahan-header-icon svg{width:31px!important;height:31px!important;stroke-width:2.15!important;display:block!important}
body .sepahan-header-account{height:58px!important;min-width:220px!important;padding:0 22px!important;border:1px solid #d7dce5!important;border-radius:18px!important;gap:14px!important;font-size:25px!important;font-weight:800!important;color:#111827!important;background:#fff!important;direction:rtl!important;box-shadow:0 3px 10px rgba(15,23,42,.03)!important}
body .sepahan-header-account svg{width:36px!important;height:36px!important;order:2!important}
body .sepahan-header-divider{width:1px!important;height:58px!important;background:#d7dce5!important;display:block!important;flex:0 0 1px!important}
body .sepahan-cart-count{position:absolute!important;top:-13px!important;right:-10px!important;left:auto!important;width:27px!important;height:27px!important;border-radius:999px!important;background:var(--sepahan-orange)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:17px!important;font-weight:900!important;line-height:1!important;box-shadow:none!important;z-index:2!important}
@media(max-width:1279px){body .sepahan-header-account{height:44px!important;min-width:auto!important;font-size:0!important;padding:0 10px!important;border-radius:14px!important}body .sepahan-header-divider{display:none!important}body .sepahan-header-actions{gap:14px!important}body .sepahan-header-icon svg{width:26px!important;height:26px!important}}

/* Footer matching supplied screenshot */
body .sepahan-site-footer{background:#f7f8fb!important;color:#4b5563!important;direction:rtl!important;margin-top:40px!important}
body .sepahan-footer-services{background:#e9ecf3!important;padding:18px 0!important}
body .sepahan-footer-services-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:center!important}
body .sepahan-footer-service{display:flex!important;align-items:center!important;gap:14px!important;justify-content:center!important}
body .sepahan-footer-service-icon{width:58px!important;height:58px!important;display:flex!important;align-items:center!important;justify-content:center!important}
body .sepahan-footer-service-icon svg{width:58px!important;height:58px!important;display:block!important}
body .sepahan-footer-service-title{font-size:15px!important;font-weight:900!important;color:#4169a9!important;margin:0 0 7px!important}
body .sepahan-footer-service-text{font-size:12px!important;color:#6b7280!important;margin:0!important;font-weight:600!important}
body .sepahan-footer-main{background:#eef1f7!important;padding:42px 0 36px!important;position:relative!important;overflow:hidden!important}
body .sepahan-footer-main-grid{display:grid!important;grid-template-columns:1.45fr 1fr 1fr 1fr 1fr!important;gap:44px!important;align-items:start!important}
body .sepahan-footer-trust{display:flex!important;gap:12px!important;margin-bottom:20px!important;align-items:center!important}
body .sepahan-footer-trust img,body .sepahan-footer-trust .sepahan-trust-placeholder{width:78px!important;height:88px!important;object-fit:contain!important;background:#fff!important;border:1px solid #dfe4ed!important;border-radius:6px!important;padding:6px!important}
body .sepahan-footer-socials{display:flex!important;gap:14px!important;align-items:center!important;margin:14px 0 20px!important}
body .sepahan-footer-social{width:45px!important;height:45px!important;border-radius:999px!important;background:#2563eb!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;box-shadow:0 8px 18px rgba(37,99,235,.18)!important}
body .sepahan-footer-social svg{width:22px!important;height:22px!important;display:block!important}
body .sepahan-footer-call-badge{display:flex!important;align-items:center!important;justify-content:center!important;background:#2563eb!important;color:#fff!important;border-radius:10px!important;min-height:44px!important;font-weight:900!important;margin-bottom:18px!important}
body .sepahan-footer-phone{display:flex!important;align-items:center!important;gap:10px!important;color:#4b5563!important;font-weight:900!important;direction:ltr!important;justify-content:flex-end!important}
body .sepahan-footer-col-title{font-size:16px!important;font-weight:900!important;color:#374151!important;margin:0 0 18px!important}
body .sepahan-footer-list{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:14px!important}
body .sepahan-footer-list a{color:#4b5563!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;transition:color .18s ease!important}
body .sepahan-footer-list a:hover{color:#2563eb!important}
body .sepahan-footer-branch{display:inline-flex!important;align-items:center!important;gap:8px!important;margin-top:14px!important}
body .sepahan-footer-branch-badge{background:#f59e0b!important;color:#fff!important;border-radius:999px!important;font-size:11px!important;font-weight:900!important;padding:4px 10px!important}
body .sepahan-footer-about{border-top:1px solid #dfe4ed!important;margin-top:38px!important;padding-top:22px!important;display:grid!important;grid-template-columns:1fr 170px!important;gap:24px!important;align-items:center!important;color:#6b7280!important;font-size:13px!important;line-height:2.1!important;text-align:center!important}
body .sepahan-footer-watermark{display:flex!important;justify-content:center!important;align-items:center!important;position:relative!important}
body .sepahan-footer-watermark:before{content:"";position:absolute;width:210px;height:72px;border-radius:80px 80px 0 0;background:#f7f8fb;bottom:-40px;z-index:0}
body .sepahan-footer-watermark svg{position:relative;z-index:1;width:88px!important;height:88px!important}
body .sepahan-footer-bottom{background:#fff!important;padding:24px 0!important;color:#6b7280!important;font-size:12px!important}
body .sepahan-footer-bottom .container{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
body.dark .sepahan-site-footer,.dark .sepahan-site-footer,body.dark .sepahan-footer-services,.dark .sepahan-footer-services,body.dark .sepahan-footer-main,.dark .sepahan-footer-main{background:transparent!important;color:#d1d5db!important;box-shadow:none!important}
body.dark .sepahan-footer-bottom,.dark .sepahan-footer-bottom{background:transparent!important;border-top:1px solid rgba(255,255,255,.08)!important}
body.dark .sepahan-footer-col-title,.dark .sepahan-footer-col-title,body.dark .sepahan-footer-list a,.dark .sepahan-footer-list a{color:#e5e7eb!important}
@media(max-width:1023px){body .sepahan-footer-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .sepahan-footer-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .sepahan-footer-about{grid-template-columns:1fr!important}}
@media(max-width:640px){body .sepahan-footer-services-grid,body .sepahan-footer-main-grid{grid-template-columns:1fr!important}body .sepahan-footer-bottom .container{flex-direction:column!important;text-align:center!important}}

/* Scroll/slider fixes */
body .sepahan-image-cats-scroll,body .sepahan-shop-brands-scroll,body .sepahan-products-strip-scroll,body .sepahan-products-15-viewport{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;-webkit-overflow-scrolling:touch!important;cursor:grab!important;user-select:none!important;touch-action:pan-x!important;overscroll-behavior-inline:contain!important}
body .sepahan-image-cats-scroll::-webkit-scrollbar,body .sepahan-shop-brands-scroll::-webkit-scrollbar,body .sepahan-products-strip-scroll::-webkit-scrollbar,body .sepahan-products-15-viewport::-webkit-scrollbar{display:none!important}
body .sepahan-image-cats-scroll img,body .sepahan-shop-brands-scroll img,body .sepahan-products-strip-scroll img,body .sepahan-products-15-viewport img{-webkit-user-drag:none!important;user-drag:none!important;pointer-events:none!important;user-select:none!important}
body .sepahan-is-dragging{cursor:grabbing!important;scroll-behavior:auto!important}
body .sepahan-is-dragging a{pointer-events:none!important}
body .sepahan-products-15-carousel{position:relative!important}
body .sepahan-products-15-viewport{scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;width:100%!important}
body .sepahan-products-15-track{display:flex!important;flex-wrap:nowrap!important;gap:0!important;width:auto!important;min-width:100%!important;transform:none!important;transition:none!important}
body .sepahan-products-15-slide{display:block!important;flex:0 0 100%!important;min-width:100%!important;width:100%!important;scroll-snap-align:start!important;box-sizing:border-box!important}
body .sepahan-products-15-arrow{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:5!important;width:40px!important;height:40px!important;border-radius:999px!important;border:1px solid rgba(209,213,219,.9)!important;background:#fff!important;color:#111827!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:0 8px 20px rgba(15,23,42,.1)!important;cursor:pointer!important}
body .sepahan-products-15-arrow svg{width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.4!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body .sepahan-products-15-prev{right:-12px!important}body .sepahan-products-15-next{left:-12px!important}
body.dark .sepahan-products-15-arrow,.dark .sepahan-products-15-arrow{background:#111827!important;color:#fff!important;border-color:rgba(75,85,99,.8)!important}

/* Force Elementor style controls to win on frontend, but remove faint dark backgrounds. */
body.dark .sepahan-standard-wrap,.dark .sepahan-standard-wrap,body.dark .sepahan-products-15-wrap,.dark .sepahan-products-15-wrap,body.dark .sepahan-products-strip-wrap,.dark .sepahan-products-strip-wrap,body.dark .sepahan-shop-brands-section .sepahan-standard-wrap,.dark .sepahan-shop-brands-section .sepahan-standard-wrap,body.dark .sepahan-posts-section .sepahan-standard-wrap,.dark .sepahan-posts-section .sepahan-standard-wrap{background:transparent!important;box-shadow:none!important;border-color:transparent!important}
body.dark .sepahan-shop-brand-item,.dark .sepahan-shop-brand-item,body.dark .sepahan-products-15-card,.dark .sepahan-products-15-card,body.dark .sepahan-products-strip-card,.dark .sepahan-products-strip-card,body.dark .sepahan-post-card,.dark .sepahan-post-card{background:transparent!important;box-shadow:none!important}
body .sepahan-products-15-viewport,body .sepahan-products-15-track{direction:ltr!important}
body .sepahan-products-15-card,body .sepahan-products-15-head{direction:rtl!important}
