/* Sepahan v1.1.39 - requested cleanup */
/* Story tabs: absolutely no background/border in every theme */
.sepahan-story-under-header,.sepahan-story-under-header *,.nikan-story-widget,.nikan-story-widget *,.nikan-story-strip,.nikan-story-strip *,.nikan-story-tabs,.nikan-story-tabs *,.story-tabs,.story-tabs *{box-shadow:none!important}
.sepahan-story-under-header,.nikan-story-widget,.nikan-story-strip,.nikan-story-tabs,.story-tabs,.nikan-stories-tabs,.sepahan-stories-tabs{background:transparent!important;border:0!important;outline:0!important}
.sepahan-story-under-header:before,.sepahan-story-under-header:after,.nikan-story-widget:before,.nikan-story-widget:after,.nikan-story-strip:before,.nikan-story-strip:after,.nikan-story-tabs:before,.nikan-story-tabs:after,.story-tabs:before,.story-tabs:after{display:none!important;border:0!important;background:transparent!important}
.dark .sepahan-story-under-header,.dark .nikan-story-widget,.dark .nikan-story-strip,.dark .nikan-story-tabs,.dark .story-tabs{background:transparent!important;border:0!important}
.dark .sepahan-story-under-header,.dark .sepahan-story-under-header a,.dark .sepahan-story-under-header span,.dark .nikan-story-title,.dark .nikan-story-widget,.dark .nikan-story-widget a,.dark .nikan-story-widget span{color:#fff!important}
/* Elementor product widget prices: match amazing-products price layout */
.elementor-widget .woocommerce ul.products li.product .price,
.elementor-widget .sepahan-product-card .price,
.elementor-widget .product .price,
.elementor-widget .sepahan-card-price,
.elementor-widget .sepahan-price-normalized,
.woocommerce ul.products li.product .price,
.sepahan-product-card .price{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;text-align:left!important;direction:rtl!important;width:100%!important;margin-top:auto!important;gap:2px!important;line-height:1.7!important;min-height:46px!important;
}
.sepahan-price-wrap,
.sepahan-price-normalized,
.sepahan-price-normalized .sepahan-price-wrap,
.elementor-widget .sepahan-price-wrap,
.elementor-widget .sepahan-price-normalized,
.elementor-widget-woocommerce-products .sepahan-price-wrap,
.elementor-widget-loop-grid .sepahan-price-wrap,
.woocommerce ul.products li.product .sepahan-price-wrap,
.sepahan-product-card .sepahan-price-wrap{
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;text-align:left!important;width:100%!important;direction:rtl!important;color:#111827!important;gap:2px!important;margin-inline-start:auto!important;margin-inline-end:0!important;line-height:1.7!important;
}
.sepahan-price-wrap del,.sepahan-price-normalized del,.elementor-widget .price del{order:1!important;display:block!important;align-self:flex-end!important;color:#9ca3af!important;opacity:1!important;font-size:12px!important;font-weight:800!important;text-decoration:line-through!important;text-decoration-thickness:1px!important;line-height:1.4!important;margin:0!important}
.sepahan-price-wrap ins,.sepahan-price-normalized ins,.elementor-widget .price ins{order:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;align-self:flex-end!important;text-decoration:none!important;color:#2563eb!important;font-weight:950!important;font-size:17px!important;line-height:1.35!important;margin:0!important;white-space:nowrap!important}
.sepahan-price-wrap > .woocommerce-Price-amount:not(del .woocommerce-Price-amount):not(ins .woocommerce-Price-amount),.sepahan-price-normalized > .woocommerce-Price-amount{display:flex!important;align-items:center!important;justify-content:flex-end!important;color:#2563eb!important;font-size:17px!important;font-weight:950!important;white-space:nowrap!important;align-self:flex-end!important}
.sepahan-price-wrap .woocommerce-Price-currencySymbol,.sepahan-price-normalized .woocommerce-Price-currencySymbol,.elementor-widget .price .woocommerce-Price-currencySymbol{font-size:11px!important;font-weight:900!important;color:inherit!important;margin-inline-end:4px!important}
.dark .sepahan-price-wrap,.dark .sepahan-price-normalized,.dark .sepahan-price-wrap ins,.dark .sepahan-price-normalized ins{color:#60a5fa!important}.dark .sepahan-price-wrap del,.dark .sepahan-price-normalized del{color:#a1a1aa!important}
/* Remove all custom cart/checkout/empty-cart styling from prior patches so WooCommerce defaults can take over. */
.woocommerce-cart .site-main,.woocommerce-checkout .site-main,.woocommerce-cart main,.woocommerce-checkout main,.page .woocommerce{background:inherit!important}
.woocommerce-cart .sepahan-cart-page,.woocommerce-cart .sepahan-cart-panel,.woocommerce-cart .sepahan-cart-summary,.woocommerce-cart .sepahan-empty-cart,.woocommerce-checkout .checkout,.woocommerce-checkout .rounded-2xl{all:revert!important;direction:rtl!important;box-sizing:border-box!important}
.woocommerce-cart .sepahan-empty-cart-icon,.woocommerce-cart .sepahan-cart-steps,.woocommerce-cart .sepahan-cart-count-label{display:revert!important}
/* Thank-you page is the only Woo page with Sepahan custom style */
.woocommerce-order-received .woocommerce-order{max-width:1080px;margin:34px auto;padding:0 14px;direction:rtl}.woocommerce-order-received .woocommerce-thankyou-order-received{background:linear-gradient(135deg,#ecfdf5,#eff6ff);border:1px solid #bfdbfe;color:#0f172a;border-radius:24px;padding:26px 28px;font-size:20px;font-weight:950;box-shadow:0 18px 50px rgba(15,23,42,.08);text-align:center}.woocommerce-order-received ul.woocommerce-order-overview{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:24px 0!important;padding:0!important}.woocommerce-order-received ul.woocommerce-order-overview li{background:#fff!important;border:1px solid #e5e7eb!important;border-radius:18px!important;padding:15px!important;margin:0!important;box-shadow:0 10px 26px rgba(15,23,42,.05);font-weight:900;color:#111827}.woocommerce-order-received .woocommerce-order-details,.woocommerce-order-received .woocommerce-customer-details{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:22px;margin-top:20px;box-shadow:0 14px 38px rgba(15,23,42,.06)}.dark.woocommerce-order-received .woocommerce-thankyou-order-received,.dark .woocommerce-order-received .woocommerce-thankyou-order-received{background:#172033;border-color:#334155;color:#fff}.dark .woocommerce-order-received ul.woocommerce-order-overview li,.dark .woocommerce-order-received .woocommerce-order-details,.dark .woocommerce-order-received .woocommerce-customer-details{background:#18181b!important;border-color:#3f3f46!important;color:#fff!important}

/* Sepahan v1.1.40 - story spacing + seen state */
.sepahan-story-under-header{margin-bottom:8px!important;padding-bottom:0!important}
.sepahan-story-under-header .nikan-story-widget,
.sepahan-story-under-header .nikan-story-strip{margin-bottom:0!important;padding-bottom:0!important}
body.sepahan-story-seen-enabled .nikan-story-item.is-seen .nikan-story-ring,
body.sepahan-story-seen-enabled .nikan-story-item.is-seen .nikan-story-circle{background:var(--sepahan-story-seen,#9ca3af)!important;border-color:var(--sepahan-story-seen,#9ca3af)!important}
body.sepahan-story-seen-enabled .nikan-story-item.is-seen img{filter:saturate(.75)}
.nikan-story-ring{background:var(--sepahan-story-ring,#ef4444)!important}
