/* Sepahan v1.1.42 requested fixes */
.sepahan-force-hidden-toast,
.woocommerce-message:not(.woocommerce-cart .woocommerce-message):not(.woocommerce-checkout .woocommerce-message){display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.sepahan-cart-toast{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%) scale(.96)!important;z-index:999999!important;max-width:min(92vw,430px)!important;width:430px!important;background:linear-gradient(145deg,#fff,#f7fbff)!important;border:1px solid #dbeafe!important;border-radius:26px!important;box-shadow:0 30px 90px rgba(15,23,42,.22)!important;padding:22px!important;display:block!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:.2s ease!important;direction:rtl!important}
.sepahan-cart-toast.is-open{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translate(-50%,-50%) scale(1)!important}.sepahan-cart-toast-row{display:flex!important;gap:14px!important;align-items:flex-start!important}.sepahan-cart-toast-icon{width:48px;height:48px;border-radius:16px;background:#16a34a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:950;flex:0 0 auto}.sepahan-cart-toast h3{margin:0 0 8px!important;font-size:19px!important;font-weight:950!important;color:#0f172a!important}.sepahan-cart-toast p{margin:0!important;color:#64748b!important;line-height:1.9!important;font-weight:700!important}.sepahan-cart-toast-actions{display:flex!important;gap:8px!important;margin-top:14px!important}.sepahan-cart-toast-actions a,.sepahan-cart-toast-actions button{border:0!important;border-radius:13px!important;padding:10px 14px!important;font-weight:900!important;cursor:pointer!important;text-decoration:none!important}.sepahan-cart-toast-actions .go-cart{background:#2563eb!important;color:#fff!important}.sepahan-cart-toast-actions .keep-buying{background:#eef2ff!important;color:#1e40af!important}.sepahan-cart-toast-close{position:absolute!important;top:12px!important;left:12px!important;width:30px!important;height:30px!important;border:0!important;border-radius:10px!important;background:#f1f5f9!important;color:#475569!important;font-size:20px!important;line-height:30px!important;cursor:pointer!important}
.sepahan-story-under-header{margin-bottom:var(--sepahan-story-gap,-34px)!important;padding-bottom:0!important;line-height:1!important}.sepahan-story-under-header .nikan-story-widget,.sepahan-story-under-header .nikan-story-strip,.sepahan-story-under-header .nikan-story-tabs{margin-bottom:0!important;padding-bottom:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.sepahan-story-under-header+*{margin-top:0!important}.elementor-widget-container:has(.sepahan-story-under-header),.elementor-section:has(.sepahan-story-under-header){margin-bottom:0!important;padding-bottom:0!important}
ul.products li.product .star-rating,.woocommerce ul.products li.product .star-rating,.elementor-widget .products .product .star-rating{float:none!important;clear:both!important;display:block!important;margin:8px 0 4px auto!important;position:relative!important;text-align:right!important;direction:ltr!important;align-self:flex-start!important;order:3!important}ul.products li.product .price,.woocommerce ul.products li.product .price,.elementor-widget .products .product .price,.elementor-widget .sepahan-price-wrap{order:4!important;clear:both!important;width:100%!important;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;margin-top:6px!important}.sepahan-price-wrap del,.products .price del{order:1!important;align-self:flex-end!important}.sepahan-price-wrap ins,.products .price ins{order:2!important;align-self:flex-end!important;text-decoration:none!important}
.toplevel_page_sepahan-settings #wpcontent{background:linear-gradient(135deg,#fff 0%,#fbfdff 36%,#eef6ff 100%)!important}.sepahan-options-wrap{max-width:1380px;margin:22px 0 0 22px;direction:rtl;font-family:Tahoma,Arial,sans-serif;color:#0f172a}.sepahan-options-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(246,250,255,.92));border:1px solid #e0e9f5;border-radius:30px;padding:14px;box-shadow:0 28px 82px rgba(15,23,42,.11),inset 0 1px 0 rgba(255,255,255,.95);overflow:hidden}.sepahan-options-side{border-radius:24px;background:linear-gradient(180deg,#fff 0%,#f8fbff 54%,#edf5ff 100%)!important;color:#0f172a!important;border:1px solid #e2e8f0;padding:18px!important;box-shadow:0 16px 42px rgba(37,99,235,.08)}.sepahan-options-brand{display:flex;align-items:center;gap:12px;padding:12px 10px 16px;margin-bottom:12px!important;border-bottom:1px solid #e8eef8}.sepahan-options-mark{width:48px;height:48px;border-radius:17px;background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 30px rgba(37,99,235,.24)}.sepahan-options-mark .dashicons{font-size:26px;width:26px;height:26px}.sepahan-options-brand h1{font-size:21px!important;color:#0f172a!important;margin:0!important;font-weight:950!important}.sepahan-options-tabs{display:grid;gap:7px!important}.sepahan-options-tabs button{appearance:none;border:1px solid transparent!important;background:transparent!important;color:#475569!important;text-align:right;border-radius:15px!important;padding:12px 13px!important;font-weight:900!important;cursor:pointer!important;display:flex;align-items:center;justify-content:space-between;transition:.16s ease!important;box-shadow:none!important}.sepahan-options-tabs button:after{content:'›';font-size:18px;color:#94a3b8;transform:rotate(180deg)}.sepahan-options-tabs button:hover,.sepahan-options-tabs button.is-active{background:linear-gradient(135deg,#fff,#eef6ff)!important;color:#1d4ed8!important;border-color:#dbeafe!important;box-shadow:0 12px 26px rgba(37,99,235,.1)!important}.sepahan-options-main{padding:8px 8px 12px!important}.sepahan-options-top{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fff,#f6faff);border:1px solid #e2e8f0;border-radius:22px;padding:17px 20px;margin-bottom:16px!important;box-shadow:0 14px 34px rgba(15,23,42,.05)}.sepahan-options-title h2{font-size:23px!important;margin:0!important;font-weight:950!important}.sepahan-save-top .button-primary,.sepahan-options-save .button-primary{background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;border:0!important;border-radius:14px!important;min-height:44px!important;padding:0 26px!important;font-weight:950!important;box-shadow:0 14px 28px rgba(37,99,235,.25)!important}.sepahan-tab-panel{display:none}.sepahan-tab-panel.is-active{display:block}.sepahan-section-card{background:rgba(255,255,255,.97)!important;border:1px solid #e3ebf6!important;border-radius:22px!important;padding:20px!important;margin-bottom:15px!important;box-shadow:0 18px 42px rgba(15,23,42,.055)!important}.sepahan-section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.sepahan-section-title{font-size:17px!important;font-weight:950!important;margin:0!important}.sepahan-section-badge{background:#f0f7ff!important;color:#2563eb!important;border:1px solid #dbeafe!important;border-radius:999px!important;padding:6px 10px!important;font-size:12px!important;font-weight:900!important}.sepahan-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.sepahan-field{background:linear-gradient(180deg,#fff,#f9fbff)!important;border:1px solid #e5edf7!important;border-radius:18px!important;min-height:82px!important;padding:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.sepahan-field label{display:block!important;font-weight:950!important;color:#0f172a!important;margin-bottom:8px!important}.sepahan-field input[type=text],.sepahan-field input[type=number],.sepahan-field select{width:100%!important;border-radius:13px!important;border:1px solid #d5e0ee!important;background:#fff!important;min-height:39px!important;box-shadow:none!important}.sepahan-field small{display:block!important;color:#64748b!important;line-height:1.8!important;margin-top:7px!important}.sepahan-color-row{display:flex;align-items:center;gap:10px}.sepahan-color-row input{width:54px!important;height:40px!important;border:0!important;background:transparent!important;padding:0!important}.sepahan-color-row code{background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:10px!important;padding:8px 10px!important}.sepahan-field-switch{min-height:62px!important;display:flex!important;align-items:center!important}.sepahan-switch{display:flex!important;align-items:center!important;gap:10px!important;margin:0!important;width:100%!important}.sepahan-switch input{display:none!important}.sepahan-switch span{width:42px!important;height:24px!important;min-width:42px!important;border-radius:999px!important;background:#cbd5e1!important;position:relative!important;transition:.18s!important}.sepahan-switch span:after{content:"";width:18px!important;height:18px!important;border-radius:50%!important;background:#fff!important;position:absolute!important;top:3px!important;right:3px!important;transition:.18s!important;box-shadow:0 2px 7px rgba(15,23,42,.22)!important}.sepahan-switch input:checked+span{background:#2563eb!important}.sepahan-switch input:checked+span:after{right:21px!important}.sepahan-switch strong{font-size:13px!important;line-height:1.8!important;white-space:normal!important}.sepahan-media-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.sepahan-logo-preview img{max-height:52px!important;border-radius:12px!important;margin-top:10px!important;background:#fff!important;border:1px solid #e2e8f0!important;padding:6px!important}.sepahan-options-save{position:sticky;bottom:0;background:linear-gradient(180deg,rgba(246,249,255,0),#f8fbff 44%);padding:16px 0 4px;margin-top:8px;text-align:left}.sepahan-mini-help{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:18px;padding:14px;color:#475569;line-height:2;font-weight:700}@media(max-width:1100px){.sepahan-options-shell{grid-template-columns:1fr}.sepahan-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:782px){.sepahan-field-grid{grid-template-columns:1fr!important}.sepahan-options-top{display:block}.sepahan-media-row{grid-template-columns:1fr}}
